/* ==========================================================================
   Luceo & Co — shared stylesheet
   Design tokens, layout system, and responsive rules for all pages.
   Desktop appearance is unchanged from the original build.
   ========================================================================== */

:root {
  --cream:      #faf6ee;
  --sand:       #f6f0e3;
  --sand-deep:  #f1e9da;
  --line:       #e5dccb;
  --line-dash:  #c9bda6;
  --ink:        #221c17;
  --ink-soft:   #4a4239;
  --ink-mute:   #6d6257;
  --ink-lift:   #2d251d;
  --ink-hover:  #3a3128;
  --sage:       #4e5f49;
  --sage-light: #b9c7ae;
  --gold:       #b08d3f;
  --gold-light: #d6b66e;
  --paper:      #cfc6b8;
  --paper-mute: #a89e8f;

  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans:  'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --gutter: 48px;
  --maxw: 1040px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--sage); text-decoration: none; }

@media (hover: hover) {
  a:hover { color: var(--ink); }
}

.page { min-height: 100vh; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.wrap--flush { max-width: none; }

.band {
  border-top: 1px solid var(--line);
  background: var(--sand);
}

.band--bottom { border-bottom: 1px solid var(--line); }
.band--dark { background: var(--ink); color: var(--cream); border: 0; }

/* Vertical rhythm helpers */
.pt-xl { padding-top: 110px; }
.pt-lg { padding-top: 100px; }
.pt-md { padding-top: 90px; }
.pt-sm { padding-top: 80px; }
.pt-xs { padding-top: 70px; }
.pt-2xs { padding-top: 50px; }
.pt-0  { padding-top: 0; }

.pb-xl { padding-bottom: 100px; }
.pb-lg { padding-bottom: 90px; }
.pb-md { padding-bottom: 80px; }
.pb-sm { padding-bottom: 70px; }
.pb-xs { padding-bottom: 60px; }
.pb-2xs { padding-bottom: 30px; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  position: relative;
  z-index: 40;
}

.nav-brand {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.nav-brand svg { flex: none; }

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
}

.nav-link { padding: 4px 0; }

.nav-link.is-active {
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}

.nav-cta {
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 99px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

@media (hover: hover) {
  .nav-cta:hover { background: var(--ink); color: var(--cream); }
}

/* Hamburger — hidden on desktop, 44px touch target on mobile */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  position: relative;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after  { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.eyebrow--lg {
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.eyebrow--light { color: var(--paper-mute); }
.eyebrow--sage { color: var(--sage); font-weight: 600; }

.h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 6.2vw, 58px);
  line-height: 1.08;
  margin: 0;
  max-width: 820px;
  text-wrap: pretty;
}

.h1--sm {
  font-size: clamp(32px, 5.6vw, 48px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.h1--md {
  font-size: clamp(33px, 5.8vw, 52px);
  line-height: 1.1;
  max-width: 760px;
}

.h1--about {
  font-size: clamp(32px, 5.4vw, 44px);
  line-height: 1.12;
  margin-bottom: 24px;
}

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(25px, 3.4vw, 34px);
  margin: 0 0 16px;
  text-wrap: pretty;
}

.h2--32 { font-size: clamp(25px, 3.2vw, 32px); margin-bottom: 36px; }
.h2--30 { font-size: clamp(24px, 3vw, 30px); }
.h2--28 { font-size: clamp(23px, 2.8vw, 28px); margin-bottom: 14px; }
.h2--26 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.6vw, 26px); margin: 0 0 12px; }
.h2--24 { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2.4vw, 24px); margin: 0 0 12px; }
.h2--21 { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 0 0 8px; }
.h2--tight { margin-bottom: 10px; }

.h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 8px;
}

.h3--20 { font-size: 20px; margin-bottom: 10px; }

.lede {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 28px 0 0;
}

.lede--sm { font-size: 17px; line-height: 1.65; margin: 0; max-width: 580px; }
.lede--light { color: var(--paper); }

.body { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0; }
.body--sm { font-size: 14px; line-height: 1.65; color: var(--ink-mute); }
.body--xs { font-size: 13px; color: var(--ink-mute); margin: 0; }
.body--light { color: var(--paper); }
.body--wide { max-width: 680px; }
.body--560 { max-width: 560px; }
.body--520 { max-width: 520px; }

.prose {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 560px;
}

.prose p { margin: 0; }

.motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mute);
  margin: 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Grids — every one of these collapses on small screens
   -------------------------------------------------------------------------- */

.grid { display: grid; }
.grid-2 { grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-2--tight { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-3--wide { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* Asymmetric splits */
.split { grid-template-columns: 320px 1fr; gap: 56px; }
.split--280 { grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.split--340 { grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.split-cta { grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.split-even { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* --------------------------------------------------------------------------
   Cards & panels
   -------------------------------------------------------------------------- */

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
}

.card--lg { border-radius: 14px; padding: 40px 36px; }
.card--md { border-radius: 14px; padding: 36px 32px; }
.card--pad30 { padding: 30px 28px; }
.card--pad28 { padding: 28px 26px; }
.card--sand { background: var(--sand); }
.card--dashed { border: 1px dashed var(--line-dash); display: flex; flex-direction: column; justify-content: center; }

.card--dark {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}

.card--dark .h2--26,
.card--dark .h2 { color: var(--cream); }

.card--link { display: block; color: var(--ink); transition: background 0.15s ease; }

@media (hover: hover) {
  .card--link:hover { background: var(--sand); }
}

.panel {
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  padding: 60px 56px;
}

.panel .h2 { color: var(--cream); }

.panel-outline {
  border: 1px solid var(--sage);
  border-radius: 14px;
  padding: 44px 40px;
}

/* Big feature tiles on the home page */
.tile {
  display: block;
  border-radius: 14px;
  padding: 44px 40px;
  transition: background 0.15s ease;
}

.tile--dark { background: var(--ink); color: var(--cream); }
.tile--dark .h2 { color: var(--cream); }
.tile--sand { background: var(--sand-deep); color: var(--ink); border: 1px solid var(--line); }

@media (hover: hover) {
  .tile--dark:hover { background: var(--ink-lift); }
  .tile--sand:hover { background: #ece2cf; }
}

.tile-more { font-size: 14px; font-weight: 600; }
.tile-more--sage { color: var(--sage-light); }
.tile-more--deep { color: var(--sage); }

.stat {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}

.stat-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
}

.stat-note { font-size: 13px; color: var(--ink-mute); margin: 0; }

.step-label {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--sage);
  margin: 0 0 10px;
}

/* --------------------------------------------------------------------------
   Buttons — all at least 44px tall for touch
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 28px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 12px 24px; font-size: 14px; }
.btn--nowrap { white-space: nowrap; }

@media (hover: hover) {
  .btn--dark:hover { background: var(--ink-hover); color: var(--cream); }
  .btn--light:hover { background: var(--line); color: var(--ink); }
  .btn--outline:hover { background: var(--ink); color: var(--cream); }
}

.btn-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.btn-note { font-size: 14px; color: var(--paper-mute); margin: 0; }
.btn-note--deep { font-size: 14px; color: var(--ink-mute); margin: 0; }

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

.hero-glow {
  background: radial-gradient(640px 340px at 18% 22%, rgba(214, 182, 110, 0.28), transparent 70%);
}

/* --------------------------------------------------------------------------
   Shop cards
   -------------------------------------------------------------------------- */

.shop-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 14px;
  padding: 40px 36px;
  border: 1px solid var(--line);
  background: var(--sand);
}

.shop-card--dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.shop-card .body { flex: 1; }
.shop-card .btn { align-self: flex-start; }

.tag {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}

.tag--light { color: var(--sage-light); }

/* --------------------------------------------------------------------------
   Provisions: coming-soon page and forms
   -------------------------------------------------------------------------- */

.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.soon::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.provisions-hero {
  background:
    radial-gradient(560px 320px at 82% 10%, rgba(78, 95, 73, 0.16), transparent 70%),
    radial-gradient(640px 340px at 12% 30%, rgba(214, 182, 110, 0.26), transparent 70%);
}

.goods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.good {
  border: 1px solid var(--line);
  background: var(--sand);
  border-radius: 14px;
  padding: 26px 24px;
}

.good-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 8px;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }

.step { border-top: 2px solid var(--gold); padding-top: 18px; }

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.form-card {
  border-radius: 14px;
  padding: 44px 40px;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 30px 60px -48px rgba(34, 28, 23, 0.45);
}

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form .full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; }

.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.label small { font-weight: 400; color: var(--ink-mute); }

.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--line-dash);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 16px/1.4 var(--sans);   /* 16px stops iOS zoom-on-focus */
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236d6257' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.textarea { min-height: 128px; resize: vertical; }

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(78, 95, 73, 0.18);
}

.choices { display: flex; flex-wrap: wrap; gap: 10px; }

.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-dash);
  border-radius: 99px;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  background: #fff;
}

.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.choice:has(input:checked) {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(78, 95, 73, 0.25); }

.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.form-status { font-size: 14px; color: var(--sage); margin: 0; min-height: 1.4em; }
.form-status.is-error { color: #8a3b2b; }

.form-done {
  padding: 8px 0 4px;
}

.form-done .h2 { margin-bottom: 12px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.notify {
  display: flex;
  gap: 12px;
  align-items: stretch;
  max-width: 520px;
}

.notify .input { flex: 1; }
.notify .btn { flex: none; }

.provisions-cta {
  border-radius: 14px;
  padding: 40px 36px;
  background: var(--sand-deep);
  border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   About portrait
   -------------------------------------------------------------------------- */

.portrait {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portrait img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 340 / 420;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: var(--sand-deep);
}

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

.footer {
  background: var(--ink);
  color: var(--paper-mute);
  padding: 56px var(--gutter);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin: 0 0 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  margin: 0;
  color: var(--paper-mute);
}

.footer-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  align-items: center;
}

.footer-meta a,
.footer-meta span { color: var(--paper); }

@media (hover: hover) {
  .footer-meta a:hover { color: var(--cream); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* --- Tablet / small laptop ------------------------------------------------ */
@media (max-width: 940px) {
  :root { --gutter: 32px; }

  .nav-toggle { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 22px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px rgba(34, 28, 23, 0.5);
  }

  .nav-links.is-open { display: flex; }

  .nav-links > a {
    display: flex;
    align-items: center;
    min-height: 50px;
    font-size: 16px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .nav-link.is-active {
    border-bottom: 1px solid var(--line);
    color: var(--sage);
    font-weight: 600;
    padding-bottom: 0;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 16px;
    border-bottom: 1px solid var(--ink);
    min-height: 48px;
  }

  .panel { padding: 44px 36px; }
  .panel-outline { padding: 36px 30px; }
  .tile { padding: 36px 30px; }
  .card--lg, .shop-card { padding: 32px 28px; }
  .card--md { padding: 30px 26px; }

  .grid-2, .grid-2--tight, .split-even { grid-template-columns: 1fr; gap: 20px; }
  .grid-3, .grid-3--wide { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .goods { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .form-card { padding: 34px 28px; }
  .provisions-cta { padding: 32px 26px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .split, .split--280, .split--340 { grid-template-columns: 1fr; gap: 28px; }
  .split-cta { grid-template-columns: 1fr; gap: 24px; align-items: start; }

  .portrait { flex-direction: row; align-items: center; gap: 24px; }
  .portrait img { max-width: 240px; }

  .pt-xl { padding-top: 76px; }
  .pt-lg { padding-top: 70px; }
  .pt-md { padding-top: 64px; }
  .pt-sm { padding-top: 58px; }
  .pt-xs { padding-top: 52px; }
  .pt-2xs { padding-top: 40px; }

  .pb-xl { padding-bottom: 70px; }
  .pb-lg { padding-bottom: 64px; }
  .pb-md { padding-bottom: 58px; }
  .pb-sm { padding-bottom: 52px; }
  .pb-xs { padding-bottom: 44px; }
  .pb-2xs { padding-bottom: 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 28px; }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    align-self: stretch;
  }

  /* Full-width, thumb-sized rows so email and phone are easy to tap */
  .footer-meta a,
  .footer-meta span {
    display: flex;
    align-items: center;
    min-height: 46px;
    width: 100%;
    border-top: 1px solid rgba(250, 246, 238, 0.12);
  }

  .footer-meta a:first-child { border-top: 0; }

  .nav-brand { min-height: 44px; }
}

/* --- Phone ---------------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .nav { padding: 16px var(--gutter); }
  .nav-brand { font-size: 17px; }

  .grid-3, .grid-3--wide, .grid-4 { grid-template-columns: 1fr; }
  .goods { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; gap: 18px; }
  .form-card { padding: 26px 18px; }
  .provisions-cta { padding: 26px 20px; }
  .notify { flex-direction: column; }
  .notify .btn, .form-foot .btn { width: 100%; max-width: none; }

  .panel { padding: 34px 24px; }
  .panel-outline { padding: 28px 22px; }
  .tile { padding: 30px 24px; }
  .card { padding: 24px 20px; }
  .card--lg, .card--md, .shop-card { padding: 28px 22px; }
  .card--pad30, .card--pad28 { padding: 24px 20px; }

  .lede { margin-top: 22px; }

  .portrait { flex-direction: column; align-items: stretch; }
  .portrait img { max-width: 100%; }

  .btn, .btn--sm {
    width: 100%;
    max-width: 360px;
  }

  .btn-stack { align-items: stretch; }
  .shop-card .btn { align-self: stretch; }

  .prose { font-size: 15.5px; }

  .pt-xl { padding-top: 56px; }
  .pt-lg { padding-top: 52px; }
  .pt-md { padding-top: 48px; }
  .pt-sm { padding-top: 44px; }
  .pt-xs { padding-top: 40px; }
  .pt-2xs { padding-top: 32px; }

  .pb-xl { padding-bottom: 56px; }
  .pb-lg { padding-bottom: 52px; }
  .pb-md { padding-bottom: 48px; }
  .pb-sm { padding-bottom: 44px; }
  .pb-xs { padding-bottom: 36px; }
  .pb-2xs { padding-bottom: 20px; }

  .footer { padding: 40px var(--gutter); }
}

/* --- Respect reduced motion ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Footer credit line */
.footer-credit { font-size: 13px; margin: 8px 0 0; color: var(--paper-mute); opacity: 0.85; }

/* Download pages */
.dl-list { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.dl {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--sand); color: var(--ink); transition: background 0.15s ease;
}
.dl-name { font-family: var(--serif); font-weight: 600; font-size: 17px; }
.dl-go { font-size: 14px; font-weight: 600; color: var(--sage); white-space: nowrap; }
@media (hover: hover) { .dl:hover { background: var(--sand-deep); } }
