/* Fonts are self-hosted (SIL Open Font License, see fonts/) so the strict
   CSP in render.yaml can stay at font-src 'self'. */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/outfit-latin-700-normal.woff2") format("woff2"); }

:root {
  --charcoal: #24262c;
  --charcoal-deep: #1b1d22;
  --charcoal-soft: #f4f4f6;
  --charcoal-mid: #454850;
  /* Scholar Red, from the logo. White text on it is 6.65:1, so it passes AA at any size. */
  --red: #b3202a;
  --red-hover: #8e1a21;
  --red-deep: #8e1a21;
  /* Brighter red for focus rings and accents on dark backgrounds, never small text on white. */
  --red-bright: #e5484d;
  /* Red text on charcoal (5.7:1). */
  --red-on-dark: #f47a7d;
  /* Red used as text on light backgrounds (6.65:1 on white). */
  --red-text: #b3202a;
  /* Green means done: completed steps, ticks, receipts. */
  --green: #1e7f4f;
  --grey-soft: #f1f2f4;
  --canvas: #f1f2f4;
  --ink: #24262c;
  --body: #4b4e57;
  --line: #d9dbe0;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: 0.005em; margin: 0 0 0.45em; }
p { margin: 0 0 1em; }
.center { text-align: center; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 30px; border-radius: 999px; border: 2px solid transparent; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; cursor: pointer; transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s; }
.pill:hover { transform: translateY(-1px); }
.pill-red { background: var(--red); color: #fff; }
.pill-red:hover { background: var(--red-hover); }
.pill-blush { background: #fdeeee; color: var(--charcoal); }
.pill-blush:hover { background: #fff; }
.pill-outline { border-color: #fff; color: #fff; background: transparent; }
.pill-outline:hover { background: #fff; color: var(--charcoal); }
.pill-dark { background: var(--charcoal); color: #fff; }
.pill-dark:hover { background: var(--charcoal-deep); }
.pill-sm { min-height: 40px; padding: 0 20px; font-size: 13.4px; }
.pill-xl { min-height: 62px; padding: 0 54px; font-family: var(--display); font-size: 21.8px; letter-spacing: 0.04em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--canvas); border-top: 3px solid var(--charcoal-deep); border-bottom: 2px solid var(--charcoal); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 44px); min-height: 84px; padding: 6px var(--gutter); max-width: 1920px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; }
.brand-text { display: grid; line-height: 1; }
.brand-text b { font-family: var(--display); font-size: 28.6px; font-weight: 700; color: var(--charcoal); letter-spacing: 0.01em; }
.brand-text small { font-size: 12.5px; font-style: italic; color: var(--red-text); margin-top: 5px; letter-spacing: 0.02em; }
#site-nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.3vw, 44px); list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .menu-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; background: none; border: 0; font-family: var(--display); font-size: 22.7px; font-weight: 600; color: var(--charcoal); text-decoration: none; cursor: pointer; transition: color 0.15s; }
.nav-links > li > a:hover, .menu-btn:hover, .has-menu.open > .menu-btn, .has-menu:focus-within > .menu-btn, .nav-links a[aria-current="page"], .has-menu[data-current] > .menu-btn { color: var(--red-text); }
.submenu a[aria-current="page"] { color: var(--red-on-dark); }
.menu-btn svg { width: 14px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.2s; }
.has-menu.open > .menu-btn svg { transform: rotate(180deg); }

.submenu { position: absolute; top: calc(100% + 26px); left: -24px; min-width: 300px; list-style: none; margin: 0; padding: 18px 0; background: var(--charcoal); border-radius: 12px; box-shadow: 0 24px 48px -16px rgba(17, 18, 21, 0.55); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; }
.has-menu:hover > .submenu, .has-menu.open > .submenu, .has-menu:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a, .submenu .sub-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 24px; background: none; border: 0; font-family: var(--display); font-size: 20.2px; font-weight: 600; color: #fff; text-decoration: none; text-align: left; cursor: pointer; }
.submenu a:hover, .submenu .sub-btn:hover, .submenu a:focus-visible, .submenu .sub-btn:focus-visible { background: var(--red); color: #fff; }
.sub-btn svg { width: 16px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.2s; }
.subsub { list-style: none; margin: 0; padding: 0 0 6px; display: none; background: rgba(0, 0, 0, 0.14); }
.has-sub.open > .subsub { display: block; }
.has-sub.open > .sub-btn svg { transform: rotate(180deg); }
.subsub a { font-family: var(--sans); font-size: 13.4px; font-weight: 500; padding: 9px 24px 9px 40px; }

.nav-account { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 22.7px; font-weight: 600; flex-shrink: 0; }
.nav-account a { color: var(--charcoal); text-decoration: none; }
.nav-account a:hover { color: var(--red-text); }
.nav-account span { color: var(--red-bright); font-size: 18.5px; font-weight: 700; }
.nav-sales { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.nav-sales svg { width: 40px; height: 40px; fill: none; stroke: var(--red-bright); stroke-width: 2.4; stroke-linejoin: round; }
.nav-sales span { display: grid; font-family: var(--display); font-weight: 700; font-size: 23.5px; line-height: 0.95; color: var(--charcoal); }
.nav-sales b { font-weight: 700; }
.nav-sales:hover span { color: var(--red-text); }
.menu-toggle { display: none; width: 52px; height: 44px; border: 0; border-radius: 6px; background: var(--red); cursor: pointer; padding: 11px 12px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 3px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--charcoal); color: #fff; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: center; max-width: 1760px; margin: 0 auto; padding: clamp(56px, 7vw, 92px) var(--gutter); }
.hero-kicker { font-family: var(--display); font-size: clamp(18.5px, 1.43vw, 23.5px); font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(35.3px, 3.53vw, 57.1px); font-weight: 700; margin-bottom: 26px; }
.hero-lead { font-size: clamp(15.1px, 1.13vw, 19.3px); line-height: 1.5; max-width: 820px; margin-bottom: 52px; color: #f4f4f5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 28px; }

.hero-media { background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55); }
.media-head { display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: linear-gradient(90deg, var(--charcoal-deep), #3a3d45); color: #fff; }
.media-head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 4px; }
.media-head b { display: block; font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.1; }
.media-head small { font-size: 13.3px; color: #d4d4d8; }
.media-body { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 20px; align-items: center; padding: 26px 22px; background: linear-gradient(135deg, #f4f4f6 0%, #fadcdd 55%, #f3b4b7 100%); position: relative; overflow: hidden; }
.media-body::before { content: ""; position: absolute; left: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: var(--red-bright); opacity: 0.9; }
.media-title { position: relative; display: grid; font-family: var(--display); line-height: 0.92; text-transform: uppercase; color: var(--ink); }
.media-title span { font-size: clamp(18.5px, 1.68vw, 28.6px); font-weight: 700; }
.media-title strong { font-size: clamp(38.6px, 3.7vw, 60.5px); font-weight: 700; color: var(--charcoal); border-left: 6px solid var(--charcoal); padding-left: 10px; margin-top: 6px; }
.media-title em { font-style: normal; font-size: clamp(31.9px, 3.02vw, 50.4px); font-weight: 700; color: #fff; -webkit-text-stroke: 1.5px var(--red); padding-left: 16px; }
.mini-dash { position: relative; background: #fff; border: 8px solid #1b1d22; border-radius: 10px; padding: 12px; font-size: 12.5px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6); }
.md-top { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; color: var(--charcoal); margin-bottom: 10px; }
.md-pill { background: var(--red); color: #fff; border-radius: 999px; padding: 0 10px; }
.md-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.md-stats div { border: 1px solid var(--line); padding: 6px 8px; }
.md-stats small { display: block; color: var(--body); }
.md-stats b { font-family: var(--display); font-size: 18.5px; color: var(--charcoal); }
.md-chart { border: 1px solid var(--line); padding: 8px; margin-top: 8px; }
.md-chart small { font-weight: 600; }
.md-cols { display: flex; align-items: flex-end; gap: 10px; height: 72px; margin-top: 6px; border-bottom: 1px solid var(--line); }
.md-cols i { flex: 1; background: var(--charcoal); }
.md-cols i:nth-child(even) { background: var(--red-bright); }
.c82 { height: 82%; } .c71 { height: 71%; } .c64 { height: 64%; } .c55 { height: 55%; } .c77 { height: 77%; } .c48 { height: 48%; }
.md-alert { margin-top: 8px; background: #fdf0f0; border-left: 4px solid var(--red-bright); padding: 6px 8px; font-weight: 500; }
.md-alert b { color: var(--red-text); }
.media-foot { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; padding: 16px 20px; font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--charcoal); letter-spacing: 0.04em; text-transform: uppercase; }
.media-foot span + span::before { content: "•"; color: var(--red-bright); margin-right: 26px; }

/* ---------- Why ---------- */
.why-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 80px); align-items: center; max-width: 1760px; margin: 0 auto; padding: clamp(64px, 7vw, 112px) var(--gutter); }
.h-dark { font-size: clamp(31.9px, 2.77vw, 45.4px); color: var(--charcoal); }
.h-red { font-family: var(--display); font-weight: 700; font-size: clamp(25.2px, 2.18vw, 37px); line-height: 1.1; color: var(--red-text); margin-bottom: 30px; }
.h-light { font-size: clamp(30.2px, 2.69vw, 43.7px); color: #fff; }
.why-text { font-size: clamp(15.1px, 1.13vw, 18.5px); color: #5a5e68; line-height: 1.65; margin-bottom: 56px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.ticks li { position: relative; padding-left: 38px; font-size: clamp(15.1px, 1.09vw, 18.5px); font-weight: 500; color: var(--charcoal); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 24px; height: 24px; border-radius: 50%; background: var(--charcoal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

.devices { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 420px; }
.login-screen { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 16px 12px; background: #fff; height: 100%; text-align: center; }
.login-screen b { font-family: var(--display); color: var(--charcoal); font-size: 15.1px; line-height: 1; }
.login-screen small { font-size: 12.5px; color: var(--body); margin-top: -4px; }
.login-screen .field { width: 100%; height: 14px; border-bottom: 1px solid var(--line); background: #f6f6f7; }
.login-screen .go { width: 100%; background: #b3202a; color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px; margin-top: 4px; }
.login-screen.wide { grid-template-columns: 1fr 1fr; align-items: stretch; padding: 0; gap: 0; }
.login-screen.wide > div:first-child { display: grid; justify-items: center; align-content: center; gap: 8px; padding: 18px; }
.welcome { display: grid; align-content: center; gap: 8px; padding: 18px; background: linear-gradient(160deg, #24262c, #5a5e68); color: #fff; text-align: left; }
.welcome b { color: #fff; font-size: 18.5px; }
.welcome small { color: #e4e4e7; }
.welcome span { height: 8px; width: 80%; border-radius: 4px; background: rgba(255, 255, 255, 0.35); }
.welcome span:nth-of-type(2) { width: 60%; background: var(--red-bright); }
.welcome span:nth-of-type(3) { width: 70%; }
.laptop { width: 64%; z-index: 1; }
.laptop-screen { border: 14px solid var(--charcoal); border-bottom-width: 18px; border-radius: 14px 14px 0 0; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.laptop-base { height: 14px; margin: 0 -9%; background: var(--charcoal); border-radius: 0 0 14px 14px; position: relative; }
.laptop-base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; background: var(--red-bright); border-radius: 0 0 6px 6px; }
.tablet { position: absolute; left: 0; bottom: 4px; width: 25%; aspect-ratio: 3 / 4.4; border: 9px solid var(--charcoal); border-radius: 14px; overflow: hidden; background: #fff; z-index: 2; }
.phone { position: absolute; right: 2%; bottom: -6px; width: 15%; aspect-ratio: 9 / 18; border: 7px solid var(--charcoal); border-radius: 18px; overflow: hidden; background: #fff; z-index: 2; }
.phone .login-screen { padding: 10px 6px; }
.phone .login-screen b { font-size: 12.5px; }

/* ---------- Alternating bands ---------- */
.bands { display: grid; gap: 30px; padding: 0 16px; max-width: 1920px; margin: 0 auto; }
.band { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.band-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(40px, 5vw, 76px); color: #fff; }
.band-copy h2 { font-size: clamp(28.6px, 2.35vw, 38.6px); }
.band-copy p { font-size: clamp(15.1px, 1.13vw, 18.5px); line-height: 1.65; max-width: 720px; margin-bottom: 52px; }
.bg-deep { background: var(--red-deep); }
.bg-red { background: var(--red); }
.bg-charcoal { background: var(--charcoal); }
.band-art { display: grid; place-items: center; padding: clamp(32px, 4vw, 64px); position: relative; overflow: hidden; }
.band-art::before, .band-art::after { content: ""; position: absolute; border-radius: 50%; }
.art-grey { background: var(--grey-soft); }
.art-grey::before { width: 420px; height: 420px; right: -120px; top: -140px; background: rgba(36, 38, 44, 0.16); }
.art-grey::after { width: 220px; height: 220px; left: -60px; bottom: -80px; background: rgba(179, 32, 42, 0.18); }
.art-red { background: #fadcdd; }
.art-red::before { width: 380px; height: 380px; left: -120px; top: -100px; background: rgba(179, 32, 42, 0.22); }
.art-red::after { width: 200px; height: 200px; right: -40px; bottom: -60px; background: rgba(36, 38, 44, 0.14); }
.art-charcoal { background: var(--charcoal-soft); }
.art-charcoal::before { width: 440px; height: 440px; right: -140px; bottom: -180px; background: rgba(36, 38, 44, 0.14); }
.art-charcoal::after { width: 160px; height: 160px; left: 40px; top: -40px; background: rgba(229, 72, 77, 0.22); }
.art-card { position: relative; z-index: 1; width: min(420px, 100%); background: #fff; padding: 28px; box-shadow: 0 30px 60px -28px rgba(17, 18, 21, 0.5); border-top: 6px solid var(--charcoal); }
.receipt { border-top-color: var(--green); }
.rc-head { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--body); }
.rc-dot { width: 12px; height: 12px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 5px #d5f5e3; }
.receipt > b { display: block; font-family: var(--display); font-size: 48.7px; color: var(--charcoal); line-height: 1.1; margin: 12px 0 2px; }
.receipt > p { color: var(--body); }
.rc-row { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 10px 0; font-size: 14.2px; }
.rc-row span:last-child { font-weight: 600; }
.rc-ok { display: inline-block; margin-top: 10px; background: #d5f5e3; color: #11643a; font-weight: 600; font-size: 13.3px; padding: 6px 14px; border-radius: 999px; }
.campuses { border-top-color: var(--red); }
.campuses small, .rp-head small { display: block; font-weight: 600; color: var(--body); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12.5px; }
.campuses p { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 21.8px; font-weight: 600; color: var(--charcoal); }
.campuses i { width: 12px; height: 12px; background: var(--red); transform: rotate(45deg); }
.campuses span { margin-left: auto; font-family: var(--sans); font-size: 14.2px; font-weight: 500; color: var(--body); }
.campuses em { display: block; margin-top: 16px; font-style: normal; font-size: 14.2px; color: var(--red-text); font-weight: 600; }
.rp-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--charcoal); padding-bottom: 12px; margin-bottom: 4px; }
.rp-head b { font-family: var(--display); font-size: 23.5px; color: var(--charcoal); }
.report p { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.report p b { min-width: 46px; text-align: center; padding: 2px 10px; font-family: var(--display); font-size: 15.1px; letter-spacing: 0.06em; }
.report .ee { background: #d5f5e3; color: #11643a; }
.report .me { background: var(--charcoal-soft); color: var(--charcoal); }
.report .ae { background: #fdf0f0; color: var(--red-text); }

/* ---------- Portals ---------- */
.portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 30px 16px 0; max-width: 1920px; margin: 0 auto; }
.portal { position: relative; display: grid; justify-items: center; align-content: center; min-height: 360px; padding: 40px 28px; background: #fff; text-align: center; transition: background-color 0.25s; }
.portal svg { width: 80px; height: 60px; fill: var(--red-bright); color: var(--red-bright); margin-bottom: 40px; transition: opacity 0.2s, transform 0.25s; }
.portal h3 { font-size: clamp(30.2px, 2.18vw, 37px); color: var(--charcoal); margin-bottom: 18px; transition: transform 0.25s; }
.portal-short { font-family: var(--display); font-size: clamp(20.2px, 1.51vw, 25.2px); font-weight: 600; color: var(--ink); margin: 0; }
.portal-more { position: absolute; left: 32px; right: 32px; top: 58%; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; }
.portal-more p { color: #fff; font-size: 16px; line-height: 1.75; font-weight: 500; }
.portal-more a { font-family: var(--display); font-size: 21.8px; font-weight: 600; color: var(--charcoal); text-decoration: none; border-bottom: 2px solid transparent; }
.portal-more a:hover { border-bottom-color: var(--charcoal); }
.portal:hover, .portal:focus-within { background: var(--red); }
.portal:hover svg, .portal:focus-within svg { opacity: 0; transform: translateY(-16px); }
.portal:hover h3, .portal:focus-within h3 { transform: translateY(-110px); }
.portal:hover .portal-short, .portal:focus-within .portal-short { opacity: 0; }
.portal:hover .portal-more, .portal:focus-within .portal-more { opacity: 1; visibility: visible; transform: translateY(-56px); }

/* ---------- Modules ---------- */
.modules { position: relative; padding-top: 70px; }
.modules-head { position: relative; max-width: 1760px; margin: 0 auto; padding: 0 var(--gutter); }
.modules-head .h-red { font-size: clamp(33.6px, 2.69vw, 45.4px); margin-bottom: 40px; }
.diag { position: absolute; left: 0; top: -70px; width: 330px; height: 330px; background: linear-gradient(135deg, rgba(179, 32, 42, 0.75), rgba(36, 38, 44, 0.45)); clip-path: polygon(40% 0, 63% 0, 100% 30%, 18% 100%, 0 100%, 0 40%); opacity: 0.55; pointer-events: none; }
.module-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; max-width: 1760px; margin: 0 auto 70px; padding: 0 var(--gutter); }
.module-grid article { background: #fff; padding: 34px 32px 30px; border-bottom: 4px solid transparent; transition: border-color 0.2s, transform 0.2s; }
.module-grid article:hover { border-bottom-color: var(--red); transform: translateY(-3px); }
.module-grid span { font-family: var(--display); font-size: 16.8px; font-weight: 700; color: var(--red-text); letter-spacing: 0.08em; }
.module-grid h3 { font-size: 25.2px; color: var(--charcoal); margin: 6px 0 10px; }
.module-grid p { color: var(--body); margin: 0; }
.pricing-banner { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 340px; padding: 60px var(--gutter); background:
  linear-gradient(rgba(27, 29, 34, 0.86), rgba(27, 29, 34, 0.86)),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px),
  repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px),
  radial-gradient(circle at 75% 40%, #5a5e68, #1b1d22 60%); }
.diag-lg { top: 0; width: 420px; height: 100%; opacity: 0.6; }
.pricing-inner { position: relative; display: grid; justify-items: center; gap: 28px; text-align: center; }
.pricing-inner p { font-family: var(--display); font-size: clamp(21.8px, 2.02vw, 31.9px); font-weight: 600; color: #fff; margin: 0; }

/* ---------- Security ---------- */
.security { background: #fff; color: var(--body); border-bottom: 1px solid var(--line); }
.security-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; max-width: 1760px; margin: 0 auto; padding: clamp(64px, 6vw, 100px) var(--gutter); }
.security p { font-size: 16.8px; }
.security .ticks li { font-size: 16px; }
.security .ticks li::before { background-color: var(--red); }
.ticks-light { grid-template-columns: 1fr; gap: 18px; }
.ticks-light li { color: #fff; font-size: 16px; }
.ticks-light li::before { background-color: var(--red); }

/* ---------- FAQ ---------- */
.faq-section { max-width: 1760px; margin: 0 auto; padding: clamp(64px, 6vw, 100px) var(--gutter); }
.kicker { font-family: var(--display); font-size: 21.8px; font-weight: 700; color: var(--red-text); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.kicker.light { color: var(--red-on-dark); }
.faq-more { display: flex; justify-content: flex-end; margin: 10px 0 22px; }
.faq-more a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 21.8px; font-weight: 600; color: var(--charcoal); text-decoration: none; }
.faq-more a span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red-bright); color: #fff; font-family: var(--sans); font-size: 16.8px; }
.faq-more a:hover { color: var(--red-text); }
.faq { display: grid; gap: 26px; }
.faq details { border: 3px solid var(--red-bright); border-radius: 22px; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 30px 20px 72px; font-family: var(--display); font-size: clamp(18.5px, 1.51vw, 25.2px); font-weight: 600; color: var(--charcoal); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; position: absolute; left: 30px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background:
  linear-gradient(currentColor, currentColor) center / 22px 3px no-repeat,
  linear-gradient(currentColor, currentColor) center / 3px 22px no-repeat; }
.faq details[open] summary { color: var(--red-text); border-bottom: 3px solid var(--red-bright); }
.faq details[open] summary::before { background: linear-gradient(currentColor, currentColor) center / 22px 3px no-repeat; }
.faq summary:hover { color: var(--red-text); }
.faq details p { margin: 0; padding: 26px 32px 32px; font-size: clamp(14.3px, 1.09vw, 17.6px); line-height: 1.9; color: var(--ink); }

/* ---------- Demo form ---------- */
.demo { background: var(--charcoal); color: #e4e4e7; }
.demo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); max-width: 1760px; margin: 0 auto; padding: clamp(64px, 6vw, 100px) var(--gutter); }
.demo-inner > div > p { font-size: 16.8px; }
.fine { font-size: 14.2px; color: #c9cbd1; }
.demo-form { display: grid; gap: 16px; background: #fff; color: var(--ink); padding: clamp(24px, 3vw, 40px); border-top: 6px solid var(--red); }
.demo-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.2px; color: var(--charcoal); }
.demo-form input, .demo-form select { font: inherit; font-weight: 400; color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 4px; background: #fafafa; width: 100%; }
.demo-form input:focus, .demo-form select:focus { border-color: var(--charcoal); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(36, 38, 44, 0.18); }
.demo-form .fine { color: var(--body); margin: 0; }
.demo-form .pill-blush { background: var(--charcoal-soft); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.form-error { margin: 0; padding: 10px 12px; background: #fef2f2; color: #991b1b; border-left: 4px solid #dc2626; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); padding-top: 76px; }
.foot-card { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 40px; max-width: 1920px; margin: 0 auto; padding: 56px var(--gutter) 64px; background: var(--canvas); border-radius: 40px 40px 0 0; }
.foot-h { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0 0 26px; font-size: 28.6px; color: var(--charcoal); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; font-size: 16px; color: var(--charcoal); }
.foot-col a { text-decoration: none; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--red-text); }
.foot-about p { font-size: 16px; color: var(--charcoal); max-width: 420px; }
.foot-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.foot-bar { padding: 22px var(--gutter); text-align: center; }
.foot-bar p { margin: 0; font-family: var(--display); font-size: 18.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--red-on-dark); }
.foot-bar .foot-note { font-family: var(--sans); font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: #b4b6bd; margin-top: 4px; }

/* ---------- Floating buttons ---------- */
.float-wa, .float-top { position: fixed; bottom: 26px; z-index: 30; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.4); transition: transform 0.2s; }
.float-wa:hover, .float-top:hover { transform: scale(1.06); }
.float-wa { right: 24px; width: 68px; height: 68px; background: #25d366; }
.float-wa svg { width: 38px; height: 38px; fill: #fff; }
.float-top { left: 24px; width: 58px; height: 58px; background: #24262c; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s, transform 0.2s; }
.float-top.show { opacity: 1; visibility: visible; }
.float-top svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
  .nav-links > li > a, .menu-btn, .nav-account { font-size: 19.3px; }
  .nav-sales span { font-size: 19.3px; }
  .nav-sales svg { width: 38px; height: 38px; }
  .brand-text b { font-size: 25.2px; }
}
@media (max-width: 1240px) {
  .nav { min-height: 80px; }
  .menu-toggle { display: flex; }
  #site-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--canvas); border-bottom: 2px solid var(--charcoal); max-height: calc(100vh - 80px); overflow-y: auto; display: none; }
  #site-nav.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links > li > a, .menu-btn { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 21.8px; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; display: none; min-width: 0; margin-bottom: 12px; box-shadow: none; }
  .has-menu.open > .submenu { display: block; }
  .submenu::before { display: none; }
  .nav-account { margin-left: auto; }
  .hero-inner, .why-inner, .security-inner, .demo-inner { grid-template-columns: 1fr; }
  .devices { order: 2; }
  .band { grid-template-columns: 1fr; min-height: 0; }
  .band-art { min-height: 360px; }
  .band-flip .band-art { order: 2; }
  .portals, .module-grid { grid-template-columns: 1fr 1fr; }
  .foot-card { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .nav { gap: 12px; min-height: 72px; }
  .brand img { width: 44px; height: 44px; }
  .brand-text b { font-size: 21.8px; }
  .brand-text small, .nav-sales, .nav-account span { display: none; }
  .nav-account { font-size: 17.6px; gap: 14px; }
  .nav-account a[href="#demo"] { display: none; }
  #site-nav { max-height: calc(100vh - 72px); }
  .hero-cta { gap: 14px; }
  .hero-cta .pill { width: 100%; }
  .media-body { grid-template-columns: 1fr; }
  .media-foot span + span::before { margin-right: 10px; }
  .media-foot { gap: 6px 10px; font-size: 13.4px; }
  .devices { min-height: 260px; }
  .ticks, .portals, .module-grid, .foot-card, .two { grid-template-columns: 1fr; }
  .portal { min-height: 340px; }
  .bands { padding: 0 10px; gap: 16px; }
  .pill-xl { padding: 0 36px; font-size: 18.5px; }
  .faq summary { padding: 16px 18px 16px 52px; }
  .faq summary::before { left: 18px; width: 18px; height: 18px; margin-top: -9px; }
  .faq details p { padding: 18px 20px 22px; }
  .diag { width: 180px; height: 180px; }
  .foot-card { border-radius: 26px 26px 0 0; padding-top: 40px; }
  .float-wa { width: 62px; height: 62px; right: 16px; bottom: 16px; }
  .float-wa svg { width: 34px; height: 34px; }
  .float-top { width: 52px; height: 52px; left: 16px; bottom: 16px; }
}

/* ---------- Inner pages ---------- */
.page-hero { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -60px; width: 420px; height: 420px; background: linear-gradient(135deg, rgba(229, 72, 77, 0.55), rgba(36, 38, 44, 0.35)); clip-path: polygon(40% 0, 63% 0, 100% 30%, 18% 100%, 0 100%, 0 40%); }
.page-hero-inner { position: relative; z-index: 1; max-width: 1760px; margin: 0 auto; padding: clamp(56px, 6vw, 96px) var(--gutter); }
.page-hero h1 { font-size: clamp(37px, 3.86vw, 63.8px); margin-bottom: 18px; }
.page-hero .hero-lead { margin-bottom: 0; }
.page-body { max-width: 1760px; margin: 0 auto; padding: clamp(56px, 6vw, 96px) var(--gutter); }
.page-cta { margin-top: 48px; text-align: center; }
.page-note { margin-top: 36px; font-size: 16px; color: var(--charcoal); }
.page-note a { color: var(--red-text); font-weight: 600; }
.lead-dark { font-size: 16.8px; color: #5a5e68; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); }
.ticks-stack { grid-template-columns: 1fr; }

.module-list { display: grid; gap: 2px; }
.module-list article { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; background: #fff; padding: 36px clamp(24px, 3vw, 48px); border-left: 6px solid transparent; transition: border-color 0.2s; }
.module-list article:hover, .module-list article:target { border-left-color: var(--red); }
.module-list span { font-family: var(--display); font-size: 47px; font-weight: 700; line-height: 1; color: var(--red-bright); }
.module-list h2 { font-size: clamp(25.2px, 2.02vw, 33.6px); color: var(--charcoal); }
.module-list p { margin: 0; font-size: 16px; color: var(--body); max-width: 980px; }

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-card { background: #fff; padding: clamp(32px, 4vw, 56px); border-top: 6px solid var(--charcoal); }
.price-card h2 { font-size: 33.6px; color: var(--charcoal); margin-bottom: 26px; }
.price-card p { font-size: 16.8px; color: var(--body); margin-bottom: 32px; }
.price-card-accent { background: var(--charcoal); border-top-color: var(--red); }
.price-card-accent h2, .price-card-accent p { color: #fff; }

.notice { max-width: 980px; margin: 0 auto; background: #fff; padding: clamp(36px, 5vw, 72px); text-align: center; border-top: 6px solid var(--red); }
.notice-tag { display: inline-block; margin-bottom: 18px; padding: 4px 16px; border-radius: 999px; background: #fdf0f0; color: var(--red-text); font-family: var(--display); font-size: 16.8px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.notice p { font-size: 16.8px; color: var(--body); margin: 0 auto 36px; max-width: 720px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { display: block; background: #fff; padding: 40px 36px; text-decoration: none; border-bottom: 5px solid transparent; transition: background-color 0.2s, border-color 0.2s; }
.contact-card:hover { border-bottom-color: var(--red); }
.contact-card h2 { font-size: 33.6px; color: var(--charcoal); margin-bottom: 10px; }
.contact-card p { font-size: 17.6px; font-weight: 600; color: var(--red-text); margin-bottom: 8px; overflow-wrap: anywhere; }
.contact-card span { color: var(--body); }

@media (max-width: 1240px) {
  .two-col, .price-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .module-list article { grid-template-columns: 1fr; gap: 6px; }
  .module-list span { font-size: 33.6px; }
  .page-hero::after { width: 200px; height: 200px; right: -60px; }
}

/* ---------- Pricing: suites and module picker ---------- */
.suites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.suite { position: relative; display: flex; flex-direction: column; align-items: flex-start; background: #fff; padding: clamp(28px, 3vw, 44px); border-top: 5px solid var(--charcoal); }
.suite-featured { border-top-color: var(--red); box-shadow: 0 24px 48px -28px rgba(17, 18, 21, 0.45); }
.suite-badge { position: absolute; top: 18px; right: 18px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 12px; border-radius: 999px; }
.suite-for { font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 20px; padding-right: 90px; }
.suite svg { width: 64px; height: 64px; fill: var(--charcoal); color: var(--charcoal); margin-bottom: 18px; }
.suite h2 { font-size: clamp(26px, 2vw, 34px); color: var(--charcoal); margin-bottom: 14px; }
.suite-inc { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--red-text); margin-bottom: 10px; }
.suite-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.suite-price b { font-family: var(--display); font-size: clamp(36px, 3vw, 46px); font-weight: 700; line-height: 1; color: var(--charcoal); }
.suite-price span { font-weight: 600; color: var(--body); }
.suite-featured .suite-price b { color: var(--red-text); }
.suite-min { margin: 6px 0 22px; font-size: 15px; color: var(--body); }
.price-notes { margin: 16px 0 0; padding: 18px clamp(24px, 3vw, 44px); background: #fff; border-left: 5px solid var(--red); color: var(--ink); font-size: 16px; }
.summary-estimate { margin: 0; padding: 12px 14px; background: rgba(255, 255, 255, 0.08); border-left: 4px solid var(--red-on-dark); font-size: 15px; line-height: 1.5; }
.chevrons { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; }
.chevrons li { position: relative; padding-left: 26px; font-weight: 500; color: var(--ink); }
.chevrons li::before { content: "»"; position: absolute; left: 4px; top: -1px; color: var(--red-bright); font-weight: 700; font-size: 18px; }
.core-strip { margin-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: center; background: var(--charcoal); color: #fff; padding: 26px clamp(24px, 3vw, 44px); }
.core-strip h2 { font-size: 26px; margin: 0; }
.core-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.core-strip li { position: relative; padding-left: 22px; color: #e4e4e7; }
.core-strip li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 10px; height: 10px; background: var(--red-bright); transform: rotate(45deg); }

.builder { background: #fff; border-top: 1px solid var(--line); }
.builder-inner { max-width: 1760px; margin: 0 auto; padding: clamp(56px, 6vw, 96px) var(--gutter); }
.builder-intro { max-width: 860px; margin-bottom: 36px; }
.builder-intro p:last-child { font-size: 17px; color: var(--body); }
.picker { display: grid; grid-template-columns: repeat(3, 1fr) minmax(300px, 1.1fr); gap: 20px; align-items: start; }
.picker fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.picker legend { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; padding: 0; border-bottom: 3px solid var(--red); }
.mod { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 14px 16px; background: var(--canvas); border: 2px solid transparent; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.mod:hover { border-color: var(--line); }
.mod.on { background: #fdf0f0; border-color: var(--red); }
.mod input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.mod b { display: block; font-weight: 600; color: var(--charcoal); }
.mod small { display: block; color: var(--body); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.summary { position: sticky; top: 104px; display: grid; gap: 12px; background: var(--charcoal); color: #fff; padding: 26px; }
.summary h3 { font-size: 26px; margin: 0; }
.summary-core { display: flex; justify-content: space-between; margin: 0; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); font-weight: 600; }
.summary-core span { color: var(--red-on-dark); }
.summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.summary li { position: relative; padding-left: 22px; }
.summary li::before { content: "✓"; position: absolute; left: 0; color: var(--red-on-dark); font-weight: 700; }
.summary-empty { margin: 0; color: #d4d4d8; font-size: 15px; }
.summary-field { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.summary-field input { font: inherit; font-weight: 400; padding: 10px 12px; border: 0; border-radius: 4px; color: var(--ink); }
.summary .pill { width: 100%; }
.summary .pill-dark { background: #fff; color: var(--charcoal); }
.summary .pill-dark:hover { background: var(--charcoal-soft); }
.fine-dark { margin: 0; font-size: 13px; color: #d4d4d8; }

@media (max-width: 1240px) {
  .suites { grid-template-columns: 1fr; }
  .core-strip { grid-template-columns: 1fr; }
  .picker { grid-template-columns: 1fr 1fr; }
  .summary { position: static; grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .picker { grid-template-columns: 1fr; }
}

/* ---------- Sign in and registration (layout-auth.html) ---------- */
.auth-body { background: #f1f2f4; min-height: 100vh; display: flex; flex-direction: column; }
.auth-body main { flex: 1; }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1240px; width: 100%; margin: 0 auto; padding: 14px var(--gutter); }
.auth-top .brand img { width: 40px; height: 40px; }
.auth-top .brand-text b { font-size: 25px; }
.auth-links { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-links a { padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--charcoal); font-size: 13px; font-weight: 600; text-decoration: none; }
.auth-links a:hover, .auth-links a[aria-current] { border-color: var(--charcoal); }
.auth-links a[aria-current] { background: var(--charcoal); color: #fff; }
.auth-foot { text-align: center; padding: 18px var(--gutter) 26px; font-size: 13px; color: var(--body); }
.auth-foot p { margin: 0; }
.auth-lead { color: var(--body); margin-bottom: 28px; }
.auth-lead a, .auth-alt a { color: var(--charcoal); font-weight: 600; }

.pick-badge { display: inline-block; padding: 5px 16px; border-radius: 999px; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pick-red { background: var(--red-deep); }
.pick-dark { background: var(--charcoal); }
.pick-grey { background: var(--charcoal-mid); }

.auth-choose { max-width: 1100px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter); text-align: center; }
.auth-choose h1 { font-size: clamp(34px, 3.4vw, 48px); color: var(--charcoal); }
.portal-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.pick-card { display: flex; flex-direction: column; align-items: flex-start; background: #fff; padding: 30px 28px; border-radius: 16px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s; }
.pick-card:hover, .pick-card:focus-visible { border-color: var(--charcoal); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(36, 38, 44, 0.12); }
.pick-card:hover .pick-go { text-decoration: underline; text-underline-offset: 3px; }
/* On the portal chooser the header lines up with the card grid instead of the full page width. */
.auth-body:has(.auth-choose) .auth-top { max-width: 1100px; }
.pick-card svg { width: 52px; height: 52px; margin: 22px 0 14px; fill: var(--charcoal); }
.pick-card h2 { font-size: 27px; color: var(--charcoal); }
.pick-card p { color: var(--body); flex: 1; }
.pick-go { font-weight: 700; color: var(--red-text); }

.auth-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1600px; margin: 0 auto; padding: 8px 16px 0; }
.auth-art { position: relative; overflow: hidden; border-radius: 28px; background: var(--charcoal); color: #fff; padding: 0 clamp(24px, 4vw, 56px) 40px; text-align: center; }
.auth-art::before { content: ""; position: absolute; left: -90px; bottom: -110px; width: 280px; height: 280px; border-radius: 50%; background: #8e1a21; }
.auth-art::after { content: ""; position: absolute; right: -60px; bottom: -150px; width: 240px; height: 240px; border-radius: 50%; background: var(--red); }
.art-student { background: var(--charcoal-deep); }
.art-arch { position: relative; margin: 0 auto 32px; max-width: 520px; height: clamp(300px, 46vh, 460px); border-radius: 0 0 260px 260px; background: linear-gradient(160deg, #fdf0f0, #f3b4b7); display: grid; place-items: center; padding-top: 24px; }
.art-student .art-arch { background: linear-gradient(160deg, #f1f2f4, #d9dbe0); }
.art-phone { height: 82%; width: auto; filter: drop-shadow(0 20px 30px rgba(17, 18, 21, 0.35)); }
.art-report { height: 80%; width: auto; filter: drop-shadow(0 20px 30px rgba(17, 18, 21, 0.3)); }
.art-chip { position: absolute; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--charcoal); font-size: 13px; font-weight: 700; box-shadow: 0 8px 20px rgba(17, 18, 21, 0.2); }
.chip-a { left: 4%; top: 34%; }
.chip-b { right: 4%; top: 62%; }
.auth-art h2 { position: relative; font-size: clamp(30px, 2.6vw, 42px); text-transform: uppercase; }
.auth-art h2 em { font-style: normal; color: var(--red-on-dark); }
.auth-art p { position: relative; max-width: 460px; margin-left: auto; margin-right: auto; color: #e6e7ea; }
.art-help { font-size: 13.5px; }
.art-help a { color: #fff; }

.auth-panel { display: grid; place-items: start center; padding: 24px 0 40px; }
.auth-card { width: 100%; max-width: 480px; background: #fff; border-radius: 22px; padding: clamp(28px, 3vw, 44px); box-shadow: 0 18px 50px rgba(36, 38, 44, 0.1); text-align: center; }
.auth-logo { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 18px; box-shadow: 0 10px 24px rgba(36, 38, 44, 0.2); }
.auth-card h1 { font-size: 34px; color: var(--ink); margin-bottom: 10px; }
.auth-sub { color: var(--body); margin: 14px 0 22px; }
.need-h { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--ink); text-align: left; margin-bottom: 10px; }
.need { counter-reset: need; list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; text-align: left; }
.need li { counter-increment: need; position: relative; padding: 12px 14px 12px 50px; border: 1.5px solid var(--line); border-radius: 12px; background: #fafafa; color: var(--body); font-size: 14.5px; }
.need li::before { content: counter(need); position: absolute; left: 14px; top: 11px; width: 24px; height: 24px; border-radius: 50%; background: var(--charcoal); color: #fff; font-size: 13px; font-weight: 700; text-align: center; line-height: 24px; }
.need b { color: var(--ink); }
.auth-go { width: 100%; }
.auth-safe { margin: 12px 0 0; font-size: 13px; color: var(--body); }
.auth-alt { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--body); }
.auth-card-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-size: 13.5px; }
.auth-card-links a { color: var(--charcoal); }
.auth-soon { margin: 0 0 22px; padding: 22px; border-radius: 14px; background: #fef6f6; border: 1.5px solid #f3b4b7; }
.auth-soon .notice-tag { margin-bottom: 10px; font-size: 14px; }
.auth-soon p { color: var(--body); font-size: 14.5px; margin-bottom: 10px; }
.auth-soon p:last-child { margin-bottom: 0; }

.reg { padding: 8px var(--gutter) 32px; }
.reg-card { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 18px 50px rgba(36, 38, 44, 0.08); }
.reg-card h1 { text-align: center; font-size: clamp(32px, 3vw, 44px); color: var(--charcoal); }
.reg-card > .auth-lead { text-align: center; }
.reg-steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.reg-steps li { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 12px; border-top: 4px solid var(--line); font-size: 14px; color: var(--body); }
.reg-steps li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: 12.5px; font-weight: 700; }
.reg-steps li.done { border-top-color: var(--green); }
.reg-steps li.done span { background: var(--green); color: #fff; }
.reg-steps li.active { border-top-color: var(--red); color: var(--charcoal); font-weight: 700; }
.reg-steps li.active span { background: var(--charcoal); color: #fff; }
.reg-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.reg-step legend { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; padding: 0; }
.reg-step > p { color: var(--body); }
.reg-step .ticks { gap: 12px 30px; margin-bottom: 26px; }
.reg-step .ticks li { font-size: 15px; padding-left: 32px; }
.reg-step .ticks li::before { width: 20px; height: 20px; background-color: var(--green); background-size: 15px; }
.reg-confirm { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.reg-confirm input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--charcoal); }
.reg-info { margin: 18px 0; padding: 18px 22px; border-left: 5px solid var(--charcoal); border-radius: 0 12px 12px 0; background: var(--charcoal-soft); }
.reg-info h3 { font-family: var(--sans); font-size: 15.5px; color: var(--charcoal); margin-bottom: 4px; }
.reg-info p { font-size: 14.5px; color: var(--body); }
.reg-info p:last-child { margin-bottom: 0; }
.reg-why { border: 1.5px solid var(--line); border-radius: 12px; padding: 0 20px; }
.reg-why summary { padding: 16px 0; font-weight: 700; color: var(--charcoal); cursor: pointer; }
.reg-why .chevrons { margin-bottom: 18px; }
.reg-why a { color: var(--charcoal); }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.reg-grid label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.reg-grid abbr { color: var(--red-text); text-decoration: none; }
.reg-grid input, .reg-grid select { font: inherit; font-weight: 400; color: var(--ink); padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; width: 100%; }
.reg-grid input:focus, .reg-grid select:focus { border-color: var(--charcoal); outline: none; box-shadow: 0 0 0 3px rgba(36, 38, 44, 0.18); }
.reg-grid [aria-invalid="true"] { border-color: #dc2626; }
.reg-note { margin: 18px 0 0; font-size: 13.5px; color: var(--body); }
.reg-review { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0; padding: 18px 22px; border-radius: 12px; background: #fafafa; border: 1.5px solid var(--line); font-size: 14.5px; }
.reg-review dt { font-weight: 600; color: var(--body); }
.reg-review dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
#reg-error { margin-top: 18px; }
.reg-consent { margin-top: 18px; }
.reg-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.reg-captcha { margin-top: 18px; }
.reg-wait { margin: 18px 0 0; padding: 10px 12px; background: var(--charcoal-soft); color: var(--charcoal); border-left: 4px solid var(--charcoal); }
.reg-done { text-align: center; padding: 10px 0; }
.reg-done:focus { outline: none; }
.reg-done h2 { font-family: var(--display); font-size: 30px; color: var(--charcoal); }
.reg-done p { color: var(--body); }
.reg-actions .pill:disabled { opacity: 0.6; cursor: wait; }
.reg-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.reg-actions .pill { min-height: 46px; }
.pill-ghost { border-color: var(--line); color: var(--charcoal); background: #fff; }
.pill-ghost:hover { border-color: var(--charcoal); }
#reg-next, #reg-wa { margin-left: auto; }

@media (max-width: 960px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .portal-pick { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 620px) {
  .auth-top { justify-content: center; }
  .reg-grid, .reg-step .ticks { grid-template-columns: 1fr; }
  .reg-steps li { flex-direction: column; gap: 4px; font-size: 12px; text-align: center; }
  .reg-review { grid-template-columns: 1fr; gap: 2px; }
  .reg-review dd { margin-bottom: 8px; }
  .reg-actions .pill { flex: 1 1 100%; }
  #reg-next, #reg-wa { margin-left: 0; }
}

/* ---------- Our Team ---------- */
.team-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1400px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.team-card { background: #fff; padding: clamp(36px, 4vw, 60px) 24px clamp(40px, 4vw, 64px); text-align: center; box-shadow: 0 18px 40px rgba(36, 38, 44, 0.08); transition: transform 0.2s, box-shadow 0.2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(36, 38, 44, 0.14); }
.avatar { display: grid; place-items: center; width: clamp(160px, 14vw, 220px); height: clamp(160px, 14vw, 220px); margin: 0 auto 32px; border-radius: 50%; object-fit: cover; background: var(--charcoal); color: #fff; font-family: var(--display); font-size: clamp(52px, 4.4vw, 72px); font-weight: 700; letter-spacing: 0.04em; box-shadow: 0 0 0 8px var(--grey-soft); }
.team-card:nth-child(even) .avatar { background: var(--red); }
.team-card h2 { font-size: clamp(28px, 2.2vw, 36px); color: var(--charcoal); margin-bottom: 6px; }
.team-card:nth-child(even) h2 { color: var(--red-text); }
.team-card p { margin: 0; font-weight: 600; color: var(--body); letter-spacing: 0.02em; }
.team-cta { max-width: 760px; margin: clamp(56px, 6vw, 96px) auto 0; text-align: center; }
.team-cta p { color: var(--body); }
@media (max-width: 1200px) { .team-grid { grid-template-columns: repeat(2, 1fr); max-width: 960px; } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; max-width: 480px; } }
