/* 音芽 YINYA 官网 · graphite + mint, matches the V1.4.7 client */

:root {
  --ink: #0B1020;
  --ink-2: #111827;
  --ink-3: #1A2333;
  --mint: #41E0C3;
  --mint-hover: #2BD0B2;
  --on-mint: #0B1F1B;
  --jade: #0B7F6E;
  --violet: #9785F8;
  --amber: #E9A23B;

  --paper: #F5F7FA;
  --paper-2: #FFFFFF;
  --card: #FFFFFF;
  --text: #0F172A;
  --text-2: #475467;
  --muted: #667085;
  --line: #E4E8EF;
  --tint: #E3F8F3;
  --violet-tint: #EEEBFE;
  --amber-tint: #FCF1DF;
  --accent: var(--jade);
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, .18);

  --on-dark: #F4F6FA;
  --on-dark-2: #A3AEC0;
  --dark-line: rgba(255, 255, 255, .1);

  --radius: 20px;
  --wrap: 1200px;
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme:dark) {
  :root {
    --paper: #0D1220;
    --paper-2: #10172A;
    --card: #141C2E;
    --text: #EEF2F7;
    --text-2: #B4BECD;
    --muted: #8A96A8;
    --line: rgba(255, 255, 255, .09);
    --tint: rgba(65, 224, 195, .14);
    --violet-tint: rgba(151, 133, 248, .16);
    --amber-tint: rgba(233, 162, 59, .16);
    --accent: var(--mint);
    --shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 10px 30px rgba(0, 0, 0, .3);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 8px 14px; border-radius: 10px; background: var(--mint); color: var(--on-mint); font-weight: 600; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.dark { background: var(--ink); color: var(--on-dark); color-scheme: dark; }

/* ---------- Shared type & controls ---------- */

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.dark .eyebrow { color: var(--mint); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.section-lead { margin-top: 18px; color: var(--text-2); font-size: 18px; }
.dark .section-lead { color: var(--on-dark-2); }
.gradient-text { background: linear-gradient(100deg, #6FF0D6 0%, var(--mint) 45%, #A99BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.button.large { min-height: 52px; padding: 12px 28px; font-size: 16px; }
.button.primary { background: var(--mint); color: var(--on-mint); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 24px rgba(65, 224, 195, .28); }
.button.primary:hover { background: var(--mint-hover); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 32px rgba(65, 224, 195, .36); }
.button.ghost { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); color: var(--on-dark); }
.button.ghost:hover { border-color: rgba(255, 255, 255, .36); background: rgba(255, 255, 255, .1); }
.button.outline { border-color: var(--line); background: transparent; color: var(--text); }
.button.outline:hover { border-color: var(--mint); color: var(--accent); }

.tile-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 14px; background: var(--tint); color: var(--accent); }
.tile-icon.violet { background: var(--violet-tint); color: var(--violet); }
.tile-icon.amber { background: var(--amber-tint); color: var(--amber); }
.tile-icon svg, .float-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  color: var(--on-dark);
  transition: background-color .25s, border-color .25s, backdrop-filter .25s;
}
.site-header:has(nav.open) { background: var(--ink) !important; }
.site-header.scrolled {
  border-bottom-color: var(--dark-line);
  background: rgba(11, 16, 32, .94);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: 36px; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: .04em; }
.brand-latin { margin-top: 3px; color: var(--on-dark-2); font-size: 11px; font-weight: 600; letter-spacing: .24em; }
#main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
#main-nav a { padding: 8px 14px; border-radius: 999px; color: var(--on-dark-2); font-size: 15px; transition: color .15s, background-color .15s; }
#main-nav a:hover { background: rgba(255, 255, 255, .07); color: var(--on-dark); }
#main-nav .nav-cta { display: none; }
.header-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; background: var(--mint); color: var(--on-mint); font-size: 14px; font-weight: 700; transition: background-color .15s; }
.header-cta:hover { background: var(--mint-hover); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--dark-line); border-radius: 12px; background: rgba(255, 255, 255, .05); cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; margin: auto; border-radius: 2px; background: var(--on-dark); transition: transform .2s, background-color .2s; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded=true] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded=true] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded=true] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 152px 0 0;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(65, 224, 195, .20), transparent 70%),
    radial-gradient(700px 500px at 88% 30%, rgba(151, 133, 248, .16), transparent 70%),
    radial-gradient(600px 420px at 8% 40%, rgba(65, 224, 195, .08), transparent 70%),
    var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 7px 16px 7px 12px; border: 1px solid rgba(65, 224, 195, .28); border-radius: 999px; background: rgba(65, 224, 195, .08); color: #B8F5E9; font-size: 14px; font-weight: 500; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(65, 224, 195, .2); }
.hero h1 { font-size: clamp(42px, 7vw, 84px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; }
.lead { max-width: 720px; margin-top: 28px; color: var(--on-dark-2); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 32px; color: var(--on-dark-2); font-size: 14px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(65, 224, 195, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%2341E0C3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.hero-stage { position: relative; margin-top: 72px; }
.stage-glow { position: absolute; inset: 8% 6% auto; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(65, 224, 195, .35), rgba(151, 133, 248, .18) 60%, transparent); filter: blur(40px); }
.shot-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
  transition: transform .3s, box-shadow .3s;
}
.shot-frame:hover { transform: translateY(-3px); }
.shot-frame img { width: 100%; }
.hero-frame { border-color: rgba(255, 255, 255, .14); border-bottom: 0; border-radius: 18px 18px 0 0; background: #1A2333; box-shadow: 0 -10px 80px rgba(65, 224, 195, .15), 0 40px 100px rgba(0, 0, 0, .55); }
.hero-frame:hover { transform: none; }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: #161E2D; }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #39445A; }
.frame-bar i:first-child { background: #F26B6B; }
.frame-bar i:nth-child(2) { background: #F2C14E; }
.frame-bar i:nth-child(3) { background: #41E0C3; }
.frame-bar b { margin: 0 auto; padding-right: 50px; color: #8A96A8; font-size: 12px; font-weight: 500; }
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(17, 24, 39, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--on-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.card-a { top: 24%; left: -28px; flex-direction: column; gap: 0; min-width: 196px; }
.card-a .float-label { color: var(--on-dark-2); font-size: 13px; }
.card-a strong { color: var(--mint); font-size: 36px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.card-a small { color: var(--on-dark-2); font-size: 12px; }
.card-b { right: -28px; bottom: 22%; align-items: center; }
.card-b .float-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(65, 224, 195, .16); color: var(--mint); }
.card-b strong { display: block; font-size: 15px; }
.card-b small { display: block; color: var(--on-dark-2); font-size: 12px; }
.shot-note { position: relative; padding: 14px 0 18px; color: #6B778A; font-size: 12px; text-align: center; }

/* ---------- Platforms ---------- */

.platforms { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.platforms-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; padding: 26px 0; }
.platforms p { color: var(--muted); font-size: 14px; }
.platforms ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; }
.platforms li { display: inline-flex; align-items: baseline; gap: 6px; color: var(--text); font-size: 18px; font-weight: 700; letter-spacing: .02em; opacity: .82; }
.platforms small { color: var(--muted); font-size: 12px; font-weight: 500; }

/* ---------- Sections ---------- */

.section { padding: 120px 0; }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card { position: relative; padding: 36px 32px 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.pain-num { display: block; margin-bottom: 28px; background: linear-gradient(135deg, var(--mint), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.pain-card h3 { font-size: 21px; font-weight: 700; }
.pain-card p { margin-top: 10px; color: var(--text-2); }

.how { background: var(--paper-2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 49px; right: -21px; width: 22px; height: 2px; background: linear-gradient(90deg, var(--mint), transparent); }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border-radius: 13px; background: var(--ink-2); color: var(--mint); font-size: 17px; font-weight: 800; box-shadow: 0 6px 16px rgba(17, 24, 39, .2); }
.step h3 { font-size: 19px; font-weight: 700; }
.step p { margin-top: 10px; color: var(--text-2); font-size: 15px; }

.evidence {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 500px at 100% 0%, rgba(65, 224, 195, .14), transparent 70%),
    radial-gradient(600px 500px at 0% 100%, rgba(151, 133, 248, .12), transparent 70%),
    var(--ink);
}
.evidence-grid { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 72px; }
.evidence h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.check-list { display: grid; gap: 18px; margin-top: 36px; }
.check-list li { position: relative; padding-left: 36px; color: var(--on-dark-2); font-size: 15px; }
.check-list li::before { content: ""; position: absolute; top: 3px; left: 0; width: 22px; height: 22px; border-radius: 7px; background: rgba(65, 224, 195, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%2341E0C3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.check-list strong { display: block; margin-bottom: 2px; color: var(--on-dark); font-size: 16px; }
.boundary-inline { margin-top: 32px; padding: 14px 18px; border: 1px solid var(--dark-line); border-radius: 14px; background: rgba(255, 255, 255, .03); color: var(--on-dark-2); font-size: 14px; }
.evidence-frame { border-color: rgba(255, 255, 255, .14); box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 0 0 8px rgba(255, 255, 255, .03); }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 20px 40px rgba(15, 23, 42, .08); }
.tile h3 { font-size: 20px; font-weight: 700; }
.tile p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.tile-assistant { grid-column: span 2; grid-row: span 2; overflow: hidden; padding-bottom: 0; background: linear-gradient(180deg, var(--card) 0%, var(--card) 45%, var(--violet-tint) 100%); }
.tile-assistant .tile-copy { max-width: 560px; margin-bottom: 28px; }
.tile-shot { display: block; height: 280px; margin-top: auto; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px rgba(151, 133, 248, .18); }
.tile-shot img { width: 100%; }

.create { background: var(--paper-2); border-block: 1px solid var(--line); }
.create-grid { display: grid; grid-template-columns: .9fr 1.25fr; align-items: center; gap: 64px; }
.create h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.02em; }
.create-list { display: grid; gap: 16px; margin-top: 32px; }
.create-list li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--text-2); font-size: 15px; }
.create-list strong { display: block; margin-bottom: 2px; color: var(--text); font-size: 16px; }
.small-note { margin-top: 20px; color: var(--muted); font-size: 13px; }
.create-frame { border-radius: 14px; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.trust-card h3 { font-size: 20px; font-weight: 700; }
.trust-card p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.boundary { margin-top: 20px; padding: 22px 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--text-2); font-size: 15px; }
.boundary strong { color: var(--text); }

.start { padding-top: 0; }
.start-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(500px 340px at 0% 0%, rgba(65, 224, 195, .2), transparent 70%),
    radial-gradient(500px 340px at 100% 100%, rgba(151, 133, 248, .18), transparent 70%),
    var(--ink-2);
  box-shadow: var(--shadow-lg);
}
.start-card h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.start-copy .button { margin-top: 36px; }
.start-steps { display: grid; align-content: center; gap: 14px; }
.start-steps li { display: flex; gap: 18px; padding: 20px 22px; border: 1px solid var(--dark-line); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.start-steps li > span { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: rgba(65, 224, 195, .16); color: var(--mint); font-weight: 800; }
.start-steps h3 { font-size: 17px; font-weight: 700; }
.start-steps p { margin-top: 4px; color: var(--on-dark-2); font-size: 14px; }
.start-note { margin-top: 18px; color: var(--muted); font-size: 13px; text-align: center; }

.download { padding-top: 40px; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.download-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.download-card.featured { border-color: color-mix(in srgb, var(--mint) 45%, var(--line)); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--mint) 18%, transparent); }
.download-tag { display: inline-flex; align-self: flex-start; margin-bottom: 16px; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--accent); font-size: 12px; font-weight: 600; }
.download-card h3 { font-size: 22px; font-weight: 800; }
.download-card > p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.download-meta { display: flex; gap: 16px; margin: 18px 0 24px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.download-card .button { align-self: flex-start; }
.download-card .hash { margin-top: 18px; color: var(--muted); font-size: 12px; }
.download-card .hash span { display: block; margin-bottom: 4px; font-weight: 600; }
.download-card code { display: block; overflow-wrap: anywhere; color: var(--text-2); font-family: ui-monospace, Consolas, monospace; font-size: 11px; line-height: 1.6; }
.download-note { margin-top: 22px; color: var(--muted); font-size: 13px; text-align: center; }
.download-note a { color: var(--accent); font-weight: 600; }
.download-note a:hover { text-decoration: underline; }

.faq { padding-top: 40px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 64px; align-items: start; }
.faq .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: border-color .15s, box-shadow .15s; }
.faq-list details[open] { border-color: color-mix(in srgb, var(--mint) 45%, var(--line)); box-shadow: var(--shadow); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%230B7F6E' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--text-2); font-size: 15px; }

.closing {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  background:
    radial-gradient(700px 400px at 50% 110%, rgba(65, 224, 195, .24), transparent 70%),
    radial-gradient(500px 300px at 85% 0%, rgba(151, 133, 248, .14), transparent 70%),
    var(--ink);
  text-align: center;
}
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing img { width: 72px; height: 72px; margin-bottom: 32px; border-radius: 22px; box-shadow: 0 20px 50px rgba(65, 224, 195, .25); }
.closing h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 800; letter-spacing: -.02em; }
.closing h2 span { display: block; }
.closing p { margin-top: 20px; color: var(--on-dark-2); font-size: 18px; }
.closing .button { margin-top: 40px; }

.site-footer { border-top: 1px solid var(--dark-line); background: #080C18; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 40px 0; }
.site-footer p { color: var(--on-dark-2); font-size: 13px; line-height: 1.8; }
.site-footer p span { color: #6B778A; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { color: var(--on-dark-2); font-size: 14px; }
.site-footer nav a:hover { color: var(--mint); }
.site-footer .brand img { width: 32px; height: 32px; }

/* ---------- Screenshot dialog ---------- */

dialog { width: min(1280px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--text); box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(5, 8, 16, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px 14px 24px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: 15px; font-weight: 600; }
.dialog-header button { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: 14px; }
.dialog-header button:hover { border-color: var(--mint); }
.dialog-scroll { max-height: calc(100dvh - 100px); overflow: auto; background: var(--paper); }
.dialog-scroll img { width: 100%; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion:no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .reveal.in { opacity: 1; transform: none; }
  .float-card { animation: float 7s ease-in-out infinite; }
  .card-b { animation-delay: -3.5s; }
  @keyframes float { 50% { transform: translateY(-10px); } }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width:1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .evidence-grid, .create-grid { grid-template-columns: 1fr; gap: 48px; }
  .evidence-copy, .create-copy { max-width: 680px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-assistant { grid-row: auto; }
  .start-card { grid-template-columns: 1fr; gap: 40px; padding: 48px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq .section-head { position: static; }
  .card-a { left: 12px; }
  .card-b { right: 12px; }
}
@media (max-width:860px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  #main-nav { position: absolute; top: 72px; inset-inline: 0; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 24px 24px; border-bottom: 1px solid var(--dark-line); background: var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
  #main-nav.open { display: flex; }
  #main-nav a { padding: 14px 12px; border-radius: 12px; font-size: 16px; }
  #main-nav .nav-cta { display: block; margin-top: 10px; background: var(--mint); color: var(--on-mint); font-weight: 700; text-align: center; }
  .pain-grid, .trust-grid, .download-grid { grid-template-columns: 1fr; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width:640px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding-top: 116px; }
  .hero-stage { margin-top: 52px; }
  .hero-actions { flex-direction: column; align-self: stretch; }
  .hero-actions .button { width: 100%; }
  .frame-bar { height: 28px; }
  .frame-bar b { display: none; }
  .frame-bar i { width: 8px; height: 8px; }
  .float-card { display: none; }
  .steps, .bento { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .tile-assistant { grid-column: auto; }
  .tile, .trust-card, .pain-card { padding: 26px 24px; }
  .start-card { padding: 36px 24px; border-radius: 22px; }
  .start-copy .button { width: 100%; }
  .platforms li { font-size: 16px; }
  .closing { padding: 96px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
