:root{color-scheme:light;--paper:#faf9f7;--ink:#202121;--muted:#666360;--wine:#681c2c;--line:#dedbd6;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0}a{color:inherit;text-decoration:none}button,summary,a{-webkit-tap-highlight-color:transparent}a:focus-visible,summary:focus-visible{outline:2px solid var(--wine);outline-offset:6px;border-radius:3px}.skip{position:fixed;top:-80px;left:20px;background:var(--paper);padding:12px;z-index:10}.skip:focus{top:12px}.shell{max-width:1100px;margin:auto;padding:0 56px}.header{padding-top:max(44px,env(safe-area-inset-top));display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:19px;min-height:44px}.brand-symbol{width:42px;height:34px;object-fit:contain}.wordmark{width:132px;height:37px;object-fit:contain;border-left:1px solid #cbbcbf;padding-left:18px;box-sizing:content-box}.header-link{font-size:13px;color:var(--muted);padding:12px 0}.hero{padding:110px 0 75px;max-width:800px}h1{font-size:clamp(42px,5.8vw,74px);font-weight:600;letter-spacing:-.055em;line-height:1.08;margin:0}h1 span{display:block}.hero p{margin:24px 0 0;color:var(--muted);font-size:21px;line-height:1.5;letter-spacing:-.025em}.primary{display:inline-flex;justify-content:center;align-items:center;background:var(--wine);color:white;font-size:17px;font-weight:500;min-height:56px;padding:15px 44px;border-radius:8px;margin-top:48px;transition:background .15s}.primary:hover{background:#511522}.modules{max-width:640px;scroll-margin-top:36px}.module{border-top:1px solid var(--line)}.module:last-child{border-bottom:1px solid var(--line)}.module-link,summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;padding:20px 0;font-size:21px;letter-spacing:-.025em;cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}.chevron{width:20px;height:20px;flex:none;stroke:currentColor;stroke-width:1.5;fill:none;transition:transform .18s}details[open]>summary .chevron{transform:rotate(90deg)}.submodules{padding:0 0 17px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.submodules a{border:1px solid var(--line);border-radius:5px;padding:16px;font-size:15px;min-height:52px}.submodules a:hover{border-color:var(--wine);color:var(--wine)}.secondary{display:flex;flex-wrap:wrap;gap:8px 28px;margin:28px 0 0;color:var(--muted);font-size:12px}.secondary a{display:inline-flex;align-items:center;min-height:44px}.secondary a:hover,.header-link:hover{color:var(--wine)}.bottom-nav{max-width:640px;display:flex;border-top:1px solid var(--line);margin-top:38px;padding:18px 0 max(22px,env(safe-area-inset-bottom));justify-content:space-around}.bottom-nav a{min-width:100px;min-height:52px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:12px;color:var(--muted);position:relative}.bottom-nav svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.bottom-nav [aria-current]{color:var(--wine);font-weight:600}.bottom-nav [aria-current]:after{content:"";width:30px;height:2px;background:var(--wine);position:absolute;bottom:-12px}.native-app .bottom-nav{display:none}.native-app .header-link{display:none}.native-app .secondary{padding-bottom:24px}
@media(min-width:1000px){main{display:grid;grid-template-columns:1.15fr 1fr;column-gap:100px;align-items:center;padding:70px 0 55px}.hero{padding:30px 0}.hero h1{font-size:64px}.hero .primary{margin-top:44px}.library{padding-top:30px}.bottom-nav{margin-top:20px;max-width:none;justify-content:flex-start;gap:30px}.module-link,summary{font-size:19px}.secondary{gap:8px 22px}}
@media(max-width:600px){.shell{padding:0 30px}.header{padding-top:max(34px,env(safe-area-inset-top))}.brand{gap:14px}.brand-symbol{width:34px;height:30px}.wordmark{width:112px;height:32px;padding-left:14px}.header-link{display:none}.hero{padding:80px 0 58px}h1{font-size:clamp(34px,9.8vw,50px);letter-spacing:-.055em;line-height:1.12}.hero p{font-size:18px;margin-top:18px}.primary{width:100%;font-size:17px;min-height:56px;margin-top:66px}.module-link,summary{font-size:18px;min-height:72px}.secondary{margin-top:18px;gap:0 22px;font-size:11px}.bottom-nav{margin-top:22px}.submodules{gap:8px}.submodules a{font-size:14px;padding:14px 12px}}
@media(max-width:360px){.shell{padding:0 24px}.hero{padding-top:60px}.hero p{font-size:16px}.primary{margin-top:46px}.module-link,summary{font-size:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* A short, once-per-session arrival using the original vector identity. */
.launch-intro{display:none;pointer-events:none;position:fixed;inset:0;z-index:20;background:var(--paper);align-items:center;justify-content:center}
.launch-brand{display:flex;align-items:center;gap:22px}
.launch-symbol,.launch-wordmark{display:block;object-fit:contain}
.launch-divider{height:42px;width:1px;background:#cbbcbf}
.intro-pending .launch-intro{display:flex;animation:launch-away 1400ms both}
.intro-pending .launch-symbol{animation:symbol-arrival 780ms cubic-bezier(.16,1,.3,1) both}
.intro-pending .launch-wordmark{animation:word-arrival 780ms 130ms cubic-bezier(.16,1,.3,1) both}
.intro-pending .launch-divider{animation:divider-arrival 500ms 260ms both}
.intro-pending .shell{animation:home-arrival 1400ms both}
@keyframes symbol-arrival{from{opacity:0;transform:translateX(-54px)}to{opacity:1;transform:translateX(0)}}
@keyframes word-arrival{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:translateX(0)}}
@keyframes divider-arrival{from{opacity:0;transform:scaleY(.5)}to{opacity:1;transform:scaleY(1)}}
@keyframes launch-away{0%,67%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes home-arrival{0%,66%{opacity:0;transform:translateY(8px)}100%{opacity:1;transform:translateY(0)}}
@media(max-width:360px){.launch-brand{gap:17px}.launch-symbol{width:48px}.launch-wordmark{width:150px}}
@media(prefers-reduced-motion:reduce){.intro-pending .launch-intro{display:none}.intro-pending .shell{animation:none}.launch-brand *{animation:none!important}}

/* Keep the three repetition choices readable on narrow screens. */
.repetition-links{grid-template-columns:1fr}
