/* ==========================================================================
   nz.imwsl.com · shared design system (Aotearoa-inspired)
   Load AFTER nav.css. Tokens + reusable components for every page.
   ========================================================================== */

/* 跨页面导航过渡（Chrome 126+ 支持 same-origin MPA），其它浏览器无回退成本 */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 220ms;
  animation-timing-function: cubic-bezier(.4, 0, .2, 1);
}
::view-transition-old(root) { animation-name: gg-vt-out; }
::view-transition-new(root) { animation-name: gg-vt-in; }
@keyframes gg-vt-out { to { opacity: 0; } }
@keyframes gg-vt-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}

/* --------------------------------------------------------------------------
   设计 token。浅色是默认值，深色只重写下面 [data-theme] / prefers-color-scheme
   两个块里的变量，选择器本身不重复写一遍。

   命名约定（新增暗色时按这个分类挑 token，别直接写死颜色）：
     --ink / --ink-2/3/4  文字，深浅两色会翻转
     --bg / --bg-2        页面底色、次级底色（浅色里 bg-2 更暗，深色里更亮＝抬升）
     --surface / -2       卡片、输入框底色（原来写死的 #fff）
     --edge               新粗野风的 2px 描边 + 立体投影颜色（原来写死 var(--ink)）
     --slab / --on-slab   永远保持深色的大色块：页脚、黑色条带、深色面板
     --ink-static         永远是深色的字（用在始终浅底的元素上，如绿色 band 里的白按钮）
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Aotearoa palette: pounamu / ocean / kowhai / volcanic */
  --brand: #1F6F5C;
  --brand-dark: #145244;
  --brand-tint: #E8F3EE;
  --brand-tint-2: #D3E8DE;
  --lime: #F4C95D;
  --ocean: #2B7A9B;
  --ocean-dark: #14566E;
  --ink: #14201B;
  --ink-2: #33443B;
  --ink-3: #68776E;
  --ink-4: #96A39B;
  --ink-static: #14201B;
  --line: #DDE6E0;
  --line-2: #EDF2EE;
  --edge: #1B2E25;
  --bg: #FBFAF5;
  --bg-2: #F1F5F0;
  --surface: #FFFFFF;
  --surface-2: #F8FAF7;
  --slab: #0E2119;
  --slab-hover: #17352A;
  --on-slab: #FFFFFF;
  --danger: #C43D3D;
  --warn: #D99A1E;
  /* 状态底色（订单状态徽章、提醒条幅） */
  --warn-bg: #FDF3DC;
  --warn-line: #E0A93A;
  --warn-fg: #6E4E08;
  --warn-fg-2: #8A640D;
  --warn-fg-strong: #513803;
  --danger-bg: #FBEAEA;
  --info-bg: #E4F0F7;
  --info-fg: #14556E;
  --alipay-bg: #E4F0F7;
  --alipay-fg: #1677ff;
  /* 一年期套餐卡：Kowhai 金黄 */
  --gold-tint-1: #FFF7DE;
  --gold-tint-2: #F9E2A6;
  /* 深色页面上，本身就是深色的卡片（首页 hero）需要一圈描边才分得清边界 */
  --slab-ring: transparent;
  --shadow-brutal: 0 10px 28px rgba(20, 60, 44, .10), 0 2px 0 rgba(20, 60, 44, .05);
  --shadow-brutal-lg: 0 18px 44px rgba(20, 60, 44, .16), 0 3px 0 rgba(20, 60, 44, .06);
}

/* 深色。两个选择器写同一份变量：
   - 跟随系统（没手动选过主题时）
   - data-theme="dark"（用户在顶栏点了月亮，nav.js 写到 <html> 上）
   浅色侧同理由 data-theme="light" 压过系统偏好，所以系统块要排除它。 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --brand-dark: #6FD3B0;
    --brand-tint: #102C23;
    --brand-tint-2: #153A2E;
    --ink: #EDF4EF;
    --ink-2: #C3D0C8;
    --ink-3: #93A69A;
    --ink-4: #6E8276;
    --line: #2B3D33;
    --line-2: #22312A;
    --edge: #33503F;
    --bg: #0B1511;
    --bg-2: #112019;
    --surface: #12241C;
    --surface-2: #183027;
    --slab: #07110D;
    --slab-hover: #12281E;
    --on-slab: #EDF4EF;
    --danger: #F2777A;
    --warn: #E0A44A;
    --warn-bg: #2C2314;
    --warn-line: #7E6222;
    --warn-fg: #E7C079;
    --warn-fg-2: #E7C079;
    --warn-fg-strong: #F3D79B;
    --danger-bg: #2E1919;
    --info-bg: #16243D;
    --info-fg: #9CBBF7;
    --alipay-bg: #16243D;
    --alipay-fg: #6BA6FF;
    --gold-tint-1: #231F12;
    --gold-tint-2: #2E2815;
    --slab-ring: #294235;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --brand-dark: #6FD3B0;
  --brand-tint: #102C23;
  --brand-tint-2: #153A2E;
  --ink: #EDF4EF;
  --ink-2: #C3D0C8;
  --ink-3: #93A69A;
  --ink-4: #6E8276;
  --line: #2B3D33;
  --line-2: #22312A;
  --edge: #33503F;
  --bg: #0B1511;
  --bg-2: #112019;
  --surface: #12241C;
  --surface-2: #183027;
  --slab: #07110D;
  --slab-hover: #12281E;
  --on-slab: #EDF4EF;
  --danger: #F2777A;
  --warn: #E0A44A;
  --warn-bg: #2C2314;
  --warn-line: #7E6222;
  --warn-fg: #E7C079;
  --warn-fg-2: #E7C079;
  --warn-fg-strong: #F3D79B;
  --danger-bg: #2E1919;
  --info-bg: #16243D;
  --info-fg: #9CBBF7;
  --alipay-bg: #16243D;
  --alipay-fg: #6BA6FF;
  --gold-tint-1: #231F12;
  --gold-tint-2: #2E2815;
  --slab-ring: #294235;
}

/* ---------- reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

/* ---------- container ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 960px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) {
  .container, .container-sm, .container-md { padding: 0 16px; }
}

/* ---------- section ---------- */
section.sec { padding: 72px 0; }
section.sec-sm { padding: 48px 0; }
@media (max-width: 640px) {
  section.sec { padding: 48px 0; }
  section.sec-sm { padding: 32px 0; }
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 900; }
h2 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 900; }
h3 { font-size: 20px; font-weight: 800; }
h4 { font-size: 16px; font-weight: 700; }
p.lead { font-size: 18px; color: var(--ink-2); line-height: 1.6; }
p { line-height: 1.7; color: var(--ink-2); }
@media (max-width: 640px) { p.lead { font-size: 16px; } }

.eyebrow { display: inline-block; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; padding: 6px 12px; border-radius: 6px; text-transform: uppercase; }
.eyebrow.brand { background: var(--brand-tint); color: var(--brand-dark); }
.eyebrow.lime { background: var(--lime); color: var(--ink-static); }
.eyebrow.line { background: transparent; color: var(--ink); border: 2px solid var(--edge); padding: 4px 10px; }

.hl { background: var(--lime); color: var(--ink-static); padding: 0 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; border-radius: 4px; }
.text-muted { color: var(--ink-3); }
.text-brand { color: var(--brand); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; border-radius: 999px; padding: 14px 26px; cursor: pointer;
  border: 2px solid transparent; transition: transform .1s, background .15s, border-color .15s, color .15s;
  font-size: 15px; white-space: nowrap;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: var(--on-slab); }
.btn-dark:hover { background: var(--slab-hover); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--edge); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; padding-left: 12px; padding-right: 12px; }
.btn-ghost:hover { background: var(--bg-2); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- section header ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head .h { flex: 1; min-width: 280px; }
.section-head h2 { margin-bottom: 8px; }
.section-head p { color: var(--ink-3); font-size: 15px; }

/* ---------- hero shell ---------- */
.hero { padding: 64px 0 40px; }

/* ---------- chips ---------- */
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 8px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; border: 2px solid var(--edge); border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 700; background: var(--surface); color: var(--ink); cursor: pointer; font-family: inherit; }
.chip.active, .chip:hover { background: var(--ink); color: var(--bg); }
.chip-tint { border-color: var(--line); background: var(--bg-2); color: var(--ink-2); font-weight: 600; }
.chip-tint:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 2px solid var(--edge); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-brutal); }
.card-plain { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card-tint { background: var(--bg-2); border-radius: 16px; padding: 24px; }
.card-hoverable { transition: transform .15s, box-shadow .15s; }
.card-hoverable:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-brutal-lg); }

/* ---------- deal card (AppSumo product card) ---------- */
.deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .deals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .deals { grid-template-columns: 1fr; } }

.deal { background: var(--surface); border: 2px solid var(--edge); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-brutal); transition: transform .15s, box-shadow .15s; }
.deal:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-brutal-lg); }
.deal-media { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--brand-tint) 0%, var(--brand-tint-2) 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.deal-media .sim { font-size: 96px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.15)); }
.deal-media img { width: 100%; height: 100%; object-fit: cover; }
.deal-badge { position: absolute; top: 14px; left: 14px; background: var(--slab); color: var(--lime); font-size: 11px; font-weight: 900; padding: 6px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.deal-badge.hot { background: var(--brand); color: #fff; }
.deal-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.deal-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 700; }
.deal-title { font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.deal-desc { font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.deal-stars { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.deal-stars .stars { color: var(--warn); letter-spacing: 1px; }
.deal-stars b { color: var(--ink); font-weight: 800; }
.deal-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); }
.deal-price .now { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.deal-price .unit { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.deal-price .msrp { font-size: 14px; color: var(--ink-3); text-decoration: line-through; margin-left: auto; }
.deal-cta { display: block; width: 100%; text-align: center; margin-top: 10px; }

/* ---------- trust bar ---------- */
.trustbar { background: var(--bg-2); padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 640px) { .trustbar-inner { grid-template-columns: repeat(2, 1fr); } }
.trustbar .num { font-size: 26px; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; }
.trustbar .lb { font-size: 12px; color: var(--ink-3); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* ---------- features strip (black band) ---------- */
.features-strip { background: var(--slab); color: var(--on-slab); padding: 48px 0; }
.features-strip .g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 640px) { .features-strip .g { grid-template-columns: 1fr; gap: 24px; } }
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat .ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.feat h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; color: var(--on-slab); }
.feat p { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { border: 2px solid var(--edge); border-radius: 16px; padding: 22px; background: var(--surface); position: relative; }
.step .n { font-size: 48px; font-weight: 900; line-height: 1; letter-spacing: -0.04em; margin-bottom: 12px; color: var(--brand); }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--bg-2); border-radius: 16px; padding: 24px; }
.quote .qm { font-family: Georgia, serif; font-size: 56px; line-height: 0; color: var(--brand); position: relative; top: 18px; }
.quote p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-bottom: 16px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.quote .who .name { font-size: 14px; font-weight: 700; }
.quote .who .meta { font-size: 12px; color: var(--ink-3); }

/* ---------- marquee (auto-scrolling testimonials) ---------- */
.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}
.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: gg-marquee 60s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__track .quote {
  flex: 0 0 340px;
  width: 340px;
  margin: 0;
}
@media (max-width: 640px) {
  .marquee__track .quote { flex: 0 0 280px; width: 280px; }
  .marquee__track { animation-duration: 45s; }
}
@keyframes gg-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- CTA band ---------- */
.band { background: var(--brand); color: #fff; border-radius: 24px; padding: 56px 40px; text-align: center; margin: 32px 0; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.15), transparent 40%), radial-gradient(circle at 80% 80%, rgba(0,0,0,.15), transparent 40%); pointer-events: none; }
.band > * { position: relative; }
.band h2 { color: #fff; margin-bottom: 12px; }
.band p { color: rgba(255,255,255,.9); font-size: 17px; margin-bottom: 24px; }
.band .btn { background: #fff; color: var(--ink-static); }
.band .btn:hover { background: var(--ink-static); color: #fff; }
.band-dark { background: var(--slab); }
.band-dark .btn { background: var(--brand); color: #fff; }
.band-dark .btn:hover { background: #fff; color: var(--ink-static); }
@media (max-width: 640px) {
  .band { padding: 40px 22px; border-radius: 20px; }
  .band p { font-size: 15px; }
}

/* ---------- form controls ---------- */
.field { display: block; margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; }
.field label .opt { color: var(--ink-4); font-weight: 400; margin-left: 4px; }
.input, .textarea, .select {
  width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px;
  color: var(--ink); background: var(--surface); font-family: inherit; -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .textarea:focus, .select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31,111,92,.16); }
.textarea { resize: vertical; min-height: 80px; line-height: 1.6; }
.field-err { color: var(--danger); font-size: 13px; margin-top: 6px; line-height: 1.5; }
.field-hint { color: var(--ink-3); font-size: 12px; margin-top: 6px; line-height: 1.5; }

.qty-row { display: inline-flex; align-items: stretch; }
.qty-row .qty-input { width: 60px; text-align: center; border: 2px solid var(--line); border-left: 0; border-right: 0; font-size: 15px; font-family: inherit; -moz-appearance: textfield; background: var(--surface); }
.qty-row .qty-input::-webkit-outer-spin-button, .qty-row .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row .qty-btn { width: 42px; background: var(--bg-2); border: 2px solid var(--line); font-size: 18px; cursor: pointer; user-select: none; font-family: inherit; color: var(--ink); }
.qty-row .qty-btn:first-child { border-radius: 12px 0 0 12px; }
.qty-row .qty-btn:last-child { border-radius: 0 12px 12px 0; }

/* iOS Safari 对 font-size < 16px 的输入框会在聚焦时自动放大页面且不会复位，
   移动端统一提到 16px。桌面维持 15px 不变。 */
@media (max-width: 640px) {
  .input, .textarea, .select, .qty-row .qty-input { font-size: 16px; }
}

/* radio-like plan tiles */
.plan-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .plan-tiles { grid-template-columns: 1fr; } }
.plan-tile { background: var(--surface); border: 2px solid var(--line); border-radius: 16px; padding: 20px; text-align: left; cursor: pointer; position: relative; transition: border-color .15s, box-shadow .15s; }
.plan-tile:hover { border-color: var(--ink); }
.plan-tile.selected { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,111,92,.18); }
.plan-tile.selected::after { content: "✓"; position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.plan-tile .badge { display: inline-block; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 4px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.plan-tile .badge.brand { background: var(--brand); }
.plan-tile .price { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 4px; }
.plan-tile .price .sym { font-size: 16px; color: var(--ink-3); font-weight: 500; margin-right: 2px; }
.plan-tile .title { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.plan-tile .desc { font-size: 12px; color: var(--ink-3); line-height: 1.55; }

/* ---------- tags / badges ---------- */
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-dark); }
.tag.dark { background: var(--ink); color: var(--bg); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.tag.danger { background: var(--danger-bg); color: var(--danger); }
.tag.line { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- 已验证可接码平台卡片 ---------- */
.plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 12px; }
.plat-card { border: 2px solid var(--edge); border-radius: 12px; padding: 14px 10px; text-align: center; background: var(--surface); box-shadow: var(--shadow-brutal); font-weight: 800; font-size: 15px; color: var(--ink); }
.plat-card .ok { display: block; font-size: 12px; color: var(--brand-dark); font-weight: 700; margin-top: 4px; }

/* ---------- table ---------- */
.table-wrap { border: 2px solid var(--edge); border-radius: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); font-weight: 700; background: var(--bg-2); }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: var(--surface-2); }

/* ---------- footer ---------- */
footer.site-foot { background: var(--slab); color: rgba(255,255,255,.7); padding: 56px 0 32px; }
footer.site-foot .foot-g { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 640px) { footer.site-foot .foot-g { grid-template-columns: 1fr 1fr; } }
footer.site-foot .foot-brand { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 12px; letter-spacing: -0.02em; }
footer.site-foot .foot-brand .g { color: var(--brand); }
footer.site-foot .foot-desc { font-size: 13px; line-height: 1.6; max-width: 260px; }
footer.site-foot .foot-col h4 { font-size: 12px; font-weight: 800; color: #fff; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
footer.site-foot .foot-col a { display: block; font-size: 14px; padding: 4px 0; color: rgba(255,255,255,.6); }
footer.site-foot .foot-col a:hover { color: #fff; }
footer.site-foot .foot-b { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 12px; }
footer.site-foot .foot-b a { color: rgba(255,255,255,.5); margin-left: 12px; }
footer.site-foot .foot-b a:hover { color: #fff; }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 9999; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 600; box-shadow: 0 12px 40px rgba(0,0,0,.25);
  animation: toast-in .2s ease;
}
.toast.success { background: var(--brand); color: #fff; }
.toast.error { background: var(--danger); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- utils ---------- */
.stack-1 > * + * { margin-top: 8px; }
.stack-2 > * + * { margin-top: 16px; }
.stack-3 > * + * { margin-top: 24px; }
.stack-4 > * + * { margin-top: 32px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .row-2, .row-3, .row-4 { grid-template-columns: 1fr; } }

.divider { height: 1px; background: var(--line); margin: 24px 0; border: 0; }

/* Print / long-form pages */
.prose { max-width: 780px; margin: 0 auto; }
.prose h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 20px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.75; margin-bottom: 12px; font-size: 15px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { border-left: 4px solid var(--brand); padding: 6px 16px; margin: 20px 0; background: var(--brand-tint); border-radius: 0 8px 8px 0; }

/* ==========================================================================
   Aotearoa theme · 新西兰视觉
   长白云之乡的森林绿 / 海水蓝 / Kowhai 金黄 / 火山黑。
   只覆盖 token 表达不了的形状与装饰，组件结构不变。
   ========================================================================== */

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 8% -8%, rgba(31, 111, 92, .07), transparent 62%),
    radial-gradient(900px 480px at 96% 4%, rgba(43, 122, 155, .06), transparent 60%);
  background-repeat: no-repeat;
}

/* 顶部三色细线：火山黑 / Pounamu 绿 / Kowhai 金 */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 300;
  pointer-events: none;
  background: linear-gradient(90deg, var(--slab) 0 34%, var(--brand) 34% 67%, var(--lime) 67%);
}

/* 页面 hero：天空渐变 + 山脊剪影 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 56px;
  background: linear-gradient(180deg, var(--brand-tint) 0%, var(--bg) 78%);
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 240px;
  background: url("/assets/nz-ridge.svg") center bottom / 100% 100% no-repeat;
  opacity: .9;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -90px; top: -110px;
  width: 360px; height: 360px;
  background: url("/assets/nz-koru.svg") center / contain no-repeat;
  color: var(--brand);
  opacity: .055;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
@media (max-width: 640px) {
  .hero { padding: 52px 0 40px; }
  .hero::before { height: 160px; opacity: .8; }
  .hero::after { width: 240px; height: 240px; right: -100px; top: -80px; }
}

/* 标签：更柔和的 pill，Kowhai 高亮改成“下划线荧光笔” */
.eyebrow { border-radius: 999px; letter-spacing: .08em; padding: 7px 14px; }
.eyebrow.brand { border: 1px solid var(--brand-tint-2); }
.eyebrow.line { border-width: 1px; }
.hl {
  background: var(--lime);
  color: var(--ink-static);
  padding: 0 7px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* 按钮 / 输入框 */
.btn-brand { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); }
.btn-brand:hover { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%); }
.btn-dark { background: var(--slab); }
.btn-dark:hover { background: var(--slab-hover); }
.btn-outline { border-width: 1px; border-color: var(--line); }
.btn-outline:hover { background: var(--brand-tint); color: var(--brand-dark); border-color: var(--brand-tint-2); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(31, 111, 92, .28); outline-offset: 3px; }

/* 卡片：细边框 + 柔和自然阴影，替代原来的硬黑边 */
.card, .step, .plat-card, .deal { border-width: 1px; border-color: var(--line); }
.card-hoverable:hover, .deal:hover { transform: translateY(-3px); }
.step { border-radius: 18px; }
.step .n { color: var(--brand); }
.plat-card { border-radius: 14px; box-shadow: 0 4px 14px rgba(20, 60, 44, .06); }
.plat-card .ok { color: var(--brand); }

/* 深色功能条：加一层山脊 */
.features-strip { position: relative; overflow: hidden; background: var(--slab); }
.features-strip::before {
  content: "";
  position: absolute; inset: 0;
  background: url("/assets/nz-ridge.svg") center bottom / 100% 100% no-repeat;
  opacity: .18;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.features-strip > * { position: relative; z-index: 1; }
.feat .ico {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--ocean) 100%);
}

/* Trust bar：雾绿底 */
.trustbar {
  background: var(--brand-tint);
  border-top: 1px solid var(--brand-tint-2);
  border-bottom: 1px solid var(--brand-tint-2);
}
.trustbar .num { color: var(--brand-dark); }

/* CTA band：森林 → 海水的渐变 + Koru 水印 */
.band {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 54%, var(--ocean) 100%);
  border-radius: 28px;
}
.band::after {
  content: "";
  position: absolute;
  right: -70px; bottom: -110px;
  width: 360px; height: 360px;
  background: url("/assets/nz-koru-light.svg") center / contain no-repeat;
  opacity: .14;
  pointer-events: none;
}
.band > * { position: relative; z-index: 1; }
.band-dark { background: var(--slab); }

/* 页脚：深森林底 + 山脊 */
footer.site-foot { position: relative; overflow: hidden; background: var(--slab); }
footer.site-foot::before {
  content: "";
  position: absolute; inset: 0;
  background: url("/assets/nz-ridge.svg") center bottom / 100% 100% no-repeat;
  opacity: .16;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
footer.site-foot .container { position: relative; z-index: 1; }
footer.site-foot .foot-brand .g { color: var(--lime); }

/* 弹窗 / 菜单 / toast 与新色系统一 */
.gg-nav__menu, .modal, .dialog { border-color: var(--line); }
.toast { background: var(--slab); }
