/* Steersmith site styles. Brand colours from marketing/website-brief.md.
   Contrast rules: plain copper is never used for text on light backgrounds
   (use --copper-deep), and copper buttons always get navy text. */
:root {
  --navy: #1F3A5F;
  --copper: #E0904F;
  --copper-deep: #9A4F1C;
  --cream: #F6EFE6;
  --copper-tint: #FBE9DC;
  --ink: #1B2733;
  --slate: #5B6672;
  --sand: #E6DED3;
  --white: #ffffff;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--copper-deep); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 16px; font-weight: 600; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 14px; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; background: var(--copper-tint); color: var(--copper-deep); padding: 1px 6px; border-radius: 4px; font-size: .88em; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--slate); }
.fine { font-size: .85rem; color: var(--slate); }
.section { padding: 64px 0; }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: var(--cream); }
.section.navy h2, .section.navy h3 { color: var(--white); }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.badge { display: inline-block; background: var(--copper-tint); color: var(--copper-deep); font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn { display: inline-block; font-weight: 700; text-decoration: none; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: var(--sans); transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: #2B4C78; border-color: #2B4C78; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--sand); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links .btn { padding: 9px 18px; font-size: .9rem; }

/* Hero */
.hero { padding: 88px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); max-width: 900px; margin: 0 auto 22px; }
.hero h1 em { font-style: normal; color: var(--copper-deep); display: block; }
.hero .lead { margin: 0 auto 32px; }
.hero .video { max-width: 860px; margin: 56px auto 0; }
.hero-link { margin: 16px 0 0; font-size: .95rem; }
.hero-link a { color: var(--slate); text-decoration: none; font-weight: 500; }
.hero-link a:hover { color: var(--copper-deep); text-decoration: underline; }

/* Video slots */
.video { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--cream); border: 1px solid var(--sand); }
.video iframe { width: 100%; height: 100%; border: 0; }
.video-ph { height: 100%; display: grid; place-items: center; color: var(--slate); font-weight: 500; text-align: center; padding: 12px; }
.video-ph span { display: inline-flex; align-items: center; gap: 10px; }
.video-ph span::before { content: ""; width: 0; height: 0; border-left: 14px solid var(--copper); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }

/* Sound familiar */
.ritual { counter-reset: step; list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.ritual li { counter-increment: step; background: var(--white); border: 1px solid var(--sand); border-radius: 12px; padding: 14px 18px 14px 60px; position: relative; }
.ritual li::before { content: counter(step); position: absolute; left: 16px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--copper-tint); color: var(--copper-deep); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.ritual li:last-child { border-color: var(--copper); font-weight: 600; color: var(--navy); }
.closer { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); }

/* Hired to analyse */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.aside-card { background: rgba(255,255,255,.07); border: 1px solid rgba(246,239,230,.25); border-left: 4px solid var(--copper); border-radius: 12px; padding: 24px; }
.aside-card strong { color: var(--copper); }
.section.navy p { color: var(--cream); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.step { border: 1px solid var(--sand); border-radius: 14px; padding: 28px; background: var(--white); }
.step-num { width: 40px; height: 40px; border-radius: 10px; background: var(--copper-tint); color: var(--copper-deep); font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.step p { color: var(--slate); margin: 0; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.feature:nth-child(even) .video { order: 2; }
.feature h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.feature p { color: var(--slate); font-size: 1.05rem; }

/* Origin story */
.story blockquote { margin: 0; font-size: 1.15rem; }
.story blockquote p { color: var(--ink); }

/* Trust strip */
.trust-heading { margin-bottom: 36px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trust h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.trust p { color: var(--slate); margin: 0; }
.trust-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--copper); display: grid; place-items: center; margin-bottom: 14px; }

/* Works with */
.works { display: flex; justify-content: center; gap: 72px; flex-wrap: wrap; text-align: left; margin: 32px 0 24px; }
.works h3 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); margin-bottom: 10px; }
.works ul { list-style: none; padding: 0; margin: 0; }
.works li { padding: 5px 0; font-weight: 600; color: var(--navy); }
.works li.soon { color: var(--slate); font-weight: 400; }
.planned { font-size: .78rem; color: var(--slate); margin-left: 6px; font-style: italic; }
.soon-tag { font-size: .72rem; background: var(--copper-tint); color: var(--copper-deep); padding: 2px 8px; border-radius: 999px; margin-left: 6px; font-weight: 600; }

/* Pricing */
.price-card { max-width: 560px; margin: 32px auto 0; background: var(--white); border: 1px solid var(--sand); border-radius: 18px; padding: 36px; box-shadow: 0 10px 30px rgba(31,58,95,.07); }
.no-sales { font-weight: 600; color: var(--navy); margin: 0 0 22px; }
.price-card .big { font-family: var(--serif); font-size: 2rem; color: var(--navy); margin-bottom: 8px; }

/* Form */
.signup { max-width: 560px; margin: 32px auto 0; background: var(--white); color: var(--ink); border-radius: 18px; padding: 32px; text-align: left; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--sand); border-radius: 10px; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--navy); outline: 2px solid var(--copper-tint); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.signup .btn { width: 100%; margin-top: 4px; }
.section.navy .signup p { color: var(--slate); }
.section.navy .signup .thanks p { color: var(--ink); }
.section.navy .signup .thanks .fine { color: var(--slate); }
.section.navy .signup h3 { color: var(--navy); }
.section.navy .signup .form-error { color: #a8261c; }
.section.navy .signup a { color: var(--copper-deep); }
section[id] { scroll-margin-top: 64px; }
.form-note { font-size: .85rem; color: var(--slate); margin: 14px 0 0; }
.form-error { color: #a8261c; font-size: .9rem; margin: 10px 0 0; }
.thanks { text-align: center; padding: 12px 4px; }
.followup { text-align: left; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--sand); }
.field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--sand); border-radius: 10px; color: var(--ink); resize: vertical; }
.field textarea:focus { border-color: var(--navy); outline: 2px solid var(--copper-tint); }
.followup .form-note { margin-top: 6px; }
.followup .btn { width: auto; padding: 10px 24px; }
.section.navy .signup .followup-done { color: var(--navy); font-weight: 600; margin-top: 16px; }
.thanks h3 { font-size: 1.6rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--sand); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--copper-deep); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); margin: 10px 0 0; }

/* Closing CTA */
.closing h2 { margin-bottom: 6px; }
.closing .sub { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--copper); margin-bottom: 28px; }

/* Footer */
.foot { border-top: 1px solid var(--sand); padding: 40px 0 28px; font-size: .95rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.foot p { margin: 4px 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--slate); text-decoration: none; }
.foot nav a:hover { color: var(--copper-deep); }
.foot .copy { margin-top: 24px; }

/* Legal / document pages */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { font-size: 1.4rem; margin-top: 36px; }
.doc li { margin-bottom: 6px; }
.doc .placeholder { background: var(--copper-tint); color: var(--copper-deep); padding: 0 4px; border-radius: 3px; }

/* Beta page */
.gate { max-width: 440px; margin: 0 auto; background: var(--cream); border: 1px solid var(--sand); border-radius: 18px; padding: 32px; }
.agreement-box { max-height: 460px; overflow-y: auto; border: 1px solid var(--sand); border-radius: 12px; padding: 8px 24px; background: var(--white); margin: 20px 0; }
.agreement-box h1 { font-size: 1.5rem; margin-top: 16px; }
.agreement-box h2 { font-size: 1.15rem; margin-top: 24px; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); margin: 16px 0 20px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; }
[hidden] { display: none !important; }

/* Phone */
@media (max-width: 820px) {
  .section { padding: 44px 0; }
  .split, .feature, .steps, .trust { grid-template-columns: 1fr; gap: 24px; }
  .feature { padding: 24px 0; }
  .feature:nth-child(even) .video { order: 0; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 56px 0 40px; }
  .signup, .price-card, .gate { padding: 24px; }
  .works { gap: 32px; justify-content: flex-start; }
}
