:root {
  --ivory: #F8F4EC;
  --ivory-2: #F1EBE0;
  --indigo: #2B2A5A;
  --indigo-deep: #1F1E46;
  --plum: #2A2340;
  --gold: #C9A24A;
  --gold-deep: #B08C3C;
  --teal: #4F8A7A;
  --ink: #2A2A35;
  --ink-soft: rgba(42, 42, 53, 0.72);
  --line: #E4DDD0;
  --white: #FFFFFF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI Variable Text', 'Segoe UI Variable', 'Segoe UI', 'Inter', -apple-system, sans-serif;
  color: var(--ink); background: var(--ivory);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, .promise-band p, .band h2 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; color: var(--indigo); letter-spacing: -0.022em; line-height: 1.13; font-weight: 650; }
h3 { color: var(--indigo); letter-spacing: -0.015em; line-height: 1.2; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; scroll-margin-top: 84px; }
.eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.eyebrow.gold { color: var(--gold); }
.lead { font-size: 17px; color: var(--ink-soft); margin-top: 20px; max-width: 620px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-weight: 700; font-size: 15px; padding: 14px 28px; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--gold); color: var(--indigo-deep); }
.btn-primary:hover { background: var(--gold-deep); }
.btn-indigo { background: var(--indigo); color: var(--white); }
.btn-indigo:hover { background: var(--indigo-deep); }
.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-outline:hover { background: rgba(43,42,90,0.06); }
.btn-outline.light { color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-outline.light:hover { background: rgba(255,255,255,0.08); }
.btn-white { background: var(--ivory); color: var(--indigo-deep); }
.link { font-weight: 700; color: var(--indigo); }
.link::after { content: " →"; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: flex-start; gap: 28px; padding-top: 14px; padding-bottom: 14px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; flex-shrink: 0; min-width: max-content; }
.brand img { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; flex: 0 0 auto; flex-shrink: 0; white-space: nowrap; }
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: 0.01em; color: var(--indigo); white-space: nowrap; }
.brand-by { font-size: 11px; letter-spacing: 0.14em; color: var(--teal); text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; flex-shrink: 0; margin-left: 12px; }
.nav a.active { color: var(--indigo); font-weight: 700; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.header-right { display: flex; align-items: center; gap: 14px; margin-left: auto; flex-shrink: 0; }
.audience { display: inline-flex; background: var(--ivory-2); border-radius: 999px; padding: 4px; }
.audience a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.audience a.on { background: var(--indigo); color: var(--white); }
.btn.sm { padding: 10px 22px; font-size: 14px; }

/* Photo frames */
.photo { position: relative; border-radius: 28px; overflow: hidden; background: var(--ivory-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero { padding: 80px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: 56px; margin-top: 18px; }
.hero .photo { height: 560px; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 30px; color: var(--indigo); line-height: 1; }
.stat span { font-size: 13px; color: var(--ink-soft); }
.stat b.stat-words { font-size: 22px; padding-top: 5px; white-space: nowrap; }
.stat { min-width: 0; }
.stat span { display: block; margin-top: 8px; line-height: 1.4; }

/* Section titles */
.section h2 { font-size: 40px; margin-top: 14px; max-width: 640px; }

/* Products */
.products { background: var(--ivory-2); }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px; }
.product { background: var(--white); border-radius: 18px; padding: 26px 24px; }
.product svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.product h3 { font-size: 18px; margin-top: 22px; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 4px 12px; margin-top: 8px; }
.pill.live { background: #DDEBE4; color: var(--teal); }
.pill.building { background: #E4E0F2; color: var(--indigo); }
.pill.planned { background: #EFE6D2; color: var(--gold-deep); }
.product p { font-size: 14.5px; color: var(--ink-soft); margin-top: 16px; }

/* Why Haven */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 64px; }
.pillar svg { width: 28px; height: 28px; stroke: var(--indigo); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 18px; margin-top: 22px; }
.pillar p { font-size: 15px; color: var(--ink-soft); margin-top: 10px; }

/* Gallery (real screens) */
.gallery { background: var(--ivory-2); }
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 56px; }
.tile { background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.tile img { width: 100%; height: 320px; object-fit: cover; object-position: top; background: var(--indigo); }
.gallery-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.gallery-row .tile img { height: 300px; }
.tile .cap { padding: 20px 24px; }
.tile .cap h4 { color: var(--indigo); font-size: 17px; }
.tile .cap p { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.gallery-col { display: grid; gap: 20px; }
.gallery-col .tile img { height: 150px; }
.gallery-grid > .tile img { height: 100%; min-height: 420px; }

/* Two ways in */
.ways { background: var(--indigo); color: var(--white); }
.ways h2, .ways h3 { color: var(--white); }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.way { border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); border-radius: 22px; padding: 40px; }
.way h3 { font-size: 26px; margin-top: 14px; }
.way p { color: rgba(255,255,255,0.78); margin-top: 16px; font-size: 16px; }
.way-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.ways .link { color: var(--white); }

/* Founders */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; max-width: 900px; margin-left: auto; margin-right: auto; }
.member .avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid var(--ivory-2); }
.member .avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 17px; margin-top: 18px; }
.member .role { font-size: 13px; color: var(--teal); font-weight: 700; margin-top: 2px; }
.member p { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; }

/* Foundation */
.foundation .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.foundation .photo { height: 380px; background: var(--plum); }
.foundation h2 { font-size: 36px; }
.foundation .link { display: inline-block; margin-top: 22px; }

/* Gold band CTA */
.band { background: var(--gold); padding: 80px 0; text-align: center; }
.band h2 { font-size: 40px; color: var(--indigo-deep); }
.band-actions { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }

/* Quote */
.quote { background: var(--indigo); padding: 100px 0; text-align: center; }
.quote p { font-size: 30px; color: var(--ivory); max-width: 760px; margin: 0 auto; line-height: 1.4; }
.quote .eyebrow { display: block; margin-top: 22px; }

/* About */
.about-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-hero h1 { font-size: 46px; margin-top: 16px; }
.about-hero .photo { height: 460px; }
.about-hero p { font-size: 16.5px; color: var(--ink-soft); margin-top: 20px; }
.vmp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.vmp .card p { font-size: 18px; margin-top: 12px; color: var(--indigo); font-weight: 600; }
.vmp .card.dark { background: var(--indigo); border-color: var(--indigo); }
.vmp .card.dark p { color: var(--ivory); }
.promise-band { margin-top: 24px; background: var(--indigo); border-color: var(--indigo); text-align: center; }
.promise-band p { color: var(--ivory); font-size: 24px; font-weight: 600; margin: 0; }
.framework { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; margin-top: 56px; }
.about-hero .wrap.hero-trio { max-width: 1340px; grid-template-columns: 0.92fr 1.15fr 0.93fr; gap: 32px; align-items: center; margin-top: 0; }
.about-hero .hero-trio-copy h1 { font-size: 40px; line-height: 1.1; margin-top: 12px; }
.about-hero .hero-trio-copy p { font-size: 15.5px; margin-top: 14px; }
.about-hero .hero-trio-steps .fw-row { padding: 12px 12px 12px 16px; gap: 12px; }
.about-hero .hero-trio-steps .fw-row b { width: 78px; font-size: 14px; }
.about-hero .hero-trio-steps .fw-row p { font-size: 13.5px; line-height: 1.38; }
@media (max-width: 1180px) {
  .about-hero .wrap.hero-trio { grid-template-columns: 1fr 1fr; }
  .about-hero .hero-trio-copy { grid-column: 1 / -1; max-width: 720px; }
}
@media (max-width: 900px) {
  .about-hero .wrap.hero-trio { grid-template-columns: 1fr; }
}
.mark-circle { width: 340px; height: 340px; border-radius: 50%; background: var(--ivory-2); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.mark-circle img { width: 240px; }
.fw-row { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); border-radius: 12px; transition: background .25s ease, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease; }
.fw-row:last-child { border-bottom: 0; }
.fw-row[data-stage] { cursor: pointer; }
.fw-row[data-stage]::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--gold); opacity: 0; transform: scaleY(0.4); transition: opacity .25s ease, transform .25s cubic-bezier(.22,1,.36,1); }
.fw-row[data-stage]:hover, .fw-row.active-step { background: rgba(239, 232, 216, 0.72); transform: translateX(4px); }
.fw-row.active-step::before { opacity: 1; transform: scaleY(1); }
.fw-step-badge { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: var(--ivory); border: 2px solid rgba(43, 42, 90, 0.20); color: var(--ink-soft); transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.fw-step-badge .fw-check { display: none; font-size: 11.5px; line-height: 1; }
.fw-row.is-reached .fw-step-badge { background: var(--teal); border-color: var(--teal); color: var(--white); }
.fw-row.is-reached .fw-step-badge .fw-num { display: none; }
.fw-row.is-reached .fw-step-badge .fw-check { display: inline; }
.fw-row.active-step .fw-step-badge { background: var(--indigo); border-color: var(--gold); color: var(--white); transform: scale(1.12); box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.26); }
.fw-row.is-complete .fw-step-badge { background: var(--teal); border-color: var(--gold); color: var(--white); box-shadow: 0 0 0 2.5px rgba(201, 162, 74, 0.22); }
.fw-row b { color: var(--indigo); width: 92px; flex-shrink: 0; font-size: 15px; transition: color .2s ease; }
.fw-row.active-step b { color: var(--teal); }
.fw-row p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* Founder letter */
.letter { max-width: 780px; margin: 56px auto 0; }
.letter p { font-size: 16.5px; color: var(--ink-soft); margin-top: 16px; }
.letter .sig { font-family: 'Caveat', cursive; font-size: 44px; color: var(--indigo); margin-top: 28px; line-height: 1; }
.letter .meta { font-size: 13px; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--plum); color: var(--ivory); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand span { color: var(--teal); font-weight: 400; }
.footer-grid p { margin-top: 14px; font-size: 14px; color: rgba(248,244,236,0.75); max-width: 300px; }
.footer-grid h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-grid a { color: rgba(248,244,236,0.85); }
.footer-grid a.soon { color: rgba(248,244,236,0.5); }
.footer-bot { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(248,244,236,0.15); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(248,244,236,0.6); }
.footer-bot span a { color: rgba(248,244,236,0.6); margin-right: 20px; }

/* Demo modal */
.modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(31,30,70,0.65); backdrop-filter: blur(4px); align-items: center; justify-content: center; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 20px 12px; }
.modal-card { background: var(--white); border-radius: 20px; padding: 40px; max-width: 480px; width: 90%; max-height: calc(100dvh - 36px); overflow-y: auto; -webkit-overflow-scrolling: touch; position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.25); margin: auto; }
.modal-card .x { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink-soft); }
.modal-card h2 { font-size: 24px; }
.modal-card > p { color: var(--ink-soft); font-size: 14px; margin: 8px 0 22px; }
.modal-card label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.modal-card input, .modal-card textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; margin-bottom: 16px; background: var(--ivory); }
.modal-card button[type=submit] { width: 100%; justify-content: center; }
#demoStatus { margin-top: 12px; font-size: 13px; text-align: center; color: var(--ink-soft); }

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .nav, .audience { display: none; }
  .hero { padding: 48px 0; }
  .hero .wrap, .about-hero .wrap, .foundation .wrap, .ways-grid, .gallery-grid, .gallery-row, .framework { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 38px; }
  .hero .photo, .about-hero .photo { height: 300px; }
  .section h2, .band h2 { font-size: 30px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .pillars, .team-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid > .tile img { min-height: 0; height: 240px; }
  .mark-circle { width: 260px; height: 260px; }
  .mark-circle img { width: 180px; }
  .band-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 560px) {
  .product-grid, .pillars, .team-grid, .vmp, .footer-grid { grid-template-columns: 1fr; }
  .header-right .btn { display: none; }
}

.mark-video { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #F0EBDF; border: 1px solid rgba(201, 162, 74, 0.30); box-shadow: 0 14px 36px rgba(20, 19, 48, 0.08); transition: box-shadow .5s ease, border-color .5s ease; }
.mark-stage-canvas { position: relative; width: 100%; overflow: hidden; background: #F0EBDF; }
.mark-video video { display: block; width: 100%; height: auto; transition: opacity .65s cubic-bezier(.22,1,.36,1); }
.mark-finale { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .65s cubic-bezier(.22,1,.36,1); }
.mark-finale-aura { position: absolute; inset: 4% 14%; border-radius: 50%; background: radial-gradient(circle at 50% 48%, rgba(201, 162, 74, 0.42) 0%, rgba(79, 138, 122, 0.22) 42%, rgba(43, 42, 90, 0.06) 66%, transparent 76%); opacity: 0; transform: scale(0.92); pointer-events: none; }
.mark-finale-ring { position: absolute; width: 52%; aspect-ratio: 1 / 1; border-radius: 50%; border: 1.5px solid rgba(201, 162, 74, 0.40); opacity: 0; transform: scale(0.94); pointer-events: none; }
.mark-finale-img { position: relative; z-index: 2; display: block; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 52%; }
.mark-pipeline { position: relative; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 14px 16px 12px; background: linear-gradient(180deg, rgba(248, 244, 236, 0.92) 0%, rgba(239, 232, 216, 0.98) 100%); border-top: 1px solid rgba(201, 162, 74, 0.26); }
.mark-pipeline-steps { position: relative; flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; }
.mark-pipeline-track { position: absolute; left: 10%; right: 10%; top: 11px; height: 4px; border-radius: 999px; background: rgba(43, 42, 90, 0.12); overflow: hidden; pointer-events: none; }
.mark-pipeline-fill { width: 100%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal) 0%, #5D9C8B 55%, var(--gold) 100%); transform-origin: left center; transform: scaleX(0); will-change: transform; }
.mark-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--ink-soft); }
.mark-step-dot { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: var(--ivory); border: 2px solid rgba(43, 42, 90, 0.20); color: var(--ink-soft); box-shadow: 0 2px 6px rgba(20, 19, 48, 0.06); transition: transform .25s cubic-bezier(.22,1,.36,1), background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease; }
.mark-step-check { display: none; font-size: 12px; line-height: 1; }
.mark-step.is-reached .mark-step-num { display: none; }
.mark-step.is-reached .mark-step-check { display: inline; }
.mark-step.is-reached .mark-step-dot { background: var(--teal); border-color: var(--teal); color: var(--white); }
.mark-step.is-active .mark-step-dot { background: var(--indigo); border-color: var(--gold); color: var(--white); transform: scale(1.16); box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.28), 0 4px 10px rgba(20, 19, 48, 0.16); }
.mark-video.pulsing .mark-step .mark-step-num { display: none; }
.mark-video.pulsing .mark-step .mark-step-check { display: inline; }
.mark-video.pulsing .mark-step .mark-step-dot { background: var(--teal); border-color: var(--gold); color: var(--white); transform: scale(1); box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.22); }
.mark-step-label { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft); white-space: nowrap; transition: color .2s ease; }
.mark-step.is-reached .mark-step-label { color: var(--teal); font-weight: 600; }
.mark-step.is-active .mark-step-label { color: var(--indigo); font-weight: 700; }
.mark-video.pulsing .mark-step-label { color: var(--indigo); font-weight: 700; }
.mark-step:hover .mark-step-dot { border-color: var(--gold); transform: scale(1.12); }
.mark-replay-btn { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 30px; padding: 0 11px; border-radius: 999px; font: inherit; font-size: 11.5px; font-weight: 700; background: var(--white); color: var(--indigo); border: 1px solid rgba(201, 162, 74, 0.42); box-shadow: 0 2px 6px rgba(20, 19, 48, 0.06); cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.mark-replay-btn:hover { background: var(--ivory); border-color: var(--gold); transform: translateY(-1px); }
@keyframes mark-tree-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.034); }
}
@keyframes mark-aura-pulse {
  0%, 100% { opacity: 0.32; transform: scale(0.94); }
  50% { opacity: 0.92; transform: scale(1.08); }
}
@keyframes mark-ring-pulse {
  0%, 100% { opacity: 0.16; transform: scale(0.95); }
  50% { opacity: 0.58; transform: scale(1.06); }
}
.mark-video.pulsing {
  border-color: rgba(201, 162, 74, 0.52);
  box-shadow: 0 18px 44px rgba(20, 19, 48, 0.14), 0 0 0 1px rgba(201, 162, 74, 0.28);
}
.mark-video.pulsing video { opacity: 0; }
.mark-video.pulsing .mark-finale { opacity: 1; }
.mark-video.pulsing .mark-finale-img { animation: mark-tree-breathe 3.6s cubic-bezier(.42,0,.58,1) infinite; }
.mark-video.pulsing .mark-finale-aura { animation: mark-aura-pulse 3.6s cubic-bezier(.42,0,.58,1) infinite; }
.mark-video.pulsing .mark-finale-ring { animation: mark-ring-pulse 3.6s cubic-bezier(.42,0,.58,1) infinite; }
@media (prefers-reduced-motion: reduce) {
  .mark-video.pulsing .mark-finale-img,
  .mark-video.pulsing .mark-finale-aura,
  .mark-video.pulsing .mark-finale-ring { animation: none; opacity: 0.65; transform: none; }
  .mark-video.pulsing .mark-finale-img { opacity: 1; }
}
@media (max-width: 560px) {
  .mark-pipeline { padding: 12px 10px 10px; gap: 8px; }
  .mark-step-dot { width: 22px; height: 22px; font-size: 10px; }
  .mark-pipeline-track { top: 9px; }
  .mark-step-label { font-size: 10px; }
}
.product .product-logo { width: 96px; height: 96px; object-fit: contain; display: block; margin-bottom: -8px; }

/* Audience pages (families / employers) */
.aud-hero h1 { font-size: 50px; }
.photo.slot { display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; background: linear-gradient(160deg, var(--indigo) 0%, var(--plum) 100%); border: 1px dashed rgba(255,255,255,0.35); }
.photo.slot span { color: rgba(255,255,255,0.7); font-size: 14px; max-width: 320px; }
.photo.slot.tall { min-height: 520px; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.diff { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.diff > b { font-family: Georgia, 'Times New Roman', serif; font-size: 30px; color: var(--gold); line-height: 1; }
.diff h3 { font-size: 20px; margin-top: 16px; color: var(--indigo); }
.diff h3 em { font-style: italic; color: var(--teal); }
.diff p { font-size: 15px; color: var(--ink-soft); margin-top: 12px; }
.diff.quiet { background: var(--ivory-2); border-color: transparent; }
.diff.quiet ul { margin-top: 16px; padding-left: 18px; color: var(--ink-soft); font-size: 15px; display: grid; gap: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.stat-card { background: var(--indigo); color: var(--white); border-radius: 22px; padding: 30px; }
.stat-card b { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 44px; color: var(--gold); line-height: 1; }
.stat-card p { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,0.85); }
.stat-card cite { display: block; margin-top: 16px; font-size: 12px; font-style: normal; color: rgba(255,255,255,0.55); }
.fine { margin-top: 20px; font-size: 12px; color: var(--ink-soft); }
.why-emp { background: var(--ivory-2); }
.moments .moments-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.moment { margin-top: 26px; padding-left: 18px; border-left: 3px solid var(--gold); }
.moment h4 { font-size: 17px; color: var(--indigo); }
.moment p { font-size: 15px; color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 900px) {
  .aud-hero h1 { font-size: 36px; }
  .diff-grid, .stat-grid, .moments .moments-grid { grid-template-columns: 1fr; gap: 24px; }
  .photo.slot.tall { min-height: 300px; }
}

/* Page transitions */
body { animation: page-in .45s ease-out both; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body { animation: none; } }

/* Haven story demo */
.demo { background: radial-gradient(1200px 600px at 20% 0%, #35347a 0%, var(--indigo) 45%, var(--indigo-deep) 100%); color: var(--white); overflow: hidden; }
.demo h2, .demo .lead { color: var(--white); }
.demo .lead { color: rgba(255,255,255,0.78); }
.eyebrow-light { color: var(--gold); }
.demo-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; align-items: center; }
.lang-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 4px; }
.lang-toggle button { background: transparent; border: 0; color: rgba(255,255,255,0.75); font: inherit; font-size: 14px; padding: 9px 18px; min-height: 40px; border-radius: 999px; cursor: pointer; }
.lang-toggle button.on { background: var(--gold); color: var(--indigo-deep); font-weight: 600; }
.demo .listen, .demo .replay { font: inherit; font-size: 14px; font-weight: 600; border-radius: 999px; padding: 9px 18px; min-height: 40px; cursor: pointer; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); color: var(--white); display: inline-flex; gap: 8px; align-items: center; justify-content: center; transition: background .2s, border-color .2s, color .2s; }
.demo .pause { min-width: 118px; background: var(--gold); border-color: var(--gold); color: var(--indigo-deep); font-weight: 700; }
.demo .pause:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.demo .replay[hidden], .demo .pause[hidden] { display: none; }
.demo .listen.on { background: var(--teal); border-color: var(--teal); }
.demo .ico-svg { width: 15px; height: 15px; flex-shrink: 0; }
.demo .pause .ico-pause { display: none; }
.demo .pause.is-playing .ico-play { display: none; }
.demo .pause.is-playing .ico-pause { display: block; }
.demo .listen .ico-vol-off { display: none; }
.demo .listen:not(.on) .ico-vol-on { display: none; }
.demo .listen:not(.on) .ico-vol-off { display: block; }
.demo-stage { margin-top: 48px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 28px; padding: 36px 40px 26px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px 40px; align-items: center; position: relative; backdrop-filter: blur(6px); }
.demo-caption .chap { display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.demo-caption .who { display: none; align-items: center; gap: 10px; margin-bottom: 12px; color: rgba(255,255,255,.85); font-size: 14px; }
.demo-caption .who.show { display: flex; }
.demo-caption .who img { width: 30px; height: 30px; border-radius: 50%; background: var(--white); padding: 3px; }
.demo-caption p { font-family: Georgia, 'Times New Roman', serif; font-size: 27px; line-height: 1.32; color: var(--white); min-height: 4.5em; opacity: 0; }
.demo-caption p.haven { font-style: italic; color: #f3ecd8; }
.demo-caption p.in { animation: narr-in .7s ease-out both; }
.demo-caption .tap { display: inline-block; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.55); }
@keyframes narr-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.devices { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; }
.play-big { position: absolute; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 14px; background: none; border: 0; cursor: pointer; color: #fff; font: inherit; transition: opacity .5s ease, transform .5s ease; }
.play-big i { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--gold); color: var(--indigo-deep); font-size: 34px; font-style: normal; padding-left: 6px; box-shadow: 0 0 0 12px rgba(201,162,74,.22), 0 20px 50px rgba(0,0,0,.45); transition: transform .3s ease, box-shadow .3s ease; }
.play-big:hover i { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(201,162,74,.28), 0 24px 60px rgba(0,0,0,.5); }
.play-big span { font-weight: 600; letter-spacing: .01em; font-size: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.play-big.hide { opacity: 0; pointer-events: none; transform: scale(.9); }
.laptop.active, .phone.active { filter: brightness(.55) saturate(.8); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1), filter .6s ease; }
.playing .laptop.active, .playing .phone.active { filter: none; }
.laptop, .phone { position: absolute; transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); opacity: 0; pointer-events: none; }
.laptop { width: 100%; max-width: 620px; transform: translateX(-60px) scale(.94); }
.phone { width: 276px; transform: translateX(80px) translateY(20px) scale(.92); }
.laptop.active, .phone.active { opacity: 1; transform: none; pointer-events: auto; }
.laptop-screen { background: #0e0e1a; border-radius: 16px 16px 0 0; border: 10px solid #1a1a2e; border-bottom: 0; aspect-ratio: 16 / 10; overflow: hidden; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.laptop-screen img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1), opacity .6s ease; will-change: transform; }
.laptop-base { height: 18px; background: linear-gradient(#2c2c48, #14142a); border-radius: 0 0 18px 18px; margin: 0 -30px; box-shadow: 0 18px 30px rgba(0,0,0,.35); }
.phone-screen { background: #0e0e1a; border-radius: 44px; border: 9px solid #15152a; aspect-ratio: 700 / 1521; overflow: hidden; box-shadow: 0 0 0 2px #3a3a55, 0 34px 70px rgba(0,0,0,.5); }
.phone-screen img { width: 100%; height: 100%; display: block; object-fit: cover; }
.laptop-screen img.in, .phone-screen img.in { animation: shot-in .7s ease-out both; }
@keyframes shot-in { from { opacity: 0; transform: translateY(14px) scale(1.02); } to { opacity: 1; } }
.laptop-screen img.in { animation-name: shot-in-web; }
@keyframes shot-in-web { from { opacity: 0; } to { opacity: 1; } }
.wave { display: inline-flex; gap: 3px; align-items: center; height: 18px; margin-left: 2px; }
.wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--gold); transition: height .2s; }
.wave.on i { animation: wave 1s infinite ease-in-out; }
.wave.on i:nth-child(1) { animation-delay: 0s; } .wave.on i:nth-child(2) { animation-delay: .15s; } .wave.on i:nth-child(3) { animation-delay: .3s; } .wave.on i:nth-child(4) { animation-delay: .45s; } .wave.on i:nth-child(5) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.demo-dock { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 14px; }
.demo-progress { position: relative; height: 8px; background: rgba(255,255,255,0.12); border-radius: 999px; overflow: hidden; display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; padding: 1px; }
.demo-progress i { position: absolute; left: 0; top: 0; bottom: 0; height: 100%; width: 0; background: rgba(201,162,74,0.28); pointer-events: none; z-index: 0; border-radius: 999px; }
.demo-progress .seg { position: relative; z-index: 1; background: rgba(255,255,255,0.18); border: 0; border-radius: 999px; height: 100%; cursor: pointer; padding: 0; transition: background .2s; }
.demo-progress .seg:hover { background: rgba(255,255,255,0.45); }
.demo-progress .seg.done { background: var(--gold); }
.demo-progress .seg.cur { background: var(--white); }
.demo-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.demo-transport, .demo-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.demo-nav-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.08); color: var(--white); display: inline-grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.demo-nav-btn:hover:not(:disabled) { background: rgba(255,255,255,0.18); border-color: var(--gold); }
.demo-nav-btn:disabled { opacity: 0.38; cursor: default; }
.demo-step { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: rgba(255,255,255,0.78); margin-left: 4px; font-variant-numeric: tabular-nums; }
.fine.light { color: rgba(255,255,255,0.55); }
@media (max-width: 900px) {
  .demo-head, .demo-stage { grid-template-columns: 1fr; }
  .demo-stage { padding: 28px 22px 30px; }
  .demo-controls { justify-content: flex-start; }
  .demo-caption p { font-size: 21px; min-height: 0; }
  .devices { min-height: 0; height: 480px; }
  .laptop { width: 110%; max-width: none; } .laptop-base { margin: 0; }
  .phone { width: 236px; }
  .demo-bar-row { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .demo-caption p.in, .laptop-screen img.in, .phone-screen img.in { animation: none; opacity: 1; } .laptop-screen img { transition: none; } .wave.on i { animation: none; height: 10px; } }

/* ── Hub & spoke redesign ─────────────────────────────────────────────── */
/* Narrow screens: nothing may push the page wider than the viewport */
.hero .wrap > *, .demo-head > *, .demo-stage > * { min-width: 0; }
.site-header .wrap { flex-wrap: nowrap; }

/* Products menu */
.nav .has-menu { position: relative; }
.nav .has-menu > a::after { content: " ▾"; font-size: 11px; color: var(--teal); }
.menu { display: none; position: absolute; top: 100%; left: -18px; padding-top: 14px; z-index: 60; }
.has-menu:hover .menu, .has-menu:focus-within .menu { display: block; }
.menu-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 10px; width: 340px; box-shadow: 0 18px 44px rgba(31,30,70,0.16); }
.menu-card a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; }
.menu-card a:hover { background: var(--ivory); }
.menu-card img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.menu-card b { display: block; color: var(--indigo); font-size: 15px; }
.menu-card small { display: block; color: var(--ink-soft); font-size: 12.5px; line-height: 1.35; }

/* Hub diagram */
.hub { margin-top: 56px; display: flex; flex-direction: column; align-items: center; }
.hub-parent { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; }
.hub-stem { position: relative; width: 2px; height: 29px; margin-bottom: -1px; background: var(--gold); overflow: hidden; z-index: 2; }
.hub-stem::after { content: ""; position: absolute; left: 0; right: 0; top: -100%; height: 100%; background: linear-gradient(180deg, transparent, rgba(255, 238, 186, 0.85), transparent); animation: stem-flow 2.8s infinite ease-in-out; }
.hub-node { display: flex; align-items: center; gap: 18px; background: var(--indigo); color: var(--white); border-radius: 22px; padding: 22px 30px; max-width: 560px; box-shadow: 0 18px 40px rgba(31,30,70,0.22), 0 0 0 2px rgba(201,162,74,0.28); transition: transform .25s ease, box-shadow .25s ease; position: relative; z-index: 3; }
.hub-node:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(31,30,70,0.28), 0 0 0 3px var(--gold); }
.hub-node img { width: 64px; height: 64px; flex-shrink: 0; }
.hub-node b { display: block; font-size: 22px; letter-spacing: -0.01em; }
.hub-node span { display: block; font-size: 14.5px; color: rgba(255,255,255,0.8); margin-top: 4px; }
.spokes { position: relative; width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-top: 28px; }
.spokes::before { content: ""; position: absolute; top: 0; left: calc(10% - 9px); right: calc(10% - 9px); height: 2px; border-radius: 2px; background-color: var(--gold); background-image: linear-gradient(90deg, var(--gold) 0%, #E8CA78 50%, var(--gold) 100%); background-size: 200% 100%; animation: rail-shimmer 4s infinite linear; z-index: 1; }
.spoke { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(228,221,208,0.8); border-radius: 18px; padding: 24px 22px; transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, border-color .22s ease; }
.spoke::before { content: ""; position: absolute; top: -29px; left: calc(50% - 1px); width: 2px; height: 29px; background: var(--gold); transition: top .22s cubic-bezier(.22,1,.36,1), height .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, width .2s ease; pointer-events: none; }
.spoke:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(31,30,70,0.14); border-color: var(--gold); }
.spoke:hover::before { top: -24px; height: 24px; box-shadow: 0 0 10px var(--gold); width: 2.5px; }
@keyframes stem-flow { 0% { top: -100%; } 100% { top: 100%; } }
@keyframes rail-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.spoke img { width: 84px; height: 84px; object-fit: contain; }
.spoke h3 { font-size: 18px; margin-top: 14px; }
.spoke h3 small { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 3px; }
.spoke .pill { align-self: flex-start; }
.spoke .hook { font-size: 14.5px; color: var(--indigo); font-weight: 600; margin-top: 14px; line-height: 1.45; }
.spoke .for { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; flex: 1; }
.spoke .go { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--indigo); }
.spoke .go::after { content: " →"; }

/* Coordinate vs guide */
.versus { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; margin-top: 56px; }
.versus .col { border-radius: 22px; padding: 36px; }
.versus .them { background: var(--ivory-2); }
.versus .us { background: var(--indigo); color: var(--white); }
.versus h3 { font-size: 22px; }
.versus .us h3 { color: var(--white); }
.versus ul { list-style: none; margin-top: 22px; display: grid; gap: 16px; }
.versus li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink-soft); }
.versus li b { display: block; color: var(--indigo); font-size: 16px; }
.versus .us li { color: rgba(255,255,255,0.8); }
.versus .us li b { color: var(--white); }
.versus li::before { content: "–"; position: absolute; left: 4px; top: 0; font-weight: 700; color: var(--ink-soft); }
.versus .us li::before { content: "✓"; left: 0; color: var(--gold); }

/* Foundation story */
.foundation .story { margin-top: 20px; max-width: 620px; }
.foundation .story h3 { font-size: 19px; }
.foundation .story p { font-size: 16.5px; color: var(--ink-soft); margin-top: 14px; }

/* Spoke pages */
.passage-nav { background: var(--ivory-2); border-bottom: 1px solid var(--line); }
.passage-nav .wrap { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; flex-wrap: wrap; }
.passage-nav .home { font-size: 13px; font-weight: 700; color: var(--teal); margin-right: 10px; white-space: nowrap; }
.passage-nav a.p { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); padding: 9px 16px; min-height: 40px; border-radius: 999px; white-space: nowrap; transition: background .2s ease, color .2s ease, transform .18s ease, box-shadow .2s ease; }
.passage-nav a.p:hover { background: var(--white); color: var(--indigo); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(31,30,70,0.07); }
.passage-nav a.p.on { background: var(--indigo); color: var(--white); box-shadow: 0 6px 16px rgba(31,30,70,0.16); }
.passage-nav a.p.on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.spoke-badge { display: flex; align-items: center; gap: 14px; }
.spoke-badge img { width: 64px; height: 64px; object-fit: contain; }
.spoke-badge .eyebrow { display: block; }
.spoke-badge .pill { margin-top: 6px; }
.diff-grid.two { grid-template-columns: 1fr 1fr; }
.diff ul { margin-top: 16px; padding-left: 18px; color: var(--ink-soft); font-size: 15px; display: grid; gap: 8px; }
.door-tag { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.shared-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.shared-strip .card { padding: 24px; }
.shared-strip h3 { font-size: 16.5px; }
.shared-strip p { font-size: 14.5px; color: var(--ink-soft); margin-top: 8px; }
.soon-hero { text-align: center; }
.soon-hero .wrap { display: block; max-width: 820px; }
.soon-hero .mark-circle { width: 220px; height: 220px; background: var(--white); border: 1px solid var(--line); }
.soon-hero .mark-circle img { width: 150px; }
.soon-hero h1 { font-size: 48px; margin-top: 14px; }
.soon-hero .lead { margin-left: auto; margin-right: auto; }
.soon-hero .eyebrow { display: block; margin-top: 28px; }

/* Notify / early-access form */
.notify { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; max-width: 620px; }
.soon-hero .notify { margin: 40px auto 0; text-align: left; }
.notify h3 { font-size: 20px; }
.notify > p { font-size: 15px; color: var(--ink-soft); margin-top: 8px; }
.notify form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 20px; }
.notify input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-family: inherit; background: var(--ivory); }
.notify button { justify-content: center; }
.notify .note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-soft); min-height: 1.2em; }

@media (max-width: 900px) {
  .spokes { grid-template-columns: 1fr 1fr; padding-top: 0; margin-top: 20px; }
  .spokes::before, .spoke::before, .hub-stem.to-rail { display: none; }
  .versus, .diff-grid.two { grid-template-columns: 1fr; }
  .shared-strip { grid-template-columns: 1fr 1fr; }
  .soon-hero h1 { font-size: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { min-width: 0; }
  .stat b.stat-words { white-space: normal; }
  .hero-actions, .way-actions { flex-wrap: wrap; }
  .way { padding: 28px 24px; }
}
@media (max-width: 560px) {
  .spokes, .shared-strip { grid-template-columns: 1fr; }
  .hub-node { flex-direction: column; text-align: center; padding: 22px; }
  .notify form { grid-template-columns: 1fr; }
  .notify { padding: 24px; }
  .hero h1 { font-size: 32px; }
  .stats { grid-template-columns: 1fr; }
  .brand-name { font-size: 18px; }
  .brand img { width: 38px; height: 38px; }
}

/* ── Blueprint rebuild additions ──────────────────────────────────────── */
.nav a.active { border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.footer-parent { font-size: 13px !important; }
.footer-parent a { text-decoration: underline; }
.spokes.plain { padding-top: 0; margin-top: 48px; }
.spokes.plain::before, .spokes.plain .spoke::before { display: none; }

/* Products ladder */
.ladder { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 56px; position: relative; }
.ladder::before { content: ""; position: absolute; top: 21px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.ladder li { counter-increment: step; text-align: center; position: relative; padding: 0 8px; }
.ladder li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: var(--indigo); color: var(--white); font-weight: 700; position: relative; }
.ladder b { display: block; color: var(--indigo); font-size: 17px; }
.ladder span { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }

/* FAQ */
.faq { max-width: 820px; margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 700; color: var(--indigo); font-size: 17px; cursor: pointer; }
.faq details p { margin-top: 10px; font-size: 15.5px; color: var(--ink-soft); }

/* Mobile screenshots (iPhone & Android M3) */
.device-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; }
.device-bar p { font-size: 15px; color: var(--ink-soft); }
.device-toggle { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.device-toggle button { background: transparent; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-soft); padding: 9px 18px; min-height: 40px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.device-toggle button.on { background: var(--indigo); color: var(--white); }
.phone-row { display: grid; grid-template-columns: repeat(3, 230px); justify-content: center; gap: 36px 36px; margin-top: 32px; }
.phone-row .phone-screen { width: 230px; }
.phone-screen.android { border-radius: 32px; border-width: 8px; aspect-ratio: 700 / 1521; }
.phone-card { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phone-card[hidden] { display: none; }
.phone-cap { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.phone-cap b { color: var(--indigo); font-weight: 700; }
.phone-cap .os-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.phone-cap .os-dot.and { background: var(--teal); }
@media (max-width: 900px) { .phone-row { grid-template-columns: repeat(2, 220px); gap: 28px 24px; } .phone-row .phone-screen { width: 220px; } }
@media (max-width: 560px) { .phone-row { grid-template-columns: 230px; } .phone-row .phone-screen { width: 230px; } }

/* Contact form */
.contact-card { max-width: none; }
.notify form.contact-form { display: block; margin-top: 0; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-family: inherit; background: var(--ivory); margin-bottom: 16px; }
.contact-form button { width: 100%; justify-content: center; }
.contact-form .note { margin-top: 12px; font-size: 13px; color: var(--ink-soft); min-height: 1.2em; }
.about-hero .fine { font-size: 13px; }

@media (max-width: 900px) {
  .ladder { grid-template-columns: 1fr; gap: 18px; }
  .ladder::before { display: none; }
  .ladder li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; text-align: left; align-items: center; }
  .ladder li::before { margin: 0; grid-row: span 2; }
  .shared-strip[style] { grid-template-columns: 1fr !important; }
}

/* Brand guide v3: gold only for CTAs and single accents, so the closing banner is indigo */
.band { background: var(--indigo); }
.band h2 { color: var(--ivory); }
.band .btn-indigo { background: var(--gold); color: var(--indigo-deep); }
.band .btn-indigo:hover { background: var(--gold-deep); }
.band .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.45); }
.band .btn-outline:hover { background: rgba(255,255,255,0.08); }

/* Legal pages (privacy, terms) */
.legal { max-width: 780px; }
.legal h1 { font-size: 40px; margin-top: 12px; }
.legal .updated { display: block; font-size: 13px; color: var(--ink-soft); margin: 6px 0 28px; }
.legal h2 { font-size: 21px; margin-top: 36px; max-width: none; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; margin-top: 12px; }
.legal ul { padding-left: 24px; }
.legal a { color: var(--teal); text-decoration: underline; }
/* Home/About hero photo: landscape crop (no logo on the blanket) */
.hero .photo.landscape, .about-hero .photo.landscape { height: auto; aspect-ratio: 720 / 408; }

/* ── Indigo top banner with the full navigation ───────────────────────── */
.site-header { background-color: var(--indigo); background-image: linear-gradient(180deg, #302F63 0%, var(--indigo) 100%); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); transform: translateZ(0); backface-visibility: hidden; border-bottom: 1px solid rgba(201,162,74,0.22); transition: background-color .24s ease, box-shadow .24s ease, border-color .24s ease; }
.site-header::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(201,162,74,0.65) 50%, transparent 100%); pointer-events: none; }
.site-header.scrolled { background-color: rgba(31, 30, 70, 0.92); background-image: linear-gradient(180deg, rgba(48, 47, 99, 0.92) 0%, rgba(31, 30, 70, 0.92) 100%); box-shadow: 0 12px 32px rgba(20, 19, 48, 0.28); border-bottom-color: rgba(201,162,74,0.38); }
.site-header .wrap { gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.site-header.scrolled .wrap { padding-top: 12px; padding-bottom: 12px; }
.brand img { background: var(--ivory); border-radius: 50%; padding: 3px; box-shadow: 0 0 0 2px rgba(201,162,74,0.32); transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease; }
.brand:hover img, .brand:focus-visible img { transform: scale(1.06) rotate(-3deg); box-shadow: 0 0 0 3px var(--gold), 0 6px 16px rgba(0,0,0,0.28); }
.brand-name { color: var(--white); white-space: nowrap; transition: color .2s ease; }
.brand-by { color: rgba(255,255,255,0.75); white-space: nowrap; transition: color .2s ease; }
.brand:hover .brand-by { color: var(--gold); }
.nav { gap: 6px; margin-left: 12px; flex-shrink: 0; }
.nav > a, .menu-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.9); font: inherit; font-size: 15px; font-weight: 500; white-space: nowrap; padding: 8px 14px; min-height: 38px; border-radius: 999px; background: transparent; border: 1px solid transparent; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .18s ease; }
.nav > a::before, .menu-btn::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .24s cubic-bezier(.22,1,.36,1); }
.nav > a:hover, .menu-btn:hover, .has-menu.open .menu-btn { color: var(--white); background: rgba(248, 244, 236, 0.10); border-color: rgba(201,162,74,0.30); }
.nav > a:hover::before, .menu-btn:hover::before, .has-menu.open .menu-btn::before { transform: scaleX(1); }
.nav > a.active, .menu-btn.active { color: var(--white); font-weight: 700; background: rgba(248, 244, 236, 0.12); border-color: rgba(201,162,74,0.42); border-bottom: 1px solid rgba(201,162,74,0.42); padding-bottom: 8px; }
.nav > a.active::before, .menu-btn.active::before { transform: scaleX(1); }
.menu-btn::after { content: "▾"; display: inline-block; font-size: 11px; color: var(--gold); transition: transform .22s cubic-bezier(.22,1,.36,1); }
.has-menu.open .menu-btn::after { transform: rotate(180deg); }
.menu { display: block; position: absolute; top: 100%; left: -12px; padding-top: 12px; z-index: 60; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px) scale(0.98); transform-origin: top left; transition: opacity .2s ease, transform .22s cubic-bezier(.22,1,.36,1), visibility .2s; }
.has-menu:hover .menu, .has-menu:focus-within .menu { display: block; }
.has-menu.open .menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.menu-card.mega { width: 680px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 22px 52px rgba(20,19,48,0.24), 0 0 0 1px rgba(201,162,74,0.18); display: grid; grid-template-columns: 245px 1fr; gap: 14px; background: var(--white); }
.menu-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.menu-col.right { border-left: 1px solid var(--line); padding-left: 14px; justify-content: space-between; }
.menu-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); padding: 4px 10px 2px; }
.menu-card a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; transition: background .18s ease, transform .18s ease; }
.menu-card a:hover, .menu-card a.active-item { background: var(--ivory); transform: translateX(2px); }
.menu-card .title-row { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; white-space: nowrap; }
.menu-badge { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; line-height: 1.4; flex-shrink: 0; font-style: normal; }
.menu-badge.live { background: #DDEBE4; color: var(--teal); }
.menu-badge.building { background: #E4E0F2; color: var(--indigo); }
.menu-badge.planned { background: #EFE6D2; color: var(--gold-deep); }
.menu-trio-marks { display: inline-flex; align-items: center; flex-shrink: 0; }
.menu-trio-marks img { width: 24px; height: 24px; border-radius: 50%; background: var(--ivory); padding: 2px; border: 1px solid var(--line); }
.menu-trio-marks img + img { margin-left: -9px; }
.menu-overview { margin-top: 4px; background: var(--ivory); border: 1px solid var(--line); }
.menu-overview b { display: inline-flex; align-items: center; gap: 6px; }
.menu-overview b::after { content: "→"; color: var(--gold-deep); transition: transform .18s ease; }
.menu-overview:hover b::after { transform: translateX(3px); }
.header-right { margin-left: auto; flex-shrink: 0; }
.header-right .btn { white-space: nowrap; }
.header-right .btn-primary.sm { box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 4px 14px rgba(201,162,74,0.28); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.header-right .btn-primary.sm::after { content: "→"; display: inline-block; margin-left: 2px; transition: transform .2s ease; }
.header-right .btn-primary.sm:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.48), 0 8px 20px rgba(201,162,74,0.38); }
.header-right .btn-primary.sm:hover::after { transform: translateX(3px); }
.nav-toggle { display: none; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); border-radius: 10px; cursor: pointer; width: 42px; height: 42px; padding: 9px; margin-left: auto; transition: background .2s ease, border-color .2s ease; }
.nav-toggle:hover { background: rgba(255,255,255,0.16); border-color: var(--gold); }
.nav-toggle i { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px auto; border-radius: 2px; transition: transform .24s cubic-bezier(.22,1,.36,1), opacity .2s ease; }
.site-header.open .nav-toggle i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .nav-toggle i:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ladder em { display: block; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--teal); margin-top: 6px; }
.diff-grid.four { grid-template-columns: repeat(4, 1fr); }
.diff-grid.four .diff { padding: 26px; }
.soon-mark { width: 84px; height: 84px; object-fit: contain; margin-bottom: 12px; }
.notify select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-family: inherit; background: var(--ivory); }

@media (max-width: 1340px) {
  .nav-toggle { display: block; }
  .site-header .wrap { position: relative; flex-wrap: wrap; }
  .site-header .nav { display: none; order: 5; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 0 16px; border-top: 1px solid rgba(255,255,255,0.18); }
  .site-header.open .nav { display: flex; }
  .site-header.open .nav .nav-signin { display: flex; color: var(--ivory); font-weight: 600; }
  .site-header.open,
  .site-header.scrolled.open {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background-color: var(--indigo);
    background-image: linear-gradient(180deg, #302F63 0%, var(--indigo) 100%);
  }
  html.nav-open, html.nav-open body { overflow: hidden; }
  .nav > a, .menu-btn { padding: 10px 12px; font-size: 16px; width: 100%; justify-content: space-between; border-radius: 12px; }
  .nav > a::before, .menu-btn::before { display: none; }
  .nav .has-menu { width: 100%; }
  .menu { display: none; position: static; padding-top: 6px; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .has-menu.open .menu { display: block; }
  .menu-card, .menu-card.mega { width: 100%; max-width: 520px; grid-template-columns: 1fr; }
  .menu-col.right { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 10px; }
  .header-right .btn { display: inline-flex; }
  .diff-grid.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .header-right .btn.sm { padding: 8px 12px; font-size: 12.5px; }
  .brand-by { display: none; }
  .diff-grid.four { grid-template-columns: 1fr; }
  .site-header .wrap { gap: 10px; }
}
@media (max-width: 1340px) {
  .site-header .header-right { order: 2; margin-left: auto; }
  .site-header .nav-toggle { order: 3; margin-left: 0; }
}

.nav .nav-contact { display: none; }
@media (max-width: 560px) {
  .site-header .header-right .btn { display: none; }
  .nav .nav-contact { display: block; color: var(--gold); font-weight: 700; }
}

/* Captioned photos (Ted Katz, 1966) */
.photo-fig { margin: 0; min-width: 0; }
.photo-fig figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.letter-photo { max-width: 780px; margin: 48px auto 0; }
.letter-photo .photo { aspect-ratio: 1024 / 502; }
.letter-photo + .letter { margin-top: 32px; }

/* ── Batch 3: Sign In Pill, Workforce Impact Estimator, Bridge Diagram & Scroll Reveals ── */
.btn-signin { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; min-height: 38px; border-radius: 999px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.92); background: rgba(248,244,236,0.08); border: 1px solid rgba(248,244,236,0.28); transition: background .2s ease, border-color .2s ease, color .2s ease, transform .18s ease; white-space: nowrap; }
.btn-signin:hover { color: var(--white); background: rgba(248,244,236,0.16); border-color: var(--gold); transform: translateY(-1px); }
.nav .nav-signin { display: none; }
@media (max-width: 560px) {
  .header-right .btn-signin { display: none; }
  .nav .nav-signin { display: flex; color: var(--ivory); font-weight: 600; }
}

/* Workforce Impact Estimator (/employers#case) */
.calc-card { margin-top: 36px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px 36px; box-shadow: 0 16px 40px rgba(31,30,70,0.08); }
.calc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.calc-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.calc-title { display: block; font-size: 24px; color: var(--indigo); letter-spacing: -0.015em; margin-top: 6px; line-height: 1.25; }
.calc-sub { display: block; font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }
.calc-presets { display: inline-flex; background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.calc-presets button { background: transparent; border: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); padding: 7px 14px; min-height: 36px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.calc-presets button.on { background: var(--indigo); color: var(--white); }
.calc-slider-row { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.calc-label { font-size: 15px; font-weight: 600; color: var(--ink); display: flex; align-items: baseline; justify-content: space-between; }
.calc-label output { font-family: Georgia, 'Times New Roman', serif; font-size: 26px; font-weight: 700; color: var(--indigo); font-variant-numeric: tabular-nums; }
#emp-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: var(--ivory-2); outline: none; cursor: pointer; accent-color: var(--indigo); }
#emp-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); border: 3px solid var(--indigo); box-shadow: 0 3px 10px rgba(31,30,70,0.25); cursor: pointer; transition: transform .15s ease; }
#emp-slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc-metrics { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.calc-metric { background: var(--ivory); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.calc-metric.highlight { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.calc-metric small { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.calc-metric.highlight small { color: var(--gold); }
.calc-metric b { font-family: Georgia, 'Times New Roman', serif; font-size: 28px; color: var(--indigo); line-height: 1.15; margin-top: 2px; font-variant-numeric: tabular-nums; }
.calc-metric.highlight b { color: var(--white); }
.calc-metric span { font-size: 13px; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }
.calc-metric.highlight span { color: rgba(255,255,255,0.78); }
.calc-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.calc-foot span { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 900px) { .calc-metrics { grid-template-columns: 1fr; } .calc-card { padding: 24px 20px; } }

/* The Bridge Continuity Diagram (/legacy#bridge) */
.bridge-diagram { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 20px; align-items: center; background: var(--ivory-2); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.bridge-node { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 10px 24px rgba(31,30,70,0.06); }
.bridge-node.dest { background: var(--indigo); color: var(--white); border-color: var(--indigo); box-shadow: 0 14px 32px rgba(31,30,70,0.18); }
.bridge-node img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; background: var(--ivory); border-radius: 50%; padding: 4px; }
.bridge-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.bridge-tag.live { color: var(--gold); }
.bridge-node b { display: block; font-size: 18px; color: var(--indigo); margin-top: 2px; }
.bridge-node.dest b { color: var(--white); }
.bridge-node small { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 4px; line-height: 1.4; }
.bridge-node.dest small { color: rgba(255,255,255,0.8); }
.bridge-track { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 8px; }
.bridge-badge { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo-deep); background: #EFE6D2; border: 1px solid rgba(201,162,74,0.45); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.bridge-rail { position: relative; width: 100%; height: 3px; background: rgba(201,162,74,0.35); border-radius: 999px; overflow: hidden; }
.bridge-pulse { position: absolute; top: 0; bottom: 0; left: -35%; width: 35%; background: linear-gradient(90deg, transparent, var(--gold), var(--indigo), transparent); animation: bridge-flow 2.6s infinite ease-in-out; }
@keyframes bridge-flow { 0% { left: -35%; } 100% { left: 100%; } }
.bridge-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bridge-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--indigo); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.bridge-chip i { font-style: normal; color: var(--teal); font-weight: 800; }
@media (max-width: 960px) { .bridge-diagram { grid-template-columns: 1fr; padding: 22px; } }

/* Scroll-triggered staggered section card reveals */
.reveal-ready { opacity: 0; transform: translateY(14px); transition: opacity .48s cubic-bezier(.22,1,.36,1), transform .48s cubic-bezier(.22,1,.36,1); }
.reveal-ready.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hub-stem::after, .spokes::before, .bridge-pulse { animation: none; }
  .reveal-ready { opacity: 1; transform: none; transition: none; }
}

/* ── Hero Software UI Proof Overlay (index.html & families.html) ────────── */
@keyframes hero-card-popup {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.photo.has-ui-card {
  position: relative;
  overflow: visible;
  background: transparent;
  height: auto !important;
  aspect-ratio: auto !important;
}
.photo.has-ui-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 16px 38px rgba(20, 19, 48, 0.12);
}
.photo.landscape.has-ui-card > img {
  aspect-ratio: 720 / 408;
}
.hero-ui-card {
  position: relative;
  z-index: 4;
  margin: -26px 20px 0;
  background: rgba(255, 253, 248, 0.97);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(201, 162, 74, 0.48); border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 18px 42px rgba(20, 19, 48, 0.18), 0 -4px 16px rgba(20, 19, 48, 0.06);
  display: flex; flex-direction: column; gap: 10px;
  animation: hero-card-popup 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  transition: transform .28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .28s ease;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
.photo.has-ui-card:hover .hero-ui-card {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(20, 19, 48, 0.24), 0 -6px 20px rgba(20, 19, 48, 0.08);
}
.hero-ui-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero-ui-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--indigo); }
.hero-ui-brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(79, 138, 122, 0.22); display: inline-block; }
.hero-ui-pill { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #EFE6D2; color: var(--gold-deep); border: 1px solid rgba(201, 162, 74, 0.35); }
.hero-ui-items { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-ui-item { background: var(--ivory); border: 1px solid var(--line); border-radius: 11px; padding: 8px 10px; font-size: 12px; line-height: 1.35; color: var(--ink); display: flex; align-items: flex-start; gap: 7px; }
.hero-ui-item b { color: var(--teal); font-weight: 800; flex-shrink: 0; }
.hero-ui-item span { display: block; color: var(--indigo); font-weight: 600; }
.hero-ui-item small { display: block; color: var(--ink-soft); font-size: 11px; margin-top: 1px; }
@media (max-width: 640px) {
  .hero-ui-items { grid-template-columns: 1fr; }
  .hero-ui-card { margin: -20px 12px 0; padding: 12px; }
}

/* ── Mid-Page Moment Photo Context Badge ────────────────────────────────── */
.moment-overlay {
  position: relative;
  z-index: 3;
  margin: -22px 18px 0;
  background: rgba(31, 30, 70, 0.94); color: var(--white);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 74, 0.45); border-radius: 14px;
  padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 14px 30px rgba(20, 19, 48, 0.22);
}
.moment-overlay b { display: block; font-size: 13px; color: var(--gold); letter-spacing: 0.02em; }
.moment-overlay span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.86); margin-top: 2px; }
.moment-overlay i { font-style: normal; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(79, 138, 122, 0.28); color: #AEE5D8; border: 1px solid rgba(79, 138, 122, 0.45); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .hero-ui-card { animation: none; }
}
/* ── Transparent Trial & Employer Access Grid (/families#download) ──────── */
.pricing-grid { margin-top: 36px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch; }
.plan-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; box-shadow: 0 14px 34px rgba(31, 30, 70, 0.06); }
.plan-card.featured { border: 2px solid var(--gold); box-shadow: 0 18px 44px rgba(31, 30, 70, 0.10); position: relative; }
.plan-card.dark { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; background: #DDEBE4; color: var(--teal); }
.plan-card.dark .plan-badge { background: rgba(201, 162, 74, 0.20); color: var(--gold); border: 1px solid rgba(201, 162, 74, 0.38); }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.plan-price b { font-family: 'Fraunces', Georgia, serif; font-size: 34px; color: var(--indigo); line-height: 1.1; }
.plan-card.dark .plan-price b { color: var(--white); }
.plan-price span { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.plan-card.dark .plan-price span { color: rgba(255, 255, 255, 0.78); }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); }
.plan-card.dark .plan-list { color: rgba(255, 255, 255, 0.85); }
.plan-list li { display: flex; align-items: center; gap: 9px; }
.plan-list li::before { content: "✓"; font-weight: 800; color: var(--teal); }
.plan-card.dark .plan-list li::before { color: var(--gold); }
.store-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.store-pill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 14px; font-size: 14px; font-weight: 700; background: var(--ivory); color: var(--indigo); border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.store-pill.primary { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.store-pill:hover { transform: translateY(-2px); border-color: var(--gold); }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ── Anonymized HR Aggregate Impact Dashboard Preview (/employers#security) ─ */
.hr-preview { margin-top: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; box-shadow: 0 16px 40px rgba(31, 30, 70, 0.08); }
.hr-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hr-preview-title { display: flex; align-items: center; gap: 10px; }
.hr-preview-title b { font-size: 16px; color: var(--indigo); }
.hr-lock-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #DDEBE4; color: var(--teal); }
.hr-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.hr-kpi { background: var(--ivory); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.hr-kpi small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.hr-kpi b { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 26px; color: var(--indigo); margin-top: 4px; font-variant-numeric: tabular-nums; }
.hr-kpi span { display: block; font-size: 12px; color: var(--teal); font-weight: 600; margin-top: 2px; }
.hr-bars { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hr-bar-card { background: var(--ivory); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; }
.hr-bar-head { display: flex; justify-content: space-between; font-weight: 700; color: var(--indigo); margin-bottom: 6px; }
.hr-bar-track { height: 6px; border-radius: 999px; background: rgba(43, 42, 90, 0.12); overflow: hidden; }
.hr-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--gold)); }
@media (max-width: 900px) { .hr-kpis { grid-template-columns: 1fr 1fr; } .hr-bars { grid-template-columns: 1fr; } }

/* ── Workflow Contrast Banner (/products#why) ───────────────────────────── */
.workflow-contrast { margin-top: 32px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; background: var(--ivory-2); border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; }
.wf-side { display: flex; flex-direction: column; gap: 8px; }
.wf-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.wf-side.good .wf-label { color: var(--teal); }
.wf-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.wf-pill { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: var(--white); color: var(--ink-soft); border: 1px solid var(--line); }
.wf-side.good .wf-pill { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.wf-arrow { font-size: 20px; font-weight: 800; color: var(--gold-deep); padding: 0 6px; }
@media (max-width: 900px) { .workflow-contrast { grid-template-columns: 1fr; } .wf-arrow { display: none; } }

/* ── Contact Expectation Steps (/contact) ───────────────────────────────── */
.contact-expect { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.contact-expect-title { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.expect-row { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.expect-row i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--ivory-2); color: var(--indigo); font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; border: 1px solid rgba(201, 162, 74, 0.38); }
.expect-row b { color: var(--indigo); display: block; font-size: 14.5px; }

/* ── Passage Nav "We're Working On It" Timeline Placeholder Banner ──────── */
@keyframes passage-banner-in {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.passage-placeholder {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%);
  border-bottom: 1px solid rgba(201, 162, 74, 0.38);
  padding: 20px 0;
  animation: passage-banner-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.passage-placeholder[hidden] { display: none !important; }
.pp-card {
  background: var(--white);
  border: 1.5px solid rgba(201, 162, 74, 0.55);
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: 0 16px 38px rgba(31, 30, 70, 0.10);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}
.pp-marks { display: inline-flex; align-items: center; flex-shrink: 0; }
.pp-marks img { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; background: var(--ivory); padding: 4px; border: 1px solid var(--line); }
.pp-marks img + img { margin-left: -14px; }
.pp-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pp-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pp-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: #EFE6D2; color: var(--gold-deep); border: 1px solid rgba(201, 162, 74, 0.40); }
.pp-title { font-family: 'Fraunces', Georgia, serif; font-size: 22px; color: var(--indigo); line-height: 1.2; font-weight: 650; }
.pp-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; margin: 0; }
.pp-timeline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pp-node { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--ivory); color: var(--ink-soft); border: 1px solid var(--line); }
.pp-node b { color: var(--indigo); }
.pp-node.active { background: var(--indigo); color: var(--white); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.25); }
.pp-node.active b { color: var(--gold); }
.pp-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.pp-actions-row { display: flex; align-items: center; gap: 10px; }
.pp-close { background: transparent; border: 0; font-size: 13px; font-weight: 600; color: var(--ink-soft); cursor: pointer; padding: 4px 8px; }
.pp-close:hover { color: var(--indigo); }
.ladder li.timeline-pulse::before {
  background: var(--gold);
  color: var(--indigo-deep);
  box-shadow: 0 0 0 6px rgba(201, 162, 74, 0.32);
  transform: scale(1.14);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
@media (max-width: 900px) {
  .pp-card { grid-template-columns: 1fr; align-items: flex-start; }
  .pp-actions { align-items: flex-start; width: 100%; }
}
