/* =========================================================
   HotSwap Propane — main stylesheet
   Mobile first. Desktop changes live in the media queries
   at the bottom of each section.
   ========================================================= */

/* ---------- Brand tokens: change colors and fonts here ---------- */
:root {
  --cream: #fdf3ed;        /* page background */
  --paper: #fffaf6;        /* inputs, FAQ bars */
  --brown: #48271d;        /* text, outlines, hard shadows */
  --brown-soft: #6f5b53;   /* secondary text, placeholders */
  --red: #bc0229;          /* business card red: logo, buttons, icons */
  --red-press: #93001f;    /* hover / pressed red */
  --gloss-red: #d00938;    /* glossy buttons (from your original button) */
  --arrow-red: #d8454c;    /* ZIP arrow circle */
  --todo: #fff1bf;

  --font-display: "Atkinson Hyperlegible", "Arial Black", Arial, sans-serif;
  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Quicksand", "Trebuchet MS", Arial, sans-serif;
  --font-cond: "Bebas Neue", "Arial Narrow", Impact, sans-serif;

  --header-h: 64px;
  --page-pad: clamp(1.25rem, 5vw, 3rem);
  --pill: 999px;
  --hard-shadow: 3px 4px 0 var(--brown);

  color-scheme: light;
  box-sizing: border-box;
}

*, *::before, *::after { box-sizing: inherit; }
[hidden] { display: none !important; }   /* hidden always wins over layout styles */

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;   /* scrolling settles on each full-screen frame; delete this line to turn off */
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--brown); color: var(--cream);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + .75rem); }

.wrap { max-width: 1100px; margin: 0 auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap--narrow { max-width: 44rem; }

/* Flame artwork (images/flame.svg) */
.hero-flame, .deals-flame { height: auto; }

/* ---------- Buttons ---------- */
/* Glossy pill, rebuilt from your original button artwork */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gloss-red); color: #fff;
  border: 0; border-radius: var(--pill);
  padding: .9rem 2.1rem;
  font: 600 1.1rem/1.1 var(--font-head);
  letter-spacing: .01em; text-decoration: none; text-transform: none;
  box-shadow: 0 2px 5px rgba(72, 39, 29, .28);
  cursor: pointer;
  transition: background-color .15s, transform .1s, box-shadow .1s;
}
.btn::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; left: 3.5%; right: 3.5%; height: 60%;
  border-radius: 0 0 999px 999px / 0 0 70% 70%;
  background: linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, .16));
}
.btn:hover { background: #b9062f; }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(72, 39, 29, .3); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-small { padding: .7rem 1.4rem; font-size: .95rem; }
.btn-large { padding: 1.05rem 2.8rem; font-size: clamp(1.25rem, 5vw, 1.5rem); }

.icon-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  background: none; border: 0; color: var(--brown); cursor: pointer;
  border-radius: 10px;
}
.icon-btn svg { width: 30px; height: 30px; }

/* "Next section" triangle */
.next {
  display: block; position: relative;
  width: 64px; height: 44px; margin: 3rem auto 0;
  transition: transform .2s;
}
.next::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -40%);
  border-left: 19px solid transparent; border-right: 19px solid transparent;
  border-top: 19px solid var(--brown);
}
.next:hover { transform: translateY(3px); }

/* ---------- Full-screen frames ----------
   Each main section fills the screen under the header, like your
   mockup frames, with its arrow sitting at the bottom. */
.frame {
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--header-h) - 2px);
  min-height: calc(100svh - var(--header-h) - 2px);
  scroll-snap-align: start;
}
.frame > .frame-body { width: 100%; margin: auto; }
.frame > .next { flex: none; margin: 1rem auto .25rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1.5px solid var(--brown);
}

.header-inner {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  height: var(--header-h);
  max-width: 1280px; margin: 0 auto;
  padding: 0 .5rem;
}
.brand { justify-self: center; display: block; }
.brand img { width: min(46vw, 196px); height: auto; }

.desktop-nav,
.header-actions .btn,
.header-phone-number,
.header-actions .social-link { display: none; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.header-account { display: none; }
.member-line { margin-top: .85rem; font: 700 clamp(1rem, 4.4vw, 1.25rem)/1.3 var(--font-head); }
.member-line a { color: #004aad; }
.header-phone {
  display: grid; place-items: center;
  width: 48px; height: 48px; color: var(--brown); text-decoration: none;
}
.header-phone svg { width: 27px; height: 27px; }

@media (min-width: 960px) {
  :root { --header-h: 84px; }
  .header-inner { grid-template-columns: auto 1fr auto; padding: 0 2rem; gap: 2rem; }
  .menu-toggle { display: none; }
  .brand { justify-self: start; }
  .brand img { width: 176px; }

  .desktop-nav { display: flex; justify-content: center; gap: clamp(1.25rem, 3vw, 2.75rem); }
  .desktop-nav a {
    font: 500 1.1rem/1 var(--font-head);
    text-decoration: none; padding: .6rem .1rem;
    border-bottom: 2px solid transparent;
  }
  .desktop-nav a:hover { color: var(--red); }
  .desktop-nav a[aria-current="true"] { border-bottom-color: var(--red); }

  .header-actions .btn { display: inline-flex; }
  .header-actions .social-link:not([hidden]) { display: grid; place-items: center; width: 34px; height: 34px; color: var(--brown); }
  .header-actions .social-link svg { width: 28px; height: 28px; }
  .header-phone { display: flex; gap: .5rem; width: auto; font: 600 1rem/1 var(--font-head); }
  .header-phone svg { width: 20px; height: 20px; }
  .header-phone-number { display: inline; }
  .header-phone:hover { color: var(--red); }
  .header-account { display: flex; align-items: center; gap: .4rem; font: 600 1rem/1 var(--font-head); text-decoration: none; color: var(--brown); }
  .header-account svg { width: 21px; height: 21px; }
  .header-account:hover { color: var(--red); }
  .member-line { font-size: 1.35rem; }
}

/* =========================================================
   MOBILE MENU
   ========================================================= */
.menu {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  padding: calc(env(safe-area-inset-top, 0px) + 4rem) 1.5rem calc(env(safe-area-inset-bottom, 0px) + 2rem);
  background: var(--cream);
  opacity: 0; transition: opacity .18s ease;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); right: 8px; }
.menu-close svg { width: 34px; height: 34px; }
.menu-links { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.menu-links a {
  font: 800 clamp(2.4rem, 11vw, 3.25rem)/1.1 var(--font-head);
  text-decoration: none;
}
.menu-links a:hover, .menu-links a[aria-current="true"] { color: var(--red); }
.menu-contact { font-weight: 600; }
.menu-contact a { font-weight: 700; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 1.75rem var(--page-pad) 1rem; text-align: center; }
.hero-inner {
  display: grid;
  grid-template-areas: "title" "tagline" "flame" "form";
  justify-items: center;
  width: 100%; max-width: 1180px;
  margin: auto;            /* centers the content in the screen */
}
.hero-title {
  grid-area: title;
  font: 700 clamp(3.25rem, 17.5vw, 9rem)/.9 var(--font-display);
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.hero-title span { display: block; }
.hero-tagline {
  grid-area: tagline;
  margin-top: .5rem;
  font: 400 clamp(1.6rem, 8.3vw, 2.5rem)/1 var(--font-cond);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.hero-flame { grid-area: flame; width: clamp(118px, 34vw, 168px); margin: 2.25rem 0 2.5rem; }

.zip-check { grid-area: form; width: 100%; max-width: 30rem; }
.zip-row { display: flex; align-items: center; gap: .6rem; }
.zip-input {
  flex: 1; min-width: 0;
  font: 600 1.15rem/1.2 var(--font-body);
  letter-spacing: .04em;
  color: var(--brown);
  background: var(--paper);
  border: 1.5px solid #c9b6ab; border-radius: var(--pill);
  padding: .9rem 1.4rem;
  text-align: center;
}
.zip-input::placeholder { color: var(--brown-soft); opacity: 1; }
.zip-input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(188, 2, 41, .18); }
.zip-input[aria-invalid="true"] { border-color: var(--red); }

.round-btn {
  flex: none; display: grid; place-items: center;
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--arrow-red); color: #fff; border: 0; cursor: pointer;
  transition: background-color .15s, transform .1s;
}
.round-btn svg { width: 1.6rem; height: 1.6rem; }
.round-btn:hover { background: #c33a41; }
.round-btn:active { transform: scale(.94); }

.zip-label { display: block; margin-top: .9rem; font: 700 clamp(1.15rem, 5.2vw, 1.4rem)/1.2 var(--font-head); }

.zip-result:empty { display: none; }
.zip-result {
  margin-top: 1.25rem; padding: 1.1rem 1.25rem 1.25rem;
  background: var(--paper);
  border: 1.5px solid var(--brown); border-radius: 18px;
  box-shadow: var(--hard-shadow);
}
.zip-result-title { font: 800 1.2rem/1.25 var(--font-head); }
.zip-result-text { margin-top: .35rem; }
.zip-result .btn { margin-top: 1rem; }
.zip-result--error { border-color: var(--red); box-shadow: 3px 4px 0 var(--red); }

@media (min-width: 960px) {
  .hero { padding-top: 1.5rem; }
  .hero-inner {
    grid-template-columns: auto auto;
    grid-template-areas: "title flame" "tagline tagline" "form form";
    justify-content: center; column-gap: clamp(1.5rem, 3vw, 3.25rem);
  }
  .hero-title { font-size: clamp(6.5rem, 11.4vw, 11rem); line-height: 1; align-self: center; }
  .hero-flame { width: clamp(180px, 15.7vw, 270px); margin: 0; align-self: center; }
  .hero-tagline {
    margin-top: clamp(1.25rem, 3vw, 2.5rem);
    font: 500 clamp(1rem, 1.5vw, 1.55rem)/1 var(--font-head);
    letter-spacing: .72em; padding-left: .72em;   /* padding keeps the spaced-out text centered */
  }
  .zip-check { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); max-width: 30rem; }
  .zip-input { font-size: 1.6rem; text-align: left; padding: .7rem 1.5rem; }
  .round-btn { width: 3.75rem; height: 3.75rem; }
  .round-btn svg { width: 1.9rem; height: 1.9rem; }
  .zip-label { font-size: 1.65rem; margin-top: 1rem; }
}

/* =========================================================
   PRICE + PROMO
   Items are spread evenly down the frame, like the mockup.
   ========================================================= */
.deals {
  padding: 1.25rem var(--page-pad) 1rem;
  text-align: center;
  font-family: var(--font-head);
  text-transform: uppercase;
}
.deals-body {
  flex: 1; width: 100%; max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-evenly; gap: .9rem;
}
.deals-price { font-size: clamp(1.2rem, 5.2vw, 4.6rem); font-weight: 800; line-height: 1.15; letter-spacing: .02em; text-wrap: balance; }
.deals-promo {
  font-size: clamp(1.05rem, 4.6vw, 1.5rem); font-weight: 700; line-height: 1.35; letter-spacing: .02em;
}
.promo-code {
  display: block; margin: .35rem auto 0; padding: .1rem .5rem;
  background: none; border: 0; border-radius: 10px; color: var(--brown); cursor: copy;
  font: 800 clamp(2.1rem, 10.5vw, 3.4rem)/1.1 var(--font-head);
  letter-spacing: .01em;
}
.promo-code:hover { color: var(--red); }
.promo-hint { margin-top: .1rem; font: 600 .9rem/1.3 var(--font-body); text-transform: none; color: var(--brown-soft); }
.deals-flame { height: clamp(68px, 12vh, 125px); width: auto; }
.deals-save { font-size: clamp(1.4rem, 6.6vw, 2.1rem); font-weight: 800; line-height: 1.25; letter-spacing: .01em; }

@media (min-width: 960px) {
  .br-mobile { display: none; }
  .deals { padding-top: 1.5rem; }
  .deals-price { font-size: clamp(3rem, 5.2vw, 4.6rem); }
  .deals-promo { font-size: clamp(1.1rem, 1.5vw, 1.45rem); }
  .promo-code { font-size: clamp(2rem, 3vw, 2.8rem); }
  .deals-save { font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
}

/* =========================================================
   SHARED SECTION PIECES
   ========================================================= */
.about, .faq { padding: 1.25rem var(--page-pad) .75rem; }
.contact { padding: 1rem var(--page-pad) .75rem; }
.section-title {
  font: 800 clamp(2.9rem, 14vw, 5.25rem)/1 var(--font-head);
  letter-spacing: -.01em;
}
.section-title--center { text-align: center; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; gap: 1.6rem; margin-top: 1.5rem; }
.about .section-title { font-size: clamp(2.6rem, 12vw, 5.25rem); }
.about h3 { font: 700 clamp(1.5rem, 6.6vw, 2.25rem)/1.12 var(--font-head); text-wrap: balance; }
.about p { margin-top: .6rem; max-width: 60ch; font-size: 1rem; line-height: 1.55; letter-spacing: .01em; }

@media (min-width: 860px) {
  .about .section-title { font-size: clamp(4rem, 6.5vw, 6rem); }
  .about-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); margin-top: 3.25rem; }
  .about h3 { font-size: clamp(1.6rem, 2vw, 2.1rem); min-height: 2.3em; }
  .about p { font-size: clamp(1.05rem, 1.15vw, 1.2rem); }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { text-align: center; }
.faq-title { font: 800 clamp(4.5rem, 26vw, 9rem)/.9 var(--font-head); letter-spacing: -.02em; }
.faq-intro { max-width: 30ch; margin: 1.25rem auto 0; font-size: 1.15rem; line-height: 1.5; }
.faq-intro a { font-weight: 700; overflow-wrap: anywhere; }

.faq-list { display: grid; gap: 1.1rem; max-width: 46rem; margin: 2.5rem auto 0; text-align: left; }
.faq-col { display: grid; gap: 1.1rem; align-content: start; }
.faq-list details {
  background: var(--paper);
  border: 1.5px solid var(--brown); border-radius: 18px;
  box-shadow: 2px 3px 0 var(--brown);
}
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1rem 3.25rem 1rem 1.25rem;
  font: 700 1.1rem/1.35 var(--font-body);
  border-radius: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%;
  width: .6rem; height: .6rem; margin-top: -.45rem;
  border-right: 2.5px solid var(--brown); border-bottom: 2.5px solid var(--brown);
  transform: rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -.1rem; }
.faq-list summary:hover { color: var(--red); }
.faq-answer { padding: 0 1.25rem 1.25rem; }
.faq-answer p + p, .faq-answer .table-scroll + p { margin-top: .75rem; }
.faq-answer a { font-weight: 700; }

.table-scroll { overflow-x: auto; margin-bottom: .75rem; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; font: 700 .95rem/1.4 var(--font-head); padding-bottom: .35rem; }
.price-table th { text-align: left; font: 700 .85rem/1.3 var(--font-head); color: var(--brown-soft); padding: .35rem .5rem .35rem 0; }
.price-table td { padding: .4rem .5rem .4rem 0; border-top: 1px solid rgba(72, 39, 29, .18); }

@media (min-width: 960px) {
  .faq-title { font-size: clamp(5rem, 9vw, 7.5rem); }
  /* Two independent columns: opening a question only moves the questions below it */
  .faq-list { grid-template-columns: 1fr 1fr; align-items: start; max-width: 66rem; margin-top: 2rem; gap: 1.5rem; }
  .faq-col { gap: 1rem; }
}

.todo { background: var(--todo); border: 2px dashed #a87a00; border-radius: 10px; padding: .6rem .8rem; font-weight: 700; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact .section-title { font-size: clamp(2.5rem, 11vw, 5.25rem); }
.contact-intro { margin-top: .75rem; font-size: 1.05rem; line-height: 1.5; }
.contact-form { margin-top: clamp(.85rem, 2.5vh, 2rem); display: grid; gap: clamp(.85rem, 2.4vh, 1.5rem); }

.field-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-label { display: block; margin-bottom: .45rem; padding: 0; font: 600 1.2rem/1.2 var(--font-head); }
.req { font: 600 .8rem/1 var(--font-body); color: var(--brown-soft); margin-left: .25rem; }
.sublabel { display: block; margin-bottom: .3rem; font-weight: 600; font-size: .95rem; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { min-width: 0; }

.text-input {
  width: 100%;
  font: 600 1.05rem/1.4 var(--font-body);
  color: var(--brown);
  background: var(--paper);
  border: 1.5px solid var(--brown); border-radius: var(--pill);
  padding: .7rem 1.15rem;
  box-shadow: var(--hard-shadow);
  transition: box-shadow .12s, border-color .12s;
}
.text-input::placeholder { color: var(--brown-soft); opacity: .8; }
.text-input:focus { outline: none; border-color: var(--red); box-shadow: 3px 4px 0 var(--red); }
.text-input[aria-invalid="true"] { border-color: var(--red); }
.text-input--area {
  border-radius: 22px; resize: vertical;
  height: clamp(5.5rem, 15vh, 9.5rem); min-height: 5.5rem;
}

.field-error { margin-top: .55rem; font-weight: 700; font-size: .92rem; color: var(--red-press); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit { justify-self: start; margin-top: .25rem; }
.form-status:empty { display: none; }
.form-status { font-weight: 700; padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--brown); background: var(--paper); }
.form-status--error { border-color: var(--red); color: var(--red-press); }

@media (min-width: 760px) {
  .contact .section-title { font-size: clamp(3rem, 5vw, 4.5rem); }
  .contact-form { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .name-row { gap: 1.5rem; }
  .faq-intro { max-width: 46ch; }
  .contact-form > .field-group,
  .contact-form > .field:has(textarea),
  .contact-form > .btn-submit,
  .contact-form > .form-status { grid-column: 1 / -1; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  margin-top: 5rem;
  background: var(--red); color: var(--cream);
  padding: 3.25rem var(--page-pad) calc(2rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo { width: min(78vw, 330px); height: auto; margin: 0 auto; }
.footer-info { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.footer-heading { font: 400 1.3rem/1 var(--font-cond); letter-spacing: .08em; margin-bottom: .35rem; opacity: .85; }
.footer-info a, .footer-info p { font: 600 1.05rem/1.45 var(--font-body); }
.footer-info a { text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 2.5rem; }
.footer-nav a { font: 600 1rem/1 var(--font-head); text-decoration: none; padding: .4rem 0; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { margin-top: 1.75rem; font-size: .9rem; opacity: .85; }
.site-footer :focus-visible { outline-color: var(--cream); }

@media (min-width: 860px) {
  .footer-info { grid-template-columns: repeat(4, 1fr); text-align: left; gap: 2rem; }
  .footer-logo { margin: 0; width: 300px; }
  .footer-inner { text-align: left; }
  .footer-nav { justify-content: flex-start; }
}

/* =========================================================
   POLICIES + CANCEL ORDER PAGES
   ========================================================= */
.doc-page { max-width: 46rem; margin: 0 auto; padding: 2.25rem var(--page-pad) 3rem; }
.doc-page h1 { font: 800 clamp(2.6rem, 11vw, 4.5rem)/1 var(--font-head); letter-spacing: -.01em; }
.doc-updated { margin-top: .6rem; font-weight: 600; color: var(--brown-soft); }
.doc-intro { margin-top: 1rem; font-size: 1.1rem; line-height: 1.6; }
.doc-page a { font-weight: 700; }
.doc-toc {
  margin-top: 1.75rem; padding: 1rem 1.25rem 1.1rem;
  background: var(--paper); border: 1.5px solid var(--brown); border-radius: 16px;
  box-shadow: 2px 3px 0 var(--brown);
}
.doc-toc-title { font: 400 1.35rem/1 var(--font-cond); letter-spacing: .06em; }
.doc-toc ul { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem 1.5rem; }
.doc-page section { scroll-margin-top: calc(var(--header-h) + 1rem); }
.doc-page h2 { margin-top: 2.5rem; font: 800 clamp(1.5rem, 6vw, 2rem)/1.15 var(--font-head); }
.doc-page h3 { margin-top: 1.25rem; font: 700 1.1rem/1.3 var(--font-head); }
.doc-page h3 + p { margin-top: .35rem; }
.doc-page section p, .doc-list li { line-height: 1.65; }
.doc-list { margin: .8rem 0 0; padding-left: 1.2rem; }
.doc-list li + li { margin-top: .5rem; }
.doc-note { margin-top: 2.5rem; font-weight: 600; }
@media (min-width: 640px) { .doc-toc ul { grid-template-columns: 1fr 1fr; } }

.cancel-form { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.cancel-form .btn { justify-self: start; }
.field-help { margin-top: .45rem; font-size: .9rem; font-weight: 600; color: var(--brown-soft); }
.cancel-review {
  margin-top: 1.75rem; padding: 1.25rem 1.25rem 1.4rem;
  background: var(--paper); border: 1.5px solid var(--brown); border-radius: 18px;
  box-shadow: var(--hard-shadow);
}
.cancel-review:focus { outline: none; }
.cancel-review-title { font: 800 1.4rem/1.2 var(--font-head); }
.cancel-review dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: .9rem 0 0; }
.cancel-review dt { font-weight: 700; }
.cancel-review dd { margin: 0; }
.cancel-fee { margin-top: 1rem; font-weight: 700; }
.cancel-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.25rem; }
.btn-outline { background: var(--paper); color: var(--brown); border: 1.5px solid var(--brown); box-shadow: none; }
.btn-outline::before { display: none; }
.btn-outline:hover { background: #fff; color: var(--red); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* About Us on desktop: the two longer cards on the outside, the short one in the middle, a little lower.
   (Phones keep the original order.) */
@media (min-width: 860px) {
  .about-delivered { order: 1; }
  .about-cancel { order: 2; align-self: center; }
  .about-cancel h3 { min-height: 0; }
  .about-exchange { order: 3; }
}
