/* SteadyCrew public website. Same colours and fonts as the app. */
:root {
  --ink: #12262d;
  --muted: #4b6068;
  --line: #d3dde0;
  --page: #f5f7f6;
  --card: #ffffff;
  --soft: #eef2f3;
  --teal: #0b6e79;
  --teal-dark: #084f57;
  --teal-soft: #dcefef;
  --gold: #f0b84f;
  --night: #12262d;
  --night-card: #1b3138;
  --night-text: #d3dde0;
  --ok-bg: #dcf0e4; --ok-ink: #16603c;
  --soon-bg: #fbefd2; --soon-ink: #6b4a05;
  --urgent-bg: #fbe3de; --urgent-ink: #8f2c1f;
  --head: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eff1;
    --muted: #a9bcc2;
    --line: #2c444c;
    --page: #0e1d22;
    --card: #15282e;
    --soft: #1d343b;
    --teal: #4fb3bd;
    --teal-dark: #7fcbd2;
    --teal-soft: #173d43;
    --night: #08151a;
    --night-card: #15282e;
    --ok-bg: #173a29; --ok-ink: #9fe0bb;
    --soon-bg: #3d3014; --soon-ink: #f3d48f;
    --urgent-bg: #46201a; --urgent-ink: #f6b4a8;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
}
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 21px; }
.brand svg { flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0 22px; flex: 1 1 auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 10px 0; }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.nav a:hover { color: var(--teal); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 12px; min-height: 44px; border: 1.5px solid transparent; }
.btn-main { background: var(--teal); color: #fff; }
.btn-main:hover { background: var(--teal-dark); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-main, .btn-main:hover { color: #08151a; } }
.btn-line { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn-gold { background: var(--gold); color: #12262d; font-weight: 700; }
.btn-gold:hover { color: #12262d; filter: brightness(1.05); }
.btn-big { padding: 16px 26px; font-size: 18px; }

/* Sections */
section { padding: 80px 0; }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--night); color: #fff; }
.dark .muted, .dark p { color: var(--night-text); }
.intro { display: flex; flex-direction: column; gap: 12px; max-width: 42rem; margin-bottom: 36px; }
.intro h2, h2.big { font-size: clamp(1.9rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
.intro p { font-size: 19px; color: var(--muted); }
.dark .intro p { color: var(--night-text); }
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.grid > * { flex: 1 1 260px; min-width: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.band .card { background: var(--page); }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); }
.row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tag { font-weight: 600; font-size: 13px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag-ok { background: var(--ok-bg); color: var(--ok-ink); }
.tag-soon { background: var(--soon-bg); color: var(--soon-ink); }
.tag-urgent { background: var(--urgent-bg); color: var(--urgent-ink); }

/* Hero */
.hero { background: var(--card); padding: 72px 0 88px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-weight: 600; color: var(--teal); letter-spacing: .02em; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.02em; }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 34rem; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: 15px; }
.ticks li::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.trial-note { margin: -8px 0 0; font-size: 15px; color: var(--muted); }
.cta .trial-note { margin: 0; font-size: 16px; color: #e6f4f4; }
.calls { color: var(--muted); white-space: nowrap; }
.demo { flex: 1 1 400px; min-width: 0; background: #12262d; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.demo-card { background: #fff; color: #12262d; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.demo-card .muted { color: #4b6068; font-size: 15px; }
.demo-sum { background: #eef2f3; border-radius: 10px; padding: 14px; font-size: 15px; }
.demo-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-btns span { font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 8px; background: #dcefef; color: #084f57; }
.demo-btns span:first-child { background: #0b6e79; color: #fff; }
.demo .tag-urgent { background: #fbe3de; color: #8f2c1f; }
.demo-text { align-self: flex-end; max-width: 300px; background: #f0b84f; color: #12262d; border-radius: 14px 14px 4px 14px; padding: 12px 16px; font-size: 15px; }

/* Freedom levels */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 400px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack p { font-size: 19px; color: var(--muted); }
.levels { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.levels li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.levels li span { color: var(--muted); }
.levels li.start { background: var(--teal-soft); border: 2px solid var(--teal); }

/* Steps */
.step { background: var(--night-card); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step b { font-family: var(--head); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.2rem; color: #fff; }

/* Prices */
.price-head { font-size: 1.35rem; margin: 32px 0 14px; }
.price-head:first-of-type { margin-top: 0; }
.price-note { margin-top: 16px; }
.price { font-family: var(--head); font-size: 2rem; font-weight: 700; }

/* Questions */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 20px; color: var(--muted); }

/* Missed-call calculator */
.calc { background: var(--page); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.calc label { font-weight: 600; margin-top: 10px; }
.calc label:first-child { margin-top: 0; }
.calc input, .calc select { font: inherit; width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--muted); border-radius: 10px; background: var(--card); color: var(--ink); }
.calc output { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.calc-note { font-size: 15px !important; }

/* Call to action */
.cta { background: var(--teal); color: #fff; border-radius: 24px; padding: 48px 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.cta p { font-size: 19px; color: #e6f4f4; }
@media (prefers-color-scheme: dark) { .cta { background: #0b5b64; } }

/* Feature filter */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.good { font-size: 15px; background: var(--soft); border-radius: 8px; padding: 10px 12px; color: var(--ink) !important; }

/* Long text pages (privacy, terms) */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.doc h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.doc p, .doc li { margin: 0 0 12px; }
.doc ul { padding-left: 22px; margin: 0 0 12px; }
.note { background: var(--soon-bg); color: var(--soon-ink); border-radius: 12px; padding: 14px 18px; margin: 16px 0 24px; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--card); }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); font-size: 15px; }
th { background: var(--soft); }

/* Footer */
.foot { background: var(--night); color: var(--night-text); }
.foot .wrap { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; }
.foot .who { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.foot .who b { font-family: var(--head); font-size: 20px; color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; }
.foot nav a { color: #fff; padding: 6px 0; }

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding: 44px 0 56px; }
  .wrap { padding: 0 16px; }
  .cta { padding: 32px 22px; }
  .demo { padding: 16px; }
}
