/* MeetHawk landing, warm editorial
   Direction: Anthropic × Basecamp × Kagi. Warm cream ground, burnt-orange
   accent, Instrument Serif display + Inter body. Candid voice.
   Fonts are loaded via <link rel="stylesheet"> in each HTML <head>. */

:root {
  /* Warm editorial palette */
  --bg: #f5f1ea;            /* page ground, warm cream */
  --bg-tint: #efeae1;       /* section banding */
  --surface: #ffffff;       /* card / elevated surface */
  --surface-soft: #fbf8f2;  /* soft card on cream */
  --border: #e5dfd3;
  --border-strong: #d7cfbf;

  --text: #1f1d1a;          /* near-black, warm tone */
  --text-soft: #3e3b36;
  --muted: #6b655c;
  --muted-dim: #8e8776;

  --accent: #c2410c;        /* burnt orange, single accent */
  --accent-ink: #9a3612;    /* darker for hover */
  --accent-soft: rgba(194, 65, 12, 0.08);
  --accent-border: rgba(194, 65, 12, 0.32);

  --rule: rgba(31, 29, 26, 0.12);

  --green: #4d7c0f;         /* olive, warm-palette-safe success */
  --amber: #b45309;

  --radius: 10px;
  --radius-lg: 16px;
  --max: 1120px;

  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype",
                "Source Serif 4", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular",
               Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
@media (max-width: 600px) {
  body { font-size: 16px; }
}

/* ── Shared primitives ── */
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible,
details > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.rule { border: 0; height: 1px; background: var(--rule); margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--muted);
}

h1, h2, h3 { letter-spacing: -0.015em; color: var(--text); }

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.display em {
  font-style: italic;
  color: var(--accent);
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg { width: 26px; height: 26px; display: block; }

.nav-links {
  display: flex;
  gap: 1.75rem;
  flex: 1;
}
.nav-links a {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 120ms ease;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta { display: flex; gap: 0.6rem; align-items: center; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease,
              color 120ms ease, transform 80ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }

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

.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }

/* ── Sections ── */
section { padding: 5rem 0; }
section.tight { padding: 3.5rem 0; }
section.banded { background: var(--bg-tint); }

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-head p {
  color: var(--text-soft);
  font-size: 1.02rem;
}
.section-head h2 em {
  color: var(--accent);
  font-style: italic;
}

/* ── Hero ── */
.hero {
  padding: 4rem 0 3rem;
  position: relative;
}
.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: left;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-dim);
}

/* ── Demo frame ── */
.demo-wrap {
  max-width: 980px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
}
.demo-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  box-shadow: 0 30px 60px -30px rgba(31, 29, 26, 0.18),
              0 4px 14px -4px rgba(31, 29, 26, 0.08);
  position: relative;
}
.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.6rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.demo-dots { display: flex; gap: 0.3rem; }
.demo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-strong);
}
.demo-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
}
.demo-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 1rem;
}

/* ── Persona row ── */
.persona-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  max-width: 840px;
  margin: 0 auto;
}
.persona {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.persona strong {
  display: block;
  font-weight: 600;
  font-size: 0.96rem;
  margin-bottom: 0.2rem;
}
.persona span { color: var(--muted); font-size: 0.86rem; }

/* ── Cheating section ── */
.cheating {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 2.25rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.cheating::before {
  content: "";
  position: absolute;
  left: 2.25rem;
  top: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  transform: translateY(-1.5px);
}
.cheating h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}
.cheating p {
  color: var(--text-soft);
  margin-bottom: 0.85rem;
}
.cheating p:last-child { margin-bottom: 0; }
.cheating em { color: var(--accent); font-style: italic; }

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.step {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.step p { color: var(--text-soft); font-size: 0.95rem; }

/* ── Honest limitations ── */
.limitations {
  max-width: 780px;
  margin: 0 auto;
}
.limit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.limit-item:last-child { border-bottom: 0; }
.limit-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.15rem;
  white-space: nowrap;
  min-width: 84px;
}
.limit-body strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.limit-body span { color: var(--text-soft); font-size: 0.95rem; }

/* ── Reference offer (replaces testimonials) ── */
.reference {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.reference blockquote {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.reference cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}
.reference-note {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.reference-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ── Pricing inline card ── */
.price-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
}
.price-amount {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.price-amount .per {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.25rem;
}
.price-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.price-bullets {
  list-style: none;
  text-align: left;
  margin: 0 0 1.75rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.price-bullets li {
  padding: 0.35rem 0;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}
.price-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.price-card .btn { width: 100%; }
.price-small {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ── FAQ ── */
.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 1.2rem 0;
}
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform 160ms ease;
}
.faq details[open] summary::after { content: "−"; color: var(--accent); }
.faq details p {
  margin-top: 0.75rem;
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* ── CTA band ── */
.cta-band {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.cta-band p { color: var(--text-soft); margin-bottom: 1.75rem; }

/* ── Footer ── */
.footer {
  background: var(--bg-tint);
  border-top: 1px solid var(--rule);
  padding: 4rem 0 2.5rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-grid p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 320px;
  margin-top: 0.8rem;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  color: var(--text-soft);
  font-size: 0.93rem;
  transition: color 120ms ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── Legal / security shared ── */
.doc-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.doc-wrap h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.doc-wrap > p:first-of-type {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.doc-wrap h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.4rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
}
.doc-wrap p { color: var(--text-soft); margin-bottom: 1rem; }
.doc-wrap a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.doc-wrap code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface-soft);
  padding: 0.08em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.doc-wrap ul { margin-bottom: 1rem; padding-left: 1.25rem; color: var(--text-soft); }
.doc-wrap li { margin-bottom: 0.35rem; }

/* ── Security wire diagram ── */
.wire {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.wire-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.wire-box strong {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.wire-box.local { background: var(--surface-soft); border-color: var(--accent-border); }
@media (max-width: 700px) { .wire { grid-template-columns: 1fr; } }

/* ── Download page specific ── */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 780px;
  margin: 2.5rem auto 0;
}
@media (max-width: 640px) { .dl-grid { grid-template-columns: 1fr; } }
.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
}
.dl-card.soft { background: var(--surface-soft); opacity: 0.9; }
.dl-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
.dl-card .os-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.dl-card .btn { width: 100%; }
.dl-card .meta {
  display: flex;
  justify-content: center;
  gap: 0.6rem 1rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.dl-card .candid {
  margin-top: 1rem;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.5;
  text-align: left;
  padding: 0.85rem 1rem;
  background: var(--bg-tint);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

/* ── A11y / motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print (nobody prints marketing pages, but keep it sane) */
@media print {
  body { background: #fff; color: #000; }
  .nav, .footer, .cta-band { display: none; }
}
