/* Hallmark · macrostructure: Workbench · genre: editorial · theme: Collector Ledger
 * audience: Hong Kong small-batch card collectors · use: submit a card brief
 * nav: compact service masthead · footer: practical directory · enrichment: submission ledger
 * pre-emit critique: P5 H4 E4 S5 R4 V5
 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&family=Noto+Serif+TC:wght@500;600;700&display=swap");

:root {
  /* Primitive tokens */
  --primitive-paper-0: oklch(0.982 0.012 86);
  --primitive-paper-1: oklch(0.958 0.024 84);
  --primitive-paper-2: oklch(0.925 0.032 82);
  --primitive-ink-700: oklch(0.33 0.045 164);
  --primitive-ink-900: oklch(0.255 0.052 162);
  --primitive-green-600: oklch(0.405 0.067 160);
  --primitive-sage-400: oklch(0.68 0.04 141);
  --primitive-champagne-500: oklch(0.68 0.09 78);
  --primitive-slate-500: oklch(0.52 0.024 83);
  --primitive-cyan-600: oklch(0.50 0.06 215);
  --primitive-violet-600: oklch(0.46 0.04 315);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --duration-fast: 160ms;
  --duration-normal: 240ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Semantic tokens */
  --color-canvas: var(--primitive-paper-1);
  --color-surface: var(--primitive-paper-0);
  --color-surface-muted: var(--primitive-paper-2);
  --color-text: var(--primitive-ink-700);
  --color-text-strong: var(--primitive-ink-900);
  --color-text-muted: var(--primitive-slate-500);
  --color-action: var(--primitive-green-600);
  --color-action-strong: var(--primitive-ink-900);
  --color-rule: oklch(0.875 0.035 80);
  --color-focus: oklch(0.62 0.13 76);
  --color-link-visited: oklch(0.42 0.055 315);

  /* Component tokens */
  --button-bg: var(--color-action);
  --button-bg-active: var(--color-action-strong);
  --button-fg: var(--color-surface);
  --button-radius: var(--radius-md);
  --card-bg: var(--color-surface);
  --card-border: var(--color-rule);

  /* Legacy aliases kept for the existing multi-page site */
  --bg: var(--color-canvas);
  --panel: var(--color-surface);
  --panel-soft: var(--color-surface-muted);
  --ink: var(--color-text);
  --muted: var(--color-text-muted);
  --line: var(--color-rule);
  --brand: var(--color-action);
  --brand-dark: var(--color-action-strong);
  --sage: var(--primitive-sage-400);
  --gold: var(--primitive-champagne-500);
  --blue: var(--primitive-cyan-600);
  --amber: var(--primitive-champagne-500);
  --purple: var(--primitive-violet-600);
  --shadow: 0 24px 70px oklch(0.28 0.035 75 / 0.12);
  --width: min(1240px, calc(100vw - 40px));
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(248, 243, 232, 0.88) 46%, #fffdf8 100%),
    var(--bg);
  color: var(--ink);
  font-family:
    "Noto Sans TC", Inter, "Avenir Next", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(185, 145, 78, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 145, 78, 0.024) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
[data-copy],
summary {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

.section a:not(.button):visited,
.site-footer a:visited {
  color: var(--color-link-visited);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(1360px, calc(100vw - 20px));
  margin: 12px auto 0;
  padding: 10px 16px;
  border: 1px solid rgba(185, 145, 78, 0.2);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 12px 28px rgba(43, 34, 18, 0.06);
  backdrop-filter: blur(10px);
}

.brand,
.header-actions,
.main-nav,
.hero-actions,
.category-chips,
.search-strip {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #16b893);
  color: #fff;
  font-size: 25px;
  font-weight: 950;
}

.brand-seal {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(185, 145, 78, 0.28);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(43, 34, 18, 0.1);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--brand-dark);
  font-family: "Noto Serif TC", Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.main-nav {
  justify-content: center;
  gap: 8px;
}

.mobile-nav {
  display: none;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(185, 145, 78, 0.12);
  color: var(--brand-dark);
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(185, 145, 78, 0.28);
  border-radius: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  font-weight: 900;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
  touch-action: manipulation;
}

.button.small {
  min-height: 38px;
  padding: 0 16px;
}

.button.primary,
.button.small {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  box-shadow: 0 18px 36px rgba(31, 53, 46, 0.2);
}

.button.secondary {
  border-color: rgba(36, 79, 64, 0.35);
  background: rgba(255, 253, 247, 0.86);
  color: var(--brand-dark);
}

.button:hover,
.button:focus-visible,
.icon-link:hover,
.icon-link:focus-visible {
  transform: translateY(-1px);
}

.button:active,
.icon-link:active {
  transform: translateY(1px);
  box-shadow: none;
}

.button[aria-disabled="true"],
.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1fr);
  gap: 44px;
  align-items: center;
  width: var(--width);
  margin: 0 auto;
  padding: 66px 0 34px;
  border-bottom: 1px solid rgba(185, 145, 78, 0.16);
}

.hero::after {
  content: none;
}

.hero-copy {
  max-width: 650px;
}

.trust-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 16px;
  padding: 0 12px;
  border: 1px solid rgba(185, 145, 78, 0.34);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.72);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.eyebrow {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
  overflow-wrap: anywhere;
  min-width: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 11.2em;
  font-family: "Noto Serif TC", Georgia, "Times New Roman", "PingFang TC", serif;
  font-size: clamp(2.9rem, 5.2vw, 4.75rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-family: "Noto Serif TC", Georgia, "Times New Roman", "PingFang TC", serif;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.lead,
.section-heading p,
article p,
.pricing-row span,
.faq-grid p,
.final-cta p,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 58ch;
  font-size: 18px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 22px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 850;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof span::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 1px solid rgba(185, 145, 78, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--brand) 0 3px, transparent 4px),
    #fffdf7;
}

.honesty-note {
  max-width: 58ch;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 253, 247, 0.78);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}

.hero-search {
  max-width: 590px;
  margin-top: 30px;
}

.hero-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hero-search div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(7, 134, 107, 0.22);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
}

.hero-search input {
  min-width: 0;
  border: 0;
  padding: 0 12px;
  color: var(--ink);
  outline: 0;
}

.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  cursor: pointer;
  font-weight: 900;
}

.category-chips {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.category-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
}

.dashboard,
.benefits article,
.service-grid article,
.category-grid a,
.pricing-table,
.process-grid article,
.copy-box,
.faq-grid details,
.cta-points article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.dashboard {
  padding: 22px;
}

.dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-head span,
.order-list span,
.benefits span,
.service-grid li,
.process-grid span,
.category-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.dashboard-head strong {
  display: block;
  margin-top: 5px;
  font-size: 1.2rem;
}

.dashboard-head a,
.text-link {
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.progress-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.progress-tabs span {
  padding: 12px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.progress-tabs span + span {
  border-left: 1px solid var(--line);
}

.progress-tabs .is-done {
  background: rgba(7, 134, 107, 0.11);
  color: var(--brand-dark);
}

.progress-tabs .is-active {
  background: rgba(37, 117, 217, 0.1);
  color: var(--blue);
}

.order-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.order-list article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card-thumb {
  width: 54px;
  height: 70px;
  border: 3px solid #e9eef0;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 35%),
    linear-gradient(135deg, #19a883, #f4c452);
}

.card-thumb.amber {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 35%),
    linear-gradient(135deg, #d89324, #f6df94);
}

.card-thumb.slate {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 35%),
    linear-gradient(135deg, #4b6380, #dbe7f4);
}

.order-list strong {
  display: block;
  margin-top: 4px;
}

.order-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.order-list em {
  justify-self: end;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(7, 134, 107, 0.1);
  color: var(--brand-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.order-list em.blue {
  background: rgba(37, 117, 217, 0.1);
  color: var(--blue);
}

.order-list em.muted {
  background: #f1f4f3;
  color: var(--muted);
}

.vault-visual {
  position: relative;
  min-height: 600px;
  isolation: isolate;
}

.ledger-visual {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(250px, 1fr);
  grid-template-areas:
    "intake ledger"
    "handoff ledger"
    "seal ledger";
  gap: 14px;
  min-height: auto;
  padding: 18px;
  border: 1px solid rgba(185, 145, 78, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(249, 244, 235, 0.94)),
    var(--panel);
  box-shadow: 0 22px 54px rgba(43, 34, 18, 0.1);
}

.ledger-visual::before,
.ledger-visual::after {
  display: none;
}

.vault-visual::before,
.vault-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
}

.vault-visual::before {
  inset: 42px 10px 56px 116px;
  background: radial-gradient(circle, rgba(255, 253, 247, 0.96), rgba(245, 237, 223, 0.5));
  box-shadow: inset 0 0 0 1px rgba(185, 145, 78, 0.14);
}

.vault-visual::after {
  display: none;
  right: 0;
  top: 78px;
  width: 210px;
  height: 210px;
  background: transparent;
  opacity: 0.75;
}

.status-card,
.metric-card,
.vault-box,
.submission-ledger {
  position: absolute;
  border: 1px solid rgba(185, 145, 78, 0.2);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.ledger-visual > .status-card,
.ledger-visual > .metric-card,
.ledger-visual > .vault-box,
.ledger-visual > .submission-ledger {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
  box-shadow: none;
  backdrop-filter: none;
}

.status-card {
  top: 32px;
  left: 0;
  z-index: 4;
  width: 230px;
  padding: 18px;
}

.intake-card {
  top: 28px;
  left: 12px;
  width: 244px;
}

.ledger-visual > .intake-card {
  grid-area: intake;
}

.status-card > span,
.metric-card > span {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 950;
}

.status-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-card li {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.status-card li::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(36, 79, 64, 0.24);
  border-radius: 50%;
  background: #efe9dc;
}

.status-card li.done::before {
  background:
    linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.45) 50%, transparent 52%),
    var(--brand);
}

.status-card li.active::before {
  border-color: rgba(185, 145, 78, 0.6);
  background: var(--gold);
}

.status-card em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.submission-ledger {
  top: 54px;
  right: 30px;
  z-index: 3;
  width: 360px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(249, 244, 235, 0.96)),
    var(--panel);
}

.ledger-visual > .submission-ledger {
  grid-area: ledger;
  padding: 24px;
  background: #fffdf7;
}

.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(185, 145, 78, 0.24);
}

.ledger-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ledger-head strong {
  color: var(--brand-dark);
  font-size: 13px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(185, 145, 78, 0.14);
}

.ledger-row span {
  color: var(--ink);
  font-weight: 850;
}

.ledger-row strong {
  color: var(--muted);
  font-size: 12px;
}

.ledger-row.warning span {
  color: #79581f;
}

.ledger-note {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(36, 79, 64, 0.14);
  border-radius: 12px;
  background: rgba(36, 79, 64, 0.06);
  color: var(--brand-dark);
  font-size: 14px;
  line-height: 1.65;
}

.vault-box {
  right: 0;
  bottom: 108px;
  width: 245px;
  height: 210px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 45%),
    #18362d;
  border-color: rgba(185, 145, 78, 0.42);
  box-shadow: 0 30px 80px rgba(43, 34, 18, 0.24);
}

.ledger-visual > .seal-panel {
  grid-area: seal;
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 16px;
  border-color: rgba(36, 79, 64, 0.2);
  background:
    linear-gradient(135deg, rgba(36, 79, 64, 0.92), rgba(23, 56, 45, 0.96)),
    var(--brand-dark);
}

.seal-panel {
  right: 14px;
  bottom: 88px;
  width: 228px;
  height: 178px;
}

.vault-box img {
  width: 118px;
  height: 118px;
  margin: 28px auto 0;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.92;
}

.ledger-visual > .seal-panel img {
  width: 98px;
  height: 98px;
  margin: 0;
  border: 1px solid rgba(255, 253, 247, 0.34);
}

.metric-card {
  left: 16px;
  bottom: 14px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: 250px;
  overflow: hidden;
  padding: 16px;
}

.handoff-card {
  left: 34px;
  bottom: 8px;
  width: 350px;
}

.ledger-visual > .handoff-card {
  grid-area: handoff;
}

.metric-card > span {
  grid-column: 1 / -1;
}

.metric-card div {
  padding: 12px;
  border: 1px solid rgba(185, 145, 78, 0.18);
  background: rgba(255, 253, 247, 0.72);
}

.metric-card strong,
.metric-card small {
  display: block;
}

.metric-card strong {
  color: var(--brand-dark);
  font-size: 1rem;
}

.metric-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.benefits,
.proof-ledger,
.section,
.final-cta {
  width: var(--width);
  margin: 0 auto;
}

.proof-ledger {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 2.28fr);
  gap: var(--space-6);
  align-items: stretch;
  overflow: hidden;
  border-block: 1px solid var(--color-rule);
  background: color-mix(in oklch, var(--color-surface) 82%, transparent);
}

.proof-ledger-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6) var(--space-5);
  border-right: 1px solid var(--color-rule);
}

.proof-ledger-title span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
}

.proof-ledger-title strong {
  margin-top: var(--space-2);
  font-family: "Noto Serif TC", Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.proof-ledger dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.proof-ledger dl > div {
  padding: var(--space-6) var(--space-5);
}

.proof-ledger dl > div + div {
  border-left: 1px dashed var(--color-rule);
}

.proof-ledger dt {
  color: var(--brand-dark);
  font-weight: 900;
}

.proof-ledger dd {
  margin: var(--space-2) 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(185, 145, 78, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.94), rgba(248, 243, 232, 0.92)),
    var(--panel);
  box-shadow: 0 18px 50px rgba(43, 34, 18, 0.1);
}

.benefits article {
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 28px 26px;
  box-shadow: none;
  background: transparent;
}

.benefits article + article {
  border-left: 1px dashed rgba(185, 145, 78, 0.32);
}

.benefits article::before {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border: 1px solid rgba(185, 145, 78, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(36, 79, 64, 0.12), transparent 58%),
    #fffdf7;
}

.benefits strong {
  display: block;
  margin-top: 8px;
}

.benefits p {
  margin: 6px 0 0;
  font-size: 14px;
}

.section {
  padding: 78px 0;
}

.form-magnet {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 34px;
  padding: 0;
}

.form-magnet-copy,
.form-preview {
  border: 1px solid rgba(185, 145, 78, 0.24);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 16px 44px rgba(43, 34, 18, 0.08);
}

.form-magnet-copy {
  padding: 30px;
}

.form-magnet-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.form-magnet-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.form-preview {
  padding: 18px;
}

.form-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(36, 79, 64, 0.06);
}

.form-preview-head strong,
.form-preview-head span {
  display: block;
}

.form-preview-head strong {
  color: var(--brand-dark);
}

.form-preview-head span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.form-preview-head em {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(185, 145, 78, 0.14);
  color: #79581f;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.form-fields {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.form-fields li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(185, 145, 78, 0.18);
  border-radius: 8px;
  background: #fffdf7;
}

.form-fields span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.form-fields strong,
.form-fields small {
  display: block;
}

.form-fields strong {
  color: var(--brand-dark);
}

.form-fields small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.5;
}

.form-preview .button {
  width: 100%;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.6fr);
  gap: 28px;
  align-items: end;
  max-width: none;
}

.split-heading p {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 26px;
  border-color: rgba(185, 145, 78, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(248, 243, 232, 0.72)),
    var(--panel);
}

.service-kicker {
  align-self: flex-start;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--gold);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
}

.service-grid ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 22px;
  padding: 0;
  list-style: none;
}

.service-grid li {
  color: var(--brand-dark);
}

.service-grid li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.service-grid article > a {
  display: inline-flex;
  justify-content: center;
  margin-top: auto;
  padding: 12px 14px;
  border: 1px solid rgba(185, 145, 78, 0.24);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.86);
  color: var(--brand-dark);
  font-weight: 900;
}

.cards {
  padding-top: 24px;
}

.seo-hub {
  padding-bottom: 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-grid a {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-color: rgba(185, 145, 78, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(245, 237, 223, 0.7)),
    var(--panel);
}

.category-grid a::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(185, 145, 78, 0.2);
  border-radius: 50%;
}

.category-grid strong {
  display: block;
  margin-bottom: 6px;
}

.pricing-table {
  overflow: hidden;
  border-color: rgba(185, 145, 78, 0.24);
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(43, 34, 18, 0.1);
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(0, 1.15fr));
}

.pricing-row + .pricing-row {
  border-top: 1px solid var(--line);
}

.pricing-row span {
  padding: 18px;
}

.pricing-row span + span {
  border-left: 1px solid var(--line);
}

.pricing-row span:first-child {
  color: var(--ink);
  font-weight: 950;
}

.pricing-row.header {
  background: #efe5d4;
}

.pricing-row.header span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.price-note {
  margin: 14px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(185, 145, 78, 0.32);
  border-radius: 12px;
  background: rgba(255, 248, 232, 0.88);
  color: #70511e;
  line-height: 1.65;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.process-grid article {
  position: relative;
  min-height: 168px;
  padding: 20px 16px;
  text-align: center;
  border-color: rgba(185, 145, 78, 0.22);
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 14px 38px rgba(43, 34, 18, 0.08);
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 14px;
  border-radius: 999px;
  border: 1px solid rgba(185, 145, 78, 0.28);
  background: rgba(255, 253, 247, 0.88);
  color: var(--brand-dark);
}

.process-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.copy-box {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-color: rgba(185, 145, 78, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(245, 237, 223, 0.72)),
    var(--panel);
}

.copy-box button {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: white;
  cursor: pointer;
  font-weight: 900;
}

.copy-box button[data-state="success"] {
  background: var(--brand-dark);
}

.copy-box button[data-state="error"] {
  border: 1px solid var(--color-focus);
  background: var(--panel);
  color: var(--brand-dark);
}

pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
}

.copy-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--brand);
  font-weight: 900;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
}

.faq-grid details {
  padding: 18px 20px;
  border-color: rgba(185, 145, 78, 0.22);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 12px 34px rgba(43, 34, 18, 0.08);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 950;
}

.faq-grid p {
  margin: 12px 0 0;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 56px;
  padding: 38px;
  border: 1px solid rgba(185, 145, 78, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(245, 237, 223, 0.86)),
    url("assets/grace-tcg-hero.jpg") right center / auto 100% no-repeat;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.final-cta .button + .button {
  margin-left: 10px;
}

.cta-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cta-points article {
  padding: 20px 14px;
  border-color: rgba(185, 145, 78, 0.22);
  background: rgba(255, 253, 247, 0.9);
  text-align: center;
  box-shadow: 0 12px 34px rgba(43, 34, 18, 0.08);
}

.seal-card {
  display: grid;
  place-items: center;
}

.seal-card img,
.footer-seal {
  border-radius: 50%;
  object-fit: cover;
}

.seal-card img {
  width: 86px;
  height: 86px;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
}

.cta-points strong,
.cta-points span {
  display: block;
}

.cta-points span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: start;
  width: var(--width);
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid rgba(185, 145, 78, 0.24);
}

.site-footer strong {
  color: var(--brand-dark);
  font-family: "Noto Serif TC", Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.footer-seal {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.site-footer nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.site-footer > p {
  justify-self: end;
}

.simple-page {
  width: var(--width);
  margin: 0 auto;
}

.simple-hero {
  max-width: 880px;
  padding: 76px 0 42px;
}

.simple-hero h1 {
  max-width: 820px;
}

.simple-hero p:not(.trust-pill) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 12px 0 76px;
}

.content-grid article {
  padding: 24px;
  border: 1px solid rgba(185, 145, 78, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(248, 243, 232, 0.72)),
    var(--panel);
  box-shadow: 0 12px 34px rgba(43, 34, 18, 0.08);
}

.content-grid h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.content-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

@media (max-width: 1120px) {
  .service-grid,
  .benefits,
  .category-grid,
  .cta-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .proof-ledger {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .proof-ledger-title {
    border-right: 0;
    border-bottom: 1px solid var(--color-rule);
  }
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: var(--space-2);
  }

  .main-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    display: grid;
    place-items: center;
    min-width: 52px;
    min-height: 44px;
    padding: 0 var(--space-3);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-md);
    color: var(--brand-dark);
    font-size: 0.8125rem;
    font-weight: 900;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav nav {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 0;
    display: grid;
    min-width: 210px;
    padding: var(--space-2);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-lg);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .mobile-nav nav a {
    min-height: 44px;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    font-weight: 800;
  }

  .mobile-nav nav a:hover,
  .mobile-nav nav a:focus-visible {
    background: var(--panel-soft);
  }

  .brand {
    min-width: 0;
  }

  .hero,
  .form-magnet,
  .split-heading,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .dashboard,
  .vault-visual {
    order: -1;
  }

  .vault-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    min-height: auto;
  }

  .vault-visual::before,
  .vault-visual::after {
    display: none;
  }

  .status-card,
  .metric-card,
  .vault-box {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    transform: none;
  }

  .submission-ledger {
    position: relative;
    inset: auto;
    width: auto;
  }

  .vault-box {
    min-height: 190px;
  }

  h1 {
    font-size: clamp(2.55rem, 11vw, 4.45rem);
  }

  .pricing-row {
    grid-template-columns: 1fr;
  }

  .pricing-row.header {
    display: none;
  }

  .pricing-row span + span {
    border-left: 0;
    padding-top: 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer > p {
    justify-self: start;
  }

  .proof-ledger dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-ledger dl > div:nth-child(3) {
    border-left: 0;
    border-top: 1px dashed var(--color-rule);
  }

  .proof-ledger dl > div:nth-child(4) {
    border-top: 1px dashed var(--color-rule);
  }
}

@media (max-width: 620px) {
  :root {
    --width: min(100vw - 24px, 1240px);
  }

  .site-header {
    width: calc(100vw - 12px);
    padding: 10px;
  }

  .header-actions .icon-link {
    display: none;
  }

  .brand small {
    display: none;
  }

  .brand-seal {
    width: 42px;
    height: 42px;
  }

  .button.small {
    padding: 0 12px;
    font-size: 13px;
  }

  .mobile-nav summary {
    min-width: 46px;
    padding-inline: var(--space-2);
  }

  .hero {
    gap: 28px;
    padding-top: 36px;
  }

  .vault-visual {
    grid-template-columns: 1fr;
  }

  .ledger-visual {
    grid-template-areas:
      "intake"
      "ledger"
      "handoff"
      "seal";
  }

  .metric-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .handoff-card {
    width: auto;
  }

  .hero-search div {
    grid-template-columns: 1fr;
  }

  .search-button {
    width: 100%;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .final-cta .button + .button {
    margin: 10px 0 0;
  }

  .progress-tabs,
  .order-list article,
  .benefits,
  .service-grid,
  .category-grid,
  .process-grid,
  .cta-points {
    grid-template-columns: 1fr;
  }

  .proof-ledger dl {
    grid-template-columns: 1fr;
  }

  .proof-ledger dl > div + div,
  .proof-ledger dl > div:nth-child(3),
  .proof-ledger dl > div:nth-child(4) {
    border-top: 1px dashed var(--color-rule);
    border-left: 0;
  }

  .benefits article + article {
    border-top: 1px dashed rgba(185, 145, 78, 0.32);
    border-left: 0;
  }

  .order-list em {
    justify-self: start;
  }

  .section {
    padding: 54px 0;
  }

  .copy-box button {
    position: static;
    margin-bottom: 18px;
  }
}

@media (max-width: 420px) {
  .brand-seal {
    display: none;
  }

  .brand {
    gap: 0;
  }

  .brand strong {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
