/* Packmoth site styles
   One stylesheet for every page. Colours and type live in :root. */

:root {
  --ink: #17162B;
  --ink-2: #2E2B3D;
  --muted: #45434F;
  --muted-2: #5C5A6B;
  --paper: #F6F4EE;
  --sand: #F1EEE6;
  --stone: #E9E6DD;
  --line: #E2DED3;
  --line-2: #D6D2C6;
  --field: #CFCBBF;
  --dash: #BDB8AA;
  --white: #FFFFFF;
  --indigo: #3B30C4;
  --indigo-dark: #2A2196;
  --indigo-tint: #EEECFD;
  --indigo-wash: #F7F6FF;
  --lilac: #A9A3EC;
  --night: #26225F;
  --night-2: #1E1A4D;
  --amber: #F5B53F;
  --amber-tint: #FDF0D3;
  --amber-ink: #6B4A00;
  --sage: #9DC4A0;
  --sage-tint: #DDE9D8;
  --blush: #F1B8B0;
  --on-dark: #D4D1E4;
  --on-dark-2: #A9A6BC;
  --success: #1F6B3A;
  --success-tint: #E3F1E6;
  --danger: #A32035;
  --danger-tint: #FBE6EA;

  --font-display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: 32px;
  --section-y: 112px;
  --radius-lg: 32px;
  --radius: 24px;
  --radius-sm: 16px;
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --section-y: 64px;
    --radius-lg: 26px;
    --radius: 20px;
  }
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--indigo); }
a:hover { color: var(--indigo-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

[id] { scroll-margin-top: 96px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--indigo);
}
.kicker--amber { color: var(--amber); }
.kicker--ink { color: var(--ink); }

.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
}
.display { font-size: clamp(40px, 5.2vw, 74px); line-height: 1.0; letter-spacing: -0.035em; }
.h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.0; letter-spacing: -0.035em; }
.h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -0.03em; }
.h2--big { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.0; letter-spacing: -0.035em; }
.h2--sm { font-size: clamp(28px, 3.4vw, 44px); }
.h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.accent { color: var(--indigo); }

.lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 34em; }
.lead--sm { font-size: 18px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.fine { font-size: 13px; color: var(--muted-2); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .lead--sm { font-size: 16px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { flex: none; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

.btn--primary { background: var(--indigo); color: var(--white); }
.btn--primary:hover { background: var(--indigo-dark); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #2C2A47; color: var(--white); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: #F8C565; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 520px) {
  .btn-row--stack { flex-direction: column; }
  .btn-row--stack .btn { width: 100%; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 244, 238, 0.96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(246, 244, 238, 0.86); backdrop-filter: blur(8px); }
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 12px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__word {
  font-family: var(--font-display); font-weight: 800;
  font-size: 23px; letter-spacing: -0.03em;
}
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; padding-block: 6px; }
.site-nav a:hover { color: var(--indigo); }
.site-nav a[aria-current="page"] { color: var(--indigo); font-weight: 700; }
.site-header__actions { display: flex; align-items: center; gap: 6px; }
.menu-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink);
  align-items: center; justify-content: center;
}
.menu-toggle:hover { background: var(--sand); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .site-header__inner { flex-wrap: wrap; padding-block: 10px; }
  .brand__word { font-size: 21px; }
  .brand svg { width: 28px; height: 28px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    order: 3; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 0 12px; font-size: 17px;
  }
  .site-nav a { padding: 12px 4px; border-top: 1px solid var(--line); }
  /* Collapsed only when JS is running. With JS off the links stay visible
     and the header stops being sticky so it doesn't cover the page. */
  .js .site-nav:not(.is-open) { display: none; }
  html:not(.js) .site-header { position: static; }
  html:not(.js) .menu-toggle { display: none; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--night { background: var(--night); color: var(--white); }
.section--amber { background: var(--amber); }
.section--tight { padding-block: calc(var(--section-y) * 0.78); }

.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-14 { gap: 14px; }
.gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-22 { gap: 22px; } .gap-28 { gap: 28px; }
.gap-36 { gap: 36px; } .gap-48 { gap: 48px; } .gap-56 { gap: 56px; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.section-head__title { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.section-head__aside { font-size: 16px; color: var(--muted); max-width: 400px; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.split--top { align-items: flex-start; }
.split--reverse { flex-wrap: wrap-reverse; }
.split > * { flex: 1 1 440px; min-width: 0; }
@media (max-width: 760px) { .split { gap: 40px; } .split > * { flex-basis: 100%; } }

.grid-cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}

/* ---------- Hero ---------- */

.hero { padding-block: 72px 104px; }
.hero .split { gap: 56px; }
.hero .split > :first-child { flex-basis: 500px; }
.hero .split > :last-child { flex-basis: 460px; }
@media (max-width: 760px) {
  .hero { padding-block: 36px 56px; }
}

.ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 8px; }

.stage {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--night);
  background-image: radial-gradient(rgba(255,255,255,0.09) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  display: flex; align-items: flex-end; justify-content: center; gap: 14px;
}
.stage--hero { min-height: 540px; padding: 56px 28px 72px; }
.stage--hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px;
  background: var(--night-2);
}
.stage svg {
  position: relative; z-index: 1;
  min-width: 0; height: auto; display: block;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,0.35));
}
.stage--flavours { align-items: center; min-height: 440px; padding: 40px 24px; }
@media (max-width: 760px) {
  .stage { gap: 8px; }
  .stage--hero { min-height: 320px; padding: 0 16px 48px; }
  .stage--hero::after { height: 48px; }
  .stage--flavours { min-height: 300px; }
}

/* ---------- Cards ---------- */

.step-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: 30px; border-radius: var(--radius); background: var(--paper);
}
.step-card__top { display: flex; align-items: center; justify-content: space-between; }
.step-card__num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--indigo); }
.step-card p { font-size: 16px; color: var(--muted); }

.size-card {
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
  padding: 26px; border-radius: var(--radius);
  background: var(--white); border: 1.5px solid var(--line);
}
.size-card--featured { border: 2px solid var(--indigo); }
.size-card__art {
  height: 176px; border-radius: var(--radius-sm); background: var(--sand);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px;
}
.size-card--featured .size-card__art { background: var(--indigo-tint); }
.size-card__name { font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -0.02em; }
.size-card__price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.price-big { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; color: var(--ink); }

.badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--amber); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.size-card .badge { position: absolute; top: 18px; right: 18px; }

.includes {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  padding: 20px 26px; border-radius: 20px; border: 1.5px dashed var(--dash);
  font-size: 15px;
}
.includes span { display: flex; align-items: center; gap: 8px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 15px; font-weight: 500;
}
a.chip { color: var(--ink); text-decoration: none; font-weight: 600; }
a.chip:hover { border-color: var(--indigo); color: var(--indigo); }

.panel {
  padding: 36px; border-radius: 28px; background: var(--paper);
  display: flex; flex-direction: column; gap: 28px;
}
.panel--white { background: var(--white); }
@media (max-width: 760px) { .panel { padding: 24px; } }

.bar { height: 16px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--indigo); }
.bar > span.is-light { background: var(--lilac); }

.callout-amber {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 20px 22px; border-radius: 18px; background: var(--amber); color: var(--ink);
}
.callout-amber__big { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; line-height: 1; }
.callout-amber p { flex: 1 1 220px; font-size: 16px; }

.dot-list { display: flex; flex-direction: column; gap: 14px; }
.dot-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--muted); }
.dot-list strong { color: var(--ink); }
.dot { flex: none; width: 12px; height: 12px; margin-top: 7px; border-radius: 999px; background: var(--indigo); }
.dot--amber { background: var(--amber); }

.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.row-between--wrap { flex-wrap: wrap; }

.price-box {
  position: relative;
  padding: 26px; border-radius: var(--radius); background: var(--paper);
  display: flex; flex-direction: column; gap: 8px;
}
.price-box--best { background: var(--white); border: 2px solid var(--indigo); gap: 12px; }
.price-box .badge { position: absolute; top: -14px; right: 20px; text-transform: none; letter-spacing: 0; font-size: 13px; padding: 5px 14px; }
.price-box dl { display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.price-box dl > div { display: flex; justify-content: space-between; gap: 12px; }
.price-box dd { font-weight: 600; white-space: nowrap; }
.price-box__total { padding-top: 12px; border-top: 1px solid var(--line); }

.label-stage {
  border-radius: var(--radius-lg); background: var(--sage-tint);
  min-height: 460px; padding: 40px;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 760px) { .label-stage { min-height: 280px; padding: 24px; } }

.example-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border-radius: 20px; background: var(--white);
}

/* Proof mock (decorative) */
.proof-mock {
  max-width: 460px; margin: 0 auto; padding: 22px;
  border-radius: 28px; background: var(--white); color: var(--ink);
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.proof-mock__art {
  height: 300px; border-radius: 18px; background: #EFECE4;
  display: flex; align-items: center; justify-content: center;
}
.proof-mock__status { padding: 5px 12px; border-radius: 999px; background: var(--amber-tint); color: var(--amber-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.proof-mock__btns { display: flex; gap: 10px; }
.proof-mock__btns span {
  flex: 1; min-height: 46px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; text-align: center; padding: 0 8px;
}

.num-steps { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.num-steps li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.num-steps__n {
  flex: none; width: 32px; height: 32px; border-radius: 999px;
  border: 1.5px solid var(--amber); color: var(--amber);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.on-dark { color: var(--on-dark); }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); padding: 22px 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 19px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus-v { transition: opacity .15s ease; }
.faq details[open] summary .plus-v { opacity: 0; }
.faq details p { margin-top: 12px; font-size: 16px; color: var(--muted); max-width: 40em; }
@media (max-width: 760px) { .faq summary { font-size: 17px; } .faq details { padding: 18px 0; } }

.cta-band { text-align: center; }
.cta-band .stack { align-items: center; max-width: 820px; margin: 0 auto; }
.cta-band p.lead { color: var(--ink-2); margin: 0 auto; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--on-dark); padding-block: 72px 40px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand { color: var(--white); }
.site-footer .brand:hover { text-decoration: none; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-about { flex: 1 1 280px; max-width: 340px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-cols nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-cols .kicker { color: var(--amber); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #34324A;
  font-size: 14px; color: var(--on-dark-2);
}
@media (max-width: 760px) {
  .site-footer { padding-block: 56px 32px; }
  .footer-cols { gap: 32px 48px; }
}

/* ---------- Inner pages ---------- */

.page-head { padding-block: 72px 56px; }
.page-head .lead { font-size: 19px; max-width: 36em; }
@media (max-width: 760px) { .page-head { padding-block: 40px 36px; } .page-head .lead { font-size: 17px; } }

.check-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px; border-radius: 22px; background: var(--paper);
}
.check-card p { font-size: 15px; color: var(--muted); }
.check-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; }

.table-card {
  flex: 1 1 500px; min-width: 0;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  padding: 8px 8px 0; overflow-x: auto;
}
.table-card table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table-card caption {
  text-align: left; padding: 16px 16px 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
}
.table-card th, .table-card td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table-card tr:last-child td { border-bottom: 0; }
.table-card th { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.table-card td:first-child { font-weight: 600; white-space: nowrap; }

.dieline-art {
  display: flex; justify-content: center; padding: 32px;
  border-radius: 28px; background: var(--stone);
}
.legend { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.legend li { display: flex; gap: 14px; }
.legend__n {
  flex: none; width: 28px; height: 28px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.legend__n--indigo { background: var(--indigo); }
.legend__n--pink { background: #C2185B; }
.legend__n--green { background: var(--success); }
.legend .muted { color: var(--muted); }

.mistake-card {
  padding: 24px; border-radius: 22px; background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.mistake-card h3 { font-size: 18px; font-weight: 700; }
.mistake-card p { font-size: 15px; color: var(--muted); }

.note-amber {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; border-radius: 22px; background: var(--amber-tint); color: #3D2B00;
}
.note-amber a { color: #3D2B00; font-weight: 700; }

.band-split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band-split > div { flex: 1 1 480px; display: flex; flex-direction: column; gap: 10px; }

/* Policies */
.policy-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.toc {
  flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px;
  padding: 16px; border-radius: 20px; background: var(--white); border: 1px solid var(--line);
}
@media (min-width: 901px) { .toc { position: sticky; top: 96px; } }
.toc a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none;
}
.toc a:hover { background: var(--indigo-tint); color: var(--indigo-dark); }
.policy-body { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 48px; line-height: 1.6; }
.policy-body section { display: flex; flex-direction: column; gap: 18px; }
.policy-body section + section { padding-top: 32px; border-top: 1px solid var(--line); }
.policy-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; }
.policy-body h3 { font-size: 19px; font-weight: 700; }
.policy-body .item { display: flex; flex-direction: column; gap: 6px; }
.policy-body p { color: var(--ink-2); }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white); border-radius: 28px; border: 1px solid var(--line);
  padding: 36px; display: flex; flex-direction: column; gap: 18px;
}
@media (max-width: 760px) { .form-card { padding: 22px; border-radius: 22px; } }
.form-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 24px; }

.field-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend, .label { font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0 16px;
  border-radius: 14px; border: 1.5px solid var(--field); background: var(--white);
  font-size: 16px; color: var(--ink);
}
.field select { padding: 0 12px; }
.field textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #76737F; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px rgba(59,48,196,0.18); }
.field .hint { font-size: 14px; color: var(--muted-2); }
.field .error { display: none; font-size: 14px; font-weight: 600; color: var(--danger); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error { display: block; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 14px; color: var(--muted-2); }

.banner {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: 16px; font-size: 16px;
}
.banner[hidden] { display: none; }
.banner--success { background: var(--success-tint); color: #12401F; }
.banner--error { background: var(--danger-tint); color: #5C1020; }
.banner strong { display: block; }

/* Contact */
.contact-info { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.contact-info > div { display: flex; gap: 14px; align-items: flex-start; }
.icon-tile {
  flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--indigo-tint);
  display: flex; align-items: center; justify-content: center;
}
.contact-info p { font-size: 16px; }
.contact-info .t { font-weight: 700; }

/* ---------- Quote / estimator ---------- */

.quote-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.quote-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.quote-aside {
  flex: 1 1 340px; min-width: 0; align-self: flex-start;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  padding: 26px; display: flex; flex-direction: column; gap: 18px;
}
@media (min-width: 1000px) { .quote-aside { position: sticky; top: 96px; } }
.quote-aside h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.quote-aside dl { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.quote-aside dl > div { display: flex; justify-content: space-between; gap: 12px; }
.quote-aside dt { color: var(--muted); }
.quote-aside dd { font-weight: 600; text-align: right; }
.quote-total { padding-top: 16px; border-top: 1px solid var(--line); }
.quote-total .price-big { font-size: 30px; }

.product-switch {
  display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sand);
  gap: 4px; flex-wrap: wrap;
}
.product-switch label {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer;
}
.product-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.product-switch label:has(input:checked) { background: var(--ink); color: var(--white); }
.product-switch label:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }

.q-step { display: flex; flex-direction: column; gap: 16px; border: 0; margin: 0; padding: 0; min-width: 0; }
.q-step legend { padding: 0; margin-bottom: 16px; }
.q-step__head { display: flex; align-items: center; gap: 12px; }
.q-step__n {
  flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--indigo); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.q-step__title { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }

.options { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.options--wide { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option__body {
  height: 100%;
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px; border-radius: 20px;
  border: 1.5px solid var(--line); background: var(--white);
  transition: border-color .12s ease, background-color .12s ease;
}
.option:hover .option__body { border-color: var(--dash); }
.option input:checked ~ .option__body { border: 2px solid var(--indigo); background: var(--indigo-wash); padding: 15.5px; }
.option input:focus-visible ~ .option__body { outline: 3px solid var(--amber); outline-offset: 2px; }
.option__art {
  height: 112px; border-radius: 14px; background: var(--sand);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px;
}
.option__art--center { align-items: center; padding-bottom: 0; }
.option__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.015em; }
.option__sub { font-size: 14px; line-height: 1.4; color: var(--muted); }
.option__meta { font-size: 14px; color: var(--muted); }
.option__meta strong { color: var(--ink); }
.option__tag {
  align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--sand);
  font-size: 13px; font-weight: 600;
}
.option .badge { position: absolute; top: 24px; left: 24px; font-size: 11px; padding: 3px 9px; z-index: 1; }
.option__qty { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.option__foot { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.option__foot strong { font-size: 18px; }

.nudge {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  padding: 18px 22px; border-radius: 20px; background: var(--amber-tint); border: 1.5px solid var(--amber);
}
.nudge[hidden] { display: none; }
.nudge p.t { font-weight: 700; font-size: 17px; }
.nudge p.s { font-size: 15px; color: var(--muted); }
.nudge button {
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--white); font-weight: 600; font-size: 15px;
}

.stepper {
  display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand);
}
.stepper button {
  width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.stepper input {
  width: 64px; min-height: 44px; border: 0; background: transparent; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.designs-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  padding: 20px; border-radius: 20px; background: var(--white); border: 1.5px solid var(--line);
}
.designs-box p { flex: 1 1 260px; font-size: 15px; color: var(--muted); }

.check-option {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--white);
}
.check-option input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--indigo); }
.check-option:has(input:checked) { border-color: var(--indigo); background: var(--indigo-wash); }
.check-option strong { display: block; }
.check-option span span { font-size: 14px; color: var(--muted); }

.product-panel[hidden] { display: none; }

/* ---------- 404 ---------- */

.nf {
  min-height: 100vh; display: flex; flex-direction: column;
  background-color: var(--night);
  background-image: radial-gradient(rgba(255,255,255,0.08) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  color: var(--white);
}
.nf p a { color: var(--amber); }
.nf p a:hover { color: var(--white); }
.nf .brand { color: var(--white); }
.nf main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px 96px; }
.nf__box { max-width: 620px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }

/* Quote page on phones: sizes two-up, and a sticky price bar */
@media (max-width: 560px) {
  .options--sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .options--sizes .option__body { padding: 12px; gap: 8px; }
  .options--sizes .option input:checked ~ .option__body { padding: 11.5px; }
  .options--sizes .option__art { height: 84px; }
  .options--sizes .option__art svg { max-height: 70px; width: auto; }
  .options--sizes .option__name { font-size: 16px; }
  .options--sizes .option .badge { top: 18px; left: 18px; font-size: 10px; padding: 2px 7px; }
}
.price-bar { display: none; }
@media (max-width: 999px) {
  .js .price-bar {
    position: sticky; bottom: 0; z-index: 15;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 24px calc(var(--gutter) * -1) 0; padding: 12px var(--gutter);
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(23, 22, 43, 0.08);
  }
  .price-bar .fine { margin: 0; }
  .price-bar strong { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; }
  .price-bar[hidden] { display: none !important; }
}
