/* ==========================================================================
   ZIPIEE — Website stylesheet
   The JCM Group GbR
   Hand-built static site. No build step, no framework.
   E-ink aesthetic: paper-calm canvas, crisp ink type, teal as the one accent.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Self-hosted fonts
   GDPR note: fonts are self-hosted, NOT loaded from the Google Fonts CDN.
   Drop the .woff2 files into /assets/fonts/ (see README). Until then, the
   system fallback stack below keeps the site looking right.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette (fixed) */
  --ink: #111827;          /* Midnight Ink */
  --teal: #14b8a6;         /* E-Ink Teal */
  --slate: #6b7280;        /* Slate Gray */
  --paper: #f9fafb;        /* Soft White */

  /* Derived tints/shades (kept within the brand family) */
  --ink-90: #1f2733;
  --ink-70: #3b424f;
  --teal-ink: #0f8a7e;     /* darker teal for text on paper (AA contrast) */
  --teal-tint: #e7f6f4;    /* teal wash surface */
  --teal-tint-2: #d3efeb;
  --paper-2: #ffffff;      /* pure white card surface */
  --paper-shade: #eef0f3;  /* faint panel */
  --hairline: #e2e5ea;     /* e-ink crisp divider */
  --hairline-strong: #cfd3da;

  /* Typography */
  --font-display: "Montserrat", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.25rem + 1vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.7rem + 3vw, 3.9rem);

  /* Layout */
  --measure: 68ch;
  --container: 1140px;
  --container-narrow: 760px;
  --radius: 10px;          /* slight e-ink screen rounding */
  --radius-sm: 6px;
  --gap: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  --section-y: clamp(3rem, 2.2rem + 2.5vw, 4.5rem);

  --shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 28px rgba(17, 24, 39, 0.06);
  --shadow-lift: 0 2px 6px rgba(17, 24, 39, 0.06), 0 16px 44px rgba(17, 24, 39, 0.1);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { max-width: var(--measure); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: var(--paper); }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 0.5rem + 3vw, 2.5rem); }
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--teal-tint); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }
.section--paper2 { background: var(--paper-2); }
/* Teal CTA band (CR-006): distinct from the dark footer */
.section--teal { background: var(--teal); color: #04302b; }
.section--teal h1, .section--teal h2, .section--teal h3 { color: #04302b; }
.section--teal .eyebrow { color: #04302b; }
.section--teal .eyebrow::before { background: #04302b; }
.section--teal .lede { color: #04302b; }
.section--teal .btn--ghost { color: #04302b; border-color: rgba(4,48,43,0.45); }
.section--teal .btn--ghost:hover { border-color: #04302b; background: rgba(255,255,255,0.18); color: #04302b; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 1px;
  background: var(--teal);
  display: inline-block;
}
.section--ink .eyebrow { color: var(--teal); }

.lede { font-size: var(--step-1); color: var(--ink-70); line-height: 1.5; }
.section--ink .lede { color: #c9ced8; }
.muted { color: var(--slate); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center p { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }
.divider { height: 1px; background: var(--hairline); border: 0; margin-block: var(--section-y); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--teal-ink); color: var(--paper); }
.btn--teal { background: var(--teal); color: #04302b; }
.btn--teal:hover { background: #0fa092; color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-2); color: var(--ink); }
.section--ink .btn--ghost { color: var(--paper); border-color: rgba(255,255,255,0.3); }
.section--ink .btn--ghost:hover { border-color: var(--paper); background: rgba(255,255,255,0.06); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.center .btn-row { justify-content: center; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   6. Site header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 250, 251, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { height: 38px; width: auto; display: block; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.25rem;
}
.brand__word b { color: var(--teal-ink); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-70);
  text-decoration: none;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
}
.nav a:hover { color: var(--ink); background: var(--paper-shade); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--teal);
  border-radius: 2px; margin-top: 3px;
}

.header-tools { display: flex; align-items: center; gap: 0.5rem; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--paper-2);
}
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer;
  padding: 0.4rem 0.6rem; color: var(--slate);
  font: inherit; letter-spacing: 0.05em;
}
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm); padding: 0.45rem; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--hairline);
    padding: 0.5rem clamp(1.1rem, 0.5rem + 3vw, 2.5rem) 1rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.8rem 0.4rem; border-bottom: 1px solid var(--hairline); }
  .nav a[aria-current="page"]::after { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }
.hero__grid {
  display: grid; gap: var(--gap);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { margin-top: 0.8rem; }
.hero .lede { margin-top: 1.1rem; }
.hero .btn-row { margin-top: 1.6rem; }
.hero__note { margin-top: 1rem; font-size: var(--step--1); color: var(--slate); }

/* The e-ink panel signature visual */
.eink-panel {
  background: var(--paper-2);
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
  padding: 14px;
  max-width: 420px;
  margin-inline: auto;
}
.eink-panel__screen {
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(17,24,39,0.015) 0 2px, transparent 2px 4px),
    var(--paper);
  padding: 22px 20px;
  aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; justify-content: space-between;
}
.eink-panel__tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--slate); text-transform: uppercase; }
.eink-panel__offer { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1rem + 3vw, 2.4rem); line-height: 1.05; }
.eink-panel__price { color: var(--teal-ink); }
.eink-panel__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--hairline); padding-top: 12px; }
.eink-panel__shop { font-weight: 500; }
.eink-panel__qr { width: 46px; height: 46px; }

/* Enhanced e-ink shop display (hero) */
.eink-panel__screen--shop { aspect-ratio: auto; gap: 14px; padding: 24px 22px; }
.eink-shop { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.eink-shop__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.55rem); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.eink-status { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #04302b; background: var(--teal); padding: 4px 9px; border-radius: 999px; white-space: nowrap; margin-top: 3px; }
.eink-label { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-bottom: 7px; }
.eink-divider { height: 1px; background: var(--hairline); border: 0; margin: 2px 0; }
.eink-hours__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dotted var(--hairline-strong); }
.eink-hours__row:last-child { border-bottom: 0; }
.eink-hours__row span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 0.85rem + 0.6vw, 1.2rem); color: var(--ink-70); }
.eink-hours__row b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 0.85rem + 0.9vw, 1.35rem); color: var(--ink); letter-spacing: -0.01em; }
.eink-offer__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.eink-offer__row span { font-family: var(--font-body); font-size: 1rem; color: var(--ink); }
.eink-offer__price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--teal-ink); }
.eink-foot { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--hairline); padding-top: 14px; }
.eink-foot .eink-qr { width: 56px; height: 56px; flex: none; }
.eink-qr__cap { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--slate); line-height: 1.4; }

/* e-ink "settle" reveal */
.eink-reveal { filter: grayscale(1) contrast(1.05); opacity: 0; transform: translateY(8px); }
.eink-reveal.is-in {
  opacity: 1; transform: none; filter: grayscale(0) contrast(1);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), filter 0.7s steps(3, end);
}
@media (prefers-reduced-motion: reduce) {
  .eink-reveal { opacity: 1; transform: none; filter: none; }
}

/* --------------------------------------------------------------------------
   7b. Media rows & illustrations
   -------------------------------------------------------------------------- */
.media-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr 1fr; align-items: center; }
.media-grid--text-first { grid-template-columns: 1.05fr 0.95fr; }
@media (max-width: 880px) {
  .media-grid, .media-grid--text-first { grid-template-columns: 1fr; }
  .media-grid .illus-wrap { order: -1; }            /* image above text on mobile */
}
.illus { width: 100%; height: auto; display: block; }
.illus--band { max-width: 920px; margin-inline: auto; }
.illus-wrap { min-width: 0; }
@media (max-width: 480px) { .brand__logo { height: 32px; } }


.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover { border-color: var(--hairline-strong); }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.card h3 { font-size: var(--step-1); }
.card p { margin-top: 0.5rem; color: var(--ink-70); }
.card__icon { width: 38px; height: 38px; color: var(--teal-ink); margin-bottom: 0.9rem; }

/* numbered step (true sequence) */
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.step + .step { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--hairline); }
.step__num {
  counter-increment: step;
  font-family: var(--font-mono); font-size: 0.9rem; color: var(--teal-ink);
  border: 1px solid var(--teal); border-radius: 50%;
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: var(--step-1); }
.step p { margin-top: 0.35rem; color: var(--ink-70); }

/* two-door audience split */
.door {
  display: flex; flex-direction: column; gap: 0.6rem;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--paper-2);
  text-decoration: none; color: var(--ink);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.door:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.door__label { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-ink); }
.door h3 { font-size: var(--step-2); }
.door__cta { margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--teal-ink); }

/* feature list rows */
.feature-list { list-style: none; padding: 0; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; padding: 0.9rem 0; border-bottom: 1px solid var(--hairline); }
.feature-list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; flex: none;
  background: var(--teal-tint);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8a7e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}
.feature-list strong { font-family: var(--font-display); }

/* stat / metric */
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); color: var(--ink); }
.stat__label { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }

/* --------------------------------------------------------------------------
   9. CTA band
   -------------------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { margin-top: 0.75rem; }
.cta-band .btn-row { margin-top: 1.75rem; justify-content: center; }

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.form { max-width: var(--container-narrow); }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1.1rem; }
.field:first-child { margin-top: 0; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.field .req { color: var(--teal-ink); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint);
}
.field textarea { min-height: 140px; resize: vertical; }
.field--error input, .field--error textarea { border-color: #c2410c; }
.field__error { color: #c2410c; font-size: var(--step--1); display: none; }
.field--error .field__error { display: block; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; margin-top: 1.25rem; }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; accent-color: var(--teal-ink); }
.consent label { font-size: var(--step--1); color: var(--ink-70); line-height: 1.5; font-weight: 400; }
.consent.field--error label { color: #c2410c; }

.form__submit { margin-top: 1.5rem; }
.form__status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-size: var(--step--1); display: none; }
.form__status.is-ok { display: block; background: var(--teal-tint); color: #04302b; border: 1px solid var(--teal); }
.form__status.is-err { display: block; background: #fdeee6; color: #9a3412; border: 1px solid #f2b48b; }
.form__demo { margin-top: 1rem; font-size: var(--step--1); color: var(--slate); }

/* --------------------------------------------------------------------------
   11. Legal / long-form pages
   -------------------------------------------------------------------------- */
.legal { max-width: var(--container-narrow); }
.legal h2 { font-size: var(--step-2); margin-top: 2.25rem; }
.legal h3 { font-size: var(--step-1); margin-top: 1.5rem; }
.legal p, .legal li { color: var(--ink-70); }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal li { margin-top: 0.4rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.25rem; }
.legal dt { font-weight: 600; font-family: var(--font-display); }

.placeholder {
  border: 1px dashed #d97706; background: #fffaf0;
  color: #92400e; border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem; font-size: var(--step--1);
  font-family: var(--font-mono); display: inline-block;
}
.callout {
  border-left: 3px solid var(--teal); background: var(--teal-tint);
  padding: 0.9rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 1.25rem; font-size: var(--step--1); color: #04302b;
}

/* --------------------------------------------------------------------------
   12. Page intro
   -------------------------------------------------------------------------- */
.page-intro { padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3rem); border-bottom: 1px solid var(--hairline); }
.page-intro h1 { margin-top: 0.7rem; }
.page-intro .lede { margin-top: 1rem; }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #c9ced8; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.site-footer a { color: #c9ced8; text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gap); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand .brand__word { color: var(--paper); }
.footer__brand .brand__word b { color: var(--teal); }
.footer__logo { height: 42px; width: auto; display: block; }
.footer__tag { margin-top: 0.9rem; max-width: 36ch; color: #9aa1ad; font-size: var(--step--1); }
.footer__col h4 { color: var(--paper); font-size: 0.8rem; font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer__col ul { list-style: none; padding: 0; }
.footer__col li { margin-top: 0.55rem; }
.footer__bottom {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: var(--step--1); color: #9aa1ad;
}

/* --------------------------------------------------------------------------
   14. Scroll reveal (generic, progressive enhancement)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* JS off: show everything */
.no-js .reveal, .no-js .eink-reveal { opacity: 1; transform: none; filter: none; }
