/* ========== RESET & TOKENS ========== */
:root {
  --ink: #171615;
  --paper: #f3f1eb;
  --panel: #fffefa;
  --line: #dcd4c4;
  --text: #23211d;
  --muted: #756f62;
  --gold: #b08a4a;
  --gold-light: #d4b978;
  --orange: #f36a2c;
  --orange-soft: #f5844d;
  --serif: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --sans: -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  --shadow-sm: 0 2px 8px rgba(36,29,21,.06);
  --shadow-md: 0 12px 40px rgba(36,29,21,.10);
  --shadow-lg: 0 26px 80px rgba(36,29,21,.16);
  --shadow-xl: 0 40px 100px rgba(36,29,21,.20);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.2,.72,.25,1);
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { color: var(--text); background: var(--paper); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { color: inherit; font: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { list-style: none; }

/* ========== LAYOUT ========== */
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* ========== HEADER ========== */
.site-header {
  position: fixed; z-index: 100; top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex; align-items: center;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(243,241,235,.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(220,212,196,.6);
}
.header-inner {
  width: min(1180px, calc(100% - 48px)); margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-img { width: 130px; }
.nav-center { display: flex; justify-content: center; gap: 6px; }
.nav-link {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; color: #5a5449;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(176,138,74,.08); }
.nav-link.nav-highlight {
  color: var(--gold);
  font-weight: 600;
}
.nav-link.nav-highlight:hover { background: rgba(176,138,74,.12); }
.nav-link .nav-icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; opacity: .7; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-extension {
  padding: 8px 10px; color: #5a5449;
  font-size: 12px; font-weight: 700;
  transition: color .2s;
}
.nav-extension:hover { color: var(--orange); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700;
  color: #f4dfb1; background: var(--ink);
  border: 1px solid var(--gold);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(23,22,21,.18); }
.nav-cta span { color: var(--orange); }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn span {
  display: block; width: 20px; height: 1.5px; background: var(--text);
  position: absolute; left: 50%; transform: translateX(-50%);
  transition: .25s var(--ease);
}
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh; padding-top: calc(var(--header-h) + 80px); padding-bottom: 80px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 72% 10%, rgba(224,196,139,.20), transparent 50%),
              radial-gradient(ellipse 60% 50% at 20% 80%, rgba(243,106,44,.05), transparent 50%),
              linear-gradient(180deg, #f8f5ef 0%, var(--paper) 100%);
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-deco .orb {
  position: absolute; border-radius: 50%;
  animation: orbFloat 18s ease-in-out infinite alternate;
}
.hero-deco .orb-1 {
  width: 600px; height: 600px; top: -200px; right: -100px;
  border: 1px solid rgba(176,138,74,.12);
  animation-duration: 22s;
}
.hero-deco .orb-2 {
  width: 450px; height: 450px; top: -120px; right: -20px;
  border: 1px solid rgba(176,138,74,.08);
  animation-duration: 18s; animation-delay: -4s;
}
.hero-deco .orb-3 {
  width: 280px; height: 280px; top: 60%; left: -80px;
  background: radial-gradient(circle, rgba(243,106,44,.04), transparent 70%);
  animation-duration: 15s; animation-delay: -8s;
}
.hero-deco .grid-lines {
  position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background-image:
    linear-gradient(rgba(176,138,74,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176,138,74,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 60% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 60% 30%, black, transparent);
}
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 15px) scale(1.03); }
  100% { transform: translate(10px, -10px) scale(.97); }
}
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 8px; border-radius: 100px;
  background: rgba(255,254,250,.7); border: 1px solid rgba(176,138,74,.2);
  font-size: 11px; font-weight: 600; color: #765b2d;
  letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-badge .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero-badge .badge-label { color: var(--orange); }
.hero-badge .badge-sep { width: 16px; height: 1px; background: var(--gold); opacity: .5; }
.hero h1 {
  max-width: 900px; margin: 28px auto 0;
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(44px, 6.5vw, 80px); line-height: 1.15;
  letter-spacing: -.065em; color: var(--text);
}
.hero h1 .line { display: block; }
.hero h1 .accent {
  position: relative; color: var(--orange);
  background: linear-gradient(135deg, var(--orange) 0%, #e85a1e 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 .accent::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, transparent, var(--orange) 15% 85%, transparent);
  border-radius: 2px; transform: rotate(-.8deg);
}
.hero-desc {
  max-width: 580px; margin: 24px auto 0;
  color: var(--muted); font-size: 16px; line-height: 1.9;
}
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #f5deb0; background: var(--ink); border: 1px solid var(--gold);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(23,22,21,.18); }
.btn-primary .arrow { color: var(--orange); font-size: 16px; }
.btn-ghost {
  color: #514b41; background: rgba(255,254,250,.6); border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { box-shadow: 0 8px 24px rgba(35,29,22,.08); background: rgba(255,254,250,.9); }
.hero-meta {
  margin-top: 20px; display: flex; gap: 24px; justify-content: center;
  color: #817a6e; font-size: 11px;
}
.hero-meta .check { color: var(--gold); margin-right: 5px; font-style: normal; }
.hero-product { position: relative; z-index: 3; margin-top: 64px; }
.product-mockup {
  overflow: hidden; border: 1px solid rgba(168,149,117,.6);
  border-radius: var(--radius-lg); background: var(--panel);
  box-shadow: var(--shadow-xl);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-mockup:hover { transform: translateY(-4px); box-shadow: 0 50px 120px rgba(36,29,21,.22); }
.mockup-bar {
  height: 40px; padding: 0 16px; display: flex; gap: 7px; align-items: center;
  border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f0ebe1, #eae4d8);
}
.mockup-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.mockup-bar .dot-r { background: #ff6058; }
.mockup-bar .dot-y { background: #ffbd2e; }
.mockup-bar .dot-g { background: #27ca40; }
.mockup-bar .title { margin-left: auto; color: #9e9689; font-size: 9px; font-weight: 500; letter-spacing: .06em; }
.mockup-img { width: 100%; aspect-ratio: 1365/790; object-fit: cover; object-position: top; }
.product-label {
  position: absolute; right: 24px; bottom: -20px;
  padding: 10px 16px; display: flex; gap: 12px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--panel); box-shadow: var(--shadow-md);
  font-size: 10px;
}
.product-label b { color: var(--orange); }
.product-label span { color: var(--muted); }

/* ========== TRUST STRIP ========== */
.trust-strip {
  padding: 20px 0; background: var(--ink); overflow: hidden;
  position: relative;
}
.trust-strip::before, .trust-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.trust-strip::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.trust-strip::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.trust-track {
  display: flex; align-items: center; gap: 32px;
  animation: ticker 25s linear infinite;
  width: max-content;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: #c9bda8; font-family: var(--serif); font-size: 13px; font-weight: 600;
  letter-spacing: .04em; white-space: nowrap; flex-shrink: 0;
}
.trust-item .trust-icon { width: 18px; height: 18px; opacity: .5; }
.trust-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); flex-shrink: 0; opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ========== SECTION COMMON ========== */
.section { padding: 120px 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #765b2d;
}
.section-eyebrow .num { color: var(--orange); }
.section-eyebrow .sep { width: 20px; height: 1px; background: var(--gold); }
.section-heading {
  margin: 16px 0 18px; font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 56px); font-weight: 900;
  line-height: 1.25; letter-spacing: -.05em;
}
.section-heading .accent { color: var(--orange); }
.section-desc { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 520px; }

/* ========== PRODUCT STORY ========== */
.product-story { background: var(--paper); }
.story-grid { margin-top: 56px; display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start; }
.story-list { display: grid; gap: 0; }
.story-item {
  padding: 22px 0; display: grid; grid-template-columns: 36px 1fr; gap: 14px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.story-item:first-child { border-top: 1px solid var(--line); }
.story-item:hover { padding-left: 8px; }
.story-item .num {
  color: var(--orange); font-family: var(--serif); font-size: 12px; font-weight: 700;
  padding-top: 2px;
}
.story-item h3 { font-family: var(--serif); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.story-item p { color: var(--muted); font-size: 12px; line-height: 1.75; }
.story-visual {
  position: relative; overflow: hidden;
  border: 1px solid #c8b99f; border-radius: var(--radius-md);
  background: var(--panel); box-shadow: var(--shadow-lg);
}
.story-visual img { width: 100%; }
.story-visual figcaption {
  padding: 14px 16px; display: flex; gap: 12px; align-items: center;
  border-top: 1px solid var(--line); font-size: 10px;
}
.story-visual figcaption strong { font-weight: 700; }
.story-visual figcaption span { color: var(--muted); }

/* ========== FEATURE SHOWCASE (DARK) ========== */
.feature-showcase {
  padding: 130px 0;
  color: #ede1ca;
  background:
    radial-gradient(ellipse 50% 40% at 10% 10%, rgba(176,138,74,.10), transparent),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(243,106,44,.06), transparent),
    var(--ink);
  position: relative; overflow: hidden;
}
.feature-showcase::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(176,138,74,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176,138,74,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}
.feature-showcase .section-eyebrow { color: #ad9d83; }
.feature-showcase .section-heading { color: #f3e7d1; }
.feature-showcase .section-desc { color: #9e9689; }
.feature-layout { margin-top: 56px; display: grid; grid-template-columns: 1.6fr .7fr; gap: 40px; align-items: start; position: relative; z-index: 1; }
.feature-screen {
  overflow: hidden; border: 1px solid #4a4235; border-radius: var(--radius-md);
  background: #1e1c19; box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.feature-screen img { width: 100%; }
.feature-list { display: grid; }
.feature-item {
  padding: 22px 0; border-bottom: 1px solid #332e26;
  transition: padding-left .3s var(--ease);
}
.feature-item:first-child { border-top: 1px solid #332e26; }
.feature-item:hover { padding-left: 6px; }
.feature-item .num { color: var(--orange); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.feature-item h3 { margin: 8px 0 6px; font-family: var(--serif); font-size: 18px; font-weight: 700; color: #ede1ca; }
.feature-item p { color: #8e877b; font-size: 12px; line-height: 1.75; }

/* ========== CAPABILITY ========== */
.capability { background: var(--paper); }
.cap-grid { margin-top: 56px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.cap-list { margin-top: 28px; border-top: 1px solid var(--line); }
.cap-list-item {
  padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.cap-list-item:hover { padding-left: 6px; }
.cap-list-item .cap-label { color: var(--orange); font-size: 11px; font-weight: 700; }
.cap-list-item .cap-desc { color: var(--muted); font-size: 11px; font-weight: 500; }
.cap-visual {
  overflow: hidden; border: 1px solid #c8b99f; border-radius: var(--radius-md);
  background: var(--panel); box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
  transition: transform .4s var(--ease);
}
.cap-visual:hover { transform: rotate(0deg) scale(1.01); }
.cap-visual img { width: 100%; }
.cap-visual figcaption {
  padding: 14px 16px; display: flex; gap: 12px; align-items: center;
  border-top: 1px solid var(--line); font-size: 10px;
}
.cap-visual figcaption strong { font-weight: 700; }
.cap-visual figcaption span { color: var(--muted); }

/* ========== LOCAL FIRST ========== */
.local-section {
  padding: 120px 0; background: linear-gradient(180deg, #ebe4d7 0%, #e5ddd0 100%);
  position: relative; overflow: hidden;
}
.local-section::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(176,138,74,.12);
}
.local-section::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 420px; height: 420px; border-radius: 50%;
  border: 1px dashed rgba(176,138,74,.15);
}
.local-grid {
  display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.local-emblem {
  position: relative; min-height: 320px; display: grid; place-items: center;
}
.local-emblem .emblem-ring {
  z-index: 2; width: 140px; height: 140px; display: grid; place-items: center;
  overflow: hidden; border: 1px solid var(--gold); border-radius: 50%;
  background: var(--ink); box-shadow: 0 20px 50px rgba(42,32,22,.18);
}
.local-emblem .emblem-ring img { width: 115px; }
.local-emblem .emblem-text {
  position: absolute; right: 10px; bottom: 30px;
  color: #a48f6c; font-family: var(--serif); font-size: 18px;
  line-height: 1; letter-spacing: .12em;
}
.local-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.local-tag {
  padding: 8px 14px; color: #5f5545;
  border: 1px solid #c7b89d; border-radius: var(--radius-sm);
  background: rgba(255,254,250,.5); font-size: 10px; font-weight: 500;
}

/* ========== PROOF ========== */
.proof-section { background: #f8f5ef; }
.proof-head {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
}
.proof-note {
  max-width: 340px; padding: 18px 20px;
  border-left: 2px solid var(--orange);
  color: #665d50; background: rgba(255,254,250,.62);
  font-size: 12px; line-height: 1.85;
}
.proof-stats {
  margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.proof-stat {
  min-height: 118px; padding: 24px 22px;
  border-right: 1px solid var(--line);
}
.proof-stat:last-child { border-right: 0; }
.proof-stat b {
  display: block; margin-bottom: 8px;
  color: var(--orange); font-family: var(--serif);
  font-size: 24px; line-height: 1.25; letter-spacing: 0;
}
.proof-stat span { display: block; color: #5d564b; font-size: 12px; line-height: 1.7; }
.proof-grid {
  margin-top: 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch;
}
.proof-shots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.proof-shot {
  min-height: 210px; padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid #c8b99f; border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255,254,250,.92), rgba(244,239,229,.92)),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(176,138,74,.08) 28px 29px);
  box-shadow: var(--shadow-sm);
}
.proof-shot .shot-kicker { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.proof-shot strong { margin-top: 18px; font-family: var(--serif); font-size: 17px; line-height: 1.45; }
.proof-shot span { color: var(--muted); font-size: 11px; line-height: 1.75; }
.proof-quotes { display: grid; gap: 12px; }
.quote-card {
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--panel); box-shadow: var(--shadow-sm);
}
.quote-card p { color: #38332b; font-size: 13px; line-height: 1.85; }
.quote-card footer { margin-top: 12px; color: var(--muted); font-size: 11px; }

/* ========== FAQ ========== */
.faq-section { background: var(--paper); }
.faq-layout {
  display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start;
}
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--panel); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  min-height: 58px; padding: 18px 52px 18px 20px;
  position: relative; list-style: none; cursor: pointer;
  color: #2d2923; font-size: 14px; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; top: 50%; right: 20px; transform: translateY(-50%);
  color: var(--orange); font-size: 20px; font-weight: 400; line-height: 1;
}
.faq-item[open] summary::after { content: '-'; }
.faq-item p { padding: 0 20px 20px; color: var(--muted); font-size: 13px; line-height: 1.9; }

/* ========== BROWSER EXTENSION ========== */
.extension-section {
  padding: 112px 0;
  color: #eee4d2;
  background:
    radial-gradient(circle at 12% 18%, rgba(243,106,44,.15), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(176,138,74,.17), transparent 28%),
    var(--ink);
}
.extension-section .shell { display: grid; grid-template-columns: .82fr 1.18fr; gap: 84px; align-items: center; }
.extension-section .section-heading { color: #f4ead8; }
.extension-section .section-desc { margin-top: 20px; color: #a99f90; }
.extension-downloads { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.extension-download { color: var(--ink); background: #e7cf9b; }
.extension-download.btn-ghost { color: #e7cf9b; border-color: #665536; background: rgba(255,255,255,.04); }
.extension-download.is-disabled { pointer-events: none; opacity: .48; }
.extension-download:hover { box-shadow: 0 12px 36px rgba(0,0,0,.28); }
.extension-version { margin-top: 10px; color: #81786b; font-size: 10px; }
.extension-guide { border: 1px solid #393329; border-radius: var(--radius-lg); background: #211f1c; box-shadow: 0 28px 70px rgba(0,0,0,.26); }
.extension-guide-head { min-height: 58px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #393329; }
.extension-guide-head span { color: #e2d6c2; font-family: var(--serif); font-size: 18px; font-weight: 700; }
.extension-guide-head b { color: var(--gold-light); font-size: 10px; letter-spacing: .08em; }
.extension-steps { padding: 8px 22px; }
.extension-steps li { padding: 16px 0; display: grid; grid-template-columns: 42px 1fr; gap: 12px; border-bottom: 1px solid #353027; }
.extension-steps li:last-child { border-bottom: 0; }
.extension-steps li > span { color: var(--orange); font-family: var(--serif); font-size: 13px; font-weight: 700; }
.extension-steps b { display: block; margin-bottom: 4px; color: #e7dcc9; font-size: 13px; }
.extension-steps p { color: #948b7e; font-size: 12px; line-height: 1.7; }
.extension-steps code { padding: 2px 5px; border-radius: 4px; color: #dac18e; background: #171615; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.extension-safe-note { margin: 0 14px 14px; padding: 14px; display: flex; gap: 12px; border: 1px solid rgba(176,138,74,.24); border-radius: var(--radius-md); background: rgba(176,138,74,.07); }
.extension-safe-note svg { width: 20px; min-width: 20px; color: var(--gold-light); }
.extension-safe-note b, .extension-safe-note span { display: block; }
.extension-safe-note b { margin-bottom: 3px; color: #d9c9ae; font-size: 11px; }
.extension-safe-note span { color: #8f8679; font-size: 10px; line-height: 1.7; }
/* ========== DOWNLOAD ========== */
.download-section { padding: 120px 0; text-align: center; }
.download-section .section-heading { margin-bottom: 12px; }
.download-section .section-desc { margin: 0 auto; }
.download-brand { margin: 0 auto 24px; width: 160px; }
.download-grid {
  max-width: 640px; margin: 32px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.download-card {
  min-height: 76px; padding: 16px 18px;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px;
  text-align: left; border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--panel); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.download-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.download-card b { font-size: 13px; }
.download-card span { grid-column: 1; color: var(--muted); font-size: 10px; }
.download-card .dl-icon { grid-column: 2; grid-row: 1/3; align-self: center; color: var(--orange); font-size: 18px; font-style: normal; }
.download-card.dl-primary { color: #f5deb0; border-color: var(--gold); background: var(--ink); }
.download-card.dl-primary span { color: #bcad91; }
.download-note { margin-top: 16px; display: block; color: #a49b8d; font-size: 9px; }
.download-help {
  margin-top: 28px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.download-help a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(255,254,250,.6);
  font-size: 12px; font-weight: 500; color: #5a5449;
  transition: border-color .2s, color .2s, background .2s;
}
.download-help a:hover { border-color: var(--gold); color: var(--text); background: var(--panel); }
.download-help .help-icon { width: 14px; height: 14px; opacity: .6; }

/* ========== FOOTER ========== */
.site-footer {
  padding: 48px 0 32px; background: var(--ink); color: #8a8377;
}
.footer-inner {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 40px; align-items: start;
}
.footer-brand img { width: 140px; margin-bottom: 12px; }
.footer-brand p { font-size: 10px; color: #a99e8e; letter-spacing: .12em; }
.footer-nav { display: grid; grid-template-columns: repeat(4, auto); gap: 40px; justify-content: center; }
.footer-col h4 { font-size: 10px; font-weight: 700; color: #c9bda8; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; padding: 4px 0; font-size: 12px; color: #8a8377; transition: color .2s; }
.footer-col a:hover { color: #d4c7af; }
.footer-copy { text-align: right; font-size: 9px; color: #6b6560; }

/* ========== BACK TO TOP ========== */
.back-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(176,138,74,.55); border-radius: var(--radius-md);
  color: #f5deb0; background: rgba(23,22,21,.9);
  box-shadow: 0 14px 36px rgba(23,22,21,.22);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s var(--ease), visibility .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.back-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(23,22,21,.28);
}
.back-top svg { width: 20px; height: 20px; color: var(--orange); }

/* ========== REVEAL ANIMATION ========== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ========== MOBILE MENU ========== */
.mobile-menu {
  display: none; position: fixed; z-index: 99;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(243,241,235,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: #4a4540;
  transition: background .2s;
}
.mobile-menu a:hover { background: rgba(176,138,74,.08); }
.mobile-menu .menu-divider { height: 1px; background: var(--line); margin: 8px 0; }
.mobile-menu .menu-highlight { color: var(--gold); font-weight: 600; }

/* ========== END-TO-END WORKFLOW ========== */
.workflow-section {
  position: relative; padding: 118px 0 124px; overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(243,106,44,.09), transparent 22%),
    radial-gradient(circle at 88% 52%, rgba(212,185,120,.12), transparent 26%),
    #e9e4da;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.workflow-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(23,22,21,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(23,22,21,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.workflow-section .shell { position: relative; }
.workflow-section:target .reveal { opacity: 1; transform: none; }
.workflow-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.workflow-heading .section-desc { margin-bottom: 8px; }
.workflow-rail {
  position: sticky; z-index: 5; top: calc(var(--header-h) + 12px);
  display: grid; grid-template-columns: repeat(6, 1fr); margin: 54px 0 26px;
  border: 1px solid rgba(176,138,74,.5); border-radius: var(--radius-md); overflow: hidden;
  background: rgba(255,254,250,.88); box-shadow: var(--shadow-sm); backdrop-filter: blur(16px);
}
.workflow-rail li + li { border-left: 1px solid var(--line); }
.workflow-rail a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px; font-size: 12px; font-weight: 700; }
.workflow-rail a:hover { background: var(--ink); color: #f4dfb1; }
.workflow-rail span { color: var(--orange); font-family: var(--serif); }
.workflow-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.workflow-scene {
  min-width: 0; padding: 30px; border: 1px solid rgba(176,138,74,.4); border-radius: var(--radius-lg);
  background: rgba(255,254,250,.82); box-shadow: var(--shadow-md);
}
.workflow-scene-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: center; }
.workflow-scene-dark { color: #f6ecdc; background: var(--ink); border-color: #443b2e; }
.workflow-copy { align-self: center; }
.workflow-number { display: block; margin-bottom: 10px; color: var(--gold); font-family: var(--serif); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.workflow-copy h3 { margin-bottom: 10px; font-family: var(--serif); font-size: clamp(23px, 2.4vw, 34px); line-height: 1.28; letter-spacing: -.04em; }
.workflow-copy p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.workflow-scene-dark .workflow-copy p { color: #bcb2a3; }
.workflow-points { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.workflow-points li { padding: 5px 9px; border: 1px solid var(--line); border-radius: 100px; color: #5f584d; background: rgba(255,255,255,.45); font-size: 10px; }
.screen-frame {
  position: relative; width: 100%; margin-top: 24px; overflow: hidden; text-align: left;
  border: 1px solid rgba(23,22,21,.22); border-radius: var(--radius-md); background: #fff;
  box-shadow: 0 16px 42px rgba(23,22,21,.14); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.workflow-scene-wide .screen-frame { margin-top: 0; }
.screen-frame::before { content: ''; display: block; height: 22px; background: linear-gradient(90deg, #ef6a5b 0 7px, transparent 7px 14px, #eab94f 14px 21px, transparent 21px 28px, #65b96d 28px 35px, transparent 35px), #f5f1e9; background-repeat: no-repeat; background-position: 10px center; }
.screen-frame img { width: 100%; aspect-ratio: 1365 / 900; object-fit: cover; object-position: top left; }
.screen-frame:hover { transform: translateY(-4px); box-shadow: 0 24px 58px rgba(23,22,21,.2); }
.screen-action { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: var(--radius-sm); color: #f4dfb1; background: rgba(23,22,21,.9); font-size: 10px; font-weight: 700; opacity: 0; transform: translateY(5px); transition: .2s var(--ease); }
.screen-frame:hover .screen-action, .screen-frame:focus-visible .screen-action { opacity: 1; transform: none; }
.screen-action b { color: var(--orange); }
.workflow-support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.workflow-support > div { overflow: hidden; padding: 16px 16px 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,254,250,.65); }
.workflow-support span { display: block; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.workflow-support strong { display: block; margin: 4px 0 13px; font-family: var(--serif); font-size: 15px; }
.workflow-support img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border: 1px solid var(--line); border-bottom: 0; border-radius: 5px 5px 0 0; }
.screen-dialog { width: min(1180px, calc(100% - 40px)); max-width: none; max-height: calc(100vh - 48px); padding: 0; overflow: visible; border: 0; border-radius: var(--radius-lg); background: #111; box-shadow: var(--shadow-xl); }
.screen-dialog::backdrop { background: rgba(10,9,8,.82); backdrop-filter: blur(10px); }
.screen-dialog figure { overflow: hidden; border-radius: var(--radius-lg); }
.screen-dialog img { width: 100%; max-height: calc(100vh - 100px); object-fit: contain; background: #111; }
.screen-dialog figcaption { padding: 12px 18px; color: #d8cdbd; background: #111; font-size: 12px; }
.screen-dialog-close { position: absolute; z-index: 2; top: -18px; right: -18px; width: 40px; height: 40px; border: 1px solid #5c5143; border-radius: 50%; color: #fff; background: #171615; font-size: 24px; line-height: 1; box-shadow: var(--shadow-md); }
.screen-dialog-close:hover { color: var(--orange); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .story-grid, .feature-layout, .cap-grid, .local-grid, .proof-head, .proof-grid, .faq-layout, .extension-section .shell { grid-template-columns: 1fr; }
  .story-grid { gap: 36px; }
  .feature-layout { gap: 32px; }
  .cap-grid { gap: 40px; }
  .local-grid { gap: 40px; }
  .cap-visual { transform: none; }
  .local-emblem { min-height: 240px; order: 2; }
  .proof-note { max-width: none; }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
  .proof-stat:nth-child(2) { border-right: 0; }
  .proof-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .workflow-heading { grid-template-columns: 1fr; gap: 20px; }
  .workflow-scene-wide { grid-template-columns: 260px 1fr; }
  .extension-section .shell { gap: 44px; }
}
@media (max-width: 900px) {
  .shell { width: min(100% - 32px, 720px); }
  .nav-center, .nav-cta, .nav-extension { display: none; }
  .menu-btn { display: block; }
  .header-inner { grid-template-columns: 1fr auto; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 50px); padding-bottom: 60px; }
  .hero-product { margin-top: 48px; }
  .section { padding: 90px 0; }
  .feature-showcase { padding: 90px 0; }
  .story-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .story-item, .story-item:first-child { display: block; border-top: 1px solid var(--line); }
  .story-item .num { display: block; margin-bottom: 8px; }
  .feature-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .feature-item, .feature-item:first-child { border-top: 1px solid #332e26; }
  .proof-shots { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand img { margin: 0 auto 12px; }
  .footer-nav { justify-content: center; }
  .footer-copy { text-align: center; }
  .workflow-section { padding: 90px 0; }
  .workflow-rail { position: static; grid-template-columns: repeat(3, 1fr); }
  .workflow-rail li:nth-child(4) { border-left: 0; }
  .workflow-rail li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .workflow-scenes { grid-template-columns: 1fr; }
  .workflow-scene-wide { grid-column: auto; display: block; }
  .workflow-scene-wide .screen-frame { margin-top: 24px; }
  .workflow-support { grid-template-columns: 1fr; }
  .extension-section { padding: 90px 0; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .hero h1 { font-size: 34px; letter-spacing: -.05em; }
  .hero-desc { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-meta { flex-direction: column; gap: 6px; align-items: center; }
  .product-label { display: none; }
  .section-heading { font-size: 32px; }
  .story-list, .feature-list { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr; }
  .proof-stat, .proof-stat:nth-child(2) { border-right: 0; }
  .proof-stat { border-bottom: 1px solid var(--line); }
  .proof-stat:last-child { border-bottom: 0; }
  .download-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; gap: 24px; }
  .local-section { padding: 80px 0; }
  .local-emblem { transform: scale(.8); }
  .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .workflow-scene { padding: 20px; }
  .workflow-rail { grid-template-columns: repeat(2, 1fr); }
  .workflow-rail li:nth-child(odd) { border-left: 0; }
  .workflow-rail li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .workflow-rail a { justify-content: flex-start; padding-left: 14px; }
  .screen-dialog-close { top: -12px; right: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .trust-track { animation: none; }
  .hero-deco .orb { animation: none; }
  .back-top { transition: none; }
}
