/* =========================================================
   思行 AI 电商顾问｜全站样式
   色彩、圆角和间距均集中为变量，方便后续统一调整。
   ========================================================= */
:root {
  --paper: #fbf7ed;
  --paper-deep: #f3ead8;
  --surface: rgba(255, 253, 248, 0.86);
  --ink: #251d14;
  --ink-soft: #665b4c;
  --gold: #b77a1d;
  --gold-light: #dcaa57;
  --gold-pale: #f1debb;
  --line: rgba(126, 91, 42, 0.18);
  --shadow: 0 20px 55px rgba(79, 55, 21, 0.10);
  --radius: 22px;
  --container: 1180px;
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(229, 192, 126, .26), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: repeating-linear-gradient(100deg, transparent 0 32px, rgba(130, 94, 40, .035) 33px 34px);
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
button { color: inherit; }
p { margin: 0; color: var(--ink-soft); line-height: 1.82; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 120px 0; }
.section-tinted { background: rgba(238, 224, 196, .36); border-block: 1px solid var(--line); }
.section-glow { position: relative; overflow: hidden; }
.section-glow::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -260px;
  top: -230px;
  border: 1px solid rgba(183, 122, 29, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(183, 122, 29, .025), 0 0 0 96px rgba(183, 122, 29, .018);
  pointer-events: none;
}

/* 导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 237, .84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(75, 52, 20, .055); }
.nav-shell { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { font: 700 26px/1 var(--display); color: var(--gold); letter-spacing: .12em; }
.brand-copy { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 1px solid var(--line); }
.brand-copy strong { font-size: 14px; letter-spacing: .08em; }
.brand-copy small { color: var(--ink-soft); font-size: 10px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 38px; }
.site-nav a { position: relative; padding: 30px 0 27px; font-size: 14px; color: var(--ink-soft); transition: color .2s ease; }
.site-nav a::after { content: ""; position: absolute; left: 50%; bottom: 20px; width: 0; height: 2px; background: var(--gold); transition: .25s ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.is-active::after { left: 0; width: 100%; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 1px; background: var(--ink); transition: .25s ease; }

/* 通用标题与按钮 */
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { width: 32px; height: 1px; background: currentColor; }
.eyebrow-light { color: #f4dcae; }
.section-index { margin-bottom: 14px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 58px; }
.section-heading h2, .client-intro h2, .tool-intro h2, .contact-card h2, .prep-grid h2 { font: 700 clamp(34px, 4vw, 52px)/1.22 var(--display); letter-spacing: .02em; }
.section-heading > p { max-width: 480px; padding-bottom: 4px; }
.button-row { display: flex; gap: 14px; margin-top: 36px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 26px; border: 1px solid transparent; border-radius: 10px; font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fffaf0; background: linear-gradient(135deg, #9a6012, var(--gold-light)); box-shadow: 0 12px 28px rgba(157, 99, 18, .2); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(157, 99, 18, .28); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.38); }
.button-ghost:hover { background: #fffaf1; }
.button-light { color: #8d5812; background: #fffaf0; }
.button-outline-light { color: #fff9ed; border-color: rgba(255,255,255,.45); background: transparent; }

/* 首页 Hero */
.hero { padding: 92px 0 0; min-height: calc(100svh - 84px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 84px; min-height: 650px; }
.hero-copy h1, .page-hero h1 { font: 700 clamp(48px, 6vw, 80px)/1.12 var(--display); letter-spacing: -.02em; }
.hero-copy h1 em, .page-hero h1 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 610px; margin-top: 30px; font-size: 17px; }
.hero-keywords { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 50px; color: var(--ink-soft); font-size: 12px; letter-spacing: .06em; }
.hero-keywords span { display: flex; align-items: center; gap: 8px; }
.hero-keywords span::before { content: ""; width: 5px; height: 5px; border: 1px solid var(--gold); border-radius: 50%; }
.hero-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(183, 122, 29, .22);
  border-radius: 48% 48% 18px 18px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.96) 0 15%, transparent 48%),
    linear-gradient(150deg, rgba(240, 217, 174, .35), rgba(255,255,255,.45));
  box-shadow: var(--shadow);
}
.visual-kicker { position: absolute; top: 34px; left: 38px; color: var(--gold); font-size: 10px; letter-spacing: .18em; }
.visual-orbit { position: absolute; border: 1px solid rgba(183, 122, 29, .23); border-radius: 50%; }
.orbit-one { width: 370px; height: 370px; right: -72px; top: 52px; }
.orbit-two { width: 280px; height: 280px; left: -84px; bottom: 40px; }
.hero-seal { position: absolute; inset: 102px 56px 148px; border: 1px solid rgba(183, 122, 29, .32); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(255, 252, 244, .7); box-shadow: inset 0 0 0 14px rgba(183, 122, 29, .035); }
.hero-seal::before, .hero-seal::after { content: ""; position: absolute; width: 70%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-seal::before { top: 62px; }
.hero-seal::after { bottom: 62px; }
.hero-seal small { color: var(--ink-soft); letter-spacing: .18em; }
.hero-seal strong { margin: 16px 0 8px; font: 700 46px/1 var(--display); color: var(--gold); }
.hero-seal span { font: 500 22px/1.4 var(--display); letter-spacing: .22em; }
.visual-path { position: absolute; left: 34px; right: 34px; bottom: 32px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.visual-path span { display: flex; flex-direction: column; gap: 5px; padding-top: 13px; color: var(--ink-soft); font-size: 11px; }
.visual-path b { color: var(--gold); font-size: 10px; }
.hero-note { margin-top: 36px; padding: 24px 0 34px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; letter-spacing: .04em; }

/* 服务能力 */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { position: relative; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 26px rgba(79, 55, 21, .05); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(183,122,29,.38); box-shadow: var(--shadow); }
.card-number { display: block; margin-bottom: 50px; color: var(--gold); font-size: 12px; letter-spacing: .16em; }
.service-card h3 { margin-bottom: 16px; font: 700 28px/1.35 var(--display); }
.service-card p { max-width: 500px; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.service-card li { color: var(--ink-soft); font-size: 12px; }
.service-card li::before { content: "·"; color: var(--gold); margin-right: 7px; }

/* 五步流程 */
.process-list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.process-list::before { content: ""; position: absolute; top: 22px; left: 6%; right: 6%; height: 1px; background: var(--line); }
.process-list li { position: relative; padding: 0 28px; border-right: 1px solid var(--line); }
.process-list li:first-child { padding-left: 0; }
.process-list li:last-child { padding-right: 0; border-right: 0; }
.process-list span { position: relative; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 38px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); background: var(--paper-deep); font-size: 12px; }
.process-list h3 { margin-bottom: 13px; font: 700 20px/1.4 var(--display); }
.process-list p { font-size: 13px; line-height: 1.8; }

/* 客户类型 */
.client-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.client-intro > p:last-child { margin-top: 24px; max-width: 420px; }
.client-list { border-top: 1px solid var(--line); }
.client-list li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: center; min-height: 88px; border-bottom: 1px solid var(--line); }
.client-list span { color: var(--gold); font-size: 12px; }
.client-list strong { font: 600 17px/1.5 var(--display); }

/* CTA 与 Footer */
.cta-section { position: relative; overflow: hidden; color: #fff9ef; background: linear-gradient(120deg, #7b490f 0%, #b7771d 50%, #d8a451 100%); }
.cta-section::after { content: ""; position: absolute; width: 460px; height: 460px; right: -100px; top: -280px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 84px rgba(255,255,255,.025); }
.cta-inner { position: relative; z-index: 1; min-height: 350px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
.cta-inner h2 { font: 700 clamp(36px, 4.8vw, 60px)/1.25 var(--display); }
.cta-copy p { margin-bottom: 28px; color: rgba(255,255,255,.78); }
.compact-cta .cta-inner { min-height: 320px; }
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); background: #f8f1e4; }
.site-footer .container { display: flex; justify-content: space-between; gap: 20px; color: var(--ink-soft); font-size: 11px; letter-spacing: .06em; }

/* 内页标题 */
.page-hero { padding: 110px 0 90px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 100px; }
.page-hero-copy { max-width: 520px; padding-bottom: 8px; }
.page-hero-copy > p { font-size: 17px; }
.mini-stat { display: flex; align-items: center; gap: 18px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }
.mini-stat strong { font: 700 46px/1 var(--display); color: var(--gold); }
.mini-stat span { color: var(--ink-soft); font-size: 12px; line-height: 1.6; }

/* 案例页 */
.case-section { padding-top: 80px; }
.case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 253, 248, .76); box-shadow: 0 12px 35px rgba(79, 55, 21, .055); transition: transform .3s ease, box-shadow .3s ease; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 38px; }
.case-index { color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .15em; }
.tag-row { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.tag-row span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 10px; }
.case-card > h2 { min-height: 76px; margin-bottom: 34px; font: 700 27px/1.42 var(--display); }
.case-detail-grid { display: grid; gap: 22px; }
.case-detail-grid > div { padding-top: 20px; border-top: 1px solid var(--line); }
.case-detail-grid h3 { margin-bottom: 9px; color: var(--gold); font-size: 11px; letter-spacing: .12em; }
.case-detail-grid p { font-size: 13px; }
.case-value { padding: 20px !important; border: 0 !important; border-radius: 12px; background: rgba(231, 204, 154, .22); }

/* 工具页 */
.tool-badge { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; }
.tool-badge span { color: var(--gold); font-size: 11px; font-weight: 600; }
.tool-badge small { color: var(--ink-soft); }
.tool-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; align-items: start; }
.tool-intro { position: sticky; top: 124px; }
.tool-intro > p:nth-of-type(2) { margin-top: 24px; }
.tool-intro ol { margin-top: 40px; border-top: 1px solid var(--line); }
.tool-intro li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.tool-intro li span { color: var(--gold); }
.diagnostic-panel { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,248,.8); box-shadow: var(--shadow); }
.diagnostic-panel label { display: block; margin-bottom: 14px; font-weight: 600; }
.diagnostic-panel textarea { width: 100%; min-height: 190px; padding: 20px; resize: vertical; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; outline: none; background: #fffdf8; line-height: 1.8; transition: border .2s, box-shadow .2s; }
.diagnostic-panel textarea::placeholder { color: #a79b8a; }
.diagnostic-panel textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(183,122,29,.09); }
.form-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; }
.form-meta > span { color: var(--ink-soft); font-size: 11px; }
.diagnostic-result { margin-top: 42px; padding-top: 38px; border-top: 1px solid var(--line); }
.diagnostic-result.is-visible { animation: resultIn .5s ease both; }
.result-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.result-heading span { color: var(--gold); font-size: 10px; letter-spacing: .18em; }
.result-heading h2 { font: 700 26px/1.4 var(--display); }
.result-block { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.result-block h3 { font-size: 12px; }
.result-block p, .result-block li { color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.result-block li { list-style: decimal; margin-left: 20px; }
.result-action { margin-top: 8px; padding: 22px; border: 0; border-radius: 12px; background: rgba(231,204,154,.24); }
.result-note { margin-top: 18px; font-size: 11px; }
.api-note-section { padding: 0 0 110px; }
.api-note { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 34px 40px; border: 1px solid var(--line); border-radius: 16px; }
.api-note > span { color: var(--gold); font-size: 11px; letter-spacing: .12em; }
.api-note h2 { margin-bottom: 8px; font: 700 22px/1.4 var(--display); }
.api-note code { padding: 2px 6px; border-radius: 5px; color: #82500f; background: rgba(183,122,29,.11); }

/* 联系页 */
.hand-note { display: inline-block; margin-top: 30px; color: var(--gold) !important; font: italic 18px/1.5 var(--display); transform: rotate(-2deg); }
.contact-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; }
.contact-card, .conversation-card { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,248,.8); box-shadow: 0 12px 40px rgba(79,55,21,.06); }
.contact-card h2 { margin-bottom: 38px; }
.contact-method { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center; min-height: 82px; border-top: 1px solid var(--line); }
.contact-method:last-of-type { border-bottom: 1px solid var(--line); }
.contact-method > span { color: var(--gold); font-size: 12px; }
.contact-method strong { font-size: 15px; word-break: break-all; }
.text-button { padding: 8px 0; border: 0; color: var(--gold); background: transparent; font-size: 12px; cursor: pointer; }
.editable-note { margin-top: 22px; font-size: 11px; }
.conversation-list { margin-top: 20px; }
.conversation-list li { display: grid; grid-template-columns: 50px 1fr; align-items: center; min-height: 70px; border-top: 1px solid var(--line); }
.conversation-list li:last-child { border-bottom: 1px solid var(--line); }
.conversation-list span { color: var(--gold); font-size: 11px; }
.conversation-list strong { font: 600 16px/1.5 var(--display); }
.prep-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.prep-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prep-list li { min-height: 160px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,248,.5); }
.prep-list span { color: var(--gold); font-size: 11px; }
.prep-list p { margin-top: 36px; color: var(--ink); font: 600 16px/1.6 var(--display); }
.contact-cta .cta-inner { min-height: 360px; grid-template-columns: 1.35fr .65fr; }
.contact-cta .cta-inner h2 { font-size: clamp(32px, 4vw, 52px); }
.button-stack { display: flex; gap: 12px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 100; padding: 12px 18px; border-radius: 999px; color: #fff; background: #3e2b13; box-shadow: var(--shadow); font-size: 12px; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: .25s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* 动效 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal-delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes resultIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* 平板 */
@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .hero { padding-top: 65px; }
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .hero-visual { min-height: 500px; }
  .page-hero-grid, .tool-layout, .prep-grid { grid-template-columns: 1fr; gap: 50px; }
  .tool-intro { position: static; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .process-list::before { display: none; }
  .process-list li { border-right: 0; padding: 0 28px 0 0; }
  .process-list span { margin-bottom: 20px; }
  .client-layout { grid-template-columns: 1fr; gap: 52px; }
  .cta-inner { gap: 50px; }
}

/* 手机 */
@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .nav-shell { height: 72px; }
  .brand-copy small { display: none; }
  .brand-mark { font-size: 23px; }
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; top: 72px; left: 16px; right: 16px; display: grid; gap: 0; padding: 10px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,251,243,.98); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s ease; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .nav-toggle.is-open span:first-child { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .section { padding: 72px 0; }
  .hero { min-height: auto; padding-top: 62px; }
  .hero-grid { min-height: 0; gap: 46px; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(42px, 13.5vw, 62px); line-height: 1.16; }
  .hero-lead, .page-hero-copy > p { font-size: 15px; }
  .button-row { flex-direction: column; align-items: stretch; }
  .hero-keywords { gap: 13px 18px; margin-top: 36px; }
  .hero-visual { min-height: 430px; border-radius: 44% 44% 16px 16px; }
  .hero-seal { inset: 90px 30px 132px; }
  .hero-seal strong { font-size: 37px; }
  .visual-path { left: 22px; right: 22px; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 40px; }
  .section-heading h2, .client-intro h2, .tool-intro h2, .contact-card h2, .prep-grid h2 { font-size: 34px; }
  .service-grid, .case-list, .contact-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px; }
  .card-number { margin-bottom: 34px; }
  .process-list { grid-template-columns: 1fr; gap: 0; }
  .process-list li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
  .process-list span { grid-row: span 2; margin: 0; }
  .process-list h3 { margin-top: 4px; }
  .process-list p { grid-column: 2; }
  .client-list li { grid-template-columns: 42px 1fr; }
  .cta-inner, .contact-cta .cta-inner { min-height: 0; grid-template-columns: 1fr; gap: 36px; padding-block: 68px; }
  .cta-copy .button { width: 100%; }
  .site-footer .container { flex-direction: column; }
  .page-hero { padding: 76px 0 66px; }
  .page-hero-grid { gap: 38px; }
  .case-section { padding-top: 50px; }
  .case-card { padding: 26px; }
  .case-card > h2 { min-height: 0; font-size: 24px; }
  .case-meta { margin-bottom: 26px; }
  .diagnostic-panel { padding: 24px; }
  .form-meta { align-items: stretch; flex-direction: column; }
  .form-meta .button { width: 100%; }
  .result-heading, .result-block { grid-template-columns: 1fr; flex-direction: column; gap: 10px; }
  .result-heading { align-items: flex-start; }
  .result-block { display: grid; }
  .api-note { grid-template-columns: 1fr; gap: 16px; padding: 26px; }
  .contact-card, .conversation-card { padding: 26px; }
  .contact-method { grid-template-columns: 52px 1fr; gap: 10px; padding: 16px 0; }
  .contact-method .text-button { grid-column: 2; justify-self: start; }
  .prep-list { grid-template-columns: 1fr; }
  .prep-list li { min-height: 130px; }
  .button-stack { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
