/* Bayvo "Harbor" style: warm off-white, navy ink, muted steel-blue accent, thin type, hairline borders. */

:root {
  --background: #f6f4ed;
  --surface: #fefdfa;
  --ink: #1f2b45;
  --secondary: #737885;
  --hairline: #ded9cf;
  --accent: #2e5c8a;
  --on-accent: #ffffff;
  --positive: #408061;
  --danger: #b03b33;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(31, 43, 69, 0.12);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #12161f;
    --surface: #1a202b;
    --ink: #e9e6df;
    --secondary: #9aa0aa;
    --hairline: #2c3340;
    --accent: #6f9bc7;
    --on-accent: #12161f;
    --positive: #80c29e;
    --danger: #e8786e;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 300 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { font-weight: 300; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 200; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 400; }

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

.lead { font-size: 1.15rem; color: var(--secondary); max-width: 34rem; }
.fineprint { font-size: 0.82rem; color: var(--secondary); margin: 0.75rem 0 0; }

/* ---------- Layout ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 56px);
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 0.5px solid var(--hairline);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.3rem; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 22.5%; }

main { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

.section { padding: clamp(56px, 9vw, 104px) 0 0; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding-top: clamp(40px, 8vw, 88px);
}

.hero-shot { display: flex; justify-content: center; }

.phone {
  width: min(100%, 300px);
  border-radius: 44px;
  box-shadow: var(--shadow);
  border: 0.5px solid var(--hairline);
}

/* ---------- Buttons & forms ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}
.button:hover { text-decoration: none; filter: brightness(1.06); }
.button:disabled { background: var(--surface); color: var(--secondary); border: 1px solid var(--hairline); cursor: default; }
.button.small { min-height: 38px; padding: 0 16px; font-size: 0.85rem; }
.button.wide { width: 100%; }

input, select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
input:focus, select:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; }

.inline-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; max-width: 30rem; }
.inline-form input { flex: 1 1 14rem; }

.form-status { flex-basis: 100%; margin: 0; min-height: 1.2em; font-size: 0.9rem; }
.form-status.ok { color: var(--positive); }
.form-status.error { color: var(--danger); }

.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Features ---------- */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 2.2rem; }

.card {
  background: var(--surface);
  border: 0.5px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card p { margin: 0; color: var(--secondary); font-size: 0.97rem; }

.card .icon, .card .plate, .card .figure { height: 46px; display: flex; align-items: center; margin-bottom: 14px; }
.card .icon { font-size: 1.6rem; color: var(--accent); }
.card .figure { font-size: 2.2rem; font-weight: 200; }
.card .figure span { font-size: 1rem; color: var(--secondary); margin-left: 4px; }

.plate {
  display: inline-flex !important;
  padding: 4px 14px;
  border: 1.5px solid #1f2b45;
  border-radius: 8px;
  background: #fff;
  color: #1f2b45;
  font: 500 1.25rem/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.08em;
  height: auto !important;
}

/* ---------- Screens ---------- */

.screens {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}
.screens figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.screens figcaption { font-size: 0.9rem; color: var(--secondary); text-align: center; }
.widgets { padding-top: 40px; }
.widget-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.widgets img { border-radius: 26px; box-shadow: var(--shadow); width: 100%; }

/* ---------- How it works ---------- */

.steps { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { border-top: 0.5px solid var(--hairline); padding-top: 20px; }
.steps p { color: var(--secondary); margin: 0; font-size: 0.97rem; }
.step {
  display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); border-radius: 50%; font-size: 0.85rem; margin-bottom: 12px; color: var(--accent);
}

/* ---------- Bands ---------- */

.privacy-band p, .partners p { color: var(--secondary); max-width: 40rem; }
.partners {
  margin-top: clamp(56px, 9vw, 104px);
  padding: 36px;
  border: 0.5px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
}

/* ---------- Waitlist ---------- */

.waitlist { padding-bottom: 40px; }
.form { max-width: 34rem; display: grid; gap: 16px; margin-top: 1.6rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 400; }
.field label span { color: var(--secondary); font-weight: 300; }

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

.footer {
  max-width: 1120px;
  margin: 72px auto 0;
  padding: 28px clamp(20px, 5vw, 56px) 48px;
  border-top: 0.5px solid var(--hairline);
  font-size: 0.85rem;
  color: var(--secondary);
}
.footer p { margin: 0.3rem 0; }

/* ---------- Privacy page ---------- */

.doc { max-width: 44rem; padding-top: clamp(40px, 7vw, 72px); }
.doc h2 { font-size: 1.35rem; margin-top: 2.2rem; font-weight: 400; }
.doc p, .doc li { color: var(--secondary); }
.doc ul { padding-left: 1.2rem; }

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-shot { order: -1; }
  .phone { width: min(72%, 280px); }
  .grid { grid-template-columns: 1fr 1fr; }
  .screens { grid-template-columns: 1fr; }
  .widgets { padding-top: 0; max-width: 480px; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .nav .button { display: none; }
  .partners { padding: 26px 22px; }
}
