/* ==========================================================================
   安言 AnYan · 品牌展示官网
   设计语言：亲切 · 高级 · 自然（Nature & Tactile）
   色彩与字体取自项目已确认的品牌资产与 App 实际设计 token
   纯静态 / 零外部依赖 / 系统字体，确保中国大陆与备案审核环境可靠加载
   ========================================================================== */

/* ----------------------------------------------------------------- Tokens */
:root {
  --paper:        #F7F6F2;
  --paper-deep:   #F1EEE7;
  --paper-warm:   #FBF6EE;
  --surface:      #FFFFFF;

  --ink:          #2D2A26;
  --ink-soft:     #504D48;
  --ink-muted:    #8A8378;
  --ink-faint:    #ADA79C;
  --on-dark:      #F7F4EE;

  --sage:         #6C8E7B;
  --sage-deep:    #4F705E;
  --sage-tint:    #EAF1EC;
  --terra:        #C97A63;
  --terra-deep:   #B05B43;
  --terra-tint:   #F8ECE6;
  --sand:         #DACCB9;
  --sand-tint:    #F2EADD;

  --sun-1:        #FFB074;
  --sun-2:        #F46F4D;
  --ray:          #E7A84B;
  --sunrise:      linear-gradient(140deg, #FFC98A 0%, #FF9E5E 46%, #F46F4D 100%);
  --sunrise-soft: radial-gradient(closest-side, rgba(255,176,116,.55), rgba(244,111,77,.16) 60%, transparent 78%);

  --line:         #EAE6DB;
  --line-strong:  #DED8CB;
  --shadow-sm:    0 2px 10px rgba(45,42,38,.04);
  --shadow-md:    0 12px 36px rgba(45,42,38,.06);
  --shadow-lg:    0 30px 70px -24px rgba(45,42,38,.20);
  --shadow-phone: 0 50px 110px -30px rgba(58,46,33,.42);

  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Source Han Serif CN",
           "Noto Serif SC", "Noto Serif CJK SC", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
           "Microsoft YaHei", "Helvetica Neue", system-ui, sans-serif;
  --mono:  "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --ease:   cubic-bezier(.16, 1, .3, 1);
  --ease-2: cubic-bezier(.22, .61, .36, 1);
  --maxw:   1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 22px;
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: rgba(108,142,123,.22); color: var(--ink); }

/* --------------------------------------------------------------- Primitives */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 11vw, 140px); scroll-margin-top: 88px; }
.section--tight { padding-block: clamp(56px, 8vw, 100px); }
.section--paper-deep { background: var(--paper-deep); }
.section--ink {
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(201,122,99,.16), transparent 55%),
    radial-gradient(90% 80% at 0% 110%, rgba(108,142,123,.18), transparent 55%),
    #26231F;
  color: var(--on-dark);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(13.5px, 1.2vw, 14.5px); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.section--ink .eyebrow { color: #D9B79F; }

.lead {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 46px); line-height: 1.28; letter-spacing: .01em;
  color: var(--ink); font-weight: 600;
}
.section--ink .lead { color: #FBF5EC; }
.kicker { color: var(--ink-muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 60ch; }
.lead, .kicker, .hero__title, .hero__sub, .intro__quote, .persona p, .vault p, .step__body p, .qa__a p {
  text-wrap: pretty;
  word-break: keep-all;
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { margin-top: 18px; }
.section-head .kicker { margin-top: 18px; }

/* -------------------------------------------------------------------- Buttons */
.btn {
  --bg: var(--ink); --fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 15.5px; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 10px 26px -10px rgba(45,42,38,.5);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -12px rgba(45,42,38,.5); }
.btn:active { transform: translateY(-1px) scale(.985); }
.btn svg { width: 18px; height: 18px; }
.btn--terra { --bg: var(--terra); --fg: #fff; box-shadow: 0 12px 30px -10px rgba(201,122,99,.7); }
.btn--terra:hover { background: var(--terra-deep); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: var(--surface); border-color: var(--sand); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 17px 34px; font-size: 16px; }

/* ----------------------------------------------------------------------- Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(247,246,242,.82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: .14em; color: var(--ink); }
.brand__name small { display: block; font-family: var(--mono); font-weight: 500; font-size: 9.5px; letter-spacing: .3em; color: var(--ink-faint); margin-top: -2px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 6px 0; }
.nav__links-cta { display: none; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--terra); transition: width .35s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; }
.nav__toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); margin: 4px auto; transition: .3s var(--ease); }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ---------------------------------------------------------------------- Hero */
.hero { position: relative; padding-top: 130px; padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero__glow { position: absolute; z-index: 0; pointer-events: none; width: min(900px, 120vw); aspect-ratio: 1; right: -14%; top: -8%; background: var(--sunrise-soft); filter: blur(8px); opacity: .9; animation: breathe 9s var(--ease-2) infinite alternate; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr); gap: clamp(36px, 5vw, 78px); align-items: center; }
.hero__title { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: clamp(40px, 5.2vw, 64px); line-height: 1.14; letter-spacing: .015em; margin: 22px 0 0; max-width: 760px; }
.hero__title-line { display: block; }
.hero__title-line--tight { white-space: nowrap; }
.hero__title .accent { background: var(--sunrise); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 26px; max-width: 35ch; font-size: clamp(16px, 1.9vw, 19px); color: var(--ink-soft); line-height: 1.7; }
.hero__sub b { color: var(--ink); font-weight: 600; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--ink-muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }

.hero [data-rise] { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.hero [data-rise="1"] { animation-delay: .05s; }
.hero [data-rise="2"] { animation-delay: .18s; }
.hero [data-rise="3"] { animation-delay: .31s; }
.hero [data-rise="4"] { animation-delay: .44s; }
.hero [data-rise="5"] { animation-delay: .57s; }
.hero__visual { opacity: 0; transform: translateY(40px) scale(.97); animation: rise 1.1s var(--ease) .3s forwards; }

@keyframes rise   { to { opacity: 1; transform: none; } }
@keyframes breathe{ from { transform: scale(.94); opacity: .78; } to { transform: scale(1.06); opacity: 1; } }
@keyframes float  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ------------------------------------------------------------- Phone mockup */
.hero__visual { position: relative; display: grid; place-items: center; }
.phone { position: relative; z-index: 2; width: clamp(284px, 30vw, 322px); aspect-ratio: 322 / 676; background: var(--paper); border-radius: 46px; padding: 11px; box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255,255,255,.6); animation: float 7s ease-in-out infinite; }
.phone::before { content: ""; position: absolute; inset: 0; border-radius: 46px; padding: 1.5px; background: linear-gradient(160deg, #fff, rgba(218,204,185,.6) 40%, rgba(45,42,38,.18)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: var(--ink); border-radius: 999px; z-index: 5; }
.scr { position: relative; padding: 34px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 13px; }
.scr::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 190px; background: linear-gradient(180deg, rgba(255,176,116,.30), rgba(247,246,242,0)); pointer-events: none; }
.scr__chip { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--sage-deep); font-size: 12px; font-weight: 600; box-shadow: var(--shadow-sm); }
.scr__chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.scr__h { position: relative; font-family: var(--serif); font-size: 25px; color: var(--ink); letter-spacing: .04em; line-height: 1.25; font-weight: 700; }
.scr__p { position: relative; font-size: 12.5px; color: var(--ink-muted); line-height: 1.6; margin-top: -8px; }
.scr__label { position: relative; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }
.scr__card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.scr__row { display: flex; align-items: center; gap: 11px; padding: 11px 14px; }
.scr__row + .scr__row { border-top: 1px solid var(--line); }
.scr__ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--paper); color: var(--sage); }
.scr__ico svg { width: 17px; height: 17px; }
.scr__ico--gold  { background: var(--sand-tint); color: #B5843A; }
.scr__ico--terra { background: var(--terra-tint); color: var(--terra); }
.scr__ico--sage  { background: var(--sage-tint);  color: var(--sage-deep); }
.scr__tt { flex: 1; min-width: 0; }
.scr__tt b { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.scr__tt span { font-size: 11px; color: var(--ink-muted); }
.scr__n { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.scr__cta { position: relative; margin-top: auto; align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 10px 24px -8px rgba(45,42,38,.5); }
.scr__cta svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------- Reveal anim */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ------------------------------------------------------------------- Intro */
.intro__quote { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(26px, 4.2vw, 48px); line-height: 1.34; letter-spacing: .01em; max-width: 22ch; }
.intro__quote-line { display: block; }
.intro__quote-line--pair { white-space: nowrap; }
.intro__quote-line--soft { color: var(--ink-faint); }
.intro__cols { margin-top: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 30px); }
.intro__col { padding-top: 22px; border-top: 2px solid var(--ink); }
.intro__col h4 { font-size: 18px; color: var(--ink); font-weight: 650; margin-bottom: 8px; }
.intro__col p { font-size: 15.8px; color: var(--ink-muted); }
.intro__reframe { margin-top: clamp(40px, 6vw, 64px); padding: clamp(26px, 4vw, 40px); background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.intro__reframe .sun { width: 54px; height: 54px; flex: none; }
.intro__reframe p { font-family: var(--serif); font-size: clamp(19px, 2.4vw, 26px); color: var(--ink); line-height: 1.5; }

/* ------------------------------------------------------------------ Vaults */
.vaults { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.vault { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.vault::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 70%; aspect-ratio: 1; background: var(--tint); border-radius: 50%; filter: blur(8px); opacity: .5; transition: transform .6s var(--ease); z-index: 0; }
.vault:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.vault:hover::after { transform: scale(1.25); }
.vault > * { position: relative; z-index: 1; }
.vault__ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-bottom: 22px; }
.vault__ico svg { width: 27px; height: 27px; }
.vault--gold  { --tint: var(--sand-tint);  --accent: #B5843A; }
.vault--terra { --tint: var(--terra-tint); --accent: var(--terra); }
.vault--sage  { --tint: var(--sage-tint);  --accent: var(--sage-deep); }
.vault h3 { font-family: var(--serif); font-size: 23px; color: var(--ink); margin-bottom: 6px; font-weight: 700; letter-spacing: .03em; }
.vault__zh { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .04em; margin-bottom: 14px; }
.vault p { font-size: 15px; color: var(--ink-muted); line-height: 1.65; }
.vault ul { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; list-style: none; }
.vault li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.vault li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }

/* --------------------------------------------------------------- Timeline */
.flow { display: grid; grid-template-columns: 1fr; gap: 0; position: relative; margin-top: 8px; }
.flow__line { position: absolute; left: 27px; top: 18px; bottom: 36px; width: 2px; background: var(--line-strong); border-radius: 2px; overflow: hidden; }
.flow__line::after { content: ""; position: absolute; inset: 0 0 auto 0; height: var(--fill, 0%); background: linear-gradient(180deg, var(--sage), var(--terra)); transition: height 1.4s var(--ease); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 20px 0; }
.step__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-strong); color: var(--ink-muted); font-family: var(--mono); font-weight: 700; font-size: 15px; z-index: 2; transition: border-color .5s var(--ease), color .5s var(--ease), background .5s var(--ease), transform .5s var(--ease); }
.step.in-view .step__dot { border-color: var(--sage); color: var(--sage-deep); background: var(--sage-tint); transform: scale(1.04); }
.step:last-child.in-view .step__dot { border-color: var(--terra); color: var(--terra-deep); background: var(--terra-tint); }
.step__body { padding-top: 4px; }
.step__body h4 { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 26px); color: var(--ink); margin-bottom: 8px; font-weight: 700; }
.step__body p { font-size: 15.5px; color: var(--ink-soft); max-width: 56ch; }
.step__tag { display: inline-block; margin-top: 12px; padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; background: var(--sage-tint); color: var(--sage-deep); }
.step:last-child .step__tag { background: var(--terra-tint); color: var(--terra-deep); }
.flow__note { margin-top: 30px; margin-left: 78px; padding: 18px 22px; border-left: 3px solid var(--terra); background: var(--terra-tint); border-radius: 0 14px 14px 0; font-size: 15px; color: var(--ink-soft); }
.flow__note b { color: var(--terra-deep); }

/* -------------------------------------------------------------- Security */
.sec__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 24px); }
.sec__hero { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 48px); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius); }
.sec__hero .lead { color: #FBF5EC; }
.sec__hero p { color: #D7CFC2; margin-top: 16px; font-size: 16px; }
.lock { justify-self: center; width: 150px; height: 150px; border-radius: 34px; display: grid; place-items: center; color: #F2D6A6; background: radial-gradient(closest-side, rgba(231,168,75,.30), rgba(231,168,75,.04)); border: 1px solid rgba(231,168,75,.28); }
.lock svg { width: 64px; height: 64px; }
.scard { padding: 26px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: transform .5s var(--ease), background .5s var(--ease); }
.scard:hover { transform: translateY(-5px); background: rgba(255,255,255,.07); }
.scard__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(108,142,123,.18); color: #A9CDB6; }
.scard__ico svg { width: 21px; height: 21px; }
.scard h4 { font-size: 17.5px; color: #FBF5EC; margin-bottom: 8px; font-weight: 600; }
.scard p { font-size: 14.5px; color: #C8C0B4; line-height: 1.6; }
.scard code { font-family: var(--mono); font-size: 12.5px; color: #F0C98E; background: rgba(231,168,75,.12); padding: 1px 7px; border-radius: 6px; }

/* --------------------------------------------------------------- Personas */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: clamp(16px, 2vw, 22px); }
.persona { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.persona:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.persona__ico { width: 46px; height: 46px; color: var(--terra); margin-bottom: 18px; }
.persona__ico svg { width: 100%; height: 100%; }
.persona h4 { font-size: 18px; color: var(--ink); font-weight: 650; margin-bottom: 8px; }
.persona p { font-size: 15.2px; color: var(--ink-muted); line-height: 1.65; }

/* ---------------------------------------------------------------- Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.6vw, 28px); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.plan--feature { background: radial-gradient(120% 80% at 100% 0%, rgba(255,176,116,.16), transparent 55%), var(--surface); border-color: var(--sand); box-shadow: var(--shadow-md); }
.plan__tag { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--terra-deep); background: var(--terra-tint); padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-family: var(--serif); font-size: 24px; color: var(--ink); font-weight: 700; letter-spacing: .03em; }
.plan__desc { font-size: 14.5px; color: var(--ink-muted); margin-top: 6px; min-height: 42px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 6px; }
.plan__price .amt { font-family: var(--serif); font-size: 40px; color: var(--ink); font-weight: 700; line-height: 1; }
.plan__price .per { font-size: 14px; color: var(--ink-muted); }
.plan__price--text .amt { font-family: var(--sans); font-size: 26px; font-weight: 700; letter-spacing: 0; }
.plan__hold { font-size: 12.5px; color: var(--terra-deep); background: var(--terra-tint); display: inline-block; padding: 3px 10px; border-radius: 8px; margin-bottom: 16px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 14px 0 26px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--sage); }
.plan .btn { margin-top: auto; width: 100%; }

/* --------------------------------------------------------------------- FAQ */
.faq-head { max-width: 820px; margin-inline: auto; text-align: left; }
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; font-size: clamp(16px, 2vw, 19px); font-weight: 600; color: var(--ink); font-family: var(--serif); letter-spacing: .01em; cursor: pointer; list-style: none; }
.qa__q::-webkit-details-marker { display: none; }
.qa__q .pm { flex: none; width: 26px; height: 26px; position: relative; transition: transform .4s var(--ease); }
.qa__q .pm::before, .qa__q .pm::after { content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.6px; background: var(--terra); transform: translateY(-50%); }
.qa__q .pm::after { transform: translateY(-50%) rotate(90deg); transition: transform .4s var(--ease); }
.qa[open] .qa__q .pm::after { transform: translateY(-50%) rotate(0); }
.qa__a { overflow: hidden; }
.js .qa__a { height: 0; transition: height .45s var(--ease); }
.qa__a p { padding: 0 4px 26px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; max-width: 70ch; }

/* ------------------------------------------------------------------- CTA */
.cta { text-align: center; padding-block: clamp(56px, 8vw, 104px); background: radial-gradient(80% 140% at 50% -20%, rgba(255,176,116,.28), transparent 60%), var(--paper-warm); }
.cta__sun { width: 76px; height: 76px; margin: 0 auto 24px; animation: float 6s ease-in-out infinite; }
.cta h2 { font-family: var(--serif); font-size: clamp(30px, 5vw, 56px); color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: .02em; }
.cta__line { display: block; }
.cta p { margin: 20px auto 34px; max-width: 44ch; font-size: 17px; color: var(--ink-soft); }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Footer */
.footer { background: #26231F; color: #C8C0B4; padding-block: clamp(50px, 7vw, 80px) 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand .brand__name { color: #FBF5EC; }
.footer__brand .brand__name small { color: #8B8478; }
.footer__brand p { margin-top: 18px; max-width: 34ch; font-size: 14.5px; color: #ADA699; line-height: 1.7; }
.footer__col h5 { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #8B8478; margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; font-size: 14.5px; color: #C8C0B4; padding: 5px 0; transition: color .3s var(--ease); }
.footer__col a:hover { color: #FBF5EC; }
.footer__disclaim { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10); font-size: 13.5px; color: #948D81; line-height: 1.8; max-width: 920px; }
.footer__disclaim span { display: block; }
.footer__disclaim span + span { margin-top: 6px; }
.footer__disclaim strong { color: #BBB3A6; }
.footer__bar { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; font-size: 13px; color: #8B8478; }
.footer__bar a { color: #8B8478; }
.footer__bar a:hover { color: #C8C0B4; }
.hold { color: #E7C38E !important; border-bottom: 1px dashed rgba(231,195,142,.5); }

/* --------------------------------------------------------------- Legal page */
.legal { padding-top: 120px; padding-bottom: 90px; }
.legal__doc { max-width: 760px; margin-inline: auto; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sage-deep); font-weight: 600; margin-bottom: 30px; }
.legal__back svg { width: 16px; height: 16px; }
.legal__doc h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 44px); color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.legal__meta { margin: 14px 0 8px; font-size: 13.5px; color: var(--ink-muted); font-family: var(--mono); }
.legal__doc h2 { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); color: var(--ink); font-weight: 700; margin: 44px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal__doc h3 { font-size: 17px; color: var(--ink); font-weight: 600; margin: 26px 0 10px; }
.legal__doc p { margin: 12px 0; color: var(--ink-soft); }
.legal__doc ul, .legal__doc ol { margin: 12px 0 12px 22px; }
.legal__doc li { margin: 7px 0; color: var(--ink-soft); }
.legal__doc strong { color: var(--ink); }
.legal__doc blockquote { margin: 16px 0; padding: 14px 20px; background: var(--paper-warm); border-left: 3px solid var(--sage); border-radius: 0 12px 12px 0; color: var(--ink-soft); font-size: 15px; }
.legal__doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.legal__doc th, .legal__doc td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); }
.legal__doc th { background: var(--paper-deep); color: var(--ink); font-weight: 600; }
.legal__doc hr { border: none; border-top: 1px solid var(--line); margin: 36px 0; }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { grid-row: 1; margin-bottom: 8px; }
  .sec__hero { grid-template-columns: 1fr; text-align: center; }
  .lock { margin-top: 8px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .section { padding-block: 40px; }
  #pricing, #faq, #flow { padding-top: 30px; }
  .section-head { margin-bottom: 26px; }
  .section-head .lead { margin-top: 12px; }
  .section-head .kicker { margin-top: 14px; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; position: absolute; top: 72px; left: 0; right: 0; min-height: calc(100dvh - 72px); padding: 16px var(--gutter) 26px; background: rgba(247,246,242,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
  .nav.open .nav__links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav__links a.nav__links-cta { display: inline-flex; align-items: center; justify-content: center; margin-top: 10px; padding: 13px 18px; border-radius: 999px; background: var(--ink); color: var(--on-dark); border-bottom: 0; box-shadow: 0 10px 26px -10px rgba(45,42,38,.5); }
  .nav.open .nav__links a.nav__links-cta::after { display: none; }
  .hero { padding-top: 92px; padding-bottom: 36px; }
  .hero__grid { text-align: left; gap: 30px; }
  .hero__visual { grid-row: auto; margin: 4px 0 0; }
  .hero__title { font-size: 32px; line-height: 1.2; max-width: 100%; margin-top: 18px; }
  .hero__sub { margin-inline: 0; margin-top: 18px; max-width: 34ch; line-height: 1.62; }
  .hero__actions { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; margin-top: 24px; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { justify-content: flex-start; gap: 7px 14px; margin-top: 22px; }
  .phone { width: min(252px, 70vw); }
  .intro__cols { margin-top: 30px; gap: 24px; }
  .intro__quote { font-size: 32px; line-height: 1.3; }
  .intro__col { padding-top: 18px; }
  .intro__reframe { margin-top: 30px; padding: 24px; }
  .vault { padding: 26px; }
  .cta { padding-block: 46px; }
  .vaults, .who, .plans, .sec__grid, .intro__cols { grid-template-columns: 1fr; }
  .sec__grid { gap: 14px; }
  .step { grid-template-columns: 46px 1fr; gap: 16px; }
  .step__dot { width: 46px; height: 46px; font-size: 13px; }
  .flow__line { left: 22px; }
  .flow__note { margin-left: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .legal__doc table { font-size: 13px; }
  .legal__doc th, .legal__doc td { padding: 9px 10px; }
}
@media (max-width: 440px) {
  :root { --radius: 18px; }
  .section { padding-block: 38px; }
  #pricing, #faq, #flow { padding-top: 28px; }
  .hero { padding-top: 92px; padding-bottom: 34px; }
  .btn { padding: 14px 22px; }
  .cta { padding-block: 46px; }
  .cta__sun { width: 58px; height: 58px; margin-bottom: 16px; }
  .cta p { margin: 16px auto 24px; }
}

/* --------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .hero [data-rise], .hero__visual { opacity: 1 !important; transform: none !important; }
  .js .qa__a { height: auto; }
}
