/* ============================================================
   光曦星閣 SNT — Design System
   White / light-grey ground · deep navy + ink green accents
   Generous whitespace · clear blocks · decisive CTAs
   ============================================================ */

:root {
  --paper: #ffffff;
  --mist: #f6f7f5;
  --mist-2: #eef0ec;
  --line: #e2e5df;
  --line-strong: #cfd4cc;

  --ink: #0d1c26;
  --navy: #12324a;
  --navy-deep: #0b2233;
  --green: #1e3d34;
  --green-soft: #2f5a4b;
  --oak: #a9784f;

  --text: #16232b;
  --text-2: #46565e;
  --text-3: #6d7c83;

  --radius: 3px;
  --radius-lg: 6px;
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 48px);

  --serif: "Noto Serif TC", "Songti TC", "PingFang TC", Georgia, serif;
  --sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(13, 28, 38, 0.04);
  --shadow-md: 0 12px 32px -18px rgba(13, 28, 38, 0.28);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.78;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--navy); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.32rem); }
h4 { font-size: 1.02rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0.01em; }

p { margin: 0 0 1.1em; color: var(--text-2); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.85;
  color: var(--text-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--oak);
}

.num {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 118px); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.section--mist { background: var(--mist); }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.grid > * { min-width: 0; }
.split > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand__mark {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--navy);
  display: grid;
  place-items: center;
  border-radius: 2px;
  flex-shrink: 0;
}
.brand__mark span {
  width: 12px;
  height: 12px;
  background: var(--green);
  display: block;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-left: auto;
}
.nav__links a {
  font-size: 0.9rem;
  color: var(--text-2);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--oak);
  transition: width 0.28s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 10px; }

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-2);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--line-strong); color: var(--ink); background: var(--mist); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-moon { display: none; }

.nav__burger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 2px;
  padding: 0;
  place-items: center;
}
.nav__burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}
.nav__burger span::before { top: -5px; }
.nav__burger span::after { top: 5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--mist); }

.btn--green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn--green:hover { background: #16302a; border-color: #16302a; transform: translateY(-1px); }

.btn--sm { padding: 9px 16px; font-size: 0.84rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: gap 0.22s var(--ease), border-color 0.22s var(--ease);
}
.link-arrow:hover { gap: 12px; border-color: var(--oak); }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.82rem;
  color: var(--text-3);
}
.hero__note span { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 13px; height: 13px; color: var(--green); flex-shrink: 0; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  max-width: 240px;
}
.hero__badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.2;
}
.hero__badge span { font-size: 0.76rem; color: var(--text-3); letter-spacing: 0.04em; }

/* ---------- Trust strip ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--mist);
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.trust__item {
  background: var(--mist);
  padding: 26px clamp(14px, 2vw, 26px);
}
.trust__item strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 5px;
}
.trust__item span { font-size: 0.8rem; color: var(--text-3); line-height: 1.5; display: block; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card--hover:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; }
.card__icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--green);
}
.card__icon svg { width: 18px; height: 18px; }

.card--flat { background: var(--mist); border-color: transparent; }

/* ---------- Section head ---------- */
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 58px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head p { font-size: 1rem; }

.sec-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.sec-head--row > div { max-width: 640px; }

/* ---------- Price table ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--paper);
  max-width: 100%;
}
table.price {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
table.price caption {
  text-align: left;
  padding: 18px 22px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}
table.price th,
table.price td {
  padding: 14px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.price thead th {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  background: var(--paper);
}
table.price tbody tr:last-child td { border-bottom: 0; }
table.price tbody tr:hover { background: var(--mist); }
table.price td:last-child {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
table.price td small { display: block; font-weight: 400; color: var(--text-3); font-size: 0.78rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  padding-block: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--oak);
  letter-spacing: 0.08em;
  padding-top: 3px;
}
.step__body h3 { margin-bottom: 8px; }
.step__body p { font-size: 0.94rem; margin-bottom: 0; }
.step__meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-3);
  background: var(--paper);
}
.tag--green { color: var(--green); border-color: color-mix(in srgb, var(--green) 30%, transparent); }

/* ---------- Works ---------- */
.works {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}
.work {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--mist-2);
  grid-column: span 2;
}
.work--wide { grid-column: span 3; }
.work--tall { grid-column: span 2; }
.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.7s var(--ease);
}
.work--wide img { aspect-ratio: 16 / 10; }
.work:hover img { transform: scale(1.03); }
.work__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(9, 20, 28, 0.78), rgba(9, 20, 28, 0));
  color: #fff;
}
.work__cap strong { display: block; font-size: 0.95rem; font-weight: 600; }
.work__cap span { font-size: 0.76rem; opacity: 0.82; }

/* ---------- Quote / calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
.calc__form { padding: clamp(24px, 3.4vw, 40px); }
.calc__out {
  background: var(--mist);
  border-left: 1px solid var(--line);
  color: var(--text);
  padding: clamp(24px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc__out .eyebrow { color: var(--green); }
.calc__out .eyebrow::before { background: var(--oak); }
.calc__range {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.calc__range small { font-size: 0.9rem; font-family: var(--sans); color: var(--text-3); display: block; margin-top: 8px; letter-spacing: 0.02em; }
.calc__out p { color: var(--text-3); font-size: 0.84rem; margin-top: 18px; }
.calc__out .btn { margin-top: 22px; align-self: flex-start; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-2);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.94rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--navy) 12%, transparent);
}
.field textarea { resize: vertical; min-height: 96px; }
.field__hint { font-size: 0.76rem; color: var(--text-3); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Payment ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}
.bank {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.8vw, 30px);
  background: var(--paper);
  position: relative;
}
.bank__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.bank__name { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.bank__use { font-size: 0.76rem; color: var(--text-3); margin-top: 3px; }
.bank__flag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-3);
  white-space: nowrap;
}
.bank dl { margin: 0; display: grid; gap: 12px; }
.bank dl > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.bank dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.bank dt { font-size: 0.78rem; color: var(--text-3); }
.bank dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  word-break: break-all;
}
.bank dd.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9rem; }
.bank__reveal {
  background: none;
  border: 0;
  padding: 0;
  margin-left: 8px;
  font-size: 0.72rem;
  color: var(--navy);
  border-bottom: 1px solid currentColor;
  letter-spacing: 0.02em;
}

.verify {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--mist);
  padding: clamp(24px, 3.4vw, 38px);
}
.verify__row { display: flex; gap: 10px; flex-wrap: wrap; }
.verify__row input { flex: 1 1 240px; }
.verify__result {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.9rem;
  display: none;
}
.verify__result.is-on { display: block; }
.verify__result.ok { border-color: color-mix(in srgb, var(--green) 45%, transparent); }
.verify__result.no { border-color: color-mix(in srgb, #a33 40%, transparent); }
.verify__result strong { display: block; margin-bottom: 4px; color: var(--ink); }
.verify__result code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.82rem;
  background: var(--mist);
  padding: 2px 6px;
  border-radius: 2px;
}

.notice {
  border-left: 2px solid var(--oak);
  padding: 4px 0 4px 18px;
  font-size: 0.86rem;
  color: var(--text-2);
  background: transparent;
}
.notice strong { color: var(--ink); }

/* ---------- Marketing / matrix ---------- */
.matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.matrix__cell {
  background: var(--paper);
  padding: clamp(20px, 2.6vw, 28px);
}
.matrix__cell h4 { margin-bottom: 8px; color: var(--ink); }
.matrix__cell p { font-size: 0.86rem; margin: 0; }
.matrix__cell .kpi {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 4px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.flow__step {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}
.flow__step:last-child { border-right: 0; }
.flow__step b {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--oak);
  margin-bottom: 8px;
  font-weight: 700;
}
.flow__step strong { display: block; font-size: 0.92rem; color: var(--ink); margin-bottom: 5px; }
.flow__step span { font-size: 0.78rem; color: var(--text-3); line-height: 1.55; display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: 4px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 22px 0; font-size: 0.92rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding-block: clamp(56px, 7vw, 88px);
}
.cta-band h2 { color: var(--ink); margin-bottom: 14px; }
.cta-band p { color: var(--text-2); max-width: 560px; }
.cta-band .eyebrow { color: var(--green); }
.cta-band .eyebrow::before { background: var(--oak); }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band .btn--primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.cta-band .btn--primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.cta-band .btn--ghost { color: var(--ink); border-color: var(--line-strong); }
.cta-band .btn--ghost:hover { border-color: var(--ink); background: var(--paper); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 72px) 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer__brand p { font-size: 0.86rem; max-width: 300px; margin-top: 16px; }
.footer__col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
  font-weight: 700;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a { font-size: 0.88rem; color: var(--text-2); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-3);
}
.footer__bottom p { font-size: 0.78rem; color: var(--text-3); margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(48px, 6vw, 78px) clamp(36px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.page-hero .lead { max-width: 680px; }
.crumb {
  font-size: 0.76rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.crumb a:hover { color: var(--ink); }

/* ---------- Misc ---------- */
.kv { display: grid; gap: 0; }
.kv > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1fr);
  gap: 20px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.kv > div:first-child { border-top: 1px solid var(--line); }
.kv dt, .kv .k { color: var(--text-3); font-size: 0.84rem; }
.kv .v { color: var(--ink); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 0.84rem; color: var(--text-3); display: block; line-height: 1.6; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }

.quote-block {
  border-left: 2px solid var(--oak);
  padding-left: 22px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  color: var(--ink);
}
.quote-block cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 14px;
  letter-spacing: 0.04em;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__badge { left: auto; right: 16px; bottom: -18px; }
  .split { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step { border-bottom: 1px solid var(--line); }
  .flow__step:nth-child(2n) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .works { grid-template-columns: repeat(4, 1fr); }
  .work, .work--wide, .work--tall { grid-column: span 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-grid { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; }
  .work, .work--wide, .work--tall { grid-column: span 1; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step__n { padding-top: 0; }
  .field-row { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow__step { border-right: 0; }
  .hero__badge { position: static; margin-top: 14px; max-width: none; box-shadow: none; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .kv > div { grid-template-columns: 1fr; gap: 4px; }
  table.price th, table.price td { padding: 12px 14px; }
  table.price { font-size: 0.86rem; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.price { min-width: 0; }
  table.price td:last-child { white-space: normal; }
  .bank dl > div { grid-template-columns: 1fr; gap: 3px; }
}

@media (max-width: 480px) {
  .nav__actions > .btn { display: none; }
  .nav { gap: 12px; }
  .brand__sub { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 74px 0 0 0;
  background: var(--paper);
  z-index: 55;
  padding: 24px var(--pad) 40px;
  display: none;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.drawer.is-open { display: block; }
.drawer a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--text);
}
.drawer .btn { margin-top: 22px; }
body.no-scroll { overflow: hidden; }

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .drawer { display: none !important; }
  body { font-size: 11pt; }
  .section { padding-block: 18pt; }
}
