/* sales-man landing site — same tokens as the web app, marketing layout. */
:root {
  color-scheme: light dark;

  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-200: #99f6e4;
  --brand-400: #2dd4bf;
  --brand-600: #0d9488;
  --brand-700: #0f766e;
  --brand-900: #134e4a;

  --amber-100: #fef3c7;
  --amber-700: #b45309;

  --bg: #ffffff;
  --bg-alt: #f5faf9;
  --surface: #ffffff;
  --border: #dfe7e7;
  --text: #10201f;
  --text-muted: #556968;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-md: 0 6px 24px rgb(16 32 31 / 8%);
  --shadow-lg: 0 24px 60px rgb(16 32 31 / 12%);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1413;
    --bg-alt: #101d1c;
    --surface: #121f1e;
    --border: #23403d;
    --text: #e8f2f1;
    --text-muted: #9bb0ae;
    --amber-100: #3a2c0d;
    --amber-700: #fbbf24;
    --shadow-md: 0 8px 24px rgb(0 0 0 / 40%);
    --shadow-lg: 0 24px 60px rgb(0 0 0 / 50%);
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

a { color: var(--brand-700); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: var(--brand-400); } }

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

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }

.site-header nav a {
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 10px;
}

.site-header nav a:hover { color: var(--text); background: var(--bg-alt); }

@media (max-width: 560px) {
  .site-header nav a.hide-sm { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 650;
  color: #fff;
  background: var(--brand-700);
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease;
}

.btn:hover { background: var(--brand-600); }
.btn:active { transform: translateY(1px); }

.btn.ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
}
.btn.ghost:hover { background: var(--bg-alt); }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
}

/* ---------- Hero ---------- */

.hero { padding: 56px 0 24px; }

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--brand-900);
  background: var(--brand-100);
  border-radius: 999px;
}

@media (prefers-color-scheme: dark) {
  .hero .eyebrow { color: var(--brand-200); background: #16302e; }
}

.hero p.lede {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  color: var(--text-muted);
}

.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hero .fineprint { margin-top: 14px; font-size: 0.9rem; color: var(--text-muted); }

.hero-grid { display: grid; gap: 32px; align-items: center; }
/* Grid children default to min-width:auto, so the 1280px-wide screenshot would
   otherwise push the whole hero past the viewport on a phone. */
.hero-grid > * { min-width: 0; }

@media (min-width: 900px) {
  .hero { padding: 80px 0 40px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}

.hero-mascot { width: min(240px, 60%); margin: 0 auto; display: block; }

.shot {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--surface);
}

.shot img { display: block; width: 100%; }

/* ---------- Sections ---------- */

section { padding: 40px 0; }
section.alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .grid.two { grid-template-columns: repeat(2, 1fr); } }

.card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.card .icon { font-size: 1.6rem; line-height: 1; display: block; margin-bottom: 10px; }

.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }

ul.checks { list-style: none; margin: 0 0 1em; padding: 0; }
ul.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
ul.checks li::before,
ol.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--brand-600);
}

ol.checks { list-style: none; margin: 0 0 1em; padding: 0; }
ol.checks li { position: relative; padding-left: 28px; }
/* Numbered steps read as paragraphs, so they need real separation. */
ol.checks.steps li { margin-bottom: 14px; }

/* ---------- Pricing ---------- */

.price-card { max-width: 440px; margin: 0 auto; text-align: center; }
.price-card .amount { font-size: 3rem; font-weight: 750; letter-spacing: -0.03em; }
.price-card .amount span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-card ul.checks { text-align: left; margin-top: 20px; }

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 650;
  border-radius: 999px;
  background: var(--amber-100);
  color: var(--amber-700);
}

/* ---------- FAQ ---------- */

details {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
details + details { margin-top: 10px; }
summary { font-weight: 650; cursor: pointer; }
summary::marker { color: var(--brand-600); }
details[open] summary { margin-bottom: 8px; }
details p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */

label { display: block; font-weight: 650; font-size: 0.9rem; margin-bottom: 6px; }

input[type="text"], input[type="email"], textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

textarea { min-height: 140px; resize: vertical; }
.field + .field { margin-top: 14px; }

/* ---------- Legal pages ---------- */

.legal { padding: 40px 0 64px; }
.legal h2 { margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.legal th, .legal td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 0.92rem;
}

.site-footer .cols { display: grid; gap: 22px; }
@media (min-width: 720px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }

.site-footer h4 { margin: 0 0 8px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal-line { margin-top: 26px; color: var(--text-muted); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--brand-700);
  color: #fff;
  z-index: 100;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
