/* Crazy Duck Croyde - site styles. Colours live in :root; change them there. */
:root {
  --ink: #1a1a1a;          /* matte black tins */
  --ink-2: #2b2a28;
  --sand: #f7f1e6;         /* page background */
  --sand-2: #efe5d2;
  --paper: #fffcf6;        /* cards */
  --duck: #f6c90e;         /* duck yellow: buttons, highlights */
  --duck-deep: #e2b100;
  --teal: #2bb3b1;         /* wordmark teal: use on dark backgrounds */
  --teal-ink: #0b6b69;     /* teal for text on light backgrounds (AA) */
  --kraft: #c49a6c;
  --kraft-ink: #7a5630;
  --muted: #5d574e;
  --line: #ddd2bd;
  --tbc-bg: #ffe3ef;
  --tbc-ink: #9b1150;
  --r1: #e8483f; --r2: #f6a21e; --r3: #f6c90e; --r4: #6cbf4b; --r5: #2bb3b1; --r6: #8b6cc7; --r7: #e0559a;
  --display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--duck); border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 .4em; text-wrap: balance; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 66ch; }
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.eyebrow { font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--kraft-ink); margin-bottom: .6rem; display: block; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 52ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--duck); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* Placeholder marker: anything Hannah still needs to confirm */
mark.tbc, .tbc-block { background: var(--tbc-bg); color: var(--tbc-ink); font-weight: 600; border-radius: 4px; padding: 0 .3em; font-size: .92em; }
.tbc-block { display: block; padding: .8em 1em; border: 2px dashed var(--tbc-ink); margin: 0 0 1.2em; font-size: .95rem; }

/* Rainbow stripe: six colours, one per surf-spot scent */
.stripe { height: 6px; background: linear-gradient(90deg, var(--r1) 0 16.66%, var(--r2) 0 33.33%, var(--r3) 0 50%, var(--r4) 0 66.66%, var(--r5) 0 83.33%, var(--r6) 0); }
.stripe--thin { height: 4px; border-radius: 4px; width: 88px; margin: 0 0 1rem; }

/* Announcement + header */
.announce { background: var(--duck); color: var(--ink); text-align: center; font-size: .88rem; font-weight: 600; padding: 6px var(--gutter); }
.site-header { background: var(--ink); color: #fff; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; }
.site-header .bar { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: .82; color: var(--teal); margin-right: auto; }
.wordmark:hover { color: var(--teal); }
.wordmark b { font-family: var(--display); font-weight: 800; font-size: 1.75rem; letter-spacing: .01em; text-transform: uppercase; transform: rotate(-2deg); transform-origin: left; }
.wordmark small { font-family: var(--body); font-weight: 700; letter-spacing: .42em; font-size: .62rem; color: #fff; margin-top: 6px; padding-left: 2px; }
.wordmark .duckdot { color: var(--duck); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: #fff1; color: var(--duck); }
.basket-link { display: inline-flex; align-items: center; gap: 8px; background: var(--duck); color: var(--ink); text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.basket-link:hover { background: #fff; color: var(--ink); }
.basket-count { background: var(--ink); color: var(--duck); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .8rem; padding: 0 6px; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; background: none; border: 2px solid #fff4; color: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 880px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 18px; border-bottom: 6px solid var(--duck); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 1.1rem; border-radius: 8px; }
  .wordmark b { font-size: 1.45rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: 1.02rem; padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 2px solid var(--ink); cursor: pointer; line-height: 1.1; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn-primary { background: var(--duck); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: var(--duck); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #f4efe6; }
.section--ink a:not(.btn) { color: var(--duck); }
.section--kraft { background: var(--kraft); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }

/* Hero */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.4rem); line-height: 1.08; margin-bottom: .35em; }
.hero h1 .hl { background: var(--ink); color: var(--duck); display: inline-block; line-height: 1; padding: .1em .2em .02em; margin-top: .1em; border-radius: 12px; white-space: nowrap; }
.hero .quack { font-family: var(--display); font-weight: 700; color: var(--teal-ink); font-size: 1.15rem; margin-bottom: 1.4rem; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-photo picture { border-radius: 26px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); transform: rotate(2deg); }
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 70%; width: 100%; }
.sticker { position: absolute; left: -22px; bottom: 34px; background: var(--duck); color: var(--ink); border: 3px solid var(--ink); border-radius: 50%; width: 118px; height: 118px; display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; line-height: 1; font-size: 1.05rem; transform: rotate(-12deg); padding: 10px; }
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { width: min(100%, 360px); margin-top: 8px; }
  .sticker { left: -8px; width: 96px; height: 96px; font-size: .9rem; }
}

/* Trust strip */
.trust { background: var(--ink); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; }
.trust li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; }
.trust li svg { flex: none; }
.trust a { color: var(--duck); }
@media (max-width: 880px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .trust ul { grid-template-columns: 1fr; } }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--ink); }
.card-media { aspect-ratio: 1 / 1; background: var(--sand-2); overflow: hidden; border-bottom: 2px solid var(--ink); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 1.2rem; margin: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }
.card .price { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--duck); font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; z-index: 2; }
.badge--out { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; background: repeating-linear-gradient(-45deg, var(--kraft) 0 14px, #caa276 14px 28px); color: var(--ink); text-align: center; padding: 14px; }
.placeholder svg { width: 42%; height: auto; }
.placeholder span { background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; font-size: .78rem; font-weight: 700; padding: 3px 10px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { font: inherit; font-weight: 600; font-size: .95rem; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); padding: 8px 16px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.chip:hover { background: var(--sand-2); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--duck); }
.empty { padding: 32px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); }

/* Surf spot boards */
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .boards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .boards { grid-template-columns: 1fr; } }
.board { position: relative; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px 20px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; border: 2px solid var(--ink); transition: transform .15s ease; }
.board:hover { transform: rotate(-1deg) translateY(-3px); color: var(--ink); }
.board svg { width: 100%; height: 48px; margin: 2px 0 8px; }
.board h3 { font-size: 1.55rem; text-transform: uppercase; margin: 0; letter-spacing: .01em; }
.board .notes { font-weight: 700; font-size: .92rem; }
.board p { margin: 0; font-size: .93rem; color: var(--muted); }
.board .go { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--teal-ink); font-size: .92rem; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 800px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.photo-frame { border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); }
.photo-frame img { width: 100%; }
.lids { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.lids > :first-child { grid-row: span 2; }
.lids picture { border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; height: 100%; }
.lids img { width: 100%; height: 100%; object-fit: cover; }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.quote { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.25; }
.quote figcaption { font-weight: 700; color: var(--muted); font-size: .92rem; }
.stars { color: var(--duck-deep); letter-spacing: 2px; font-size: 1.1rem; }
.section--ink .quote { color: var(--ink); }

/* Gallery (Where's Reef) */
.reef-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.polaroid { background: #fff; padding: 12px 12px 18px; border-radius: 6px; box-shadow: 0 10px 24px #0002; margin: 0; }
.polaroid:nth-child(odd) { transform: rotate(-1.6deg); }
.polaroid:nth-child(even) { transform: rotate(1.4deg); }
.polaroid img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.polaroid figcaption { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-top: 10px; color: var(--ink); }
.polaroid figcaption span { display: block; font-family: var(--body); font-weight: 400; font-size: .9rem; color: var(--muted); }

/* Product page */
.crumbs { font-size: .9rem; padding-top: 22px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); padding-block: 20px 60px; align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.gallery-main { border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--sand-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; width: 76px; height: 76px; cursor: pointer; background: none; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--duck); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.buy .price-lg { font-family: var(--display); font-weight: 800; font-size: 2rem; margin-bottom: .4rem; font-variant-numeric: tabular-nums; }
.fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.fieldset legend, .label { font-weight: 700; margin-bottom: 10px; display: block; padding: 0; }
.scent-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 440px) { .scent-picker { grid-template-columns: repeat(2, 1fr); } }
.scent-opt { position: relative; }
.scent-opt input { position: absolute; opacity: 0; inset: 0; }
.scent-opt label { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); background: var(--paper); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 600; font-size: .92rem; line-height: 1.2; height: 100%; }
.scent-opt label i { width: 14px; height: 14px; border-radius: 50%; flex: none; border: 2px solid var(--ink); }
.scent-opt input:checked + label { border-color: var(--ink); background: #fff; box-shadow: 3px 3px 0 var(--ink); }
.scent-opt input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.scent-notes { margin-top: 12px; background: #fff; border-left: 6px solid var(--teal); padding: 10px 14px; border-radius: 8px; font-size: .95rem; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { background: none; border: 0; font: inherit; font-weight: 700; font-size: 1.2rem; width: 44px; height: 44px; cursor: pointer; }
.qty input { width: 48px; text-align: center; border: 0; font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 8px 0 22px; }
.buy-row .btn { flex: 1; min-width: 200px; }
.info-box { background: var(--paper); border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: .95rem; margin-bottom: 14px; }
.info-box strong { display: block; }
.details { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 8px; }
.details th, .details td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.details th { width: 38%; font-weight: 700; }

/* Engraving */
.engrave { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 18px; margin-bottom: 22px; }
.engrave-grid { display: grid; grid-template-columns: 1fr 190px; gap: 18px; align-items: center; }
@media (max-width: 520px) { .engrave-grid { grid-template-columns: 1fr; } .lid-wrap { order: -1; } }
.line-field { margin-bottom: 10px; }
.line-field label { font-size: .88rem; font-weight: 600; display: flex; justify-content: space-between; }
.line-field .count { color: var(--muted); font-variant-numeric: tabular-nums; }
.line-field .count.full { color: var(--tbc-ink); font-weight: 700; }
.lid-wrap { justify-self: center; width: 190px; }
.lid { width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 10px #0003); }
.lid text { font-family: "DM Sans", Arial, sans-serif; font-weight: 600; letter-spacing: .06em; fill: #b9b3a8; text-transform: uppercase; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; margin-top: 6px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select, input[type="file"] { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 2px solid var(--ink-2); border-radius: 10px; background: #fff; color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 1px; box-shadow: none; }
.form-note { font-size: .88rem; color: var(--muted); }
.notice { border: 2px solid var(--ink); background: var(--duck); border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.notice--soft { background: #fff; }
.error-text { color: #b00020; font-weight: 700; font-size: .92rem; }

/* Basket and checkout */
.basket-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; padding-bottom: 72px; }
@media (max-width: 860px) { .basket-layout { grid-template-columns: 1fr; } }
.line-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 12px; align-items: start; }
.line-item .thumb { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--sand-2); border: 1px solid var(--line); }
.line-item .thumb img, .line-item .thumb .placeholder { width: 100%; height: 100%; object-fit: cover; }
.line-item .thumb .placeholder span { display: none; }
.line-item h3 { font-size: 1.1rem; margin: 0 0 4px; }
.line-item .meta { font-size: .9rem; color: var(--muted); margin: 0; }
.line-item .engr { font-family: "DM Sans", sans-serif; background: var(--ink); color: #d8d2c6; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; padding: 6px 10px; border-radius: 8px; margin: 6px 0 0; display: inline-block; white-space: pre-line; }
.line-item .end { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.line-item .qty button { width: 34px; height: 34px; font-size: 1rem; }
.line-item .qty input { width: 34px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: var(--teal-ink); text-decoration: underline; cursor: pointer; }
.summary { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 20px; position: sticky; top: 100px; }
.summary h2 { font-size: 1.6rem; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--ink); border-top: 2px solid var(--ink); padding-top: 10px; }
.progress-free { font-size: .9rem; background: var(--sand); border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; }
.progress-free .bar { height: 8px; background: var(--sand-2); border-radius: 8px; overflow: hidden; margin-top: 6px; }
.progress-free .bar i { display: block; height: 100%; background: var(--teal); }
.secure { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin-top: 12px; }

/* Toast */
.toast { position: fixed; left: 16px; right: 16px; margin: 0 auto; width: max-content; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateY(140%); background: var(--ink); color: #fff; padding: 12px 14px 12px 18px; border-radius: 999px; display: flex; gap: 14px; align-items: center; z-index: 60; box-shadow: 0 10px 30px #0004; transition: transform .25s ease; max-width: calc(100% - 32px); font-weight: 600; }
.toast.show { transform: translateY(0); }
.toast a { background: var(--duck); color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-weight: 700; white-space: nowrap; }

/* Page header */
.page-head { padding-block: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 40px); }
.page-head h1 { margin-bottom: .25em; }
.draft-banner { background: var(--tbc-bg); color: var(--tbc-ink); border-bottom: 2px dashed var(--tbc-ink); padding: 10px var(--gutter); text-align: center; font-weight: 700; font-size: .92rem; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.steps li { counter-increment: s; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 18px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--duck); border: 2px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin-bottom: 8px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #d9d3c7; padding-block: 56px 28px; margin-top: 0; }
.site-footer a:not(.wordmark) { color: #fff; }
.site-footer a:hover { color: var(--duck); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1.1rem; color: var(--duck); margin-bottom: .8em; font-family: var(--body); letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.tagline-foot { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #fff; line-height: 1.15; margin: 14px 0; }
.foot-base { border-top: 1px solid #ffffff22; margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Preview mode (prototype only) */
.proto-bar { background: #fff; color: var(--ink); border-bottom: 2px solid var(--ink); font-size: .85rem; padding: 8px var(--gutter); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; }
.proto-bar b { background: var(--tbc-bg); color: var(--tbc-ink); padding: 2px 8px; border-radius: 999px; }
.route[hidden] { display: none !important; }
.toast:not(.show) { visibility: hidden; opacity: 0; }
.price-lg mark.tbc { font-family: var(--body); font-size: .45em; vertical-align: middle; }
