/* Harbor landing — framework-free, responsive, a11y-conscious.
   Visual identity (color/type) is intentionally restrained placeholder styling;
   it is meant to be replaced when the real brand assets land. */

:root {
  --bg: #0b1622;
  --bg-soft: #11202f;
  --surface: #16273a;
  --text: #eaf1f8;
  --text-soft: #a9bccf;
  --accent: #ffc857;        /* warm "beam" accent — placeholder */
  --accent-ink: #1a1205;
  --border: #233649;
  --radius: 14px;
  --maxw: 1040px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f9fc;
    --bg-soft: #eef3f8;
    --surface: #ffffff;
    --text: #11202f;
    --text-soft: #4a6076;
    --accent: #e0a020;
    --accent-ink: #ffffff;
    --border: #d8e2ec;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 0 0 var(--radius) 0; z-index: 10; font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 5;
  backdrop-filter: saturate(1.4) blur(8px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand-name { font-size: 1.15rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--text-soft); font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--accent-ink) !important; background: var(--accent);
  padding: 8px 14px; border-radius: 999px; font-weight: 600;
}
@media (max-width: 640px) {
  .nav-links li:not(:last-child) { display: none; }
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; font-size: 1rem;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Hero */
.hero { padding: 80px 20px 56px; text-align: center; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 20px; }
.lede { max-width: 660px; margin: 0 auto 28px; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-soft); }
.lede strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 20px; color: var(--text-soft); font-size: .9rem; }

/* Sections */
.section { padding: 56px 20px; border-top: 1px solid var(--border); }
.section h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -0.01em; margin: 0 0 28px; text-align: center; }
.section-lede { max-width: 640px; margin: 0 auto 28px; text-align: center; color: var(--text-soft); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--text-soft); }

/* Cards */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--text-soft); }

@media (max-width: 800px) {
  .steps, .cards { grid-template-columns: 1fr; }
}

/* Pricing teaser */
.pricing-teaser { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; display: grid; gap: 12px; }
.pricing-teaser li {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px;
}
.tier { font-weight: 600; }
.tier-detail { color: var(--text-soft); text-align: right; }

/* Waitlist */
.section-cta { text-align: center; }
.waitlist-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 8px auto 0; max-width: 520px; }
.waitlist-form input[type="email"] {
  flex: 1 1 260px; min-width: 0; padding: 12px 16px; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
}
.waitlist-form input::placeholder { color: color-mix(in srgb, var(--text-soft) 80%, transparent); }
.form-msg { min-height: 1.4em; margin: 14px 0 0; font-weight: 600; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #ff8a8a; }
.privacy-note { color: var(--text-soft); font-size: .85rem; margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 32px 20px; margin-top: 16px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-parent { margin: 0; }
.parent-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-soft); }
.parent-link:hover { color: var(--text); }
.parent-link strong { color: var(--text); }
.parent-mark {
  /* Placeholder Lighthouse parent mark — swap for the real logo. */
  width: 18px; height: 18px; border-radius: 5px; display: inline-block;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 40%, var(--text-soft)));
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-soft); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--text); }
.footer-legal { width: 100%; margin: 4px 0 0; color: var(--text-soft); font-size: .8rem; }
