:root {
  --paper: #f7f7f9;
  --surface: #ffffff;
  --brand-ink: #14161a;
  --brand-paper: #f2f0ee;
  --soft: #efeff3;
  --ink: #14161a;
  --ink-2: #3a4049;
  --muted: #686e79;
  --line: #dedfe5;
  --flame: #ff6a3d;
  --flame-dark: #c6431a;
  --flame-soft: #fff1eb;
  --on-flame: #fffdf8;
  --violet: #5b45b0;
  --violet-soft: #f1eefb;
  --blue: #3b5bc0;
  --teal: #0c7d6f;
  --radius: 24px;
  --shadow: 0 22px 70px rgba(20, 22, 26, .10);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 13% 8%, rgba(255, 106, 61, .09), transparent 23rem),
    radial-gradient(circle at 88% 34%, rgba(91, 69, 176, .07), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--brand-ink); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(20, 22, 26, .10);
}
.wordmark { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.wordmark-avatar { width: 38px; height: 38px; flex: 0 0 38px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .22); border-radius: 50%; clip-path: circle(50%); object-fit: cover; box-shadow: 0 7px 20px rgba(20, 22, 26, .20); }
.nav { min-width: 0; display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); font-size: 13px; font-weight: 600; }
.nav a { color: var(--muted); transition: color .18s ease; }
.nav a:hover, .nav a:focus-visible { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav-github { width: 44px; height: 44px; flex: 0 0 44px; display: inline-grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: #111; }
.nav-github img { width: 20px; height: 20px; }
.nav-github:hover { background: var(--soft); }
.nav-github:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; }
.language-switch { display: inline-flex; align-items: center; gap: 5px; margin-left: 2px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; }
.language-switch a { padding: 0; color: inherit; font: 700 10px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-decoration: none; }
.language-switch a[aria-current="page"] { color: var(--flame-dark); }
.language-switch a:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 3px; }
.mobile-content-nav { display: none; }

@media (max-width: 860px) {
  .site-header { width: min(100% - 30px, 1180px); height: 72px; }
  .nav > a:not(.nav-github) { display: none; }
  .nav { gap: 12px; }
  .language-switch { margin-left: auto; }
  .mobile-content-nav {
    width: min(100% - 30px, 1180px);
    margin-inline: auto;
    padding: 8px 0 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border-bottom: 1px solid rgba(20, 22, 26, .10);
  }
  .mobile-content-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 750;
  }
  .mobile-content-nav a[aria-current="page"] { border-color: rgba(198, 67, 26, .38); background: var(--flame-soft); color: var(--flame-dark); }
  .mobile-content-nav a:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; }
}

.hero { min-height: calc(100vh - 84px); display: grid; grid-template-columns: 1.2fr .8fr; grid-template-areas: "copy object" "million object"; align-content: center; align-items: center; gap: 22px 64px; padding-block: 32px; }
.hero-copy { grid-area: copy; }
.eyebrow, .section-kicker { margin: 0 0 22px; text-transform: uppercase; letter-spacing: .11em; color: var(--muted); font: 500 12px DM Mono, monospace; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(12, 125, 111, .10); }
.hero h1 { margin: 0; font-size: clamp(52px, 6vw, 88px); line-height: 1.02; letter-spacing: -.065em; font-weight: 700; }
.hero h1 em { color: var(--flame-dark); font-style: normal; }
.hero-lede { max-width: 620px; margin: 30px 0 0; color: var(--ink-2); font-size: clamp(18px, 2vw, 23px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 13px; font-size: 14px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--flame); color: var(--on-flame); box-shadow: 0 12px 30px rgba(255,106,61,.22); }
.button-quiet { background: rgba(255,255,255,.72); border: 1px solid var(--line); }

.hero-object { grid-area: object; position: relative; min-height: 370px; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(20,22,26,.12); }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 290px; height: 290px; border-style: dashed; animation: spin 28s linear infinite; }
.maker-card { position: relative; width: 258px; height: 332px; padding: 34px; overflow: hidden; border-radius: 28px; background: var(--ink); color: #fff; box-shadow: 0 35px 80px rgba(20,22,26,.28); transform: rotate(5deg); }
.maker-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: linear-gradient(90deg, var(--flame), var(--violet)); }
.maker-fold { position: absolute; width: 84px; height: 84px; right: 0; top: 0; background: var(--flame); clip-path: polygon(100% 0, 0 0, 100% 100%); }
.maker-label, .maker-meta { color: #9da3ae; font: 500 10px/1.5 DM Mono, monospace; letter-spacing: .13em; }
.maker-card strong { display: block; margin-top: 56px; font-size: 44px; line-height: 1.02; letter-spacing: -.05em; }
.maker-meta { position: absolute; left: 34px; bottom: 34px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-million { grid-area: million; display: grid; grid-template-columns: .85fr 1.15fr; grid-template-rows: 1fr auto; gap: 10px clamp(20px, 3vw, 34px); align-items: center; min-height: 170px; padding: 22px 24px; overflow: hidden; border-radius: 22px; background: var(--brand-ink); color: #fff; box-shadow: var(--shadow); }
.hero-million-intro .section-kicker { margin-bottom: 7px; color: #9298a2; font-size: 9px; }
.hero-million-intro h2 { margin: 0; font-size: clamp(20px, 2vw, 29px); line-height: 1.14; letter-spacing: -.045em; }
.hero-million-intro > p:last-child { max-width: 440px; margin: 9px 0 0; color: #aeb2ba; font-size: 11px; line-height: 1.55; }
.hero-million-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; align-items: end; }
.hero-million-project, .hero-million-total { display: grid; }
.hero-million-project > span, .hero-million-total > span { color: #9298a2; letter-spacing: .08em; font: 500 9px DM Mono, monospace; }
.hero-million-project > strong { margin-top: 3px; font-size: 17px; }
.hero-million-project small, .hero-million-total small { margin-top: 2px; color: #aeb2ba; font-size: 10px; }
.hero-million-project b { color: #ff9b75; font-size: 13px; }
.hero-million-total { text-align: right; }
.hero-million-total > strong { margin-top: -3px; color: #fff; font-size: 31px; line-height: 1; letter-spacing: -.055em; }
.million-progress { position: relative; grid-column: 1 / -1; height: 5px; margin-top: 2px; overflow: visible; border-radius: 999px; background: rgba(255,255,255,.15); }
.million-progress::before { content: ""; position: absolute; z-index: 2; width: 11px; height: 11px; left: 0; top: 50%; border: 3px solid var(--brand-ink); border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 1px rgba(255,255,255,.22); transform: translateY(-50%); }
.million-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--flame), #ff9b75); }
.hero-million-progress-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: -3px; color: #9298a2; font: 500 9px DM Mono, monospace; }
.hero-million-link { grid-column: 1; grid-row: 2; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 11px; font-weight: 700; }
.hero-million-ledger { grid-column: 2; grid-row: 1 / 3; }
.hero-million-link span { color: #ff8a5e; }

.ticker { overflow: hidden; border-block: 1px solid rgba(20,22,26,.10); background: rgba(255,255,255,.55); }
.ticker-track { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 28px; white-space: nowrap; color: var(--muted); font: 500 11px DM Mono, monospace; letter-spacing: .12em; }
.ticker i { width: 5px; height: 5px; border-radius: 50%; background: var(--flame); }

.section { padding-block: 120px; }
.section-heading { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: end; margin-bottom: 50px; }
.section-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(36px, 4.5vw, 60px); line-height: 1.08; letter-spacing: -.05em; }
.section-heading p:last-child { margin: 0; color: var(--muted); font-size: 15px; }

.featured-project { display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.featured-copy { padding: clamp(32px, 5vw, 62px); }
.project-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font: 500 10px DM Mono, monospace; }
.project-number { color: var(--flame-dark); }
.product-lockup { display: flex; align-items: center; gap: 18px; margin-top: 54px; }
.product-lockup img { border-radius: 16px; box-shadow: 0 10px 24px rgba(255,106,61,.18); }
.product-lockup h3 { margin: 0; font-size: 32px; line-height: 1.1; letter-spacing: -.04em; }
.product-lockup p { margin: 4px 0 0; color: var(--muted); font: 500 11px DM Mono, monospace; letter-spacing: .08em; text-transform: uppercase; }
.project-lede { margin: 30px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.8; }
.feature-list { display: grid; gap: 10px; margin: 28px 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.feature-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--violet); }
.project-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.project-links a, .contact-row a { font-weight: 700; }
.project-links span, .contact-row span { color: var(--flame-dark); }
.featured-visual { display: grid; place-items: center; min-height: 580px; padding: 48px 0 48px 48px; background: linear-gradient(145deg, var(--flame-soft), var(--violet-soft)); }
.featured-visual img { width: 100%; height: 100%; object-fit: cover; object-position: left center; border-radius: 22px 0 0 22px; box-shadow: 0 26px 70px rgba(20,22,26,.20); transition: transform .25s ease; }
.featured-visual:hover img { transform: translateX(-7px); }

.about { display: grid; grid-template-columns: .35fr 1fr; gap: 80px; border-top: 1px solid var(--line); }
.about-index { color: var(--muted); font: 500 11px DM Mono, monospace; letter-spacing: .1em; }
.about-copy > p { max-width: 780px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 52px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.principles div { min-height: 135px; padding: 22px; background: var(--surface); }
.principles span { display: block; margin-bottom: 28px; color: var(--flame-dark); font: 500 10px DM Mono, monospace; }
.principles strong { font-size: 14px; line-height: 1.5; }

.contact { margin-bottom: 80px; padding: clamp(38px, 6vw, 76px); border-radius: 30px; background: var(--flame); color: var(--on-flame); }
.contact .section-kicker { color: rgba(255,253,248,.78); }
.contact-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 42px; }
.contact-row a { padding-bottom: 6px; border-bottom: 1px solid rgba(255,253,248,.5); }
.contact-row span { color: var(--on-flame); }
.footer { min-height: 90px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font: 500 11px DM Mono, monospace; }

/* Product + privacy pages */
.page-shell { width: min(1040px, calc(100% - 48px)); margin-inline: auto; }
.product-hero { padding-block: 86px 74px; text-align: center; }
.product-icon-wrap { position: relative; width: 88px; height: 88px; margin: 0 auto 28px; }
.product-hero .product-icon { width: 88px; height: 88px; margin: 0; border-radius: 22px; box-shadow: 0 18px 40px rgba(255,106,61,.2); }
.product-icon-wrap > span { position: absolute; right: -10px; bottom: -9px; width: 30px; height: 30px; display: grid; place-items: center; border: 4px solid var(--paper); border-radius: 50%; background: var(--violet); color: #fff; font: 500 11px DM Mono, monospace; }
.product-hero .eyebrow { display: flex; align-items: center; justify-content: center; }
.product-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 80px); letter-spacing: -.06em; line-height: 1; }
.product-hero .tagline { max-width: 720px; margin: 26px auto 0; color: var(--ink-2); font-size: 21px; line-height: 1.7; }
.product-actions { justify-content: center; }
.button-pending { cursor: default; background: linear-gradient(115deg, var(--brand-ink), #2d3139); color: #fff; }
.button-pending:hover { transform: none; }
.release-note { margin: 16px 0 0; color: var(--muted); font: 500 10px DM Mono, monospace; letter-spacing: .06em; text-transform: uppercase; }
.motion-showcase { position: relative; display: grid; gap: 30px; margin-top: 18px; padding: 58px; overflow: hidden; border-radius: 36px; background: radial-gradient(circle at 92% 3%, rgba(255,106,61,.28), transparent 24rem), radial-gradient(circle at 2% 96%, rgba(91,69,176,.30), transparent 28rem), var(--brand-ink); color: #fff; box-shadow: 0 32px 90px rgba(20,22,26,.19); }
.motion-heading { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 8px; }
.motion-heading .section-kicker { margin-bottom: 12px; color: #969ca6; }
.motion-heading h2 { max-width: 600px; margin: 0; font-size: clamp(35px, 5vw, 58px); line-height: 1.02; letter-spacing: -.055em; }
.motion-heading > div:last-child { padding-bottom: 4px; }
.motion-heading > div:last-child p { max-width: 390px; margin: 0; color: #aeb3bc; font-size: 14px; line-height: 1.75; }
.motion-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #d4d7dc; font: 500 10px DM Mono, monospace; letter-spacing: .08em; text-transform: uppercase; }
.motion-live i { width: 7px; height: 7px; border-radius: 50%; background: #39b89f; box-shadow: 0 0 0 5px rgba(57,184,159,.12); animation: livePulse 1.8s ease-in-out infinite; }
.motion-demo { position: relative; z-index: 1; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 25px; background: #f5f5f6; color: #17191e; box-shadow: 0 28px 80px rgba(0,0,0,.30); }
.motion-demo-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 22px; border-bottom: 1px solid #dfe1e6; background: rgba(250,250,251,.96); color: #5e646e; font-size: 12px; }
.motion-demo-head span { display: flex; gap: 12px; align-items: center; text-transform: uppercase; font: 500 10px DM Mono, monospace; letter-spacing: .08em; }
.motion-demo-head b { color: var(--flame-dark); }
.motion-demo-head strong { color: #292d34; font-size: 12px; }
.demo-browser { margin: 0; overflow: hidden; background: #fff; }
.demo-browser-bar { height: 40px; display: grid; grid-template-columns: 70px minmax(0, 1fr) 30px; align-items: center; padding: 0 16px; border-bottom: 1px solid #e7e4df; background: #eeece9; color: #777c84; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff6a3d; }
.browser-dots i:nth-child(2) { background: #f4bf45; }
.browser-dots i:nth-child(3) { background: #35b979; }
.browser-url { overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; font: 500 9px DM Mono, monospace; letter-spacing: .04em; }
.browser-lock { text-align: right; font-size: 17px; }
.demo-browser-dark { border-color: #282c33; background: #202329; color: #8f949e; }
.fanfan-canvas { position: relative; min-height: 530px; overflow: hidden; background: #f4f0e8; }
.demo-article { width: 72%; padding: 54px 46px 58px; font-family: Georgia, "Times New Roman", serif; }
.demo-article-meta { color: #8d8b84; font: 500 9px DM Mono, monospace; letter-spacing: .12em; }
.demo-article h3 { max-width: 530px; margin: 16px 0 30px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -.045em; }
.demo-article p { max-width: 600px; margin: 0 0 20px; color: #4b4b47; font-size: 18px; line-height: 1.72; }
.saved-word { padding-inline: 2px; color: inherit; background: linear-gradient(180deg, transparent 18%, rgba(255,106,61,.22) 18%, rgba(255,106,61,.22) 90%, transparent 90%) no-repeat; background-size: 0 100%; }
.saved-word-one { animation: highlightOne 11s ease-in-out infinite; }
.saved-word-two { animation: highlightTwo 11s ease-in-out infinite; }
.saved-word-three { animation: highlightThree 11s ease-in-out infinite; }
.saved-word-four { animation: highlightFour 11s ease-in-out infinite; }
.fanfan-switch { position: absolute; right: 28px; top: 24px; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid rgba(20,22,26,.1); border-radius: 999px; background: rgba(255,255,255,.86); color: #6f747c; box-shadow: 0 8px 22px rgba(20,22,26,.10); font: 600 9px DM Mono, monospace; letter-spacing: .06em; text-transform: uppercase; }
.fanfan-switch > i { position: relative; width: 30px; height: 17px; border-radius: 999px; background: #d9dce1; animation: toggleTrack 11s ease-in-out infinite; }
.fanfan-switch > i b { position: absolute; width: 13px; height: 13px; left: 2px; top: 2px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); animation: toggleKnob 11s ease-in-out infinite; }
.fanfan-word-card { position: absolute; right: 30px; top: 92px; width: 285px; overflow: hidden; border: 1px solid #e1e2e6; border-radius: 17px; background: rgba(255,255,255,.98); box-shadow: 0 24px 60px rgba(32,34,39,.22); opacity: 0; transform: translateY(14px) scale(.96); animation: wordCardReveal 11s cubic-bezier(.22,.8,.26,1) infinite; }
.word-card-top { display: flex; justify-content: space-between; gap: 12px; padding: 18px 18px 15px; border-bottom: 1px solid #ececf0; }
.word-card-top div { display: grid; gap: 2px; }
.word-card-top strong { font-size: 17px; }
.word-card-top small { color: #8b9098; font-size: 9px; }
.word-card-top > span { color: #9aa0a8; }
.word-card-section { display: grid; gap: 4px; padding: 13px 18px 0; }
.word-card-section label { color: #9a9fa7; font: 600 8px DM Mono, monospace; letter-spacing: .08em; }
.word-card-section strong { font-size: 14px; }
.word-card-section p { margin: 0; color: #4d535c; font-size: 12px; line-height: 1.55; }
.word-card-context { margin: 12px 12px 0; padding: 11px 10px; border-radius: 9px; background: #f1eefb; }
.word-card-source { padding: 13px 18px 17px; color: #91969f; font-size: 9px; }
.demo-cursor { position: absolute; z-index: 8; width: 22px; height: 28px; background: #181b20; clip-path: polygon(0 0, 78% 67%, 50% 70%, 68% 100%, 52% 100%, 35% 73%, 17% 92%); filter: drop-shadow(0 3px 3px rgba(0,0,0,.25)); opacity: 0; }
.fanfan-cursor { left: 88%; top: 10%; animation: fanfanCursor 11s cubic-bezier(.48,.05,.25,1) infinite; }
.motion-demo-foot { min-height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 20px; border-top: 1px solid #e5e6e9; background: #fafafb; color: #737983; font: 500 9px DM Mono, monospace; letter-spacing: .05em; text-transform: uppercase; }
.motion-demo-foot i { width: 4px; height: 4px; border-radius: 50%; background: var(--flame); }
.motion-demo-foot strong { margin-left: auto; color: #333842; }
.youtube-canvas { position: relative; min-height: 520px; overflow: hidden; background: radial-gradient(circle at 80% 36%, rgba(255,106,61,.13), transparent 26%), radial-gradient(circle at 13% 90%, rgba(91,69,176,.26), transparent 30%), linear-gradient(145deg, #111821, #202633 55%, #12151b); color: #fff; }
.video-copy { position: absolute; left: 8%; top: 16%; }
.video-copy span { color: #9198a4; font: 500 9px DM Mono, monospace; letter-spacing: .12em; }
.video-copy h3 { margin: 20px 0 22px; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.video-copy i { display: block; width: 48px; height: 4px; border-radius: 5px; background: var(--flame); }
.video-code { position: absolute; right: 9%; top: 18%; width: 245px; height: 250px; padding: 22px; border: 1px solid rgba(255,255,255,.09); border-radius: 24px; background: rgba(8,10,14,.56); box-shadow: 0 24px 70px rgba(0,0,0,.28); transform: rotate(2deg); }
.video-code > span { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #ff6a3d; }
.video-code > span:nth-child(2) { background: #f4bf45; }
.video-code > span:nth-child(3) { background: #35b979; }
.video-code code { display: block; margin-top: 35px; color: #adb4c2; font: 500 12px/1.9 DM Mono, monospace; }
.subtitle-stack { position: absolute; left: 50%; bottom: 68px; width: min(610px, 72%); text-align: center; opacity: 0; transform: translate(-50%, 8px); animation: subtitlesReveal 11s ease-in-out infinite; }
.subtitle-stack p, .subtitle-stack strong { display: table; margin: 0 auto 5px; padding: 4px 9px; border-radius: 4px; background: rgba(0,0,0,.78); color: #fff; font-size: 15px; line-height: 1.35; }
.subtitle-stack strong { font-size: 17px; }
.video-progress { position: absolute; left: 24px; right: 24px; bottom: 48px; height: 3px; background: rgba(255,255,255,.25); }
.video-progress i { display: block; width: 46%; height: 100%; background: #ff3b30; }
.video-controls { position: absolute; left: 24px; right: 24px; bottom: 10px; display: flex; align-items: center; gap: 15px; color: #d7d9de; font-size: 12px; }
.video-controls small { color: #9399a4; font-size: 9px; }
.caption-control { width: 28px; height: 28px; margin-left: auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(255,255,255,.09); color: #fff; font-size: 12px; animation: captionButton 11s ease-in-out infinite; }
.subtitle-settings { position: absolute; right: 24px; bottom: 56px; width: 220px; padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(17,19,24,.92); box-shadow: 0 18px 50px rgba(0,0,0,.35); opacity: 0; transform: translateY(10px) scale(.96); animation: subtitlePanel 11s ease-in-out infinite; }
.subtitle-settings > strong { display: block; margin-bottom: 12px; font-size: 12px; }
.subtitle-settings div { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; align-items: center; margin-top: 7px; }
.subtitle-settings span { color: #8d949f; font-size: 9px; }
.subtitle-settings b, .subtitle-settings em { padding: 4px 6px; border-radius: 5px; font-size: 8px; font-style: normal; }
.subtitle-settings b { background: #fff; color: #17191e; }
.subtitle-settings em { background: rgba(255,255,255,.07); color: #969ca6; }
.youtube-cursor { left: 82%; top: 83%; animation: youtubeCursor 11s cubic-bezier(.48,.05,.25,1) infinite; }
.motion-demo:hover *, .motion-demo:hover *::before, .motion-demo:hover *::after { animation-play-state: paused !important; }

@keyframes livePulse { 50% { opacity: .45; transform: scale(.82); } }
@keyframes toggleTrack { 0%, 12%, 94%, 100% { background: #d9dce1; } 18%, 88% { background: var(--flame); } }
@keyframes toggleKnob { 0%, 12%, 94%, 100% { transform: translateX(0); } 18%, 88% { transform: translateX(13px); } }
@keyframes highlightOne { 0%, 18%, 94%, 100% { background-size: 0 100%; } 24%, 88% { background-size: 100% 100%; } }
@keyframes highlightTwo { 0%, 23%, 94%, 100% { background-size: 0 100%; } 29%, 88% { background-size: 100% 100%; } }
@keyframes highlightThree { 0%, 28%, 94%, 100% { background-size: 0 100%; } 34%, 88% { background-size: 100% 100%; } }
@keyframes highlightFour { 0%, 33%, 94%, 100% { background-size: 0 100%; } 39%, 88% { background-size: 100% 100%; } }
@keyframes fanfanCursor { 0%, 12% { left: 90%; top: 6%; opacity: 0; } 16% { left: 90%; top: 6%; opacity: 1; } 20%, 35% { left: 89%; top: 10%; opacity: 1; } 47%, 55% { left: 48%; top: 55%; opacity: 1; transform: scale(1); } 52% { transform: scale(.78); } 62%, 100% { left: 48%; top: 55%; opacity: 0; } }
@keyframes wordCardReveal { 0%, 49% { opacity: 0; transform: translateY(14px) scale(.96); } 55%, 86% { opacity: 1; transform: translateY(0) scale(1); } 92%, 100% { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes captionButton { 0%, 22%, 94%, 100% { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.09); box-shadow: none; } 29%, 88% { border-color: var(--flame); background: var(--flame); box-shadow: 0 0 0 6px rgba(255,106,61,.13); } }
@keyframes youtubeCursor { 0%, 13% { left: 88%; top: 72%; opacity: 0; } 18% { opacity: 1; } 24%, 30% { left: 87%; top: 88%; opacity: 1; transform: scale(1); } 27% { transform: scale(.78); } 38%, 100% { left: 87%; top: 88%; opacity: 0; } }
@keyframes subtitlesReveal { 0%, 29% { opacity: 0; transform: translate(-50%, 8px); } 35%, 88% { opacity: 1; transform: translate(-50%, 0); } 94%, 100% { opacity: 0; transform: translate(-50%, 5px); } }
@keyframes subtitlePanel { 0%, 39% { opacity: 0; transform: translateY(10px) scale(.96); } 46%, 76% { opacity: 1; transform: translateY(0) scale(1); } 84%, 100% { opacity: 0; transform: translateY(6px) scale(.98); } }
.product-principles { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--line); gap: 1px; }
.product-principles div { min-height: 160px; padding: 24px; display: flex; flex-direction: column; background: var(--surface); }
.product-principles span { color: var(--flame-dark); font: 500 10px DM Mono, monospace; }
.product-principles strong { margin-top: auto; font-size: 16px; }
.product-principles small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.manifesto { display: grid; grid-template-columns: .55fr 1fr; gap: 70px; padding-block: 110px; }
.manifesto h2 { margin: 0; font-size: 42px; line-height: 1.1; letter-spacing: -.04em; }
.manifesto-copy { display: grid; gap: 30px; }
.manifesto-copy article { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.manifesto-copy h3 { margin: 0 0 10px; font-size: 21px; }
.manifesto-copy p { margin: 0; color: var(--muted); }
.data-note { display: grid; grid-template-columns: 110px 1fr; gap: 30px; align-items: start; margin-bottom: 24px; padding: 44px; border-radius: 28px; background: var(--brand-ink); color: #fff; }
.data-note-mark { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 24px; background: linear-gradient(145deg, var(--flame), #ff9574); color: var(--on-flame); font-size: 32px; font-weight: 800; }
.data-note .section-kicker { margin-bottom: 12px; color: #9298a2; }
.data-note h2 { margin: 0; font-size: 30px; }
.data-note p { max-width: 760px; color: #b9bdc5; }
.data-note a { display: inline-block; margin-top: 10px; color: #ff9b75; font-weight: 700; }
.product-cta { margin-bottom: 100px; padding: 84px 40px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, var(--flame-soft), var(--violet-soft)); text-align: center; }
.product-cta h2 { margin: 0; font-size: clamp(38px, 6vw, 62px); line-height: 1.08; letter-spacing: -.055em; }

.legal { padding-block: 72px 110px; }
.legal-head { padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.legal-head .eyebrow { margin-bottom: 16px; }
.legal h1 { margin: 0; font-size: clamp(42px, 6vw, 68px); letter-spacing: -.055em; line-height: 1.05; }
.legal-meta { margin-top: 16px; color: var(--muted); font: 500 11px DM Mono, monospace; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; padding-top: 54px; }
.legal-toc { position: sticky; top: 28px; align-self: start; display: grid; gap: 12px; color: var(--muted); font-size: 12px; }
.legal-toc strong { margin-bottom: 8px; color: var(--ink); font: 500 10px DM Mono, monospace; letter-spacing: .1em; }
.legal-content { max-width: 720px; }
.legal-content section { scroll-margin-top: 24px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 16px; font-size: 25px; letter-spacing: -.03em; }
.legal-content p, .legal-content li { color: var(--ink-2); }
.legal-content li + li { margin-top: 10px; }
.legal-callout { padding: 20px; border-left: 3px solid var(--violet); background: var(--violet-soft); border-radius: 0 14px 14px 0; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; grid-template-areas: "copy" "million" "object"; gap: 26px; padding-top: 54px; }
  .hero-object { min-height: 360px; }
  .section-heading, .featured-project, .about, .manifesto, .legal-layout { grid-template-columns: 1fr; }
  .featured-visual { min-height: 420px; padding-left: 28px; }
  .about { gap: 28px; }
  .legal-toc { position: static; grid-template-columns: repeat(3, 1fr); }
  .motion-showcase { padding: 38px; }
  .motion-heading { grid-template-columns: 1fr; gap: 20px; }
  .motion-heading > div:last-child p { max-width: 620px; }
  .demo-article { width: 78%; }
  .product-principles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .shell, .page-shell { width: min(100% - 30px, 1180px); }
  .hero { grid-template-areas: "copy" "million"; gap: 32px; padding-block: 42px 58px; }
  .hero h1 { font-size: 51px; }
  .hero-lede { font-size: 18px; }
  .hero-object { display: none; }
  .hero-million { grid-template-columns: 1fr; grid-template-rows: auto; gap: 20px; min-height: 0; padding: 24px 22px; }
  .hero-million-intro, .hero-million-ledger, .hero-million-link { grid-column: 1; grid-row: auto; }
  .hero-million-intro h2 { font-size: 24px; }
  .ticker-track { justify-content: flex-start; padding-inline: 18px; overflow: hidden; }
  .section { padding-block: 84px; }
  .section-heading { gap: 22px; }
  .featured-copy { padding: 28px; }
  .featured-visual { min-height: 310px; padding: 24px 0 24px 24px; }
  .principles { grid-template-columns: 1fr; }
  .about-copy > p { font-size: 16px; }
  .contact { border-radius: 22px; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
  .product-hero { padding-top: 64px; }
  .product-hero .tagline { font-size: 18px; }
  .motion-showcase { gap: 18px; padding: 16px; border-radius: 24px; }
  .motion-heading { padding: 16px 8px 8px; }
  .motion-heading h2 { font-size: 36px; }
  .motion-demo { border-radius: 17px; }
  .motion-demo-head { min-height: 56px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; padding: 9px 14px; }
  .motion-demo-head strong { font-size: 10px; }
  .demo-browser-bar { grid-template-columns: 54px minmax(0, 1fr) 20px; padding-inline: 11px; }
  .fanfan-canvas { min-height: 500px; }
  .demo-article { width: 100%; padding: 70px 24px 24px; }
  .demo-article h3 { max-width: 320px; margin-block: 12px 22px; font-size: 34px; }
  .demo-article p { font-size: 15px; line-height: 1.62; }
  .fanfan-switch { right: 14px; top: 14px; }
  .fanfan-word-card { width: calc(100% - 42px); right: 21px; top: auto; bottom: 20px; }
  .motion-demo-foot { flex-wrap: wrap; gap: 8px 10px; min-height: 58px; padding: 10px 14px; }
  .motion-demo-foot strong { width: 100%; margin-left: 0; }
  .youtube-canvas { min-height: 460px; }
  .video-copy { left: 7%; top: 12%; }
  .video-copy h3 { font-size: 40px; }
  .video-code { right: -24px; top: 18%; width: 180px; height: 205px; padding: 16px; opacity: .72; }
  .video-code code { margin-top: 26px; font-size: 9px; }
  .subtitle-stack { bottom: 78px; width: 92%; }
  .subtitle-stack p, .subtitle-stack strong { font-size: 12px; }
  .subtitle-settings { right: 12px; bottom: 58px; width: 205px; }
  .video-controls, .video-progress { left: 14px; right: 14px; }
  .product-principles { grid-template-columns: 1fr; }
  .product-principles div { min-height: 130px; }
  .manifesto { gap: 36px; padding-block: 80px; }
  .data-note { grid-template-columns: 1fr; padding: 30px; }
  .data-note-mark { width: 62px; height: 62px; border-radius: 18px; font-size: 24px; }
  .product-cta { padding: 64px 24px; }
  .legal { padding-top: 52px; }
  .legal-layout { gap: 42px; }
  .legal-toc { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .site-header .wordmark > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-live i, .saved-word, .fanfan-switch > i, .fanfan-switch > i b, .fanfan-word-card, .demo-cursor, .caption-control, .subtitle-stack, .subtitle-settings { animation: none !important; }
  .saved-word { background-size: 100% 100%; }
  .fanfan-switch > i { background: var(--flame); }
  .fanfan-switch > i b { transform: translateX(13px); }
  .fanfan-word-card { opacity: 1; transform: none; }
  .demo-cursor { display: none; }
  .caption-control { border-color: var(--flame); background: var(--flame); }
  .subtitle-stack { opacity: 1; transform: translate(-50%, 0); }
  .subtitle-settings { opacity: 1; transform: none; }
}

@media (prefers-color-scheme: dark) {
  :root { --paper: #0e1014; --surface: #161920; --soft: #1d212a; --ink: #f2f0ee; --ink-2: #c7c9ce; --muted: #9298a2; --line: #2a2f39; --flame-dark: #ff8a5e; --flame-soft: #2a1710; --violet-soft: #1c1930; color-scheme: dark; }
  body { background: radial-gradient(circle at 13% 8%, rgba(255, 106, 61, .10), transparent 23rem), radial-gradient(circle at 88% 34%, rgba(91, 69, 176, .12), transparent 30rem), var(--paper); }
  .button-quiet, .product-meta span, .mobile-content-nav a { background: rgba(22,25,32,.72); }
  .ticker { background: rgba(22,25,32,.65); }
  .maker-card { background: #f2f0ee; color: #14161a; }
  .contact { color: var(--on-flame); }
  .contact .section-kicker { color: rgba(255,253,248,.78); }
}
