/* havn.ai marketing site — brand kit v1.0 palette (branding/README.txt) */

:root {
  --navy: #0C1E33;
  --teal: #117270;
  --teal-light: #1C9E93;
  --canvas: #FAF8F5;
  --sand: #EFE7D8;
  --seafoam: #BFDED9;
  --slate: #5A7078;
  --ink-wash: #16324A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--canvas);
  color: var(--navy);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; }

a { color: var(--teal); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

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

header {
  background: var(--canvas);
  border-bottom: 1px solid var(--sand);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.nav .logo img { height: 34px; display: block; }

.nav nav { display: flex; align-items: center; gap: 24px; }

.nav nav a {
  color: var(--ink-wash);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.nav nav a:hover { color: var(--teal); }

.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.btn:hover { background: var(--teal-light); }

.btn-quiet {
  background: transparent;
  color: var(--teal) !important;
  border: 2px solid var(--teal);
}

.btn-quiet:hover { background: var(--seafoam); }

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

.hero { padding: 88px 0 72px; text-align: center; }

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero h1 em { color: var(--teal); font-style: normal; }

.hero p.sub {
  font-size: clamp(18px, 2.5vw, 21px);
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero .store-note { color: var(--slate); font-size: 15px; }

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

section { padding: 64px 0; }

section.alt { background: #fff; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }

h2.section-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

p.section-sub {
  text-align: center;
  color: var(--slate);
  max-width: 620px;
  margin: 0 auto 44px;
}

/* feature grid */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 26px;
}

section.alt .card { background: var(--canvas); }

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--seafoam);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }

.card p { color: var(--slate); font-size: 16px; }

/* steps */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: step; }

.step { text-align: center; padding: 10px 18px; }

.step .num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 19px;
}

.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--slate); font-size: 16px; }

/* trust list */

.trust-list { max-width: 680px; margin: 0 auto; display: grid; gap: 14px; }

.trust-list li {
  list-style: none;
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
}

.trust-list li::before { content: "✓"; color: var(--teal); font-weight: 800; }

/* waitlist */

.waitlist { text-align: center; background: var(--navy); color: var(--canvas); }

.waitlist h2 { color: #fff; }

.waitlist p { color: var(--seafoam); max-width: 560px; margin: 0 auto 28px; }

/* ---------- inner pages (legal/support) ---------- */

.page { padding: 56px 0 72px; max-width: 760px; margin: 0 auto; }

.page h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; margin-bottom: 6px; }

.page .updated { color: var(--slate); font-size: 15px; margin-bottom: 36px; }

.page h2 { font-size: 22px; font-weight: 700; margin: 36px 0 10px; }

.page h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }

.page p, .page li { color: var(--ink-wash); margin-bottom: 12px; }

.page ul { padding-left: 22px; margin-bottom: 12px; }

.page .callout {
  background: var(--sand);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}

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

footer {
  background: var(--navy);
  color: var(--seafoam);
  padding: 44px 0 36px;
  font-size: 15px;
}

footer .foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

footer .foot-top img { height: 28px; }

footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

footer nav a { color: var(--canvas); text-decoration: none; font-weight: 600; }

footer nav a:hover { color: var(--teal-light); }

footer .disclaimer {
  border-top: 1px solid rgba(250, 248, 245, 0.15);
  padding-top: 20px;
  max-width: 860px;
  line-height: 1.55;
}

footer .copyright { margin-top: 14px; color: rgba(191, 222, 217, 0.7); }

@media (max-width: 560px) {
  .nav nav { gap: 14px; }
  .hero { padding: 56px 0 48px; }
  section { padding: 48px 0; }
}
