/* SyncedCue — marketing site.
   Aluminium page, ink type, and the product's own screens as the only
   colour: tally red and link green live inside the device mockups. */

/* Self-hosted fonts (SIL OFL): no third-party requests, faster first paint */
@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans-ext.woff2') format('woff2');
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* SyncedCue site — v3.
   Light aluminium pages for reading; a dark "desk" band where the product
   lives (stage plots, pricing's main plan, the closing). Color is tally
   only: red = on air, green = linked, amber = cue. One family: Instrument Sans. */

:root {
  --page: #eef0f2;
  --paper: #fbfbfc;
  --ink: #111318;
  --graphite: #2a2f37;
  --muted: #5e6672;
  --rule: #d6dade;
  --desk: #0e1014;
  --desk-2: #15181d;
  --desk-3: #1c2026;
  --desk-line: rgba(255, 255, 255, 0.09);
  --desk-text: #e8eaed;
  --desk-muted: #8a919c;
  --red: #f2453d;
  --green: #22a565;
  --green-lit: #3ccf86;
  --amber: #e9a82b;
  --focus: #2f6fe4;

  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 22px; height: 22px; flex: none; }

/* ── Type ── */
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 720; font-stretch: 115%;
  line-height: 1; letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 700; font-stretch: 112%;
  line-height: 1.06; letter-spacing: -0.025em;
  text-wrap: balance;
}
h3 { font-size: 1.12rem; font-weight: 650; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--graphite); max-width: 36em; line-height: 1.6; }
.muted { color: var(--muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  height: 50px; padding: 0 1.45em;
  border-radius: 11px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  font: 640 1rem/1 var(--font);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 10px 24px -14px rgba(17, 19, 24, 0.8);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #262a31; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: #b9bfc6; box-shadow: none; }
.btn.ghost:hover { background: rgba(17, 19, 24, 0.05); border-color: var(--ink); }
.btn.small { height: 40px; padding: 0 1.05em; font-size: 0.92rem; border-radius: 9px; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.12rem; font-stretch: 110%;
  text-decoration: none; letter-spacing: -0.01em;
}
.brand-mark { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 0.93rem; color: var(--graphite);
  padding: 7px 11px; border-radius: 8px;
}
.nav-links a:hover { background: rgba(17, 19, 24, 0.05); color: var(--ink); }
.nav-links a[aria-current='page'] { color: var(--ink); background: rgba(17, 19, 24, 0.07); font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 18px;
    background: var(--page);
    border-bottom: 1px solid var(--rule);
  }
  .nav-links a { padding: 13px 0; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--rule); }
  .nav-links a:hover, .nav-links a[aria-current='page'] { background: none; }
  .nav.open .nav-links { display: flex; }
  .nav-toggle { display: block; }
  .nav .btn.small { display: none; }
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
  overflow: hidden;
}
.hero::before {
  /* the stage-plot grid, fading out behind the rig */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 19, 24, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 24, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(60% 70% at 75% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 75% 45%, #000 0%, transparent 75%);
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-for {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.95rem; font-weight: 600; color: var(--muted);
}
.hero-for::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(242, 69, 61, 0.15); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-note { font-size: 0.92rem; color: var(--muted); }
.hero-plain { padding-bottom: clamp(24px, 4vw, 48px); }
.hero-plain::before { display: none; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ── The rig: three live screens ── */
.rig { position: relative; aspect-ratio: 1.18; min-height: 380px; }
.dev {
  position: absolute;
  background: #0b0d10; color: var(--desk-text);
  border-radius: 16px;
  border: 1px solid #000;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 40px 70px -28px rgba(17, 19, 24, 0.55),
    0 14px 26px -14px rgba(17, 19, 24, 0.4);
  overflow: hidden;
}
.dev-label {
  position: absolute; bottom: -30px; left: 4px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; color: var(--muted); font-weight: 600; white-space: nowrap;
}
.dev-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.dev-wrap { position: absolute; }
.dev-wrap > .dev { position: relative; }

/* Laptop — Studio */
.dev-studio-wrap { left: 0; top: 0; width: 74%; }
.dev-studio {
  width: 100%; aspect-ratio: 1.55;
  padding: 0;
  display: grid; grid-template-rows: auto 1fr auto;
  background: #0e1014;
}
.studio-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--desk-line); }
.studio-mark { width: 13px; height: 13px; border-radius: 4px; background: #e8eaed; position: relative; }
.studio-mark::after { content: ''; position: absolute; right: 2px; top: 5px; width: 3px; height: 3px; border-radius: 50%; background: var(--red); }
.studio-tabs { display: flex; gap: 2px; margin: 0 auto; }
.studio-tabs span { font-size: 0.6rem; font-weight: 550; padding: 4px 8px; border-radius: 5px; color: #7d8590; }
.studio-tabs span.on { background: rgba(255, 255, 255, 0.08); color: #fff; }
.studio-script {
  margin: 10px 12px; padding: 10px 14px;
  background: #15181d; border: 1px solid var(--desk-line); border-radius: 9px;
  font-size: 0.7rem; line-height: 1.6; color: #b4bac3; overflow: hidden;
}
.studio-script .sec { color: var(--amber); font-weight: 600; font-size: 0.6rem; margin-bottom: 4px; }
.studio-script .now { color: #fff; background: rgba(255, 255, 255, 0.07); border-radius: 3px; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07); }
.studio-bar {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  padding: 8px 12px;
  border-top: 1px solid var(--desk-line);
  background: linear-gradient(#14171c, #101317);
}
.studio-bar button {
  font: 620 0.64rem/1 var(--font);
  height: 26px; padding: 0 10px; border-radius: 7px;
  border: 1px solid var(--desk-line); background: #1b1f25; color: #d4d8de;
  cursor: pointer;
}
.studio-bar button:hover { border-color: rgba(255, 255, 255, 0.22); }
.studio-bar button.stop { width: 26px; padding: 0; position: relative; }
.studio-bar button.stop::before { content: ''; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-radius: 1.5px; background: currentColor; }
.studio-bar button.play { background: #eceef1; color: #0e1014; border-color: #eceef1; min-width: 56px; }
.studio-bar button.play[aria-pressed='true'] { background: var(--red); border-color: var(--red); color: #fff; }
.rig-tally {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 9px; border-radius: 7px;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.04em; color: #8a919c;
  box-shadow: inset 0 0 0 1px var(--desk-line);
}
.rig-tally i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.rig.live .rig-tally { color: #fff; box-shadow: inset 0 0 0 1px rgba(242, 69, 61, 0.6); background: rgba(242, 69, 61, 0.14); }
.rig.live .rig-tally i { background: var(--red); box-shadow: 0 0 8px var(--red); }
.studio-bar .linked { margin-left: auto; display: inline-flex; gap: 2px; }
.studio-bar .linked i { width: 4px; height: 11px; border-radius: 1.5px; background: var(--green-lit); box-shadow: 0 0 6px rgba(60, 207, 134, 0.6); }

/* Tablet — confidence monitor */
.dev-monitor-wrap { right: 0; top: 36%; width: 52%; }
.dev-monitor { width: 100%; aspect-ratio: 1.45; padding: 7px; display: grid; grid-template-rows: 1fr auto; gap: 6px; background: #050607; border-radius: 14px; }
.mon-top { display: grid; grid-template-columns: 1fr 1.25fr; gap: 6px; min-height: 0; }
.mon-panel { background: #0c0e11; border: 1px solid #1a1d22; border-radius: 8px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 6px 6px; min-width: 0; }
.mon-tag { position: absolute; top: 6px; left: 8px; font-size: 0.5rem; font-weight: 600; color: #5b626c; }
.mon-clock { position: absolute; top: 5px; right: 8px; font: 600 0.52rem var(--font); font-stretch: 112%; color: #8d949e; font-variant-numeric: tabular-nums; }
.mon-digits { font: 650 clamp(1.4rem, 3.7vw, 2.45rem)/1 var(--font); font-stretch: 118%; color: var(--red); letter-spacing: -0.03em; text-shadow: 0 0 26px rgba(242, 69, 61, 0.3); font-variant-numeric: tabular-nums; }
.mon-bar { width: 72%; height: 3px; background: #1a1d22; margin-top: 8px; border-radius: 2px; overflow: hidden; }
.mon-bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transition: transform 0.9s linear; }
.mon-now { font-weight: 700; font-size: clamp(0.85rem, 1.8vw, 1.15rem); color: #fff; line-height: 1.1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.mon-next { font-size: 0.56rem; color: #7d8590; text-align: center; margin-top: 3px; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mon-cue { background: #0c0e11; border: 1px solid #1a1d22; border-radius: 8px; text-align: center; padding: 4px 6px 6px; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.mon-cue small { display: block; font-size: 0.48rem; font-weight: 600; color: #5b626c; }
.mon-cue b { font-size: clamp(0.74rem, 1.5vw, 0.98rem); font-weight: 700; font-stretch: 112%; color: #23272d; }
.mon-cue.has { border-color: var(--amber); box-shadow: 0 0 22px -6px rgba(233, 168, 43, 0.55); }
.mon-cue.has b { color: #fff; }
.mon-cue.flash { animation: cueLand 0.6s ease-out; }
@keyframes cueLand { 0% { box-shadow: 0 0 0 4px rgba(233, 168, 43, 0.5); } 100% { box-shadow: 0 0 22px -6px rgba(233, 168, 43, 0.55); } }

/* Phone — prompter */
.dev-phone-wrap { left: 24%; bottom: -9%; width: 21%; }
.dev-phone { width: 100%; aspect-ratio: 0.5; border-radius: 24px; padding: 18% 10% 10%; background: #08090b; border: 3px solid #1c1f24; }
.prompt-view { position: relative; height: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 70%, transparent); }
.prompt-text { font: 600 clamp(0.62rem, 1.25vw, 0.82rem)/1.55 Georgia, 'Times New Roman', serif; color: #8e939b; text-align: center; will-change: transform; }
.prompt-text .now { color: #fff; }
.prompt-cue { position: absolute; left: 0; right: 0; top: 38%; height: 1px; background: linear-gradient(90deg, transparent, rgba(233, 168, 43, 0.75), transparent); }

@media (max-width: 920px) { .rig { aspect-ratio: auto; height: clamp(380px, 96vw, 600px); margin-bottom: 40px; } }
@media (max-width: 520px) {
  .rig { height: 118vw; }
  .dev-studio-wrap { width: 100%; }
  .dev-monitor-wrap { width: 64%; top: 56%; right: 0; }
  .dev-phone-wrap { width: 27%; left: 2%; bottom: 0; }
  .studio-bar button:not(.play):not(.cue1) { display: none; }
  .studio-tabs span:nth-child(n+3) { display: none; }
  .dev-label { display: none; }
}

/* ── Sections ── */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.surface { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(36px, 4.5vw, 56px); }

/* ── Stage plot band (dark) ── */
.plot-band { background: var(--desk); color: var(--desk-text); }
.plot-band .lead { color: var(--desk-muted); }
.plot {
  margin: 0;
  border: 1px solid var(--desk-line);
  border-radius: 20px;
  background: #0b0d10;
  padding: clamp(10px, 2vw, 22px);
  overflow-x: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.plot svg { width: 100%; min-width: 720px; height: auto; font-family: var(--font); }
.plot figcaption {
  display: flex; align-items: center; gap: 10px;
  margin: 12px 6px 4px;
  font-size: 0.9rem; color: var(--desk-muted);
  position: sticky; left: 0;
}
.plot figcaption::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green-lit); box-shadow: 0 0 8px var(--green-lit); flex: none; }
.plot .grid-line { stroke: rgba(255, 255, 255, 0.035); stroke-width: 1; }
.plot .zone rect { fill: rgba(255, 255, 255, 0.015); stroke: rgba(255, 255, 255, 0.11); stroke-width: 1.2; stroke-dasharray: 5 6; }
.plot .zone-stage rect { fill: rgba(255, 255, 255, 0.045); stroke: rgba(255, 255, 255, 0.2); stroke-dasharray: none; }
.plot .zone-booth rect { fill: rgba(255, 255, 255, 0.03); stroke: rgba(255, 255, 255, 0.16); stroke-dasharray: none; }
.plot .zone-table rect { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.16); stroke-dasharray: none; }
.plot .row { stroke: rgba(255, 255, 255, 0.06); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 0.1 22; }
.plot .zone-label { fill: #6d7580; font-size: 14px; font-weight: 600; }
.plot .sig { fill: none; stroke: rgba(255, 255, 255, 0.26); stroke-width: 1.4; stroke-dasharray: 2 6; stroke-linecap: round; }
.plot .pulse { fill: var(--green-lit); filter: drop-shadow(0 0 4px rgba(60, 207, 134, 0.9)); }
.plot .node-halo { fill: #0b0d10; opacity: 0.92; }
.plot .glyph { fill: #15181d; stroke: #d3d7dd; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plot .glyph .g-dim { opacity: 0.45; fill: none; }
.plot .glyph .g-bold { stroke-width: 2.6; fill: none; }
.plot .glyph .g-red { fill: var(--red); stroke: none; }
.plot .glyph .g-green { fill: var(--green-lit); stroke: none; }
.plot .glyph .g-amber { fill: var(--amber); stroke: none; }
.plot .glyph .g-fill { fill: #d3d7dd; stroke: none; }
.plot .glyph path:not([class]) { fill: none; }
.plot .glyph .g-digits { fill: var(--red); stroke: none; font-size: 12px; font-weight: 700; font-stretch: 118%; }
.plot .node-studio .glyph { stroke: #fff; }
.plot .node-studio .node-halo { fill: rgba(242, 69, 61, 0.08); stroke: rgba(242, 69, 61, 0.35); stroke-width: 1; opacity: 1; }
.plot .node-camera .glyph { stroke: #8a919c; }
.plot .node-label { fill: var(--desk-text); font-size: 15px; font-weight: 650; }
.plot .node-sub { fill: var(--desk-muted); font-size: 13px; font-weight: 450; }

/* ── The jobs ── */
.jobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.job { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--rule); }
.job-ico, .use-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 18px -10px rgba(17, 19, 24, 0.7);
  margin-bottom: 6px;
}
.job p { color: var(--graphite); font-size: 0.98rem; }
@media (max-width: 900px) { .jobs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .jobs { grid-template-columns: 1fr; } }

/* ── Pairing steps (a real sequence) ── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; }
.step-art {
  margin: 0 0 8px;
  aspect-ratio: 5 / 3;
  display: grid; place-items: center;
  border: 1px solid var(--rule); border-radius: 16px;
  background:
    linear-gradient(rgba(17, 19, 24, 0.045) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(17, 19, 24, 0.045) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--paper);
  color: var(--ink);
}
.section.surface .step-art { background-color: var(--page); }
.step-art svg { width: 76%; height: auto; }
.step-art .s-dim { opacity: 0.4; }
.step-art .s-ink { stroke-width: 2.4; }
.step-art .s-green { stroke: var(--green); }
.steps h3 { display: flex; align-items: center; gap: 10px; }
.steps h3::before {
  content: counter(step);
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-size: 0.78rem; font-weight: 700;
}
.steps p { color: var(--graphite); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ── A show, start to finish ── */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; position: relative; }
.timeline::before { content: ''; position: absolute; left: 9.5rem; top: 10px; bottom: 10px; width: 1px; background: var(--rule); }
.timeline li { position: relative; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 34px; padding: 16px 0; }
.timeline li::before { content: ''; position: absolute; left: calc(9.5rem - 5px); top: 24px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.timeline li:last-child::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(242, 69, 61, 0.15); }
.timeline .when { font-weight: 650; font-stretch: 110%; padding-top: 1px; }
.timeline p { color: var(--graphite); }
@media (max-width: 640px) {
  .timeline::before { left: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 28px; }
  .timeline li::before { left: 0; }
}

/* ── Who it's for ── */
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--rule); }
.use {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.use-ico { width: 44px; height: 44px; margin: 0; background: var(--page); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.section.surface .use-ico { background: var(--page); }
.use-text { display: grid; gap: 4px; }
.use h3 { font-size: 1.1rem; }
.use p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.use .go { color: var(--muted); transition: transform 0.2s ease, color 0.2s ease; }
.use:hover .go { color: var(--ink); transform: translateX(3px); }
.use:hover .use-ico { background: var(--ink); color: #fff; box-shadow: none; }
@media (max-width: 860px) { .uses { grid-template-columns: 1fr; } }

/* ── Compare ── */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.97rem; }
.compare th, .compare td { text-align: left; padding: 15px 14px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.compare thead th { font-size: 0.9rem; font-weight: 650; color: var(--muted); border-bottom: 1px solid var(--ink); }
.compare thead th:nth-child(2) { color: #fff; background: var(--ink); border-radius: 12px 12px 0 0; }
.compare td:first-child { font-weight: 600; }
.compare td:nth-child(2) { background: rgba(17, 19, 24, 0.045); }
.compare tr:last-child td:nth-child(2) { border-radius: 0 0 12px 12px; }
.compare .yes { color: var(--green); font-weight: 650; }
.compare .yes .ico { display: inline-block; vertical-align: -6px; width: 20px; height: 20px; stroke-width: 2.2; }
.compare .yes span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.table-scroll { overflow-x: auto; }

/* ── Pricing ── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative;
  padding: 30px 28px 28px;
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--rule); border-radius: 18px;
  background: var(--paper);
}
.section.surface .plan { background: #fff; }
.plan.main {
  background: var(--desk); color: #fff; border-color: var(--desk);
  box-shadow: 0 40px 70px -40px rgba(17, 19, 24, 0.9);
}
.plan.main::before {
  content: 'Most teams pick this'; position: absolute; top: -12px; left: 28px;
  height: 24px; padding: 0 10px; border-radius: 6px;
  display: inline-flex; align-items: center;
  background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 650;
}
.plan.main .muted, .plan.main li { color: #b4bac3; }
.plan .price { font-size: 2.8rem; font-weight: 700; font-stretch: 115%; line-height: 1; letter-spacing: -0.03em; }
.plan .price small { font-size: 0.95rem; font-weight: 550; font-stretch: 100%; letter-spacing: 0; color: var(--muted); }
.plan.main .price small { color: #8a919c; }
.plan ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 0.95rem; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ''; flex: none; width: 14px; height: 8px; margin-top: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) scale(0.8); }
.plan.main li::before { border-color: var(--green-lit); }
.plan .btn { margin-top: 10px; width: 100%; }
.plan.main .btn { background: #fff; color: var(--ink); border-color: #fff; }
.plan.main .btn:hover { background: #e6e8eb; }
.plan:not(.main) .btn { background: transparent; color: var(--ink); border-color: #b9bfc6; box-shadow: none; }
.plan:not(.main) .btn:hover { border-color: var(--ink); background: rgba(17, 19, 24, 0.04); }
.plan-note { margin-top: 20px; color: var(--muted); font-size: 0.93rem; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; } .plan.main { order: -1; } }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--rule); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 650; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 11px 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.6px 11px no-repeat;
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--graphite); max-width: 42em; }

/* ── Closing band (dark) ── */
.closing {
  position: relative; overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0;
  background: var(--desk); color: var(--desk-text);
}
.closing::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(50% 80% at 85% 50%, #000, transparent 75%);
  mask-image: radial-gradient(50% 80% at 85% 50%, #000, transparent 75%);
}
.closing .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; }
.closing h2 { max-width: 15em; }
.closing .btn { background: #fff; color: var(--ink); border-color: #fff; }
.closing .btn:hover { background: #e6e8eb; }
.closing .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.closing .btn.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
@media (max-width: 760px) { .closing .wrap { grid-template-columns: 1fr; } }

/* ── Footer ── */
.footer { background: var(--desk); color: var(--desk-muted); border-top: 1px solid var(--desk-line); padding: 44px 0 56px; font-size: 0.92rem; }
.footer .brand { color: #fff; }
.footer .brand-mark rect:first-child { fill: #fff; }
.footer .brand-mark path { stroke: var(--desk); }
.footer .wrap { display: grid; grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr)); gap: 28px; }
.footer nav { display: grid; gap: 9px; align-content: start; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
@media (max-width: 640px) { .footer .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .plot .pulse { display: none; }
}

/* main plan keeps its dark face on any section background */
.plans .plan.main { background: var(--desk); color: #fff; border-color: var(--desk); }

/* ═══ v3.1 — who it's for, founder note, free templates ═══ */
.footer .wrap { grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .wrap { grid-template-columns: 1fr; } }
.footer .founder { margin-top: 12px; font-style: italic; max-width: 26em; }
.forgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.for { padding: 20px; border-radius: 14px; border: 1px solid var(--rule); background: var(--paper); }
.for h3 { margin: 0 0 10px; }
.for ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--graphite); }
.for.not { background: transparent; }
.for.not li { color: var(--muted); }
.for.solo p { margin: 0 0 14px; color: var(--graphite); }
@media (max-width: 860px) { .forgrid { grid-template-columns: 1fr; } }

.tpl-actions { margin-bottom: 22px; }
.tpl-sheet { background: #fff; color: #111; border: 1px solid var(--rule); border-radius: 6px; padding: clamp(18px, 4vw, 40px); max-width: 880px; box-shadow: 0 20px 50px -30px rgba(17, 19, 24, 0.35); }
.tpl-sheet h3 { margin: 22px 0 8px; font-size: 1rem; padding-bottom: 4px; border-bottom: 2px solid #111; }
.tpl-head { display: flex; justify-content: space-between; align-items: stretch; gap: 16px; border-bottom: 3px solid #111; padding-bottom: 12px; margin-bottom: 12px; }
.tpl-head > div:first-child { flex: 1; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: end; }
.tpl-head small, .tpl-grid small { font-size: 0.7rem; font-weight: 700; color: #555; }
.tpl-head b { border-bottom: 1px solid #999; min-height: 1.4em; }
.tpl-call { border: 3px solid #111; padding: 6px 16px; min-width: 140px; display: grid; align-content: start; gap: 30px; text-align: center; }
.tpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #111; }
.tpl-grid div { min-height: 52px; padding: 6px 8px; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; }
.tpl-table { width: 100%; border-collapse: collapse; }
.tpl-table th { text-align: left; font-size: 0.7rem; color: #444; border-bottom: 1.5px solid #111; padding: 6px; }
.tpl-table td { height: 30px; border-bottom: 1px solid #ccc; }
.tpl-notes { min-height: 90px; border: 1px solid #111; }
.tpl-legal { padding: 10px 12px; border-left: 3px solid #e9a82b; background: #fff8e6; font-size: 0.9rem; }
.tpl-line { display: inline-block; min-width: 14em; border-bottom: 1px solid #333; height: 1.1em; vertical-align: bottom; }
.tpl-line.short { min-width: 9em; }
.tpl-sheet p { line-height: 1.9; }
@media (max-width: 600px) { .tpl-grid { grid-template-columns: 1fr 1fr; } .tpl-line { min-width: 8em; } }

/* Printing a template: only the sheet */
@media print {
  .nav, .footer, .hero, .closing, .plot, .tpl-actions, main > .section:not(:has(.tpl-sheet)) { display: none !important; }
  main > .section:has(.tpl-sheet) { padding: 0 !important; background: none !important; border: 0 !important; }
  .tpl-sheet { max-width: none; border: 0; box-shadow: none; padding: 0; }
  .tpl-table td { height: 21px; }
  .tpl-grid div { min-height: 40px; }
  .tpl-head { padding-bottom: 8px; margin-bottom: 8px; }
  .tpl-sheet h3 { margin: 12px 0 6px; }
  .tpl-notes { min-height: 70px; }
  .tpl-legal { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { margin: 12mm; }
}

/* ── Help centre ── */
.help-crumb { display: flex; gap: 8px; align-items: center; padding-top: 18px; font-size: .9rem; color: var(--muted); }
.help-crumb a { color: var(--ink); font-weight: 600; text-decoration: none; }
.help-crumb a:hover { text-decoration: underline; }
.section.help-tour-sec { padding: clamp(20px, 3vw, 36px) 0 0; }
.help-tour { max-width: 880px; }
.help-tour .tour { box-shadow: 0 30px 60px -40px rgba(17, 19, 24, .45); }
.help-tour-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.help-tour-pick button { font: inherit; font-weight: 650; font-size: .95rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; }
.help-tour-pick button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.section.help-article, .section.help-index { padding-top: clamp(36px, 5vw, 64px); }
.help-cols { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.help-main { max-width: 44rem; min-width: 0; }
.help-main h2 { font-size: 1.35rem; margin: 2.2rem 0 1rem; }
.help-main h2:first-child { margin-top: 0; }
.help-steps { list-style: none; margin: 0; padding: 0; counter-reset: hs; display: grid; gap: 18px; }
.help-steps li { counter-increment: hs; position: relative; padding-left: 48px; }
.help-steps li::before { content: counter(hs); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.help-steps h3 { font-size: 1.05rem; margin: 0 0 4px; }
.help-steps p { margin: 0; color: var(--graphite); }
.help-tips { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--graphite); }
.help-main .markup { margin: 0; max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.help-side { position: sticky; top: 90px; border-left: 1px solid var(--rule); padding-left: 24px; }
.help-side h2 { font-size: .95rem; margin: 0 0 10px; color: var(--muted); }
.help-side ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.help-side a { color: var(--ink); font-weight: 600; text-decoration: none; line-height: 1.35; }
.help-side a:hover { text-decoration: underline; }
.help-group + .help-group { margin-top: clamp(32px, 4vw, 52px); }
.help-group h2 { font-size: 1.25rem; margin: 0 0 14px; }
.help-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.help-cards a { display: grid; gap: 6px; height: 100%; padding: 18px 20px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.help-cards a:hover { border-color: var(--ink); transform: translateY(-1px); }
.help-cards strong { font-size: 1.02rem; line-height: 1.3; }
.help-cards span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.help-more { margin-top: 36px; color: var(--muted); }
@media (max-width: 820px) {
  .help-cols { grid-template-columns: 1fr; }
  .help-side { position: static; border-left: 0; border-top: 1px solid var(--rule); padding: 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .help-cards a { transition: none; } }

/* ── Type tuning for Instrument Sans ── */
h1 { font-weight: 650; font-stretch: 100%; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-weight: 640; font-stretch: 100%; letter-spacing: -0.022em; line-height: 1.08; }
h3 { font-weight: 620; letter-spacing: -0.006em; }
.brand { font-weight: 650; font-stretch: 100%; letter-spacing: -0.02em; }
.lead { line-height: 1.62; }
.btn { letter-spacing: -0.005em; }

/* ── Logo: the mark plus a lowercase wordmark ── */
.brand-mark { width: 30px; height: 15px; color: var(--ink); }
.brand-word { font-weight: 620; letter-spacing: -0.03em; text-transform: lowercase; }
.footer .brand-mark, .closing .brand-mark { color: currentColor; }

/* ── About and contact ── */
.prose-narrow { max-width: 42rem; }
.prose-narrow h2 { font-size: 1.5rem; margin: 0 0 14px; }
.prose-narrow h2:not(:first-child) { margin-top: 44px; }
.prose-narrow p { color: var(--graphite); line-height: 1.65; }
.prose-narrow a { color: var(--ink); }
.about-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about-list li { padding-left: 18px; border-left: 2px solid var(--rule); color: var(--graphite); line-height: 1.55; }
.about-list strong { color: var(--ink); display: block; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.contact-card { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; }
.contact-card:hover { border-color: var(--ink); }
.contact-card span { color: var(--muted); }
