/* VoiceToShip site styles (task_099, contract r5d). Phone first (375 px), 6-colour palette only. */
/* Ink #0F172A, Paper #FAFAF7, Signal #FF5A1F, Signal Deep #C2410C, Teal #0E7C66, Slate #475569. Signal is never text on Paper. */

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

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

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

body {
  margin: 0;
  background: #FAFAF7;
  color: #0F172A;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 12px; }
h1 { font-size: 36px; font-weight: 700; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #FF5A1F; outline-offset: 3px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0F172A;
  color: #FAFAF7;
  border-bottom: 1px solid #475569;
}
.wordmark { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; color: inherit; }
.topbar-link { font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 14px; border: 1px solid #FAFAF7; border-radius: 999px; }

/* Hero */
.hero { background: #0F172A; color: #FAFAF7; padding: 40px 0 44px; }
.hero .eyebrow { color: #FF5A1F; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.hero h1 { max-width: 15em; }
.hero .sub { font-size: 19px; max-width: 34em; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.cta, .cta-ghost {
  display: inline-block;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}
.cta { background: #FF5A1F; color: #0F172A; }
.cta-ghost { border: 2px solid #FAFAF7; color: #FAFAF7; }
.hero .small { font-size: 14px; opacity: 0.85; margin: 0; }

/* Blocks */
.block { padding: 44px 0; border-bottom: 1px solid #475569; }
.block.alt { background: #0F172A; color: #FAFAF7; }
.block h2 { margin-bottom: 20px; }

/* Demo: CSS-only phone */
.demo { padding-top: 36px; }
.phone {
  max-width: 360px;
  margin: 0 auto;
  padding: 18px 16px 20px;
  background: #0F172A;
  color: #FAFAF7;
  border-radius: 32px;
  border: 6px solid #475569;
}
.phone-top { text-align: center; font-size: 13px; font-weight: 600; opacity: 0.8; margin-bottom: 14px; }
.post { background: #FAFAF7; color: #0F172A; border-radius: 16px; padding: 14px 16px 4px; margin-bottom: 14px; font-size: 16px; }
.approval-card { border: 1px solid #FF5A1F; border-radius: 16px; padding: 14px 16px; }
.approval-label { color: #FF5A1F; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.approval-title { font-weight: 700; font-size: 18px; }
.approval-actions { display: flex; gap: 10px; margin: 0; }
.approve, .decline { flex: 1; text-align: center; border-radius: 10px; padding: 10px 8px; font-weight: 700; font-size: 15px; }
.approve { background: #0E7C66; color: #FAFAF7; }
.decline { border: 1px solid #475569; color: #FAFAF7; }

/* What you get */
.get-list { list-style: none; display: grid; gap: 14px; }
.get { border: 1px solid #475569; border-radius: 16px; padding: 18px; background: #FAFAF7; }
.get-main { border: 2px solid #0F172A; }
.get-price { font-weight: 700; font-size: 22px; color: #C2410C; margin-bottom: 6px; }

/* Pipeline */
.pipeline { list-style: none; counter-reset: step; display: grid; gap: 10px; }
.pipeline li { counter-increment: step; padding: 14px 16px; border: 1px solid #475569; border-radius: 14px; }
.pipeline li::before {
  content: counter(step);
  display: inline-block;
  min-width: 28px;
  margin-right: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #FF5A1F;
  font-weight: 700;
}
.pipeline strong { display: block; font-size: 19px; margin-bottom: 2px; }

/* Team */
.team-grid { display: grid; gap: 14px; }
.bot { border: 1px solid #475569; border-radius: 16px; padding: 18px; background: #FAFAF7; }
.bot-num { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: #475569; margin-bottom: 4px; }
.bot h3 { margin-bottom: 2px; }
.bot-sub { color: #475569; font-size: 15px; }
.job { font-weight: 500; }
.never { font-size: 15px; color: #475569; margin: 0; }
.never-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #0E7C66; }

/* Proof */
.proof-steps { padding-left: 22px; display: grid; gap: 8px; margin-bottom: 18px; }
.proof-line { font-weight: 600; font-size: 19px; border-left: 4px solid #FF5A1F; padding-left: 14px; margin: 0; }

/* Pricing */
.pricing-line { font-weight: 600; color: #475569; margin-bottom: 20px; }
.cards { display: grid; gap: 18px; }
.card { border-radius: 20px; padding: 22px 20px; background: #FAFAF7; }
.card-main { border: 3px solid #0F172A; }
.card-addon { border: 1px solid #475569; }
.card-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #0E7C66; margin-bottom: 6px; }
.card-price { font-size: 40px; font-weight: 700; line-height: 1; margin-bottom: 14px; }
.card-addon .card-price { font-size: 30px; }
.story-head { font-weight: 700; font-size: 19px; }
.card-desc { color: #0F172A; }
.ticks { list-style: none; display: grid; gap: 8px; margin: 6px 0 18px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 7px;
  height: 12px;
  border: solid #0E7C66;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.buy-box { border-top: 1px solid #475569; padding-top: 14px; margin-top: 8px; }
.final { font-weight: 700; margin-bottom: 6px; }
.cancel { font-size: 14px; color: #475569; }
.buy {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 15px 18px;
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.buy { margin: 0; cursor: default; user-select: none; }
.buy[data-product="49"] { background: #C2410C; color: #FAFAF7; border: 2px solid #C2410C; }
.buy[data-product="19"] { background: transparent; color: #0F172A; border: 2px solid #0F172A; font-size: 16px; min-height: 48px; padding: 12px 16px; }
.license { font-size: 14px; color: #475569; margin-top: 18px; }

/* FAQ */
.qa { border-bottom: 1px solid #475569; padding: 14px 0; }
.qa summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; float: right; color: #FF5A1F; font-weight: 700; }
.qa[open] summary::after { content: "-"; }
.qa p { margin: 10px 0 0; }

/* Free bots (r5d) */
.free-intro { color: #475569; max-width: 40em; margin-bottom: 20px; }
.free-grid { display: grid; gap: 14px; }
.free-bot { border: 1px solid #475569; border-radius: 16px; padding: 18px; background: #FAFAF7; }
.free-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #0E7C66; margin-bottom: 6px; }
.free-bot ol { padding-left: 22px; display: grid; gap: 6px; margin-bottom: 12px; }
.free-note { font-weight: 600; color: #C2410C; }
.credit { font-size: 14px; color: #475569; margin: 0; }
.credit a { color: #C2410C; font-weight: 600; }

/* All sales final */
.final-block h2 { font-size: 22px; }

/* Footer */
.site-footer { padding: 28px 20px 40px; font-size: 14px; color: #475569; text-align: center; }
.site-footer p { margin: 0 0 8px; }
.site-footer .wordmark { color: #0F172A; }
.footer-link { color: #475569; }

/* Delivery pages and guides */
.doc { max-width: 720px; margin: 0 auto; padding: 32px 20px 24px; }
.doc h1 { font-size: 30px; }
.doc h2 { font-size: 22px; margin-top: 30px; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #0E7C66; }
.lede { font-size: 19px; }
.files { list-style: none; display: grid; gap: 12px; margin: 20px 0; }
.file { border: 1px solid #475569; border-radius: 14px; padding: 14px 16px; }
.template-link, .file-link { display: block; font-weight: 700; font-size: 18px; color: #0F172A; }
.template-link { color: #C2410C; }
.file-note { display: block; font-size: 14px; color: #475569; margin-top: 4px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 12px; }
.doc li { margin-bottom: 6px; }
.card-rules { border: 2px solid #0F172A; border-radius: 16px; padding: 16px 18px; }
.stub { color: #475569; }

/* Wider screens */
@media (min-width: 720px) {
  h1 { font-size: 52px; }
  h2 { font-size: 34px; }
  .hero { padding: 72px 0 76px; }
  .block { padding: 64px 0; }
  .get-list, .cards { grid-template-columns: 1fr 1fr; }
  .get-main { grid-column: 1 / -1; }
  .team-grid, .free-grid { grid-template-columns: 1fr 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .team-grid { grid-template-columns: repeat(5, 1fr); }
  .pipeline { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: 3fr 2fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
