/* Beacon Growth: tokens from context/brand/brand.md (ivory and navy) */
:root {
  --navy: #0B1F2D;
  --navy-2: #132C3E;
  --ivory: #F8F7F4;
  --ivory-2: #EFECE5;
  --white: #FFFFFF;
  --line: rgba(11, 31, 45, .12);
  --ink-70: rgba(11, 31, 45, .72);
  --ink-55: rgba(11, 31, 45, .55);
  --on-navy: rgba(248, 247, 244, .78);
  --gold: #D4AF72;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --gutter: 16px;
  --section-y: clamp(4rem, 9vw, 7rem);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(11, 31, 45, .05), 0 16px 36px -14px rgba(11, 31, 45, .16);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--navy); background: var(--ivory);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.on-navy :focus-visible { outline-color: var(--ivory); }

.skip { position: absolute; left: 1rem; top: -3rem; z-index: 200; background: var(--navy); color: var(--ivory); padding: .5rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
section { padding: var(--section-y) 0; }
.flush-top { padding-top: 0; }

/* Type */
h1, h2 { font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 7.4vw, 5.25rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-55); margin-bottom: .9rem; }
.lead { margin-top: 1rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-70); max-width: 36rem; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .8rem 1.5rem; border-radius: 999px;
  background: var(--navy); color: var(--ivory); font: inherit; font-size: 1rem; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: background-color .2s, transform .2s;
}
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn.small { min-height: 40px; padding: .45rem 1.05rem; font-size: .875rem; }
.btn.large { min-height: 56px; padding: 1rem 2rem; }
.btn.light { background: var(--ivory); color: var(--navy); }
.btn.light:hover { background: var(--white); }
.textlink { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(11, 31, 45, .3); }
.textlink:hover { text-decoration-color: var(--navy); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
  background: rgba(248, 247, 244, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.nav-bg { position: sticky; top: 0; z-index: 100; background: rgba(248, 247, 244, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-bg .nav { position: static; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand { display: block; flex: none; }
.brand img { width: clamp(120px, 30vw, 172px); }
.nav ul { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 2rem); }
.nav ul a:not(.btn) { white-space: nowrap; font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--ink-70); }
.nav ul a:not(.btn):hover, .nav ul a[aria-current="page"] { color: var(--navy); }
.nav ul a[aria-current="page"] { font-weight: 600; }
.hide-m { display: none; }

/* Hero */
.hero { padding: clamp(4.5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem); text-align: center; }
.hero.full { min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); display: flex; align-items: center; padding: 4rem 0; }   /* front page: the headline fills the first screen */
.hero h1 { max-width: 15ch; margin: 0 auto; }
.hero h1.wide { max-width: 22ch; font-size: clamp(2.3rem, 5.4vw, 4rem); }
.hero .tagline { margin-top: 1.25rem; font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 500; letter-spacing: -.01em; color: var(--ink-70); }
.hero .lead { margin: 1.25rem auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }

/* Section heads */
.section-head { max-width: 40rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head.center { max-width: 46rem; margin-left: auto; margin-right: auto; }

/* Step cards */
.cards { display: grid; gap: 1.1rem; }
.card { background: var(--white); border: 1px solid rgba(11, 31, 45, .06); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card .mock { background: var(--ivory-2); padding: 1.5rem; height: 200px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(11, 31, 45, .05); }
.card .body { padding: 1.5rem 1.5rem 1.75rem; }
.num { font-size: .75rem; font-weight: 600; letter-spacing: .18em; color: var(--ink-55); margin-bottom: .6rem; }
.card h3 { margin-bottom: .4rem; }
.card p.t { font-size: .975rem; color: var(--ink-70); }
.cta-row { margin-top: 2.5rem; text-align: center; }
.also { margin-top: 1.75rem; text-align: center; color: var(--ink-70); font-size: .975rem; }
.ui .search { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-70); }
.ui .result { display: grid; margin-top: 10px; padding: 7px 9px; border-radius: 8px; }
.ui .result.top { background: var(--ivory-2); }
.ui .result span { color: var(--ink-55); font-size: .6875rem; }
.ui .ad-img { height: 58px; margin-top: 8px; border-radius: 8px; background: var(--ivory-2); }
.ui .ad-cta { margin-top: 8px; padding: 5px 0; border-radius: 6px; background: var(--navy); color: var(--ivory); font-weight: 600; text-align: center; }
.ui .browser { display: flex; gap: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ui .browser i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }

/* Illustrative UI (example data only) */
.ui { width: 100%; max-width: 260px; background: var(--white); border-radius: 12px; padding: 14px; font-size: .75rem; line-height: 1.45; box-shadow: 0 1px 2px rgba(11, 31, 45, .06), 0 12px 26px -12px rgba(11, 31, 45, .22); }
.ui b { font-weight: 600; }
.ui .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.ui .row:first-child { border-top: 0; padding-top: 0; }
.ui .addr { margin-top: 6px; color: var(--ink-70); }
.ui .why { margin-top: 8px; padding: 7px 9px; border-radius: 8px; background: var(--ivory-2); color: var(--ink-70); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-70); font-size: .6875rem; font-weight: 500; white-space: nowrap; }
.chip.fill { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.dots { display: inline-flex; gap: 3px; margin-right: 6px; vertical-align: -1px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--navy); }
.line { height: 7px; border-radius: 4px; background: var(--line); margin-top: 7px; }
.line.w80 { width: 80%; } .line.w60 { width: 60%; }
.ui .gap { margin-top: 12px; }

/* Navy panels */
.panel { border-radius: var(--radius); padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem); background: var(--navy); color: var(--ivory); }
.panel h2, .panel h3 { color: var(--white); }
.panel .eyebrow { color: var(--gold); }
.panel p { color: var(--on-navy); }
.teaser { display: grid; gap: 2rem; align-items: center; }
.teaser p { margin-top: 1rem; max-width: 34rem; font-size: 1.075rem; }
.teaser .ui { max-width: 340px; color: var(--navy); justify-self: center; }
.teaser .ui p { color: var(--ink-70); margin: 8px 0 0; font-size: inherit; max-width: none; }

/* Timeline */
.working { display: grid; gap: 2rem; }
.timeline { counter-reset: tl; border-left: 1px solid rgba(212, 175, 114, .5); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 2rem 1.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .35rem; width: 13px; height: 13px; border-radius: 50%; background: var(--navy); border: 1px solid var(--gold); }
.timeline h3 { margin-bottom: .35rem; }
.timeline h3 span { color: var(--gold); font-size: .75rem; letter-spacing: .18em; margin-right: .8rem; vertical-align: .15em; }
.timeline p { font-size: 1rem; max-width: 34em; }

/* Feature grid (Beacon Leads page) */
.features { display: grid; gap: 1.1rem; }
.feature { background: var(--white); border: 1px solid rgba(11, 31, 45, .06); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem 1.6rem 1.75rem; }
.feature h3 { margin-bottom: .45rem; }
.feature p { font-size: .975rem; color: var(--ink-70); }
.feature ul { margin-top: .75rem; display: grid; gap: .35rem; font-size: .95rem; color: var(--ink-70); }
.feature li { padding-left: 1.1rem; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }

/* Lists table */
.lists { border-top: 1px solid var(--line); }
.lists li { display: grid; gap: .2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.lists b { font-weight: 600; }
.lists span { color: var(--ink-70); font-size: .975rem; }

/* Lead card (Beacon Leads hero) */
.lead-card { max-width: 440px; margin: clamp(2.5rem, 6vw, 3.5rem) auto 0; text-align: left; }
.lead-card.ui { max-width: 440px; padding: 18px 20px; font-size: .8125rem; }
.lead-card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lead-card .co { font-size: .95rem; font-weight: 600; }
.lead-card .k { color: var(--ink-55); }

/* FAQ */
.faq-grid { display: grid; gap: 1.5rem; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; position: relative; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(var(--navy), var(--navy)) center / 12px 1.5px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 1.5px 12px no-repeat;
  transition: transform .25s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 2.5rem 1.3rem 0; color: var(--ink-70); }

/* Book */
.book { text-align: center; }
.book .lead { margin: 1rem auto 2.25rem; }
.cal-frame { max-width: 1000px; margin: 0 auto; background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.cal-frame iframe { width: 100%; height: 1040px; border: 0; }
.fallback { margin-top: 1.25rem; font-size: .9rem; color: var(--ink-55); }
.fallback a { color: var(--navy); }

/* Footer */
footer.site { padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; font-size: .875rem; color: var(--ink-55); }
footer.site .brand img { width: 150px; }
footer.site a { color: var(--navy); text-underline-offset: 3px; }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .hide-m { display: list-item; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .lists li { grid-template-columns: 15rem 1fr; gap: 1.5rem; align-items: baseline; }
  .cal-frame iframe { height: 680px; }
  footer.site .wrap { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 960px) {
  .teaser { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
  .working { grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
  .features.three { grid-template-columns: repeat(3, 1fr); }
  .cards.four { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
