/* StenoDesk marketing site — shared styles */
:root{
  --navy:#0e3a5c;
  --brand:#165d93;
  --brand-2:#1f78bd;
  --ink:#14202b;
  --muted:#5b6b78;
  --line:#e3e8ed;
  --bg:#ffffff;
  --bg-soft:#f4f7fa;
  --bg-tint:#eaf1f8;
  --radius:14px;
  --shadow:0 10px 30px rgba(16,45,70,.10);
  --maxw:1120px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
h1,h2,h3{line-height:1.15;letter-spacing:-.02em;margin:0}
p{margin:0}
img{max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.center{text-align:center}

.btn{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:15px;padding:12px 22px;border-radius:10px;border:1px solid transparent;cursor:pointer;transition:transform .12s ease, box-shadow .12s ease, background .12s ease}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-2);transform:translateY(-1px);box-shadow:0 8px 20px rgba(22,93,147,.30)}
.btn-ghost{background:transparent;color:var(--brand);border-color:var(--line)}
.btn-ghost:hover{background:var(--bg-tint);border-color:var(--brand)}
.btn-white{background:#fff;color:var(--brand)}
.btn-white:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(0,0,0,.22)}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand)}

/* Header */
header.site{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.82);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:66px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;letter-spacing:-.02em;color:var(--navy)}
.logo .mark{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,var(--brand),var(--navy));display:grid;place-items:center;color:#fff;font-weight:800;font-size:15px}
.nav-links{display:flex;align-items:center;gap:28px}
.nav-links a{font-size:15px;color:var(--muted);font-weight:500}
.nav-links a:hover,.nav-links a.active{color:var(--ink)}
.nav-cta{display:flex;align-items:center;gap:12px}
@media(max-width:860px){.nav-links{display:none}.nav-cta .btn-ghost{display:none}}

/* Page hero (inner pages) */
.page-hero{background:radial-gradient(1000px 420px at 80% -20%, var(--bg-tint), transparent 60%),linear-gradient(180deg,#fff,var(--bg-soft));border-bottom:1px solid var(--line);padding:64px 0 56px}
.page-hero h1{font-size:46px;font-weight:800;color:var(--navy);max-width:760px}
.page-hero p{font-size:18px;color:var(--muted);margin-top:16px;max-width:620px}
@media(max-width:860px){.page-hero{padding:44px 0 40px}.page-hero h1{font-size:34px}}

/* Home hero */
.hero{position:relative;overflow:hidden;background:radial-gradient(1200px 500px at 80% -10%, var(--bg-tint), transparent 60%),linear-gradient(180deg,#fff, var(--bg-soft))}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;padding:76px 0 70px}
.hero h1{font-size:54px;font-weight:800;color:var(--navy)}
.hero .lead{font-size:19px;color:var(--muted);margin-top:20px;max-width:540px}
.hero-cta{display:flex;gap:14px;margin-top:30px;flex-wrap:wrap}
.hero-note{margin-top:16px;font-size:13px;color:var(--muted)}
.pill{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);color:var(--brand);font-weight:600;font-size:13px;padding:7px 13px;border-radius:999px;box-shadow:var(--shadow)}
.pill .dot{width:7px;height:7px;border-radius:50%;background:#16a34a}
@media(max-width:880px){.hero-grid{grid-template-columns:1fr;padding:52px 0 48px}.hero h1{font-size:40px}}

/* App mock */
.mock{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.mock-top{display:flex;align-items:center;gap:7px;padding:12px 14px;border-bottom:1px solid var(--line);background:var(--bg-soft)}
.mock-top .d{width:11px;height:11px;border-radius:50%;background:#d4dbe2}
.mock-body{padding:18px}
.kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.kpi{border:1px solid var(--line);border-radius:12px;padding:14px}
.kpi .label{font-size:12px;color:var(--muted);font-weight:600}
.kpi .num{font-size:26px;font-weight:800;color:var(--navy);margin-top:4px}
.kpi .tag{display:inline-block;margin-top:6px;font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px}
.tag-red{background:#fde8e8;color:#c0392b}
.tag-green{background:#e6f6ee;color:#1c7a48}
.tag-blue{background:#e7f0fa;color:var(--brand)}
.tag-amber{background:#fdf1dc;color:#b9791a}
.mock-row{display:flex;align-items:center;justify-content:space-between;padding:11px 2px;border-top:1px solid var(--line);font-size:14px}
.mock-row:first-of-type{margin-top:14px}
.mock-row .who{font-weight:600}
.mock-row .meta{color:var(--muted);font-size:12px}
.badge{font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px}

/* Trust strip */
.trust{padding:26px 0;border-bottom:1px solid var(--line)}
.trust .wrap{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:14px;text-align:center}

/* Sections */
section.block{padding:84px 0}
section.block.soft{background:var(--bg-soft)}
.section-head{max-width:720px;margin:0 auto 50px;text-align:center}
.section-head h2{font-size:38px;font-weight:800;color:var(--navy)}
.section-head p{font-size:17px;color:var(--muted);margin-top:14px}
@media(max-width:880px){.section-head h2{font-size:30px}.block{padding:60px 0}}

/* Feature grid */
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:880px){.features{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#cfdceb}
.ic{width:44px;height:44px;border-radius:11px;display:grid;place-items:center;background:var(--bg-tint);color:var(--brand);margin-bottom:16px}
.ic svg{width:22px;height:22px}
.card h3{font-size:18px;font-weight:700;color:var(--navy)}
.card p{font-size:14.5px;color:var(--muted);margin-top:8px}

/* Split highlight */
.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
@media(max-width:880px){.split{grid-template-columns:1fr;gap:28px}}
.checklist{margin-top:22px;display:grid;gap:12px}
.checklist .item{display:flex;gap:12px;align-items:flex-start;font-size:15px}
.checklist .item svg{flex:0 0 auto;width:20px;height:20px;color:#1c7a48;margin-top:1px}
.panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:18px}

/* Proofing demo */
.issue{border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:10px;background:var(--bg-soft)}
.issue:last-child{margin-bottom:0}
.issue .h{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:7px}
.chip{font-size:10.5px;font-weight:700;padding:2px 7px;border-radius:4px;border:1px solid transparent}
.chip-fix{background:#e6f6ee;color:#1c7a48;border-color:#bfe6cf}
.chip-dc{background:#fdf1dc;color:#b9791a;border-color:#f0dcb0}
.chip-loc{background:var(--bg-tint);color:var(--brand)}
.issue .txt{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}
.strike{color:#c0392b}
.ok{color:#1c7a48;font-weight:600}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:step}
@media(max-width:880px){.steps{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.steps{grid-template-columns:1fr}}
.step{position:relative;padding-top:8px}
.step .n{width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800;font-size:15px;margin-bottom:14px}
.step h3{font-size:17px;color:var(--navy)}
.step p{font-size:14px;color:var(--muted);margin-top:7px}

/* Pricing */
.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;align-items:stretch}
@media(max-width:880px){.price-grid{grid-template-columns:1fr}}
.plan{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;display:flex;flex-direction:column}
.plan.feature{border-color:var(--brand);box-shadow:0 14px 40px rgba(22,93,147,.16);position:relative}
.plan h3{color:var(--navy);font-size:20px}
.plan .tagline{font-size:13px;color:var(--muted);min-height:38px;margin-top:6px}
.plan .amt{font-size:34px;font-weight:800;color:var(--navy);margin:12px 0 2px}
.plan .amt small{font-size:14px;font-weight:600;color:var(--muted)}
.plan ul{list-style:none;padding:0;margin:18px 0 22px;display:grid;gap:10px}
.plan li{font-size:14px;color:var(--ink);display:flex;gap:9px}
.plan li svg{width:18px;height:18px;color:var(--brand);flex:0 0 auto}
.ribbon{position:absolute;top:-12px;right:18px;background:var(--brand);color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em;padding:5px 11px;border-radius:999px}

/* FAQ */
.faq{max-width:780px;margin:0 auto;display:grid;gap:12px}
details{border:1px solid var(--line);border-radius:12px;background:#fff;padding:4px 18px}
summary{cursor:pointer;list-style:none;padding:16px 0;font-weight:600;font-size:16px;color:var(--navy);display:flex;justify-content:space-between;align-items:center}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:22px;color:var(--brand);font-weight:400}
details[open] summary::after{content:"\2013"}
details p{padding:0 0 16px;color:var(--muted);font-size:15px}

/* CTA */
.cta{background:linear-gradient(135deg,var(--brand),var(--navy));color:#fff;border-radius:22px;padding:54px 40px;text-align:center;box-shadow:var(--shadow)}
.cta h2{font-size:34px;font-weight:800}
.cta p{margin-top:12px;font-size:17px;color:#d6e6f3;max-width:560px;margin-left:auto;margin-right:auto}
.cta .btn{margin-top:26px}

/* Prose (about / legal) */
.prose{max-width:760px;margin:0 auto}
.prose h2{font-size:26px;color:var(--navy);margin:34px 0 12px}
.prose h3{font-size:19px;color:var(--navy);margin:24px 0 8px}
.prose p{color:var(--ink);font-size:16px;margin:12px 0}
.prose ul{color:var(--ink);font-size:16px;padding-left:20px}
.prose li{margin:7px 0}
.prose .muted{color:var(--muted);font-size:14px}

/* Contact form */
.form{max-width:560px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:28px}
.field{margin-bottom:16px}
.field label{display:block;font-size:13px;font-weight:600;color:var(--ink);margin-bottom:6px}
.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;font-family:inherit;font-size:15px;color:var(--ink);background:#fff}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--bg-tint)}

/* Footer */
footer.site{border-top:1px solid var(--line);padding:46px 0 36px;color:var(--muted);font-size:14px}
.foot{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.foot-links{display:flex;gap:26px;flex-wrap:wrap}
.foot-links a:hover{color:var(--ink)}
.copy{margin-top:26px;font-size:13px;color:#9aa7b2}

/* Submission feedback on the invite form. Empty by default so the space does
   not reserve a visible gap before the first submit. */
.form-status {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
  min-height: 1em;
}
.form-status.is-ok { color: #1a7f5a; }
.form-status.is-error { color: #b4232a; }

/* ── Pre-launch passcode gate ─────────────────────────────────────────
   Marketing pages only; the legal pages are never gated (Google's OAuth
   review reads the published privacy policy). Removed at launch along
   with the gate.js script tags. */
[data-gate] {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #0f2233;
  color: #eef4f8;
}
[data-gate] .gate-card {
  width: 100%;
  max-width: 380px;
  text-align: center;
}
[data-gate] .gate-mark {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #165d93;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}
[data-gate] h1 { font-size: 24px; margin: 0 0 8px; letter-spacing: -0.01em; }
[data-gate] p { font-size: 14px; color: #9db4c4; margin: 0 0 22px; line-height: 1.5; }
[data-gate] .gate-label {
  display: block;
  text-align: left;
  font-size: 12px;
  color: #9db4c4;
  margin-bottom: 6px;
}
[data-gate] input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid #2b4459;
  background: #14293c;
  color: #eef4f8;
  font-size: 15px;
}
[data-gate] input:focus {
  outline: 2px solid #4f9bd4;
  outline-offset: 1px;
  border-color: transparent;
}
[data-gate] button {
  width: 100%;
  margin-top: 12px;
  padding: 11px 16px;
  border: 0;
  border-radius: 8px;
  background: #165d93;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
[data-gate] button:hover { background: #1a6ead; }
[data-gate] .gate-error { color: #f08b8f; font-size: 13px; margin: 12px 0 0; min-height: 1em; }
[data-gate] .gate-foot { font-size: 12px; margin: 22px 0 0; }
[data-gate] .gate-foot a { color: #7fb8e2; }

/* ── Brand lockup ──────────────────────────────────────────────────────
   Replaces the placeholder .mark box (a CSS gradient with the letter "S")
   with the real SVG lockup. Height-constrained with width:auto so the
   6.44:1 artwork never squashes, whatever the container does. */
.logo-img { height: 30px; width: auto; display: block; }
.logo-img-sm { height: 24px; }
@media (max-width: 600px) { .logo-img { height: 26px; } }
