@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

: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;
  --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: Manrope, -apple-system, BlinkMacSystemFont, "PingFang SC", "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(1280px, 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; }
.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 { display: flex; align-items: center; gap: 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-github { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 80px; padding-block: 74px 90px; }
.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(--brand-ink); 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 { position: relative; min-height: 440px; 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); } }

.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(--ink); }
.contact .section-kicker { color: rgba(20,22,26,.62); }
.contact-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 42px; }
.contact-row a { padding-bottom: 6px; border-bottom: 1px solid rgba(20,22,26,.4); }
.contact-row span { color: var(--ink); }
.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; }
.product-stage { position: relative; min-height: 720px; margin-top: 18px; padding: 64px; overflow: hidden; border-radius: 36px; background: var(--brand-ink); box-shadow: 0 32px 90px rgba(20,22,26,.19); }
.stage-glow { position: absolute; border-radius: 50%; filter: blur(2px); }
.stage-glow-one { width: 420px; height: 420px; right: -120px; top: -160px; background: rgba(255,106,61,.32); }
.stage-glow-two { width: 480px; height: 480px; left: -190px; bottom: -260px; background: rgba(91,69,176,.38); }
.product-shot { position: relative; z-index: 1; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.product-shot figcaption { min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 17px; border-bottom: 1px solid #e4e5e8; background: #f5f5f6; color: #555b65; text-transform: uppercase; font: 500 10px DM Mono, monospace; letter-spacing: .08em; }
.product-shot figcaption span { color: var(--flame-dark); }
.product-shot img { width: 100%; }
.product-shot-main { width: 82%; margin: 0; transform: rotate(-1.5deg); }
.product-shot-secondary { position: absolute; z-index: 2; width: 52%; right: 46px; bottom: 45px; margin: 0; transform: rotate(2.5deg); }
.stage-note { position: absolute; right: 58px; top: 46px; z-index: 3; display: grid; transform: rotate(3deg); color: #fff; text-align: right; }
.stage-note strong { color: #ff9b75; font-size: 24px; letter-spacing: -.03em; }
.stage-note span { color: #a9aeb6; font: 500 11px DM Mono, monospace; letter-spacing: .08em; text-transform: uppercase; }
.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: #14161a; 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 { grid-template-columns: 1fr; gap: 20px; padding-top: 62px; }
  .hero-object { min-height: 390px; }
  .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); }
  .product-stage { min-height: 610px; padding: 46px; }
  .product-shot-main { width: 90%; }
  .product-shot-secondary { width: 58%; right: 30px; bottom: 34px; }
  .stage-note { display: none; }
  .product-principles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .shell, .page-shell, .site-header { width: min(100% - 30px, 1180px); }
  .site-header { height: 72px; }
  .nav > a:not(.nav-github) { display: none; }
  .hero { min-height: auto; padding-block: 56px 70px; }
  .hero h1 { font-size: 51px; }
  .hero-lede { font-size: 18px; }
  .hero-object { min-height: 330px; transform: scale(.85); }
  .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; }
  .product-stage { min-height: 410px; padding: 26px 18px; border-radius: 24px; }
  .product-shot { border-radius: 15px; }
  .product-shot figcaption { min-height: 34px; padding-inline: 10px; font-size: 8px; }
  .product-shot-main { width: 94%; }
  .product-shot-secondary { width: 64%; right: 14px; bottom: 24px; }
  .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 (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@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); }
  .nav-github, .button-quiet, .product-meta span { background: rgba(22,25,32,.72); }
  .ticker { background: rgba(22,25,32,.65); }
  .maker-card { background: #f2f0ee; color: #14161a; }
  .contact { color: #14161a; }
  .contact .section-kicker { color: rgba(20,22,26,.62); }
}
