/* WhatTab — shared styles
   Palette locked in DECISIONS.md 2026-08-10 (logo session):
   ink #1C1C1E, cream #F6F1E7, terracotta #C4674E (accent FIELD only, never the icon). */

:root {
  --ink: #1C1C1E;
  --cream: #F6F1E7;
  --terracotta: #C4674E;
  --muted: #6B6862;
  --rule: #E2DACB;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

a { color: var(--ink); text-decoration-color: var(--terracotta); text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }

img { max-width: 100%; height: auto; display: block; }

/* ---------- header ---------- */

header.site {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { font-size: 20px; font-weight: 640; letter-spacing: -0.02em; }

/* ---------- hero ---------- */

.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.tagline {
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 680;
  margin: 0 0 14px;
}
.headline {
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 560;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: var(--ink);
}
.lede { color: var(--muted); margin: 0 0 30px; max-width: 46ch; }

.trustline {
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---------- form ---------- */

.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 460px; }
.signup input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #FFFDF8;
  border: 1.5px solid var(--rule);
  border-radius: 10px;
}
.signup input[type="email"]:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 103, 78, 0.16);
}
.signup button {
  padding: 14px 22px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  background: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  cursor: pointer;
}
.signup button:hover { background: #000; }
.signup button:disabled { opacity: 0.55; cursor: default; }

.formnote { font-size: 14.5px; color: var(--muted); margin: 12px 0 0; max-width: 46ch; }

.formmsg { font-size: 15.5px; margin: 14px 0 0; font-weight: 550; display: none; }
.formmsg.show { display: block; }
.formmsg.ok { color: #2C6E49; }
.formmsg.err { color: #A33B26; }

/* ---------- sections ---------- */

section { padding: 64px 0; }
.eyebrow {
  font-size: 15px;
  font-weight: 640;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 12px;
}
h2.section {
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.028em;
  font-weight: 660;
  margin: 0 0 40px;
  max-width: 20ch;
}

.job { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.job:last-child { margin-bottom: 0; }
.job:nth-child(even) .job-text { order: 2; }
.job h3 {
  font-size: clamp(23px, 2.6vw, 29px);
  letter-spacing: -0.022em;
  font-weight: 640;
  margin: 0 0 12px;
}
.job p { color: var(--muted); margin: 0; }
.job img { border-radius: 12px; border: 1px solid var(--rule); }

/* ---------- trust band ---------- */

.band { background: var(--terracotta); color: var(--cream); }
.band h2.section { color: var(--cream); }
.band a { color: var(--cream); text-decoration-color: rgba(246, 241, 231, 0.6); }
.band a:hover { color: #fff; }

.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 48px; }
.trust-grid h3 { font-size: 20px; font-weight: 640; margin: 0 0 6px; letter-spacing: -0.015em; }
.trust-grid p { margin: 0; color: rgba(246, 241, 231, 0.88); font-size: 17px; }

.band .footnote {
  margin: 42px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(246, 241, 231, 0.28);
  color: rgba(246, 241, 231, 0.88);
  font-size: 16.5px;
  max-width: 68ch;
}

/* ---------- free/pro ---------- */

.tiers { text-align: center; }
.tiers h2.section { margin: 0 auto 16px; max-width: none; }
.tiers p { color: var(--muted); max-width: 60ch; margin: 0 auto; }

/* ---------- closing ---------- */

.closing { border-top: 1px solid var(--rule); text-align: center; }
.closing h2.section { margin: 0 auto 16px; max-width: none; }
.closing p.sub { color: var(--muted); margin: 0 auto 30px; max-width: 52ch; }
.closing .signup { margin: 0 auto; justify-content: center; }
.closing .formnote, .closing .formmsg { margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--rule);
  padding: 40px 0 56px;
  font-size: 15.5px;
  color: var(--muted);
}
footer.site .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

/* ---------- long-form (privacy / support) ---------- */

.doc { padding: 56px 0 72px; }
.doc h1 { font-size: clamp(32px, 4vw, 42px); letter-spacing: -0.03em; font-weight: 680; margin: 0 0 8px; }
.doc .updated { color: var(--muted); font-size: 16px; margin: 0 0 40px; }
.doc h2 { font-size: 25px; letter-spacing: -0.02em; font-weight: 640; margin: 44px 0 12px; }
.doc h3 { font-size: 19.5px; font-weight: 640; margin: 30px 0 8px; }
.doc p, .doc li { color: #35322D; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 7px; }
.doc .callout {
  background: #FFFDF8;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--terracotta);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
}
.doc .callout p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 16.5px; }
.doc th, .doc td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc th { font-weight: 640; }
.doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: #EFE7D8;
  padding: 2px 6px;
  border-radius: 5px;
}
.doc .tablewrap { overflow-x: auto; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero { padding: 52px 0 44px; }
  .hero-grid, .job { grid-template-columns: 1fr; gap: 32px; }
  .job:nth-child(even) .job-text { order: 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 52px 0; }
  .closing .signup { justify-content: stretch; }
}
