/* ==========================================================================
   Tripzok — tripzok.com static site
   Design tokens mirror packages/design-tokens/src/index.ts (blueprint §23).
   ========================================================================== */

/* Same bundled families the apps ship with, so web and app match exactly.
   Files live in assets/fonts/ — no third-party font CDN is used. */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-600.ttf") format("truetype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #ff7a00;
  --orange-press: #e65100;
  --amber: #ffb300;
  --yellow: #ffd54f;
  --charcoal: #1f1a14;
  --cocoa: #5f5548;
  --cream: #fff7e8;
  --sand: #ebddc5;
  --white: #ffffff;
  --success: #1b7f4b;
  --success-soft: #e4f3ea;
  --danger: #b3261e;
  --danger-soft: #fbe9e7;
  --info: #1565c0;
  --info-soft: #e7f0fb;
  --ink-soft: rgba(31, 26, 20, 0.62);

  --radius-sm: 10px;
  --radius-btn: 14px;
  --radius-card: 16px;
  --radius-sheet: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(31, 26, 20, 0.08);
  --shadow-md: 0 14px 40px rgba(31, 26, 20, 0.12);
  --shadow-lg: 0 30px 80px rgba(31, 26, 20, 0.18);

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1160px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--orange-press);
  text-underline-offset: 3px;
}

ul,
ol {
  padding-left: 1.15rem;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--charcoal);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------- Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--sand);
  box-shadow: 0 8px 28px rgba(31, 26, 20, 0.06);
}

.header__bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.32);
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cocoa);
  text-transform: uppercase;
  margin-top: -3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--cocoa);
  font-weight: 500;
  font-size: 14px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--charcoal);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sand);
  border-radius: 12px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--charcoal);
}

@media (max-width: 960px) {
  .nav {
    position: absolute;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 4vw 20px;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--sand);
    font-size: 16px;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .header__actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--orange);
  color: var(--charcoal);
  box-shadow: 0 10px 26px rgba(255, 122, 0, 0.28);
}

.btn--primary:hover {
  background: var(--amber);
}

.btn--dark {
  background: var(--charcoal);
  color: var(--cream);
}

.btn--dark:hover {
  background: #2a241c;
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}

.btn--ghost:hover {
  background: rgba(31, 26, 20, 0.06);
}

.btn--light {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--sand);
}

.btn--sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

/* --------------------------------------------------------------- Badges */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 179, 0, 0.18);
  border: 1px solid rgba(255, 179, 0, 0.45);
  color: #7a4c00;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: rgba(31, 26, 20, 0.06);
  color: var(--cocoa);
}

.badge--success {
  background: var(--success-soft);
  color: var(--success);
}

.badge--brand {
  background: var(--yellow);
  color: var(--charcoal);
}

/* --------------------------------------------------------------- Sections */

.section {
  padding: clamp(48px, 7vw, 88px) 0;
}

.section--tight {
  padding: clamp(32px, 5vw, 56px) 0;
}

.section__head {
  max-width: 640px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}

.section__head p {
  color: var(--cocoa);
  font-size: 17px;
  margin: 0;
}

.surface {
  background: var(--white);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.card p {
  color: var(--cocoa);
  font-size: 15px;
  margin: 0;
}

.card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  margin-bottom: 14px;
}

.card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--charcoal);
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--sand);
  font-size: 13px;
  color: var(--cocoa);
}

.card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--charcoal);
}

.card--danger .card__icon {
  background: var(--danger-soft);
}

.card--danger .card__icon svg {
  color: var(--danger);
}

/* --------------------------------------------------------------- Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 76px) 0 clamp(40px, 7vw, 84px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 213, 79, 0.55), transparent 65%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero__lead {
  max-width: 48ch;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--cocoa);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 13px;
  color: var(--cocoa);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* --------------------------------------------------------------- Phone mock */

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone {
  position: relative;
  width: min(310px, 78vw);
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, #3a3229, #14110d 55%);
  box-shadow: var(--shadow-lg);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform 0.4s ease;
}

.phone:hover {
  transform: rotateY(-3deg) rotateX(1deg) translateY(-4px);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 20px;
  background: #14110d;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.phone__screen {
  height: 100%;
  border-radius: 35px;
  background: var(--cream);
  overflow: hidden;
  padding: 26px 13px 0;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.35;
}

.phone--dark .phone__screen {
  background: var(--charcoal);
  color: #fff3de;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  margin-bottom: 12px;
}

.app-top__brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.app-top__brand i {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--orange);
  display: inline-block;
}

.app-top__dots {
  display: flex;
  gap: 5px;
}

.app-top__dots span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--sand);
  display: grid;
  place-items: center;
}

.app-top__dots span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--cocoa);
}

.app-greet {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.app-search {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--sand);
  border-radius: 11px;
  background: var(--white);
  color: var(--cocoa);
  font-size: 10px;
  margin-bottom: 12px;
}

.app-search::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--orange);
  border-radius: 50%;
}

.app-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.app-tile {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 11px;
  padding: 9px 4px 7px;
  text-align: center;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--charcoal);
}

.app-tile b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 5px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 13px;
}

.app-tile--danger b {
  background: var(--danger-soft);
}

.app-tile--danger {
  border-color: rgba(179, 38, 30, 0.4);
  color: var(--danger);
}

.app-promo {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(120deg, #ffe9b0, #fff7e8);
  border: 1px solid #f2dfae;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-promo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 10.5px;
}

.app-promo small {
  color: var(--cocoa);
  font-size: 8px;
}

.app-promo em {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  color: var(--white);
  font-style: normal;
  font-size: 13px;
}

.app-label {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--cocoa);
  text-transform: uppercase;
  margin: 13px 0 6px;
  font-weight: 600;
}

.app-place {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--sand);
  margin-bottom: 6px;
  font-size: 9.5px;
}

.app-place::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.app-place span {
  margin-left: auto;
  color: var(--cocoa);
  font-size: 8px;
}

.app-tabbar {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 0 12px;
  border-top: 1px solid var(--sand);
  background: var(--white);
  text-align: center;
  font-size: 7.5px;
  color: var(--cocoa);
}

.app-tabbar b {
  display: block;
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.35;
  margin: 0 auto 5px;
}

.app-tabbar span:first-child {
  color: var(--orange-press);
  font-weight: 600;
}

.app-tabbar span:first-child b {
  opacity: 1;
  background: var(--orange);
}

/* Partner phone */

.phone--dark .app-tile {
  background: #2a241c;
  border-color: #3b332a;
  color: #fff3de;
}

.phone--dark .app-tile b {
  background: #43371f;
}

.phone--dark .app-label {
  color: #c9bba3;
}

.phone--dark .app-place {
  background: #2a241c;
  border-color: #3b332a;
}

.phone--dark .app-tabbar {
  background: #1f1a14;
  border-top-color: #3b332a;
  color: #c9bba3;
}

.phone--dark .app-top__dots span {
  border-color: #3b332a;
}

.phone--dark .app-top__dots span::after {
  border-color: #c9bba3;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--charcoal);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
}

.status-row__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
}

.status-row__meta {
  color: var(--cocoa);
  font-size: 8.5px;
}

.phone--dark .status-row__meta {
  color: #c9bba3;
}

.pill-online {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(76, 201, 127, 0.16);
  color: #4cc97f;
  font-size: 8px;
  font-weight: 600;
  border: 1px solid rgba(76, 201, 127, 0.5);
}

.offer-card {
  margin-top: 10px;
  border-radius: 12px;
  background: linear-gradient(120deg, #ff8a1f, #ffb300);
  color: var(--charcoal);
  padding: 10px;
}

.offer-card small {
  font-size: 7.5px;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.offer-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.1;
  margin: 3px 0;
}

.offer-card span {
  font-size: 8.5px;
}

.offer-card .offer-cta {
  display: block;
  margin-top: 8px;
  background: var(--charcoal);
  color: #ffe7c2;
  border-radius: 8px;
  padding: 6px;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
}

.earn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 9px;
}

.earn-row div {
  background: #2a241c;
  border: 1px solid #3b332a;
  border-radius: 10px;
  padding: 8px;
}

.earn-row small {
  display: block;
  font-size: 7.5px;
  color: #c9bba3;
}

.earn-row strong {
  font-family: var(--font-display);
  font-size: 14px;
}

.phone-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 90px;
  background: radial-gradient(ellipse at center, rgba(255, 122, 0, 0.35), transparent 70%);
  filter: blur(12px);
  z-index: -1;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .phone {
    transform: none;
    margin-top: 8px;
  }
}

/* --------------------------------------------------------------- Feature list */

.feature {
  display: flex;
  gap: 14px;
}

.feature__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 179, 0, 0.2);
  color: var(--orange-press);
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 17px;
  margin-bottom: 3px;
}

.feature p {
  color: var(--cocoa);
  font-size: 14.5px;
  margin: 0;
}

/* --------------------------------------------------------------- Steps */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--sand);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.3);
}

.steps li h3 {
  margin-top: 12px;
  font-size: 18px;
}

.steps li p {
  margin: 0;
  font-size: 14.5px;
  color: var(--cocoa);
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* --------------------------------------------------------------- Safety band */

.band {
  border-radius: var(--radius-sheet);
  padding: clamp(26px, 4vw, 46px);
  background: linear-gradient(135deg, #2a241c, #14110d);
  color: #fff3de;
  position: relative;
  overflow: hidden;
}

.band::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.35), transparent 65%);
}

.band h2 {
  color: #fff3de;
  font-size: clamp(26px, 3.4vw, 38px);
}

.band p {
  color: #c9bba3;
  max-width: 56ch;
}

.band__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.band ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.band li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #fff3de;
}

.band li svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--amber);
}

@media (max-width: 860px) {
  .band__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------- Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.stat {
  padding: 18px 10px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 243, 222, 0.14);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--amber);
}

.stat span {
  font-size: 12px;
  color: #c9bba3;
}

/* --------------------------------------------------------------- FAQ */

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 4px 18px;
}

.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--orange-press);
  font-size: 20px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 16px;
  color: var(--cocoa);
  font-size: 14.5px;
}

/* --------------------------------------------------------------- CTA / download */

.cta {
  border-radius: var(--radius-sheet);
  background: linear-gradient(130deg, var(--orange), var(--amber));
  color: var(--charcoal);
  padding: clamp(28px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(255, 122, 0, 0.25);
}

.cta h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  margin-bottom: 8px;
}

.cta p {
  margin: 0;
  color: #3a2a05;
  max-width: 48ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .cta {
    grid-template-columns: 1fr;
  }

  .cta__actions {
    justify-content: flex-start;
  }
}

.store-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #3a2a05;
  margin-top: 12px;
}

/* --------------------------------------------------------------- Footer */

.footer {
  margin-top: clamp(48px, 6vw, 80px);
  background: #14110d;
  color: #c9bba3;
  padding: clamp(40px, 5vw, 64px) 0 28px;
  font-size: 14px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer .brand {
  color: #fff3de;
}

.footer .brand small {
  color: #c9bba3;
}

.footer p {
  color: #c9bba3;
  max-width: 36ch;
}

.footer h4 {
  color: #fff3de;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer a {
  color: #c9bba3;
  text-decoration: none;
}

.footer a:hover {
  color: var(--yellow);
}

.footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #2f2820;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 12.5px;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------- Page (subpages) */

.page-head {
  padding: clamp(32px, 5vw, 60px) 0 12px;
}

.page-head h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  margin-bottom: 10px;
}

.page-head p {
  color: var(--cocoa);
  max-width: 62ch;
  font-size: 17px;
}

.meta-line {
  font-size: 13px;
  color: var(--ink-soft);
}

.legal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}

.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  border: 1px solid var(--sand);
  border-radius: var(--radius-card);
  padding: 18px;
  background: var(--white);
  font-size: 13.5px;
}

.legal__toc strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cocoa);
  margin-bottom: 10px;
}

.legal__toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.legal__toc a {
  color: var(--cocoa);
  text-decoration: none;
}

.legal__toc a:hover {
  color: var(--orange-press);
}

.legal__body {
  max-width: 760px;
}

.legal__body h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  margin-top: 2em;
  padding-top: 0.2em;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.legal__body h2:first-child {
  margin-top: 0;
}

.legal__body h3 {
  font-size: 17px;
  margin-top: 1.6em;
}

.legal__body p,
.legal__body li {
  color: #3d352b;
  font-size: 15px;
}

.legal__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 1.5em;
  font-size: 14px;
}

.legal__body th,
.legal__body td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--sand);
  vertical-align: top;
}

.legal__body th {
  background: #fbf1dc;
  font-family: var(--font-display);
  font-size: 13.5px;
}

.note {
  border-left: 4px solid var(--orange);
  background: #fff1d6;
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
  font-size: 14px;
  color: #5a4110;
  margin: 1.4em 0;
}

@media (max-width: 900px) {
  .legal {
    grid-template-columns: 1fr;
  }

  .legal__toc {
    position: static;
  }
}

/* --------------------------------------------------------------- Forms / contact cards */

.form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--sand);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  font-size: 15px;
  color: var(--charcoal);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--orange);
}

.form__hint {
  font-size: 12.5px;
  color: var(--cocoa);
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-card);
  padding: 20px;
}

.contact-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--cocoa);
  font-size: 14px;
  margin-bottom: 10px;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------- Tracking page */

.track-card {
  max-width: 640px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sheet);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow-md);
}

.track-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--success-soft);
  color: var(--success);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 22px;
}

.track-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.track-timeline li {
  position: relative;
  padding: 0 0 22px 34px;
  font-size: 14px;
  color: var(--cocoa);
}

.track-timeline li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sand);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--sand);
}

.track-timeline li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: var(--sand);
}

.track-timeline li:last-child::after {
  display: none;
}

.track-timeline li.is-done {
  color: var(--charcoal);
}

.track-timeline li.is-done::before {
  background: var(--success);
  box-shadow: 0 0 0 1px var(--success);
}

.track-timeline li.is-active::before {
  background: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
}

.track-timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--charcoal);
}

.track-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.track-meta div {
  padding: 12px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--sand);
  font-size: 12.5px;
  color: var(--cocoa);
}

.track-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--charcoal);
}

/* --------------------------------------------------------------- Misc */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .phone,
  .btn,
  .header {
    transition: none;
  }
}

.center {
  text-align: center;
}

[hidden] {
  display: none !important;
}

code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
  background: rgba(31, 26, 20, 0.07);
  padding: 1px 5px;
  border-radius: 5px;
  word-break: break-word;
}

.muted {
  color: var(--cocoa);
}

.small {
  font-size: 13px;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media print {
  .header,
  .footer,
  .skip-link,
  .cta {
    display: none;
  }

  body {
    background: #fff;
  }
}
