/* bank_site.css - Ceylora Bank, the (fictional) bank website around ATM Stat.
   Palette: hill-country tea teal (brand and action), Ceylon gold (highlight and main buttons), mist (surfaces).
   Motif: the contour lines of tea terraces (images/tea_terraces.svg). Type: Sora (headings), Public Sans (text). */
:root {
  --teal-950: #052A30; --teal-900: #072F35; --teal-800: #0A3F47; --teal-700: #0A4F59; --teal-600: #0E6E7A; --teal-500: #1A8794;
  --teal-100: #D2EBE7; --mist: #EEF5F4; --paper: #fff; --ink: #10292D; --muted: #4D6A6D; --line: #D5E4E2;
  --gold: #E8A93A; --gold-deep: #A86F0E; --gold-soft: #FBEFD6; --danger: #B3261E;
  --display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif; --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px; --header-h: 0px; --radius: 18px;
  font-size: 16px;
}
html.text-small { font-size: 14.5px; } html.text-large { font-size: 18px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body.site { margin: 0; font-family: var(--text); color: var(--ink); background: var(--paper); line-height: 1.55; }
body.site img { max-width: 100%; }
a { color: var(--teal-600); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -.015em; margin: 0; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; z-index: 9999; background: #fff; padding: 8px 12px; }

/* ---------- utility bar ---------- */
.utility { background: var(--teal-950); color: #BFDCD8; font-size: .8125rem; }
.utility .wrap { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.langs { display: flex; gap: 12px; align-items: center; }
.langs button { background: none; border: 0; color: inherit; padding: 0; }
.langs [aria-current] { color: #fff; font-weight: 700; }
.utility-links { margin-left: auto; display: flex; gap: 18px; }
.utility-links a { color: inherit; text-decoration: none; } .utility-links a:hover { color: #fff; }
.textsize { display: flex; gap: 2px; }
.textsize button { background: none; border: 1px solid transparent; color: inherit; border-radius: 6px; padding: 1px 6px; font-size: .8rem; }
.textsize button[aria-pressed="true"] { border-color: #BFDCD8; color: #fff; }

/* ---------- masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-900); flex: none; }
.logo svg, .logo img { width: 42px; height: 42px; }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1; }
.logo-word small { display: block; font-family: var(--text); font-weight: 700; font-size: .62rem; letter-spacing: .32em; color: var(--gold-deep); margin-top: 3px; }
.mainnav { display: flex; gap: 6px; align-items: center; }
.mainnav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 10px; position: relative; }
.mainnav a:hover { background: var(--mist); }
.mainnav a[aria-current="page"] { color: var(--teal-600); }
.mainnav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -15px; height: 3px; background: var(--gold); border-radius: 3px; }
.new-badge { font-size: .62rem; font-weight: 800; background: var(--gold); color: var(--teal-950); border-radius: 999px; padding: 2px 6px; margin-left: 5px; vertical-align: 2px; }
.actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 11px 18px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; line-height: 1.1; }
.btn-gold { background: var(--gold); color: var(--teal-950); } .btn-gold:hover { background: #F0B852; }
.btn-teal { background: var(--teal-600); color: #fff; } .btn-teal:hover { background: var(--teal-700); }
.btn-line { background: transparent; color: var(--teal-700); border-color: var(--teal-600); } .btn-line:hover { background: var(--mist); }
.btn-light { background: #fff; color: var(--teal-900); } .btn-light:hover { background: var(--teal-100); }
.btn svg { width: 18px; height: 18px; }
.hello { font-size: .9rem; color: var(--muted); white-space: nowrap; } .hello b { color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: 4px; }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .utility-links { display: none; }
  .masthead .wrap { gap: 12px; min-height: 64px; }
  .menu-toggle { display: block; order: 3; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 18px 30px -20px rgba(5,42,48,.4); }
  .mainnav.open { display: flex; }
  .mainnav a[aria-current="page"]::after { display: none; }
  .hello { display: none; }
  .actions .btn { padding: 9px 12px; font-size: .85rem; }
}
@media (max-width: 520px) { .logo-word { font-size: 1.2rem; } .logo svg, .logo img { width: 36px; height: 36px; } .actions .btn-line { display: none; } .actions .btn-gold .long { display: none; } }

/* ---------- shared building blocks ---------- */
.terrace { background-color: var(--teal-800); background-image: url("../images/tea_terraces.svg"); background-size: 760px auto; color: #fff; }
.section { padding: 72px 0; }
.section.tint { background: var(--mist); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--muted); margin: 10px 0 0; font-size: 1.05rem; }
.kicker { color: var(--gold-deep); font-weight: 700; margin: 0 0 8px; font-size: .95rem; }
.terrace .kicker { color: var(--gold); }
.grid { display: grid; gap: 18px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tile h3 { font-size: 1.12rem; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--muted); }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-700); margin-bottom: 14px; }
.icon-badge svg { width: 28px; height: 28px; }
.page-hero { padding: 56px 0 60px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); max-width: 18ch; }
.page-hero p { max-width: 58ch; color: #D3EAE7; font-size: 1.1rem; margin: 14px 0 0; }
.crumbs { font-size: .85rem; color: #A8CCC8; margin-bottom: 14px; } .crumbs a { color: #D3EAE7; }
.note { font-size: .85rem; color: var(--muted); }
table.rates { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.rates th, table.rates td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
table.rates th { background: var(--teal-900); color: #fff; font-family: var(--display); font-weight: 600; font-size: .95rem; }
table.rates td:last-child, table.rates th:last-child { text-align: right; }
.subnav { position: sticky; top: 72px; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { flex: none; padding: 14px 14px; color: var(--muted); text-decoration: none; font-weight: 600; }
.subnav a:hover { color: var(--teal-600); }
@media (max-width: 980px) { .subnav { top: 64px; } }

/* ---------- home: hero carousel ---------- */
.hero { position: relative; overflow: hidden; }
.slides { position: relative; min-height: 600px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.on { opacity: 1; visibility: visible; }
.slide .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; min-height: 600px; padding: 40px 0 90px; }
.slide h1, .slide h2.as-h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 14ch; }
.slide p { font-size: 1.12rem; color: #D3EAE7; max-width: 46ch; margin: 16px 0 26px; }
.slide .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 22px; }
.hero-dots .wrap { display: flex; gap: 8px; align-items: center; }
.hero-dots button { width: 34px; height: 6px; border-radius: 3px; border: 0; background: #ffffff55; padding: 0; }
.hero-dots button[aria-current="true"] { background: var(--gold); width: 52px; }
.hero-dots .pause { width: auto; height: auto; background: none; color: #D3EAE7; font-size: .8rem; margin-left: 10px; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
@media (max-width: 860px) {
  .slides { min-height: 800px; }
  .slide .wrap { grid-template-columns: 1fr; gap: 20px; min-height: 800px; padding: 32px 0 90px; align-content: start; }
}

/* the ATM Stat phone, drawn (no photo needed) */
.phone { width: 260px; height: 470px; margin: 0 auto; border-radius: 40px; background: var(--teal-950); padding: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 2px #ffffff22; position: relative; }
.phone-screen { height: 100%; border-radius: 30px; overflow: hidden; background: #E3EEEC; position: relative; }
.phone-map { position: absolute; inset: 0 0 46% 0; background:
   linear-gradient(90deg, transparent 47%, #fff 47% 51%, transparent 51%),
   linear-gradient(20deg, transparent 60%, #fff 60% 63%, transparent 63%),
   linear-gradient(160deg, transparent 30%, #F7F3E6 30% 34%, transparent 34%),
   radial-gradient(circle at 75% 30%, #CFE5D4 0 18%, transparent 19%), #E3EEEC; }
.mini-pin { position: absolute; width: 22px; height: 30px; }
.mini-pin::before { content: ""; position: absolute; inset: 0 0 6px; background: #D8343A; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #fff; }
.mini-pin b { position: absolute; left: 14px; top: -10px; width: 24px; height: 24px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #D5E4E2 0); display: grid; place-items: center; font: 800 8px var(--display); color: var(--ink); }
.mini-pin b::before { content: ""; position: absolute; inset: 3px; background: #fff; border-radius: 50%; }
.mini-pin b span { position: relative; }
.phone-sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--teal-900); border-radius: 22px 22px 0 0; padding: 16px 14px; color: #fff; }
.phone-sheet .amt { font: 700 22px var(--display); border-bottom: 2px solid #2A666C; padding-bottom: 4px; }
.phone-sheet .amt small { font-size: 12px; color: #A8CCC8; margin-right: 6px; }
.phone-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; background: #0E434B; border-radius: 10px; padding: 3px; margin: 10px 0; font-size: 10px; font-weight: 700; text-align: center; }
.phone-seg span { padding: 6px 0; border-radius: 7px; color: #D3EAE7; } .phone-seg span.on { background: var(--gold); color: var(--teal-950); }
.phone-card { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 14px; padding: 8px 10px; margin-top: 6px; font-size: 11.5px; }
.phone-card i { width: 34px; height: 34px; border-radius: 50%; flex: none; background: conic-gradient(var(--c) calc(var(--p) * 1%), #D5E4E2 0); display: grid; place-items: center; font: 800 10px var(--display); font-style: normal; position: relative; }
.phone-card i::before { content: ""; position: absolute; inset: 4px; background: #fff; border-radius: 50%; } .phone-card i span { position: relative; }
.phone-card b { display: block; font-size: 12px; } .phone-card em { font-style: normal; color: var(--muted); font-size: 10.5px; }
.float-card { position: absolute; right: -40px; top: 120px; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 14px; width: 200px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.55); font-size: .82rem; }
.float-card strong { display: block; font-family: var(--display); color: #1E8A4C; font-size: 1.05rem; }
@media (max-width: 860px) { .phone { width: 230px; height: 420px; } .float-card { right: -10px; top: 70px; width: 170px; } }

.big-figure { justify-self: center; text-align: center; }
.big-figure .disc { width: 300px; height: 300px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #ffffff10 0 58%, transparent 59%), conic-gradient(var(--gold) 0 72%, #ffffff22 0); position: relative; }
.big-figure .disc::before { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: var(--teal-800); }
.big-figure .disc div { position: relative; font-family: var(--display); }
.big-figure .disc b { display: block; font-size: 3.4rem; font-weight: 800; letter-spacing: -.03em; }
.big-figure .disc span { color: #D3EAE7; }
@media (max-width: 860px) { .big-figure .disc { width: 220px; height: 220px; } .big-figure .disc b { font-size: 2.5rem; } }

/* ---------- home: quick access ---------- */
.quick { background: var(--mist); border-bottom: 1px solid var(--line); }
.quick ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.quick a, .quick button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; background: none; border: 0; width: 100%; text-align: center; }
.quick a:hover, .quick button:hover { color: var(--teal-600); }
.quick svg { width: 34px; height: 34px; color: var(--teal-600); }
@media (max-width: 860px) { .quick ul { grid-template-columns: repeat(3, 1fr); } }

.products { grid-template-columns: repeat(4, 1fr); }
.products .tile { display: flex; flex-direction: column; }
.products .tile a { margin-top: auto; padding-top: 16px; font-weight: 700; text-decoration: none; }
@media (max-width: 980px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }

/* ---------- ATM Stat spotlight (home, branches) ---------- */
.spotlight { border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; }
.spotlight-text { padding: 48px 44px; }
.spotlight-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 16ch; }
.spotlight-text p { color: #D3EAE7; max-width: 48ch; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 28px; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--teal-950); display: grid; place-items: center; font: 800 1rem var(--display); }
.steps b { display: block; font-family: var(--display); } .steps span { color: #D3EAE7; font-size: .95rem; }
.spotlight-visual { background: var(--teal-950); display: grid; place-items: center; padding: 36px 20px; position: relative; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #fff; }
.legend li { display: flex; align-items: center; gap: 12px; background: #ffffff10; border-radius: 14px; padding: 10px 14px; }
.legend i { width: 40px; height: 40px; border-radius: 50%; flex: none; background: conic-gradient(var(--c) calc(var(--p) * 1%), #ffffff22 0); position: relative; display: grid; place-items: center; font: 800 .8rem var(--display); font-style: normal; }
.legend i::before { content: ""; position: absolute; inset: 5px; background: var(--teal-950); border-radius: 50%; } .legend i span { position: relative; }
.legend b { display: block; font-family: var(--display); } .legend small { color: #A8CCC8; }
@media (max-width: 860px) { .spotlight { grid-template-columns: 1fr; } .spotlight-text { padding: 32px 22px; } }

/* ---------- security notice ---------- */
.security { display: grid; grid-template-columns: 64px 1fr; gap: 18px; background: var(--gold-soft); border: 1px solid #F0D49A; border-radius: var(--radius); padding: 24px; }
.security svg { width: 48px; height: 48px; color: var(--gold-deep); }
.security h3 { margin-bottom: 8px; }
.security ul { margin: 0; padding-left: 18px; } .security li { margin: 4px 0; }

/* ---------- digital banking: access cards ---------- */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.access h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; }
.access h1 span { color: var(--teal-600); }
.assurances { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0; color: var(--teal-700); font-weight: 600; }
.assurances span { display: inline-flex; gap: 8px; align-items: center; } .assurances svg { width: 20px; height: 20px; }
.access-cards { display: grid; gap: 14px; background: var(--mist); border-radius: 26px; padding: 14px; }
.access-card { display: grid; grid-template-columns: 64px 1fr; gap: 16px; background: #fff; border-radius: 20px; padding: 22px; }
.access-card .icon-badge { margin: 0; width: 60px; height: 60px; border-radius: 50%; }
.access-card h3 { font-size: 1.15rem; } .access-card p { margin: 6px 0 12px; color: var(--muted); }
.access-card .go-link { background: none; border: 0; padding: 0; color: var(--teal-600); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.access-card .go-link svg { width: 20px; height: 20px; }
.access-card.featured { outline: 2px solid var(--gold); }
@media (max-width: 900px) { .access { grid-template-columns: 1fr; gap: 28px; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; } .faq details p { margin: 10px 0 0; color: var(--muted); }
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { background: var(--mist); font-family: var(--display); font-weight: 600; }
.compare td.yes { color: #1E8A4C; font-weight: 700; } .compare td.no { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { padding: 56px 0 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { font-size: .95rem; color: var(--gold); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a, .site-footer button.linklike { color: #D3EAE7; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; }
.site-footer a:hover, .site-footer button.linklike:hover { color: #fff; text-decoration: underline; }
.site-footer p { color: #BFDCD8; margin: 12px 0 0; font-size: .92rem; }
.site-footer .logo { color: #fff; } .site-footer .logo-word small { color: var(--gold); }
.footer-bottom { border-top: 1px solid #ffffff22; margin-top: 40px; padding: 18px 0 26px; font-size: .82rem; color: #A8CCC8; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- login dialog ---------- */
.login-dialog { border: 0; padding: 0; border-radius: 26px; width: min(860px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
.login-dialog::backdrop { background: rgba(5,42,48,.62); backdrop-filter: blur(2px); }
.login-dialog .inner { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 460px; }
.login-side { padding: 34px 30px; display: flex; flex-direction: column; gap: 14px; }
.login-side h2 { font-size: 1.55rem; }
.login-side p { margin: 0; color: #D3EAE7; }
.login-side ul { margin: auto 0 0; padding-left: 18px; color: #D3EAE7; font-size: .88rem; } .login-side li { margin: 6px 0; }
.login-side .tag { align-self: flex-start; background: var(--gold); color: var(--teal-950); font-weight: 800; font-size: .75rem; padding: 4px 10px; border-radius: 999px; }
.login-form { position: relative; padding: 34px 34px 28px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.login-form h2 { font-size: 1.5rem; }
.login-reason { margin: -6px 0 0; color: var(--muted); }
.login-reason.warn { color: var(--gold-deep); font-weight: 700; }
.field { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.field input { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid #B9CFCC; border-radius: 12px; width: 100%; }
.field input:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px #0E6E7A33; }
.pw { position: relative; } .pw input { padding-right: 70px; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: var(--mist); border: 0; border-radius: 8px; padding: 5px 10px; font-size: .8rem; font-weight: 700; color: var(--teal-700); }
.login-error { min-height: 1.3em; margin: 0; color: var(--danger); font-weight: 700; font-size: .92rem; }
.login-form .btn { width: 100%; padding: 14px; font-size: 1rem; }
.login-links { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--muted); }
.login-links button { background: none; border: 0; padding: 0; color: var(--teal-600); font-weight: 700; text-align: left; }
.close-x { position: absolute; right: 14px; top: 12px; background: var(--mist); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; line-height: 1; color: var(--teal-900); }
@media (max-width: 720px) { .login-dialog .inner { grid-template-columns: 1fr; } .login-side { padding: 22px; } .login-side ul { display: none; } .login-form { padding: 24px 20px; } }

.site-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--teal-950); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: .92rem; z-index: 99999; box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); max-width: calc(100% - 32px); text-align: center; }

/* ---------- the ATM Stat page: compact header, feature fills the rest ---------- */
body.feature-page { --header-h: 72px; height: 100vh; overflow: hidden; background: var(--mist); }
body.feature-page .utility { display: none; }
body.feature-page .masthead .wrap { width: calc(100% - 32px); max-width: none; min-height: 72px; }
body.feature-page #root { height: calc(100dvh - var(--header-h)); }
@media (max-width: 980px) { body.feature-page { --header-h: 64px; } body.feature-page .masthead .wrap { min-height: 64px; } }
body.feature-page.demo-mode { overflow: hidden; }
@media (max-width: 1000px) { body.feature-page.demo-mode { overflow: auto; height: auto; } body.feature-page.demo-mode #root { height: auto; } }

/* the logo mark keeps a thin light edge on the dark footer */
.site-footer .logo svg, .site-footer .logo img { border-radius: 11px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.4); }