/* Xalry design system — calm, light, gold accent. Mobile first. */
:root {
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --surface-2: #FBFAF6;
  --ink: #3C3F44;
  --ink-strong: #1E2126;
  --muted: #6B6F76;
  --line: #E4E0D5;
  --gold: #C9A13B;
  --gold-ink: #8A6A16;      /* gold text on light bg (AA contrast) */
  --gold-soft: #F4ECD6;
  --navy: #0F1B2D;
  --navy-2: #1A2940;
  --pos: #1E7A4D;
  --neg: #B3261E;
  --warn: #9A6400;
  --info: #2F5A8A;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15,27,45,.05), 0 8px 24px rgba(15,27,45,.06);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --maxw: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-strong); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.num, table td.num, table th.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pos { color: var(--pos); } .neg { color: var(--neg); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section.tight { padding: 32px 0; }
.stack > * + * { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }

/* ---------- header / footer ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 64px; width: auto; border-radius: 8px; }
.wordmark { font: 700 1.25rem var(--font-head); letter-spacing: .14em; color: var(--ink-strong); }
.wordmark b { color: var(--gold); font-weight: 800; }
.nav { display: none; gap: 4px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a.on { background: var(--gold-soft); color: var(--ink-strong); }
.menu-btn { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 16px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
@media (min-width: 1200px) { .nav { display: flex; } .menu-btn, .mobile-nav { display: none !important; } }
.risk-strip { background: var(--navy); color: #E8E6DF; font-size: .82rem; text-align: center; padding: 7px 16px; }
.site-footer { background: var(--navy); color: #C9CDD4; margin-top: 48px; padding: 40px 0 28px; font-size: .9rem; }
.site-footer a { color: #F1E3BC; }
.site-footer h4, .site-footer .ft-h { color: #fff; font-size: .95rem; margin: 0 0 8px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.site-footer .disclaimer { border-top: 1px solid var(--navy-2); margin-top: 24px; padding-top: 16px; color: #AEB4BD; }

/* ---------- components ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card.soft { background: var(--surface-2); }
.card h3:first-child { margin-top: 0; }
.kpi { display: flex; flex-direction: column; gap: 2px; }
.kpi .label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi .value { font: 700 1.5rem var(--font-head); color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font: 600 .98rem var(--font-body); text-decoration: none; cursor: pointer; background: var(--navy); color: #fff; }
.btn:hover { background: var(--navy-2); color: #fff; }
.btn.gold { background: var(--gold); color: var(--ink-strong); }
.btn.gold:hover { background: #B8912E; color: var(--ink-strong); }
.btn.ghost { background: transparent; color: var(--ink-strong); border-color: var(--line); }
.btn.ghost:hover { background: var(--gold-soft); }
.btn.danger { background: var(--neg); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: .88rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #ECEAE3; color: var(--ink); white-space: nowrap; }
.pill.green { background: #DDF0E5; color: var(--pos); } .pill.red { background: #F7DEDC; color: var(--neg); }
.pill.amber { background: #F6E8C8; color: var(--warn); } .pill.blue { background: #DDE7F2; color: var(--info); }
.light { width: 10px; height: 10px; border-radius: 50%; display: inline-block; vertical-align: middle; }
.light.green { background: #2E9E63; } .light.amber { background: #D9A21B; } .light.red { background: #C9372C; }
.notice { border-radius: var(--radius-sm); padding: 12px 14px; border: 1px solid var(--line); background: var(--surface-2); }
.notice.warn { background: #FBF3DF; border-color: #EAD49B; }
.notice.error { background: #FBE9E7; border-color: #EFC2BD; }
.notice.ok { background: #E6F4EC; border-color: #BFE0CC; }
.notice.info { background: #E9F0F7; border-color: #C5D5E6; }
.placeholder { background: #FFF6D8; border: 1px dashed #D9B44A; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.eyebrow { font: 600 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.lead { font-size: 1.12rem; color: var(--ink); max-width: 60ch; }
.hero { padding: 56px 0 40px; }
.hero-img { border-radius: var(--radius); background: linear-gradient(135deg,#EFE8D6,#E4E9EF); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.steps { counter-reset: s; display: grid; gap: 12px; }
.steps > li { list-style: none; counter-increment: s; position: relative; padding: 14px 16px 14px 56px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.steps > li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); font: 700 .95rem var(--font-head); display: flex; align-items: center; justify-content: center; }
.steps { padding: 0; margin: 0; }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 16px; }
details.faq + details.faq { margin-top: 10px; }
details.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--ink-strong); }
details.faq[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }

/* ---------- forms ---------- */
label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 6px; color: var(--ink-strong); }
.field { margin-bottom: 16px; }
.help { font-size: .85rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=number], input[type=tel], input[type=password], input[type=date], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #CFCAB9; border-radius: 10px; font: inherit; background: #fff; color: var(--ink-strong); }
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(201,161,59,.45); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
.radio-cards { display: grid; gap: 10px; }
.radio-cards label { font-weight: 400; display: flex; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; background: var(--surface-2); }
tr:last-child td { border-bottom: none; }

/* ---------- app shells (portal + admin) ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 248px; flex: none; background: var(--navy); color: #D8DCE2; padding: 18px 12px; display: none; }
.sidebar .wordmark { color: #fff; }
.sidebar nav a { display: block; padding: 9px 12px; color: #D8DCE2; text-decoration: none; border-radius: 8px; font-size: .94rem; }
.sidebar nav a:hover { background: var(--navy-2); color: #fff; }
.sidebar nav a.on { background: rgba(201,161,59,.18); color: #F4E2AE; }
.sidebar .group { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8C96A5; margin: 18px 12px 6px; }
.app-main { flex: 1; min-width: 0; }
.app-top { background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 10; }
.app-body { padding: 20px 16px 48px; max-width: 1180px; }
.app-mobile-nav { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px; background: var(--navy); }
.app-mobile-nav a { color: #D8DCE2; text-decoration: none; white-space: nowrap; padding: 6px 10px; border-radius: 8px; font-size: .88rem; }
.app-mobile-nav a.on { background: rgba(201,161,59,.25); color: #fff; }
@media (min-width: 1000px) { .sidebar { display: block; } .app-mobile-nav { display: none; } .app-body { padding: 28px 32px 56px; } }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { font-size: 1.6rem; margin: 0; }
.kill-on { background: var(--neg); color: #fff; }

/* ---------- Landing page: motion & dynamic sections ---------- */
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .site-header .wrap > .row { flex-wrap: nowrap; }
  .brand img { height: 46px; }
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.rotator { color: var(--gold-ink); display: inline-flex; align-items: center; gap: .3em; white-space: nowrap; transition: opacity .35s ease, transform .35s ease; }
.rotator .rw { border-bottom: 2px solid var(--gold); line-height: 1.25; }
.rotator .ri { height: 1.15em; width: auto; margin-left: .1em; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.rotator.out { opacity: 0; transform: translateY(-8px); }

/* hero chart card */
.chart-card { position: relative; border-radius: var(--radius); background: linear-gradient(160deg,#0F1B2D,#1A2940); color: #E6E9EE; padding: 22px; box-shadow: var(--shadow); overflow: hidden; }
.chart-card .tag { display:inline-flex; align-items:center; gap:8px; font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; color:#E3CF97; }
.chart-card .live-dot { width:8px; height:8px; border-radius:50%; background:#3DDC84; box-shadow:0 0 0 0 rgba(61,220,132,.7); animation: pulse 1.8s infinite; }
.chart-card svg { width: 100%; height: auto; display: block; margin: 12px 0 4px; }
.chart-card .line { fill: none; stroke: url(#goldGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 3.2s ease forwards; }
.chart-card .area { fill: url(#goldFill); opacity: 0; animation: fadein 1.2s 2.2s forwards; }
.chart-card .marker { fill: #E3CF97; opacity: 0; animation: pop .4s forwards; }
.chart-card .caption { font-size: .72rem; color: #AEB6C2; }
.chart-card .events { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.chart-card .events span { font-size:.78rem; background: rgba(255,255,255,.07); border:1px solid rgba(227,207,151,.25); border-radius:999px; padding:4px 10px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: .9; } }
@keyframes pop { to { opacity: 1; } }
@keyframes pulse { 0% { box-shadow:0 0 0 0 rgba(61,220,132,.6);} 70% { box-shadow:0 0 0 10px rgba(61,220,132,0);} 100% { box-shadow:0 0 0 0 rgba(61,220,132,0);} }

/* "a day in your life" moments */
.moments { background: radial-gradient(1200px 400px at 80% -10%, rgba(201,161,59,.22), transparent 60%), linear-gradient(180deg,#0F1B2D,#14233A); color: #E6E9EE; padding: 56px 0; position: relative; overflow: hidden; }
.moments h2 { color: #fff; }
.moments .sub { color: #B9C1CC; max-width: 60ch; }
.moments .track { display: grid; gap: 14px; margin-top: 26px; position: relative; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 900px) { .moments .track { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.moment .photo { height: 120px; margin: -20px -18px 14px; border-radius: 18px 18px 0 0; background-color: #1E2E47; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.moment .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,27,45,0) 40%, rgba(15,27,45,.85)); }
.moment .photo .ico { position: absolute; left: 12px; bottom: 10px; margin: 0; z-index: 1; width: 40px; height: 40px; font-size: 1.2rem; border-radius: 12px; }
.m-lunch  { background-image: url(../img/moments/lunch.jpg); }
.m-office { background-image: url(../img/moments/office.jpg); }
.m-dinner { background-image: url(../img/moments/dinner.jpg); }
.m-family { background-image: url(../img/moments/family.jpg); }
@media (max-width: 520px) { .moment { padding: 16px 14px 14px; } .moment .photo { height: 96px; margin: -16px -14px 12px; } .moment p { font-size: .84rem; } .moment h3 { font-size: 1rem; } }
.perf { background: linear-gradient(135deg,#FFFCF3,#FFFFFF); border: 1px solid #E3CF97; border-radius: var(--radius); padding: 24px; }
.perf .badges { display:flex; flex-wrap:wrap; gap:8px; margin: 12px 0 16px; }
.perf .badges span { font-size:.8rem; background:#F6EED6; color:#7A5C12; border-radius:999px; padding:5px 12px; }
.perf .ph { border: 2px dashed #E3CF97; border-radius: 14px; padding: 18px; text-align:center; color: var(--muted, #667085); margin-top: 14px; }
.moment { scroll-snap-align: start; }
}
.moment { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(227,207,151,.22); border-radius: 18px; padding: 20px 18px 18px; backdrop-filter: blur(4px); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.moment:hover { transform: translateY(-6px); border-color: rgba(227,207,151,.6); background: rgba(255,255,255,.08); }
.moment .time { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: #E3CF97; }
.moment .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: linear-gradient(135deg, rgba(201,161,59,.35), rgba(201,161,59,.08)); margin: 12px 0; }
.moment h3 { color: #fff; margin: 0 0 6px; }
.moment p { color: #C7CDD6; font-size: .92rem; margin: 0; }
.moment .duty { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: .78rem; color: #9FE3BE; }
.moment .duty i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; animation: pulse 1.8s infinite; }
.moments .swipe { font-size: .78rem; color: #8F99A8; margin-top: 6px; }
@media (min-width: 720px) { .moments .swipe { display: none; } }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--gold-ink); }
.stat span { font-size: .86rem; color: var(--muted); }

/* interactive planner */
.planner { background: linear-gradient(135deg,#FBF6E8,#FFFFFF); border: 1px solid #E3CF97; border-radius: 20px; padding: 24px; }
.planner input[type=range] { width: 100%; accent-color: var(--gold); }
.planner .out { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
@media (min-width: 720px) { .planner .out { grid-template-columns: repeat(4, 1fr); } }
.planner .out div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.planner .out small { display: block; color: var(--muted); font-size: .76rem; }
.planner .out strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink-strong); }
.pill-gold { display:inline-block; background: var(--gold-soft); color: var(--gold-ink); border-radius: 999px; padding: 3px 10px; font-size: .78rem; font-weight: 600; }

/* sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px max(16px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(15,27,45,.96); display: flex; gap: 10px; align-items: center; justify-content: space-between; transform: translateY(110%); transition: transform .35s ease; }
.sticky-cta.show { transform: none; }
.sticky-cta span { color: #E6E9EE; font-size: .86rem; }
@media (min-width: 960px) { .sticky-cta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .chart-card .line, .chart-card .area, .chart-card .marker, .live-dot, .moment .duty i { animation: none; stroke-dashoffset: 0; opacity: 1; }
}
.btn.navy { background: var(--navy, #0F1B2D); color: #fff; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn.ghost-light:hover { background: rgba(255,255,255,.1); }
.sticky-cta .btn { flex: 1; }
.sticky-cta .btn.navy { border-color: rgba(255,255,255,.45); }
.planner .out.out3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.planner .out.out3 > div:first-child { grid-column: 1 / -1; }
@media (min-width: 720px) { .planner .out.out3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .planner .out.out3 > div:first-child { grid-column: auto; } }

.btn.green { background: #3F4652; color: #fff; }
.btn.green:hover { background: #2E343D; color: #fff; }
.btn.gold { box-shadow: 0 6px 18px rgba(201,161,59,.35); font-weight: 700; }
.show-sm { display: none; }
@media (max-width: 640px) { .show-sm { display: inline; } }
.signin-strip { background: #F1EFEA; border-bottom: 1px solid var(--line); }
.signin-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-block: 10px; font-size: .92rem; }
.moment .photo { height: 170px; background-position: center 30%; }
@media (max-width: 520px) { .moment .photo { height: 118px; } }
.moment .photo::after { background: linear-gradient(180deg, rgba(15,27,45,0) 45%, rgba(15,27,45,.9)); }
.moment .photo .ico { background: rgba(15,27,45,.55); border: 1px solid rgba(227,207,151,.45); backdrop-filter: blur(3px); }
.moment .photo .ico svg { height: 20px; width: auto; fill: none; stroke: #E3CF97; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.site-header .btn { white-space: nowrap; }
@media (max-width: 400px) { .brand img { height: 40px; } .site-header .btn.sm { padding: 0 9px; font-size: .82rem; } .menu-btn { padding: 8px 9px; } }

/* navy header with text wordmark */
.site-header { background: #0F1B2D; border-bottom: 1px solid rgba(255,255,255,.08); }
.hdr-mark { font-size: 1.7rem; letter-spacing: .12em; color: #fff; font-weight: 800; line-height: 1; }
.hdr-mark b { color: var(--gold); }
.site-header .nav a { color: #D5DAE2; }
.site-header .nav a:hover, .site-header .nav a.on { background: rgba(255,255,255,.08); color: #fff; }
.site-header .menu-btn { color: #fff; border-color: rgba(255,255,255,.35); }
.site-header .btn.green { border-color: rgba(255,255,255,.28); }
@media (max-width: 400px) { .hdr-mark { font-size: 1.35rem; letter-spacing: .08em; } }
/* hero brand logo */
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); } }
.hero-logo img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 959px) { .hero-logo { max-width: 520px; } }


/* Option B: cinematic hero */
.hero-cine { position: relative; overflow: hidden; background: #22385C; color: #E6E9EE; min-height: min(86vh, 760px); display: flex; align-items: center; }
.cine-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cine-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,40,68,.78) 0%, rgba(24,40,68,.5) 42%, rgba(24,40,68,0) 72%), linear-gradient(0deg, rgba(24,40,68,.35), transparent 35%); }
.cine-inner { position: relative; padding-block: 72px; width: 100%; }
.cine-inner > div { max-width: 680px; }
.hero-cine h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.08; }
.hero-cine .gold-text { background: linear-gradient(100deg, #F3DC92, #C9A13B 45%, #F3DC92 70%, #B8912E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cine .lead { color: #D5DAE2; }
.hero-cine .lead strong { color: #fff; }
.hero-cine .rotator { color: #F3DC92; }
.btn.glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn.glass:hover { background: rgba(255,255,255,.16); color: #fff; }
.cine-fallback { background: radial-gradient(900px 500px at 78% 40%, #34507E, #22385C 70%); }
.cine-fallback span { position: absolute; border-radius: 50%; filter: blur(60px); }
.cine-fallback .g1 { width: 46vw; height: 46vw; right: -8vw; top: 6%; background: radial-gradient(circle, rgba(201,161,59,.55), transparent 65%); animation: drift1 14s ease-in-out infinite alternate; }
.cine-fallback .g2 { width: 30vw; height: 30vw; right: 22vw; bottom: -10%; background: radial-gradient(circle, rgba(243,220,146,.35), transparent 65%); animation: drift2 18s ease-in-out infinite alternate; }
.cine-fallback .sweep { inset: -20% auto -20% -30%; width: 30%; border-radius: 0; filter: blur(30px); background: linear-gradient(90deg, transparent, rgba(243,220,146,.10), transparent); transform: skewX(-18deg); animation: sweep 9s ease-in-out infinite; }
@keyframes drift1 { to { transform: translate(-6vw, 8%) scale(1.12); } }
@keyframes drift2 { to { transform: translate(8vw, -12%) scale(.9); } }
@keyframes sweep { 0% { left: -30%; } 60%, 100% { left: 130%; } }
@media (max-width: 700px) { .hero-cine { min-height: 0; } .cine-inner { padding-block: 48px; } .cine-shade { background: linear-gradient(180deg, rgba(24,40,68,.45), rgba(24,40,68,.8)); } }
@media (prefers-reduced-motion: reduce) { .cine-fallback span { animation: none; } }
.hero-cine h1, .hero-cine .lead { text-shadow: 0 2px 18px rgba(10,20,40,.45); }

/* white header with full logo (Option B) */
.site-header.hdr-white { background: #E4E6EA; border-bottom: 1px solid var(--line); }
.site-header.hdr-white .nav a { color: var(--ink); }
.site-header.hdr-white .nav a:hover, .site-header.hdr-white .nav a.on { background: var(--gold-soft); color: var(--ink-strong); }
.site-header.hdr-white .menu-btn { color: var(--ink-strong); border-color: var(--line); }
.site-header.hdr-white .btn.green { border-color: transparent; }
.brand { flex: none; }
.brand picture { display: block; }
.brand .hdr-logo { height: 72px; width: auto; max-width: none; display: block; border-radius: 8px; flex: none; }
@media (max-width: 640px) { .brand .hdr-logo { height: 54px; } }
@media (max-width: 400px) { .brand .hdr-logo { height: 46px; } }

/* footer brand logo */
.footer-main { display: grid; gap: 28px; }
@media (min-width: 960px) { .footer-main { grid-template-columns: minmax(0,1fr) 300px; gap: 40px; align-items: start; } }
.footer-logo img { display: block; width: 100%; max-width: 300px; height: auto; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
@media (max-width: 959px) { .footer-logo img { max-width: 260px; margin: 0 auto; } }
.rotator .rw { font-weight: 700; }
.footer-logo picture { display: block; }
.hero-logo picture { display: block; }

/* P&L review card + "Additionally" highlight */
.review { background: #0F1B2D; color: #D5DAE2; border-radius: var(--radius); padding: 24px; }
.review h2 { color: #fff; }
.review .eyebrow { color: #E3CF97; }
.review .muted { color: #C2C8D2; }
.review-pts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.review-pts span { font-size: .85rem; background: rgba(227,207,151,.12); border: 1px solid rgba(227,207,151,.35); color: #F1E3BC; border-radius: 999px; padding: 6px 12px; }
.addl { display: inline-block; background: var(--gold); color: #1B1608; font-weight: 800; letter-spacing: .06em; border-radius: 999px; padding: 3px 10px; margin-right: 6px; }
.addl-note { margin: 2px 0 6px; font-weight: 600; color: var(--gold-ink); }
.review-pts span { display: inline-flex; align-items: center; gap: 6px; }
.review-pts .pi { width: 16px; height: 16px; fill: none; stroke: #E3CF97; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
td.num.gain { font-weight: 700; color: #1F7A4D; }
.grid > * { min-width: 0; }
.pnl-ex table { font-size: .86rem; }
.pnl-ex th, .pnl-ex td { padding: 10px 8px; white-space: nowrap; }
.pnl-ex td:first-child { white-space: normal; min-width: 7.5em; }
.sub-h { margin: 0 0 8px; font-weight: 600; color: var(--gold-ink); }
td.num.neg { font-weight: 700; }
ul.checks { list-style: none; padding-left: 0; }
ul.checks li { position: relative; padding-left: 1.6em; margin: 6px 0; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-ink); font-weight: 800; }
/* smaller footer link columns */
.footer-main .grid.c4 { font-size: .8rem; line-height: 1.85; }
.site-footer .ft-h { font-size: .86rem; }
.footer-main .grid.c4 p.small { font-size: .8rem; }
ol.sub-steps { list-style: lower-alpha; margin: 8px 0 0; padding-left: 1.4em; counter-reset: none; }
ol.sub-steps li { display: list-item; padding: 2px 0; margin: 0; border: 0; background: none; box-shadow: none; min-height: 0; }
ol.sub-steps li::before { content: none !important; }

/* breach red flags (admin) */
tr.row-red td { background: #FCEBEA; }
tr.row-red td:first-child { box-shadow: inset 4px 0 0 var(--neg, #B3261E); }
.card.card-red { border-color: var(--neg, #B3261E); box-shadow: 0 0 0 2px rgba(179,38,30,.15); }
.allow-bar { height: 10px; border-radius: 999px; background: #ECEAE3; overflow: hidden; margin: 8px 0 4px; }
.allow-bar span { display: block; height: 100%; background: var(--gold); }
.allow-bar.over span { background: var(--neg, #B3261E); }

/* Keep the last footer lines clear of the fixed mobile Go Live / Test Drive bar */
@media (max-width: 959px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } .site-footer .disclaimer a { overflow-wrap: anywhere; } }

.card.guard h3 { font-size: 1rem; margin: 0 0 6px; }
.card.guard p { margin: 0; }
.card.guard { position: relative; }
.card.guard .g-num { display: inline-block; min-width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%; background: var(--gold-soft); color: var(--ink-strong); font-weight: 700; font-size: .8rem; margin-bottom: 8px; }
ul.behave { display: grid; gap: 6px 24px; margin: 8px 0 0; padding-left: 18px; }
@media (min-width: 720px) { ul.behave { grid-template-columns: repeat(2, 1fr); } }

/* Header: keep menu labels and the two header buttons on one line */
.nav a { white-space: nowrap; }
.site-header .wrap > .row { flex-wrap: nowrap; }
.site-header .wrap > .row .btn { white-space: nowrap; }

/* Desktop "More" menu: the pages that only fit in the phone menu */
.nav-more { position: relative; }
.nav-more summary { list-style: none; cursor: pointer; color: var(--ink); padding: 8px 10px; border-radius: 8px; font-size: .95rem; white-space: nowrap; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: " ▾"; font-size: .75em; }
.nav-more summary:hover, .nav-more summary.on, .nav-more[open] summary { background: var(--gold-soft); color: var(--ink-strong); }
.nav-more .nav-drop { position: absolute; right: 0; top: calc(100% + 6px); min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(15,27,45,.12); padding: 6px; z-index: 40; }
.nav-more .nav-drop a { display: block; padding: 9px 12px; border-radius: 8px; }
