/* Stranza marketing site — Direction A tokens, marketing-scale extensions.
   Light/dark via prefers-color-scheme only: a marketing page has no session
   to remember a toggle in, and a toggle costs JS plus a wrong-theme flash. */

:root {
  --bg: #ffffff;
  --raised: #fafafa;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --text: #09090b;
  --muted: #52525b;
  --faint: #71717a;
  --ghost: #a1a1aa;
  --accent: #4f46e5;
  --accent-ink: #ffffff;
  --accent-soft: #eef2ff;
  --red: #dc2626;
  --amber: #d97706;
  --green: #16a34a;
  --radius: 6px;
  --container: 1040px;
  --container-narrow: 720px;
  --section-y: 84px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --raised: #18181b;
    --border: #27272a;
    --border-strong: #3f3f46;
    --text: #fafafa;
    --muted: #a1a1aa;
    --faint: #8b8b93;
    --ghost: #71717a;
    --accent: #6366f1;
    --accent-ink: #ffffff;
    --accent-soft: #1e1b4b;
    --red: #f87171;
    --amber: #fbbf24;
    --green: #4ade80;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.022em;
  text-wrap: pretty;
  font-weight: 650;
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 100;
  transition: top 0.15s;
}
.skip:focus {
  top: 12px;
}

.inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.inner.narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--section-y) 0;
}
.band {
  background: var(--raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

section > .inner > h2,
.band > .inner > h2 {
  font-size: clamp(25px, 3.4vw, 34px);
}
.section-lede {
  font-size: 17px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 62ch;
}
.closer {
  margin-top: 34px;
  font-size: 18px;
  font-weight: 550;
  text-align: center;
}
.closer.quiet {
  font-size: 15px;
  font-weight: 400;
  color: var(--faint);
}

/* ---------- logo ---------- */
.mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 0 6px;
  flex: none;
}
.mark i {
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  display: block;
  width: 100%;
}
.mark i:nth-child(2) {
  width: 70%;
}
.mark i:nth-child(3) {
  width: 42%;
}
.mark.sm {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  gap: 2px;
  padding: 0 4px;
}
.mark.sm i {
  height: 1.8px;
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
}
.site-head.stuck {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-head .bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.site-head nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14.5px;
  color: var(--muted);
}
.site-head nav a:hover {
  color: var(--text);
}
.site-head .divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}
.site-head .signin {
  color: var(--text);
  font-weight: 500;
}
.head-cta {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
}
.head-cta[hidden] {
  display: none;
}
@media (max-width: 680px) {
  .site-head nav a[href="#how"],
  .site-head nav a[href="#compared"],
  .site-head nav a[href="#faq"],
  .site-head nav a[href="#contact"],
  .site-head .divider {
    display: none;
  }
  .site-head nav {
    gap: 14px;
  }
}

/* ---------- hero ---------- */
.hero {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 88px 24px 76px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  font:
    600 12px/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero h1 {
  font-size: clamp(33px, 6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin-top: 18px;
}
.lede {
  font-size: clamp(17px, 2.3vw, 20px);
  color: var(--muted);
  margin-top: 18px;
  max-width: 34ch;
}
.fineprint {
  font-size: 13px;
  color: var(--faint);
  margin-top: 12px;
  max-width: 52ch;
}
@media (max-width: 640px) {
  .hero {
    padding: 56px 24px 52px;
  }
}

/* ---------- waitlist form ---------- */
.waitlist {
  margin-top: 30px;
  width: 100%;
  max-width: 480px;
}
.waitlist > input,
.waitlist > button {
  font: inherit;
  font-size: 15px;
}
.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.waitlist input {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 11px 14px;
  background: var(--bg);
  color: var(--text);
  min-width: 0;
}
.waitlist input::placeholder {
  color: var(--ghost);
}
.waitlist input[aria-invalid="true"] {
  border-color: var(--red);
}
.waitlist button {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: var(--radius);
  padding: 11px 18px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.waitlist button:hover {
  filter: brightness(1.08);
}
.waitlist button:disabled {
  opacity: 0.65;
  cursor: default;
  filter: none;
}
.form-msg {
  grid-column: 1 / -1;
  font-size: 13.5px;
  color: var(--muted);
  text-align: left;
  min-height: 0;
}
.form-msg:empty {
  display: none;
}
.form-msg.error {
  color: var(--red);
}
.form-msg.ok {
  color: var(--green);
}
.form-msg.notice {
  color: var(--amber);
}
.waitlist.done {
  display: block;
}
@media (max-width: 460px) {
  .waitlist {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- six weeks ---------- */
.timejump {
  margin-top: 44px;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 860px) {
  .timejump {
    grid-template-columns: minmax(0, 1fr);
  }
}
.panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.stamp {
  font:
    600 11px/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--faint);
}
.caption {
  font-size: 14px;
  color: var(--muted);
}
.jump {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--faint);
  font:
    600 10.5px/1 ui-monospace,
    Menlo,
    monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .jump {
    flex-direction: row;
    padding: 4px 0;
  }
}

/* ---------- product mocks ---------- */
.mock {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
  font-size: 14px;
}
.qa-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qa-text {
  flex: 1;
  min-width: 0;
}
.chip {
  font-size: 11.5px;
  color: var(--faint);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}
.qa-keys {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--ghost);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
kbd {
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0 4px;
  color: var(--muted);
}
.brief-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
}
.resurface-label {
  margin-top: 14px;
  font:
    600 10.5px/1 ui-monospace,
    Menlo,
    monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.resurface-item {
  margin-top: 8px;
  font-weight: 550;
}
.resurface-why {
  margin-top: 5px;
  font-size: 13px;
  color: var(--muted);
}
.resurface-actions {
  margin-top: 13px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
}
.btn-quiet {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--muted);
}
.detail-title {
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.detail-rows {
  margin-top: 4px;
}
.detail-rows > div {
  display: grid;
  grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.detail-rows > div:last-child {
  border-bottom: 0;
}
.detail-rows dt {
  color: var(--faint);
}
.push-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.push-head b {
  font-weight: 600;
}
.push-time {
  margin-left: auto;
  color: var(--ghost);
  font-size: 12px;
}
.push-body {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.push-list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
}
.push-list .t {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  margin-right: 6px;
}
.tag {
  font:
    600 10px/1 ui-monospace,
    Menlo,
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 5px;
  border-radius: 3px;
  margin-right: 7px;
  border: 1px solid var(--border);
  color: var(--faint);
  white-space: nowrap;
}
.tag.due {
  color: var(--red);
}
.tag.rev {
  color: var(--accent);
}
.inbox-input {
  color: var(--ghost);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.inbox-list {
  list-style: none;
  margin-top: 4px;
}
.inbox-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.inbox-list li:last-child {
  border-bottom: 0;
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  margin-top: 34px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  counter-reset: step;
}
.steps li {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.band .steps li {
  background: var(--bg);
}
.steps .n {
  font:
    600 11px/1 ui-monospace,
    Menlo,
    monospace;
  color: var(--accent);
}
.steps b {
  font-size: 15px;
  font-weight: 600;
}
.steps .d {
  font-size: 13.5px;
  color: var(--muted);
}
.loop-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}

/* ---------- split sections ---------- */
.split {
  display: grid;
  gap: 44px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .split.reverse .copy {
    order: -1;
  }
}
.split .copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}
.split .copy .pull {
  color: var(--text);
  font-weight: 500;
}
.split .copy .also {
  font-size: 13.5px;
  color: var(--faint);
}

/* ---------- statement ---------- */
.statement {
  text-align: center;
}
.statement h2 {
  font-size: clamp(23px, 3vw, 30px);
}
.statement p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
}

/* ---------- comparison ---------- */
.table-scroll {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.compare {
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
  font-size: 14px;
}
.compare th,
.compare td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare thead th {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}
.compare thead th.me {
  color: var(--text);
}
.compare tbody th {
  font-weight: 500;
  color: var(--faint);
}
.compare .me {
  background: var(--raised);
  color: var(--text);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- cards ---------- */
.cards {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.cards li {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}
.band .cards li {
  background: var(--bg);
}
.cards h3 {
  font-size: 15px;
}
.cards p {
  margin-top: 7px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- faq ---------- */
.faq {
  margin-top: 30px;
}
.qa {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.qa h3 {
  font-size: 16px;
}
.qa p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- final ---------- */
.final {
  text-align: center;
}
.final h2 {
  font-size: clamp(25px, 3.6vw, 34px);
}
.final .waitlist {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.final .fineprint {
  margin-left: auto;
  margin-right: auto;
}
.cta-inline {
  display: inline-block;
  margin-top: 18px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 11px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
}
.band .inner > .cta-inline {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
}
.platform-slot {
  display: contents;
}

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--border);
  padding: 34px 0;
}
.site-foot .bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-foot nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}
.site-foot nav a:hover {
  color: var(--text);
}
.site-foot .copy-line {
  font-size: 13px;
  color: var(--ghost);
  margin-left: auto;
}

/* ---------- contact ---------- */
.contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 11px 14px;
  width: 100%;
  min-width: 0;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--ghost);
}
.contact-form [aria-invalid="true"] {
  border-color: var(--red);
}
.counter {
  font-size: 12px;
  color: var(--ghost);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.contact-form button {
  align-self: flex-start;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: var(--radius);
  padding: 11px 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.contact-form button:hover {
  filter: brightness(1.08);
}
.contact-form button:disabled {
  opacity: 0.65;
  cursor: default;
  filter: none;
}
.contact-form.done {
  gap: 0;
}
