/* ============================================================================
   Henova public landing — d-a.light design system
   Iris · 22 Jul 2026
   Spine pulled from the app's Companion Design of Record v2.0 (.screen.d-a.light)
   and poster v0.5: canvas #f5f7f6 · brand green #1f6f5c · Montserrat + Fraunces.
   Scoped to the public landing page (access.html → public index). Does NOT touch
   the shared styles.css, so other pages are unaffected until they migrate.
   ========================================================================== */

:root {
  /* --- d-a.light tokens (verbatim from the app) --- */
  --canvas: #f5f7f6;
  --card: #ffffff;
  --ink: #16201e;
  --ink-soft: #46544f;
  --muted: #71807a;
  --hair: #e8efeb;
  --accent: #1f6f5c;
  --accent-ink: #164f43;
  --accent-soft: #e3efe9;
  --on-accent: #ffffff;
  --nowdot: #d9822b;        /* the app's single "attention" accent */
  --watch-bg: #f5ecd8;
  --watch-ink: #8a6a2c;
  /* --- deep-green band (app nav / poster band family) --- */
  --band: #10241d;
  --band-2: #0b3d2e;
  --band-ink: #eef4f1;
  --band-soft: #a9c0b8;
  --band-accent: #4fd0a4;

  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, ui-serif, serif;

  --radius-card: 22px;
  --radius-btn: 14px;
  --radius-pill: 999px;
  --shell: min(1200px, calc(100vw - 48px));
  --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.page { overflow: clip; }
.shell { width: var(--shell); margin: 0 auto; }

/* ---------- type primitives ---------- */
.eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow .dot { color: var(--muted); margin: 0 7px; }
h1, h2, h3, p { overflow-wrap: break-word; }
.display-xl {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 5.6vw, 62px); line-height: 1.06;
  letter-spacing: -0.02em; color: var(--ink);
}
.display-md {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(27px, 3.6vw, 40px); line-height: 1.14;
  letter-spacing: -0.015em; color: var(--ink);
}
.display-sm {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(23px, 2.6vw, 30px); line-height: 1.18;
  letter-spacing: -0.01em; color: var(--ink);
}
.accent { color: var(--accent); }
.serif-em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.body { font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); }
.body-lg { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 14px 22px;
  border-radius: var(--radius-btn); border: 0; cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 30px -14px rgba(31, 111, 92, 0.5); }
.btn-primary:hover { background: #1a5f4f; transform: translateY(-1px); }
.btn-ghost { background: var(--accent-soft); color: var(--accent-ink); }
.btn-ghost:hover { background: #d6e8e0; }
.btn-link { background: transparent; color: var(--ink-soft); font-weight: 600; font-size: 14px; padding: 14px 4px; }
.btn-link:hover { color: var(--accent); }
.btn-onband { background: var(--band-accent); color: var(--band); }
.btn-onband:hover { background: #6fe0bb; transform: translateY(-1px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 247, 246, 0.85);
  border-bottom: 1px solid var(--hair);
  backdrop-filter: blur(12px);
}
.nav-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: 0.01em; color: var(--ink); }
.wordmark .md {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(160deg, #2f9a76, #0b3d2e); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { font-weight: 600; font-size: 14.5px; color: var(--ink-soft); }
.nav-links a:not(.btn):hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 66px 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -14%; right: -8%;
  width: 520px; height: 520px; border-radius: 50%;
  background: var(--accent); opacity: 0.06; filter: blur(80px); pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: 44px; align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-divider { width: 46px; height: 2px; background: var(--accent); margin: 26px 0; }
.hero-subhead { font-size: 17px; line-height: 1.58; color: var(--ink-soft); max-width: 460px; }
.hero-ctas { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-phones { display: flex; flex-direction: column; align-items: center; }
.phone-row { display: flex; justify-content: center; align-items: flex-end; padding-bottom: 30px; }
.hero-phones img { filter: drop-shadow(0 26px 44px rgba(15, 42, 35, 0.26)); }
.phone-primary { width: clamp(200px, 22vw, 250px); position: relative; z-index: 2; }
.phone-side { width: clamp(150px, 17vw, 190px); position: relative; z-index: 1; }
.phone-left { margin-right: -40px; transform: translateY(20px); }
.phone-right { margin-left: -40px; transform: translateY(28px); }
.image-disclaimer {
  margin-top: 18px; text-align: center;
  font-size: 11.5px; color: var(--muted); letter-spacing: 0.01em;
}

.hero-status-bar { position: relative; margin-top: 46px; border-top: 1px solid var(--hair); }
.hero-status-inner { display: flex; }
.hero-status-item {
  flex: 1; padding: 16px 4px 16px 0; display: flex; flex-direction: column; gap: 3px;
  border-right: 1px solid var(--hair);
}
.hero-status-inner .hero-status-item { padding-left: 24px; }
.hero-status-inner .hero-status-item:first-child { padding-left: 0; }
.hero-status-item:last-child { border-right: 0; }
.hero-status-item .k {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted);
  display: flex; align-items: center; gap: 7px;
}
.hero-status-item .k .nowdot { width: 7px; height: 7px; border-radius: 50%; background: var(--nowdot); flex: 0 0 auto; }
.hero-status-item .v { font-weight: 700; font-size: 15px; color: var(--ink); }

/* ---------- generic section ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head .lead { margin-top: 14px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 19px; color: var(--muted); }

/* card grids */
.card-grid { display: grid; gap: 20px; }
.card-grid > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--hair);
  border-radius: var(--radius-card); padding: 26px 24px;
}
.card .idx {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px;
}
.card h3 { font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.28; }
.card p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- founding band (deep green feature band, echoes app family card) ---------- */
.band-section {
  background: radial-gradient(120% 90% at 12% 0%, var(--band-2) 0%, var(--band) 58%);
  color: var(--band-ink); border-radius: 28px;
}
.band-inner { padding: clamp(44px, 6vw, 72px); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.band-inner .display-md { color: #fff; }
.band-inner .serif-em { color: var(--band-accent); }
.band-inner .body-lg { color: var(--band-soft); }
.band-avatars { display: flex; }
.band-avatars span {
  width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 22px; color: #fff; margin-left: -14px; border: 3px solid var(--band);
}
.band-avatars span:first-child { margin-left: 0; }

/* ---------- who-is-for ---------- */
.who-grid { grid-template-columns: repeat(2, 1fr); }

/* ---------- apply ---------- */
.apply-section { padding: clamp(56px, 8vw, 96px) 0; }
.apply-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.apply-caption { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.apply-headline { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; color: var(--ink); line-height: 1.08; }
.apply-body { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

.apply-form { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius-card); padding: clamp(24px, 3vw, 34px); }
.form-grid { display: flex; flex-direction: column; gap: 18px; }
.form-reassurance { font-size: 13px; color: var(--muted); font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: 0.01em; }
.field input, .field textarea {
  width: 100%; background: var(--canvas); border: 1px solid var(--hair); border-radius: 12px;
  padding: 13px 15px; font-size: 15px; color: var(--ink); transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa8a1; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-hint { font-size: 12.5px; color: var(--muted); }
.form-consent { font-size: 12px; line-height: 1.55; color: var(--muted); }
.form-consent a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.apply-form .btn { width: 100%; }
.form-followup { margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); }
.form-followup.is-success { color: var(--accent-ink); font-weight: 600; }
.form-followup.is-error { color: #b8453b; font-weight: 600; }
.form-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- trust boundary ---------- */
.trust-section { background: var(--accent-soft); border-radius: 28px; }
.trust-inner { padding: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.trust-inner .eyebrow { color: var(--accent-ink); }
.trust-head { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.01em; color: var(--ink); margin-top: 12px; line-height: 1.15; }
.trust-inner .body-lg { color: var(--ink-soft); }

/* ---------- footer ---------- */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--hair); margin-top: clamp(56px, 8vw, 96px); }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-meta { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.foot-trust { margin-top: 24px; font-size: 12.5px; color: var(--muted); line-height: 1.55; max-width: 760px; }

/* ---------- sticky apply ---------- */
.sticky-apply-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 24px);
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: var(--radius-pill); box-shadow: 0 16px 40px -12px rgba(15, 42, 35, 0.45);
  opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition); z-index: 90;
}
.sticky-apply-bar.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

/* spacing helper for stacked rounded sections */
.stack { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 34px); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .apply-grid, .band-inner, .trust-inner { grid-template-columns: 1fr; }
  .hero-phones { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .band-avatars { margin-top: 28px; }
}
@media (max-width: 560px) {
  .hero-status-inner { flex-direction: column; }
  .hero-status-item,
  .hero-status-inner .hero-status-item { border-right: 0; border-bottom: 1px solid var(--hair); padding: 14px 0; }
  .hero-status-item:last-child { border-bottom: 0; }
}
