/* =========================================================
   Tire Marshalls — landing page styles
   Aesthetic: civic-service editorial · warm cream, charcoal,
   fire red, ember orange, safety amber.
   ========================================================= */

/* -------- Tokens -------- */
:root {
  --bg: #FBF6EE;
  --bg-alt: #F1E9D9;
  --paper: #FFFFFF;

  --ink: #1A1714;
  --ink-soft: #5A4F46;
  --ink-muted: #897D72;
  --line: rgba(26, 23, 20, 0.12);
  --line-strong: rgba(26, 23, 20, 0.32);

  --red: #D7321F;
  --red-deep: #B22515;
  --orange: #F26B1F;
  --amber: #F4B82A;
  --amber-soft: #FCE7A6;

  --shadow-sm: 0 1px 0 rgba(26,23,20,0.05), 0 2px 6px rgba(26,23,20,0.04);
  --shadow-md: 0 1px 0 rgba(26,23,20,0.06), 0 8px 24px rgba(26,23,20,0.06);
  --shadow-lg: 0 1px 0 rgba(26,23,20,0.06), 0 24px 60px -20px rgba(26,23,20,0.20);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --font-display: "Big Shoulders Display", "Impact", "Helvetica Neue", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --max-w: 1200px;
  --pad-x: clamp(20px, 4vw, 40px);
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red); }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; }
p { margin: 0; }

/* Subtle paper grain over the whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  z-index: 1;
  mix-blend-mode: multiply;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 2; }

/* -------- Safety stripe -------- */
.safety-stripe {
  height: 8px;
  background:
    repeating-linear-gradient(135deg,
      var(--ink) 0 14px,
      var(--amber) 14px 28px);
  position: relative;
  z-index: 5;
}

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  /* multiply hides any residual white edge against cream background */
  mix-blend-mode: multiply;
  filter: drop-shadow(0 1px 0 rgba(26,23,20,0.04));
}
.brand-tag {
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-left: 1px solid var(--line);
  padding-left: 14px;
  line-height: 1.3;
  max-width: 110px;
}
@media (min-width: 720px) {
  .brand-tag { display: block; }
}

.site-nav {
  display: none;
  gap: 28px;
  align-items: center;
  margin-left: auto;
  margin-right: 12px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--red);
  transition: right .25s ease;
}
.site-nav a:hover::after { right: 0; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 11px;
}
.menu-toggle span {
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-cta { display: none; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px var(--pad-x) 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.mobile-menu:not([hidden]) {
  display: flex;
}
.mobile-menu a {
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child {
  border: none;
  margin-top: 8px;
}

@media (min-width: 880px) {
  .menu-toggle { display: none; }
  .site-nav { display: flex; }
  .header-cta { display: inline-flex; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .25s ease, border-color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn span { transition: transform .2s ease; display: inline-block; }
.btn:hover span { transform: translateX(3px); }

.btn-primary {
  background: var(--red);
  color: var(--bg);
  border-color: var(--red);
  box-shadow: 0 1px 0 rgba(26,23,20,0.04), 0 6px 18px -4px rgba(215, 50, 31, 0.45);
}
.btn-primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(26,23,20,0.04), 0 12px 24px -6px rgba(215, 50, 31, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-full { width: 100%; }

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 84px) 0 0;
  overflow: hidden;
}
.hero::before {
  /* faint road-line top-right */
  content: "";
  position: absolute;
  top: 80px; right: -40px;
  width: 480px; height: 480px;
  background:
    radial-gradient(circle at center, rgba(244, 184, 42, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: clamp(60px, 8vw, 100px);
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 50, 31, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(215, 50, 31, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(215, 50, 31, 0); }
}

.hero-headline {
  font-size: clamp(48px, 8vw, 92px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  font-weight: 900;
  margin-bottom: 24px;
  text-wrap: balance;
}
.headline-accent {
  color: var(--red);
  position: relative;
  display: inline-block;
}
.headline-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 6px;
  background: repeating-linear-gradient(135deg,
    var(--ink) 0 6px,
    var(--amber) 6px 12px);
  border-radius: 4px;
  opacity: 0.85;
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.trust-chips svg {
  width: 16px; height: 16px;
  color: var(--red);
  flex-shrink: 0;
}

/* Hero logo */
.hero-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 1s ease .2s both;
  padding: 20px;
}
.hero-emblem::before {
  /* warm radial glow behind logo */
  content: "";
  position: absolute;
  inset: -5%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(242, 107, 31, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 80% 70% at 50% 60%, rgba(244, 184, 42, 0.12) 0%, transparent 70%);
  z-index: -1;
  filter: blur(20px);
}
.hero-emblem::after {
  /* subtle radiating sun-rays texture */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg 8deg,
      rgba(26, 23, 20, 0.03) 8deg 9deg,
      transparent 9deg 18deg
    );
  border-radius: 50%;
  opacity: 0.5;
}
.hero-logo-frame {
  width: min(480px, 92%);
  position: relative;
}
.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  /* belt-and-suspenders white-bg removal — already transparent, but multiply hides any edge artifacts */
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 40px rgba(215, 50, 31, 0.18)) drop-shadow(0 4px 8px rgba(26, 23, 20, 0.08));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(-0.4deg); }
}

/* floaty entrance + gentle bob */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Marquee */
.marquee {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  border-block: 1px solid var(--ink);
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 48px;
  padding: 14px 0;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: max-content;
}
.marquee-track span { color: var(--bg); }
.marquee-track span:nth-child(2n) { color: var(--amber); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------- Sections -------- */
.section {
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
}
.section.alt-bg {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.bay-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  padding: 6px 12px;
  background: rgba(215, 50, 31, 0.08);
  border: 1px solid rgba(215, 50, 31, 0.2);
  border-radius: 6px;
  margin-bottom: 20px;
}
.bay-label.dark {
  color: var(--amber);
  background: rgba(244, 184, 42, 0.12);
  border-color: rgba(244, 184, 42, 0.32);
}
.section-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.section-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 600px;
}

.fine-print {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.fine-print strong { color: var(--ink); font-weight: 700; }

/* -------- Steps -------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
  /* connector line */
  .steps::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 8%; right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg,
      var(--line-strong) 0 8px,
      transparent 8px 16px);
    z-index: 0;
  }
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  position: relative;
  z-index: 1;
  transition: transform .25s ease, box-shadow .3s ease;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line);
}
.section.alt-bg .step-num { border-color: var(--bg-alt); }
.step h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* -------- Cards grid -------- */
.cards-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.cards-grid.three { grid-template-columns: 1fr; }
.cards-grid.four  { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .cards-grid.three { grid-template-columns: repeat(3, 1fr); }
  .cards-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .cards-grid.four { grid-template-columns: repeat(4, 1fr); }
}

/* -------- Fulfillment cards -------- */
.ff-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.ff-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.ff-card.featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.ff-card.featured h3,
.ff-card.featured .ff-icon { color: var(--amber); }
.ff-card.featured p { color: rgba(251, 246, 238, 0.85); }
.ff-card.featured .ff-tag { background: var(--amber); color: var(--ink); }
.ff-card.featured .ff-note { color: rgba(251, 246, 238, 0.55); border-top-color: rgba(251,246,238,0.18); }
.ff-card.featured::before {
  content: "Most chosen";
  position: absolute;
  top: -12px; right: 24px;
  background: var(--red);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
}

.ff-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: rgba(215, 50, 31, 0.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.ff-card.featured .ff-icon {
  background: rgba(244, 184, 42, 0.14);
}
.ff-icon svg { width: 28px; height: 28px; }

.ff-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--amber-soft);
  color: var(--ink);
  padding: 4px 9px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.ff-card h3 { font-size: 26px; margin-bottom: 10px; }
.ff-card p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 16px; }
.ff-note {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-muted);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* -------- Sell list -------- */
.sell-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
@media (min-width: 760px) {
  .sell-list { grid-template-columns: repeat(2, 1fr); border-left: 1px solid var(--line-strong); }
}
.sell-list li {
  padding: 32px 28px;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
  transition: background .2s ease;
}
@media (min-width: 760px) {
  .sell-list li { border-right: 1px solid var(--line-strong); }
}
.sell-list li:hover {
  background: rgba(215, 50, 31, 0.04);
}
.sell-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.sell-list h3 {
  font-size: 26px;
  margin-bottom: 8px;
}
.sell-list p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* -------- Why cards -------- */
.why-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform .25s ease, box-shadow .3s ease;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.why-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--ink);
  color: var(--amber);
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 20px;
}
.why-card h3 { font-size: 22px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* -------- Service area -------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 880px) {
  .area-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0 20px;
}
.area-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
}
.state-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 28px;
  background: var(--ink);
  color: var(--amber);
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.area-note {
  font-size: 13px;
  color: var(--ink-muted);
  font-style: italic;
}
.area-map {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

/* -------- FAQ -------- */
.faq-inner { max-width: 880px; margin: 0 auto; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.faq-item {
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--ink);
  flex-shrink: 0;
  position: relative;
  transition: background .2s, transform .25s ease;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.faq-toggle::before { width: 12px; height: 2px; }
.faq-toggle::after { width: 2px; height: 12px; }
.faq-item[open] .faq-toggle { background: var(--red); border-color: var(--red); transform: rotate(45deg); }
.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after { background: var(--bg); }

.faq-item p {
  padding: 0 60px 24px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* -------- Signup -------- */
.signup {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.signup::before {
  /* glowing ember radial */
  content: "";
  position: absolute;
  top: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(242, 107, 31, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.signup::after {
  content: "";
  position: absolute;
  bottom: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(215, 50, 31, 0.14) 0%, transparent 60%);
  pointer-events: none;
}

.signup-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 960px) {
  .signup-inner { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.signup-headline {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 18px 0 20px;
  color: var(--bg);
}
.amber { color: var(--amber); }
.signup-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(251, 246, 238, 0.78);
  max-width: 480px;
  margin-bottom: 36px;
}

.signup-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(251, 246, 238, 0.14);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-item strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--bg);
  letter-spacing: -0.01em;
}
.trust-item span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 246, 238, 0.55);
}

.signup-form {
  background: var(--bg);
  color: var(--ink);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(251, 246, 238, 0.18);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  position: relative;
}
.signup-form::before {
  /* corner badge */
  content: "FORM 01";
  position: absolute;
  top: -12px; left: 24px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 6px 10px;
  border-radius: 6px;
}
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-row { margin-bottom: 16px; }
.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-field em {
  font-style: normal;
  color: var(--red);
}
.form-field em.optional {
  color: var(--ink-muted);
  font-weight: 500;
}
.form-field input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.form-field input::placeholder { color: var(--ink-muted); }
.form-field input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(215, 50, 31, 0.12);
}
.form-field input:invalid:not(:placeholder-shown) {
  border-color: var(--red);
}

.form-radio-group {
  border: none;
  padding: 0;
  margin: 8px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form-radio-group legend {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
  width: 100%;
}
.radio-pill {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-pill span {
  padding: 9px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--paper);
  transition: all .2s ease;
}
.radio-pill:hover span {
  border-color: var(--ink);
}
.radio-pill input:checked + span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.radio-pill input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(215, 50, 31, 0.3);
}

.form-fine {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.5;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.form-success.is-visible {
  display: block;
  animation: fadeUp .5s ease both;
}
.success-mark {
  width: 64px;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.form-success p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* -------- Footer -------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  position: relative;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.2fr 2fr; gap: 64px; }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-logo {
  height: 90px;
  width: auto;
  max-width: 220px;
  display: block;
  align-self: flex-start;
  mix-blend-mode: multiply;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 320px;
  font-weight: 500;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 560px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
.footer-cols h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.footer-cols a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.footer-cols a:hover { color: var(--red); }
.footer-area {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.55;
}
.footer-area-note {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.footer-mini { font-style: italic; }

/* -------- Reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------- Print -------- */
@media print {
  body::before, .marquee, .safety-stripe, .menu-toggle, .mobile-menu { display: none; }
  .site-header { position: static; }
}
