/* AptBite 官网设计 tokens —— 与 App 01 §0 色板/排版一一对应 */
:root {
  --ivory: #F6F3EC;
  --ivory-deep: #EFEAE0;
  --ink: #1A211C;
  --ink-2: #4C5650;
  --ink-3: #8C938B;
  --green: #1E4A38;
  --green-mid: #3D7A5C;
  --green-tint: #E4EDE7;
  --amber: #A4732A;
  --line: #E2DCCC;
  --card: #FFFFFF;
  --serif: "New York", ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow-sm: 0 12px 30px -18px rgba(26, 33, 28, .28);
  --shadow-md: 0 30px 60px -24px rgba(26, 33, 28, .30);
  --shadow-green: 0 24px 50px -22px rgba(30, 74, 56, .42);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  /* 背景纵深：象牙白基底 + 绿/琥珀辉光分层，保持克制和自然 */
  background:
    radial-gradient(1200px 660px at 84% -14%, rgba(30, 74, 56, .16), transparent 62%),
    radial-gradient(980px 540px at -12% 30%, rgba(164, 115, 42, .11), transparent 56%),
    radial-gradient(920px 520px at 112% 82%, rgba(61, 122, 92, .13), transparent 60%),
    radial-gradient(1400px 700px at 50% 112%, rgba(61, 122, 92, .10), transparent 65%),
    var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 细颗粒噪点（film grain）——去掉纯色平铺感 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

:focus-visible { outline: 2px solid var(--green-mid); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶栏（sticky + 毛玻璃） ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  background: rgba(246, 243, 236, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; text-decoration: none; color: var(--ink); }
.nav .brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.nav .links { display: flex; gap: 26px; align-items: center; margin-left: auto; }
.nav .links a { color: var(--ink-2); text-decoration: none; font-size: 15px; transition: color .15s ease; }
.nav .links a:hover { color: var(--ink); }
/* 导航内的 Download 按钮：覆盖 .links a 的灰/深色文字，恢复 .btn 的象牙白 */
.nav .links a.btn { color: var(--ivory); }
.nav .links a.btn:hover { color: var(--ivory); opacity: .9; }
.nav-toggle { display: none; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.72); color: var(--ink); padding: 8px 10px; cursor: pointer; font: inherit; line-height: 1; touch-action: manipulation; }
.nav-toggle svg { display: block; width: 20px; height: 20px; }

.btn {
  display: inline-block;
  background: var(--green);
  color: var(--ivory);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 13px;
  box-shadow: 0 16px 34px -16px rgba(30, 74, 56, .6);
  transition: opacity .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { opacity: .9; transform: translateY(-1px); }
.btn.small { padding: 10px 20px; font-size: 15px; box-shadow: none; }

/* App Store 官方徽章（正式上线前请用 Apple 官方资源替换此内联版） */
.badge { display: inline-block; line-height: 0; border-radius: 9px; transition: transform .15s ease, box-shadow .15s ease; }
.badge:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); }
.badge img { display: block; width: 200px; height: auto; border-radius: 9px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 76px 0 92px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(760px, 90vw);
  height: 420px;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(228, 237, 231, .86) 0%, rgba(228, 237, 231, .24) 48%, transparent 74%);
  filter: blur(10px);
  pointer-events: none;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.hero .sub {
  margin: 22px auto 0;
  max-width: 560px;
  color: var(--ink-2);
  font-size: 19px;
}
.hero .cta { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 18px; color: var(--ink-3); font-size: 14px; }
.desktop-download-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.desktop-download-qr:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.desktop-download-qr > img { display: block; width: 104px; height: 104px; border-radius: 8px; }
.desktop-download-qr > span { display: grid; gap: 3px; }
.desktop-download-qr strong { font-size: 15px; font-weight: 700; }
.desktop-download-qr small { max-width: 128px; color: var(--ink-3); font-size: 12px; line-height: 1.35; }
.download-options { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.conversion-cta .badge, .download-options .badge { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.conversion-cta .badge::after, .download-options .badge::after {
  content: "Scan to download";
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  width: 148px;
  height: 174px;
  padding: 0 8px 10px;
  border: 1px solid rgba(226, 220, 204, .92);
  border-radius: 12px;
  background: #fff url("appstore-qr.png?v=20260821-1") center 6px / 136px 136px no-repeat;
  color: var(--ink-2);
  font: 700 12px/1.2 var(--sans);
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .desktop-download-qr { display: none; }
  .conversion-cta .badge::after, .download-options .badge::after { display: none; }
}

/* ---------- 手机截图（模型稍后替换） ---------- */
.phones { display: flex; gap: 36px; justify-content: center; align-items: flex-start; flex-wrap: wrap; margin-top: 68px; }
.phone {
  width: 270px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  transition: transform .25s ease, box-shadow .25s ease;
}
.phone:hover { transform: translateY(-6px); }
.phone img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 24px rgba(26, 33, 28, .22));
}
.phone-caption { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* ---------- 分区通用 ---------- */
section { padding: 88px 0; }
section + section { border-top: 1px solid rgba(226, 220, 204, .72); }
section[id] { scroll-margin-top: 84px; }
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-mid); margin-bottom: 14px;
}
h2 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 42px); font-weight: 600; line-height: 1.2; }
.lead { color: var(--ink-2); max-width: 620px; margin-top: 16px; font-size: 18px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- 三步 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--green); padding-top: 22px; }
.step .num { font-family: var(--serif); font-size: 30px; color: var(--green); font-weight: 600; }
.step h3 { font-size: 19px; font-weight: 600; margin: 10px 0 8px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- 大数字差异点（卡片化） ---------- */
.vs { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
@media (max-width: 820px) { .vs { grid-template-columns: 1fr; } }
.vs-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--card), #FBFAF5);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 38px;
  box-shadow: var(--shadow-md);
}
.vs-card::before {
  content: "";
  position: absolute; right: -70px; top: -70px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(30, 74, 56, .10), transparent 70%);
}
.vs-card .bignum { position: relative; }
.bignum {
  font-family: var(--serif);
  font-size: clamp(80px, 12vw, 128px);
  font-weight: 600;
  color: var(--green);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bignum .unit { font-family: var(--sans); font-size: 20px; color: var(--ink); font-weight: 600; }
.vs-caption { color: var(--ink-2); margin-top: 12px; font-size: 15.5px; position: relative; }

/* ---------- 特性行（SVG 图标 + 圆角底） ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature {
  padding: 8px 4px;
  transition: transform .25s ease;
}
.feature:hover { transform: translateY(-4px); }
.feature .ico-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--green-tint);
  margin-bottom: 16px;
}
.feature .ico-badge svg { width: 23px; height: 23px; stroke: var(--green); }
.feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- 定价 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan.best { border-color: var(--green); background: var(--green-tint); box-shadow: var(--shadow-green); }
.plan.best:hover { transform: translateY(-5px); box-shadow: var(--shadow-green); }
.plan .tag {
  position: absolute; top: -12px; left: 26px;
  background: var(--green); color: var(--ivory);
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
}
.plan h3 { font-size: 17px; font-weight: 600; }
.plan .price { font-family: var(--serif); font-size: 34px; font-weight: 600; margin: 12px 0 4px; }
.plan .per { color: var(--ink-3); font-size: 14px; }
.plan ul { list-style: none; margin-top: 18px; }
.plan li { color: var(--ink-2); font-size: 15px; padding: 5px 0; }
.plan li::before { content: "✓"; color: var(--green-mid); font-weight: 600; margin-right: 8px; }
.price-note { margin-top: 26px; color: var(--ink-3); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 44px auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--serif); font-size: 24px; line-height: 1;
  color: var(--green-mid);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.step:nth-child(2), .feature:nth-child(2), .plan:nth-child(2) { transition-delay: .08s; }
.step:nth-child(3), .feature:nth-child(3), .plan:nth-child(3) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 页脚 ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.footer-grid .brandline { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.footer-grid .brandline img { width: 26px; height: 26px; border-radius: 7px; }
.footer-grid .slogan { color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: var(--ink); }
.attribution { margin-top: 26px; color: var(--ink-3); font-size: 12.5px; line-height: 1.7; }
.attribution a { color: var(--ink-2); }

/* ---------- 法务页 ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 60px 24px 100px; }
.legal h1 { font-family: var(--serif); font-size: 36px; font-weight: 600; margin-bottom: 8px; }
.legal .updated { color: var(--ink-3); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-family: var(--sans); font-size: 19px; font-weight: 600; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--green); }

/* ---------- 手机端适配 ---------- */
@media (max-width: 720px) {
  html, body { overflow-x: hidden; }
  body { font-size: 16px; }
  .wrap { padding-left: 18px; padding-right: 18px; }

  .nav { padding: 11px 0; }
  .nav .brand { gap: 8px; font-size: 16px; }
  .nav .brand img { width: 28px; height: 28px; }
  .nav { position: relative; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav .links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 110; flex-direction: column; align-items: stretch; gap: 0; margin-left: 0; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-md); }
  .nav.nav-open .links { display: flex; }
  .nav .links > a { display: block; padding: 12px 13px; border-radius: 10px; font-size: 15px; }
  .nav .links > a:hover { background: var(--green-tint); }
  .nav .links a.btn.small { margin-top: 6px; padding: 11px 13px; text-align: center; }

  .hero { padding: 52px 0 62px; }
  .hero h1 { font-size: clamp(36px, 10vw, 46px); line-height: 1.1; }
  .hero .sub { max-width: 340px; margin-top: 18px; font-size: 17px; line-height: 1.55; }
  .hero .cta { margin-top: 28px; }
  .hero .note { margin-top: 14px; font-size: 13px; }

  .badge img { width: min(184px, 58vw); }
  .phones {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 30px;
    margin-top: 46px;
  }
  .phones figure { width: 100%; }
  .phone { width: min(78vw, 270px); margin: 0 auto; }
  .phone-caption { margin-top: 10px; font-size: 13px; }

  section { padding: 62px 0; }
  section[id] { scroll-margin-top: 66px; }
  .kicker { font-size: 11.5px; margin-bottom: 11px; }
  h2 { font-size: clamp(29px, 8vw, 36px); }
  .lead { font-size: 16px; line-height: 1.6; }

  .steps, .features, .plans { gap: 16px; margin-top: 34px; }
  .step { padding-top: 17px; }
  .step .num { font-size: 26px; }
  .step h3 { font-size: 17px; margin: 7px 0 5px; }
  .step p, .feature p, .plan li { font-size: 15px; line-height: 1.55; }

  .vs { gap: 30px; }
  .vs-card { padding: 30px 22px; border-radius: 18px; }
  .bignum { font-size: clamp(70px, 22vw, 96px); white-space: nowrap; }
  .bignum .unit { font-size: 16px; }
  .vs-caption { font-size: 15px; line-height: 1.6; }

  .feature { padding: 2px 0; }
  .feature .ico-badge { width: 42px; height: 42px; margin-bottom: 12px; }
  .feature h3 { font-size: 17px; margin-bottom: 5px; }

  .plan { padding: 25px 22px; border-radius: 15px; }
  .plan .price { font-size: 32px; }
  .plan .tag { left: 22px; }
  .price-note { font-size: 12.5px; line-height: 1.55; }

  .faq { margin-top: 30px; }
  .faq details { padding: 17px 0; }
  .faq summary { gap: 12px; font-size: 16px; line-height: 1.4; }
  .faq details p { font-size: 15px; line-height: 1.6; }

  footer { padding: 36px 0 46px; }
  .footer-grid { gap: 20px; }
  .footer-links { width: 100%; gap: 18px; }
  .attribution { margin-top: 20px; font-size: 12px; line-height: 1.65; }
}

@media (max-width: 380px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 34px; }
  .hero .sub { font-size: 16px; }
  .phone { width: min(82vw, 260px); }
  .vs-card { padding-left: 18px; padding-right: 18px; }
  .bignum { font-size: 68px; }
  .bignum .unit { font-size: 15px; }
}

/* ---------- SEO 资源入口与工具/文章页 ---------- */
.resource-strip { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.resource-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.resource-card { display: flex; flex-direction: column; gap: 8px; min-height: 178px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.resource-card strong { font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.resource-card > span:last-child { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.resource-label { color: var(--green-mid); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tool-page, .article-page { max-width: 760px; margin: 0 auto; padding: 74px 24px 100px; }
.tool-page h1, .article-page h1 { font-family: var(--serif); font-size: clamp(38px, 6vw, 56px); line-height: 1.12; }
.tool-page .intro, .article-page .intro { color: var(--ink-2); font-size: 19px; line-height: 1.6; margin-top: 18px; }
.breadcrumb { color: var(--green-mid); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.breadcrumb a { color: inherit; }
.calculator { margin-top: 38px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.8); box-shadow: var(--shadow-md); }
.calculator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field label { display: block; color: var(--ink-2); font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; background: var(--ivory); color: var(--ink); font: inherit; font-variant-numeric: tabular-nums; }
.field input:focus { border-color: var(--green-mid); outline: 2px solid rgba(61,122,92,.16); }
.calculator button { width: 100%; border: 0; margin-top: 22px; cursor: pointer; }
.calculator-note { color: var(--ink-3); font-size: 13px; margin-top: 12px; }
.result { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.result-card { padding: 18px; border-radius: 14px; background: var(--green-tint); }
.result-card strong { display: block; color: var(--green); font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.result-card span { display: block; color: var(--ink-2); font-size: 13px; margin-top: 7px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.tool-card { display: block; min-height: 132px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.8); box-shadow: var(--shadow-sm); color: var(--ink); }
.tool-card:hover { border-color: var(--green-mid); transform: translateY(-2px); }
.tool-card strong { display: block; font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.tool-card span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.tool-list { display: grid; gap: 12px; margin-top: 38px; }
.tool-list-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.82); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.tool-list-card:hover { border-color: var(--green-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tool-list-card.featured { border-color: #9DBDAA; background: linear-gradient(135deg, #EFF6EF, rgba(255,255,255,.95)); }
.tool-list-card { grid-template-columns: 36px 48px minmax(0, 1fr) auto; column-gap: 12px; }
.tool-number { justify-self: end; }
.tool-list-icon { width: 48px; height: 48px; object-fit: contain; }
.tool-heading { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 18px; }
.tool-heading > img { width: 96px; height: 96px; object-fit: contain; }
.tool-heading .intro { margin-top: 10px; }
.tool-number { color: var(--green-mid); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.tool-list-copy strong { display: block; font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.tool-list-copy > span { display: block; margin-top: 7px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.tool-action { color: var(--green); font-size: 14px; font-weight: 700; white-space: nowrap; }
.tool-action b { margin-left: 5px; font-size: 17px; }
.compare-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.compare-inputs section { padding: 18px; border-radius: 14px; background: var(--green-tint); }
.compare-inputs h2 { margin: 0 0 16px; font-family: var(--serif); font-size: 24px; }
.compare-inputs .calculator-grid { grid-template-columns: 1fr; }
.compare-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px 14px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.compare-row strong { color: var(--ink); }
.compare-row em { grid-column: 1 / -1; color: var(--green); font-style: normal; font-weight: 700; font-size: 13px; }
.tool-copy, .article-content { margin-top: 54px; }
.tool-copy h2, .article-content h2 { font-family: var(--sans); font-size: 25px; margin: 34px 0 10px; }
.tool-copy p, .tool-copy li, .article-content p, .article-content li { color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.tool-copy ul, .article-content ul { padding-left: 24px; margin: 10px 0; }
.article-meta { color: var(--ink-3); font-size: 14px; margin-top: 14px; }
.article-content a, .tool-copy a { color: var(--green); }
.article-content blockquote { margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--green-mid); background: var(--green-tint); color: var(--ink-2); }
.article-visual { margin: 30px 0 34px; }
.article-hero-visual { margin-top: 34px; margin-bottom: 48px; }
.article-visual picture, .article-visual img { display: block; width: 100%; }
.article-visual img { height: auto; border: 1px solid rgba(226, 220, 204, .9); border-radius: 18px; box-shadow: var(--shadow-sm); }
.article-visual figcaption { margin-top: 10px; color: var(--ink-3); font-size: 14px; line-height: 1.5; text-align: center; }
.related { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); }
.related a { display: block; margin-top: 10px; color: var(--green); font-weight: 600; }
.article-content > p:last-child {
  margin-top: 34px; padding: 22px 24px; border: 1px solid #CEDDD3; border-radius: 16px;
  background: rgba(228, 237, 231, .72); color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.article-content > p:last-child a {
  display: inline-block; margin-top: 14px; padding: 10px 15px; border-radius: 10px;
  background: var(--green); color: var(--ivory) !important; font-weight: 700; text-decoration: none;
}
.article-content > p:last-child a:hover { opacity: .9; }
.conversion-cta {
  margin-top: 48px; padding: 30px 32px; border: 0; border-radius: 20px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  background: linear-gradient(135deg, #1E4A38 0%, #285B43 100%);
  color: var(--ivory); box-shadow: 0 24px 52px -28px rgba(30, 74, 56, .72);
  position: relative; overflow: hidden;
}
.conversion-cta::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -86px; top: -120px;
  border: 1px solid rgba(246,243,236,.16); border-radius: 50%; pointer-events: none;
}
.conversion-cta .kicker { color: #C9DDB0; margin: 0 0 8px; position: relative; }
.conversion-cta h2 { margin: 0; color: var(--ivory); font-size: 27px; line-height: 1.18; position: relative; }
.conversion-cta p { max-width: 560px; margin-top: 10px; color: rgba(246,243,236,.78); font-size: 16px; line-height: 1.55; position: relative; }
.conversion-cta > .kicker, .conversion-cta > h2, .conversion-cta > p { grid-column: 1; }
.conversion-cta .badge { grid-column: 2; grid-row: 1 / span 3; margin: 0; position: relative; z-index: 1; align-self: center; }
.conversion-cta .badge img { width: 176px; border-radius: 10px; }
.conversion-cta .secondary-link { display: inline-block; margin: 18px 0 0 18px; color: var(--green); font-size: 15px; font-weight: 600; }
.home-closing-section { padding: 72px 0 80px; }
.home-closing-cta { margin-top: 0; padding: 40px; gap: 36px; }
.home-closing-cta .badge::after { display: none; }
.home-download-stack {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  width: 240px;
}
.home-download-stack .badge { display: block; width: 240px; }
.home-download-stack .badge img { width: 240px; }
.home-download-qr {
  display: flex;
  box-sizing: border-box;
  width: 240px;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 10px;
  border: 1px solid rgba(226, 220, 204, .92);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-download-qr:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.home-download-qr img { display: block; flex: 0 0 auto; width: 92px; height: 92px; border-radius: 8px; }
.home-download-qr > span { display: grid; min-width: 0; gap: 5px; }
.home-download-qr strong { font-size: 13px; line-height: 1.2; }
.home-download-qr small { color: var(--ink-3); font-size: 11px; line-height: 1.35; }

@media (max-width: 900px) {
  .home-download-qr { display: none; }
}

@media (max-width: 720px) {
  .resource-strip { grid-template-columns: 1fr; gap: 24px; }
  .resource-links { grid-template-columns: 1fr; }
  .resource-card { min-height: 0; padding: 20px; }
  .tool-page, .article-page { padding: 48px 18px 72px; }
  .tool-page h1, .article-page h1 { font-size: 37px; }
  .tool-page .intro, .article-page .intro { font-size: 17px; }
  .calculator { margin-top: 28px; padding: 20px; }
  .calculator-grid, .result { grid-template-columns: 1fr; gap: 14px; }
  .tool-grid, .compare-inputs { grid-template-columns: 1fr; }
  .tool-list-card { grid-template-columns: 24px 42px minmax(0, 1fr); column-gap: 8px; row-gap: 10px; padding: 18px; }
  .tool-list-icon { width: 42px; height: 42px; }
  .tool-heading { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; }
  .tool-heading > img { width: 68px; height: 68px; }
  .tool-list-copy strong { font-size: 21px; }
  .tool-action { grid-column: 3; margin-top: 2px; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .tool-copy, .article-content { margin-top: 40px; }
  .tool-copy p, .tool-copy li, .article-content p, .article-content li { font-size: 16px; line-height: 1.7; }
  .tool-copy h2, .article-content h2 { font-size: 22px; }
  .article-visual { margin: 24px -2px 28px; }
  .article-hero-visual { margin-top: 28px; margin-bottom: 38px; }
  .article-visual img { border-radius: 13px; }
  .article-visual figcaption { padding: 0 8px; font-size: 13px; }
  .conversion-cta { margin-top: 34px; padding: 24px 20px; border-radius: 17px; grid-template-columns: 1fr; gap: 18px; }
  .conversion-cta h2 { font-size: 24px; }
  .conversion-cta p { font-size: 15px; }
  .conversion-cta .badge { grid-column: 1; grid-row: auto; justify-self: start; }
  .conversion-cta .badge img { width: 170px; }
  .conversion-cta .secondary-link { margin: 16px 0 0; }
  .home-closing-section { padding: 62px 0; }
  .home-closing-cta { padding: 26px 22px; gap: 20px; }
  .home-download-stack { grid-column: 1; grid-row: auto; justify-self: center; width: 170px; }
  .home-download-stack .badge, .home-download-stack .badge img { width: 170px; }
}
