/* East Texas Karate. Phone-first signup site. Dark header + hero, light content bands, red calls to action, sticky action bar on phones. Tokens from the site's style.css. */
:root {
  color-scheme: light;
  --red: #d71932;
  --red-dark: #b80f27;
  --ink: #101012;
  --ink-2: #19191c;
  --paper: #f5f5f4;
  --grey: #ececeb;
  --white: #ffffff;
  --text-2: #4b4d52;
  --muted: #6e7075;
  --muted-dark: #c6c6c6;
  --line: #e2e2e2;
  --line-dark: #303034;
  --gold: #e8a202;
  --ok: #1d7a46;
  --warn: #a35a00;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", Arial, sans-serif;
  --bar-h: 0px;
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
body { background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.55; padding-bottom: var(--bar-h); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1; text-wrap: balance; }
p { margin: 0; }
.container { max-width: 76rem; margin-inline: auto; padding-inline: 1.25rem; }
.eyebrow { font-weight: 800; font-size: .76rem; letter-spacing: .32em; color: var(--red); text-transform: uppercase; }
.eyebrow i { font-style: normal; padding-inline: .4rem; }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.solid { fill: currentColor; stroke: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .75rem 1.5rem; border: 2px solid transparent; border-radius: 6px; font: 800 1.1rem var(--display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.button-red { background: var(--red); color: var(--white); }
.button-red:hover { background: var(--red-dark); }
.button-outline { border-color: #cfcfcf; color: var(--white); background: transparent; }
.button-outline:hover { background: var(--white); color: var(--ink); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #2a2a2e; }
.button-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.button-ghost:hover { border-color: var(--ink); }
.button[disabled] { opacity: .6; cursor: wait; }


/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ink); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.site-header .bar { display: flex; align-items: center; gap: 1.2rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .8rem; margin-right: auto; min-width: 0; }
.brand img { width: 64px; height: 64px; flex: none; }
.brand-copy { display: grid; line-height: 1; min-width: 0; }
.brand-copy strong { font: 800 1.85rem var(--display); letter-spacing: .02em; white-space: nowrap; }
.brand-copy small { font-family: var(--display); font-weight: 600; font-size: .9rem; letter-spacing: .5em; margin-top: .35rem; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; font-size: .92rem; }
.main-nav a { padding-block: .4rem; border-bottom: 2px solid transparent; transition: color .2s; }
.main-nav a:hover { color: #ff5268; }
.main-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.head-actions { display: flex; gap: .6rem; align-items: center; }
.head-actions .button { min-height: 44px; font-size: 1.05rem; padding: .55rem 1.1rem; }
.portal-link { font-size: .85rem; font-weight: 600; color: var(--muted-dark); border: 1px solid var(--line-dark); border-radius: 6px; padding: .6rem .8rem; white-space: nowrap; }
.portal-link:hover { color: var(--white); border-color: #6a6a70; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; background: none; color: var(--white); border: 1px solid var(--line-dark); border-radius: 6px; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.main-nav .mobile-only { display: none; }
@media (max-width: 1140px) {
  .menu-toggle { display: block; }
  .portal-link { display: none; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-2); flex-direction: column; align-items: stretch; gap: 0; padding: .4rem 1.25rem 1rem; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .9rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
  .main-nav a[aria-current="page"] { color: #ff5268; border-bottom-color: var(--line-dark); }
  .main-nav .mobile-only { display: block; color: var(--gold); }
}
@media (max-width: 560px) {
  .site-header .bar { gap: .6rem; }
  .brand { gap: .55rem; }
  .brand img { width: 44px; height: 44px; }
  .brand-copy strong { font-size: 1.2rem; }
  .brand-copy small { font-size: .66rem; letter-spacing: .32em; }
  .head-actions .button { display: none; }
}

/* Sticky phone action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  :root { --bar-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); border-top: 1px solid var(--line-dark); padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom, 0px)); }
  .action-bar a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 6px; font: 800 1rem var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--white); border: 1px solid var(--line-dark); }
  .action-bar a .ico { font-size: 1.15rem; }
  .action-bar a.go { background: var(--red); border-color: var(--red); }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(circle at 62% 50%, rgba(215,25,50,.32), transparent 42%); }
.hero-wrap { position: relative; display: grid; grid-template-columns: 1fr auto 15rem; gap: 2rem; align-items: center; padding-block: 3rem 3.4rem; }
.hero-content { display: grid; gap: 1.1rem; justify-items: start; min-width: 0; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6rem); font-weight: 900; line-height: .9; }
.hero h1 span { color: var(--red); }
.hero h1 small { display: block; font-size: .5em; font-weight: 800; margin-top: .3rem; }
.hero-intro { max-width: 33rem; color: #e3e3e3; font-size: 1.1rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .3rem; }
.hero-mark { width: clamp(13rem, 20vw, 18rem); height: auto; aspect-ratio: 1; filter: drop-shadow(0 20px 50px rgba(0,0,0,.6)); }
.hero-points { display: grid; gap: 1.5rem; }
.hero-points > div { display: flex; gap: .85rem; align-items: flex-start; }
.hero-points .ico { font-size: 2.1rem; }
.hero-points strong { display: block; font: 700 1.3rem var(--display); }
.hero-points small { display: block; font-size: .85rem; color: var(--muted-dark); line-height: 1.35; }
.hero-next { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--muted-dark); }
.hero-next b { color: var(--white); }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: #3ccf7a; box-shadow: 0 0 0 4px rgba(60,207,122,.18); flex: none; }
@media (max-width: 1000px) {
  .hero-mark { display: none; }
  .hero-wrap { grid-template-columns: 1fr; padding-block: 2.2rem 2.4rem; gap: 1.8rem; }
  .hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 3.1rem; }
  .hero-intro { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-points .ico { font-size: 1.6rem; }
  .hero-points strong { font-size: 1.1rem; }
  .hero-points small { font-size: .78rem; }
}

/* Sections */
.section { padding-block: 3.2rem 3.6rem; }
.band-white { background: var(--white); }
.section-heading { text-align: center; display: grid; gap: .5rem; margin-bottom: 1.8rem; justify-items: center; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; }
.section-heading p:not(.eyebrow) { color: var(--text-2); max-width: 36rem; }
@media (max-width: 560px) { .section { padding-block: 2.4rem 2.8rem; } }

/* Programs */
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.program-card { background: var(--white); border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.05); display: grid; grid-template-rows: auto 1fr; }
.photo-slot { aspect-ratio: 8 / 5; display: grid; place-items: center; align-content: center; gap: .5rem; padding: 1rem; text-align: center; background: repeating-linear-gradient(135deg, #1b1b1e 0 14px, #161618 14px 28px); color: #9a9aa0; }
.photo-slot img { width: 3rem; height: 3rem; opacity: .55; }
.photo-slot span { font-size: .78rem; font-weight: 600; max-width: 16rem; line-height: 1.35; }
.photo-slot b { display: block; color: var(--muted-dark); font-family: var(--display); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; }
.program-body { padding: 1rem 1.2rem 1.3rem; text-align: center; display: grid; gap: .5rem; justify-items: center; grid-template-rows: auto auto 1fr auto; }
.program-body h3 { font-size: 1.55rem; font-weight: 800; text-transform: uppercase; }
.program-body .when { font-size: .82rem; font-weight: 700; color: var(--red); }
.program-body p:not(.when) { font-size: .92rem; color: #56585d; }
.program-body a { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; background: var(--red); color: var(--white); border-radius: 4px; padding: .5rem 1.4rem; font: 800 .98rem var(--display); letter-spacing: .08em; text-transform: uppercase; margin-top: .3rem; }
.program-body a:hover { background: var(--red-dark); }
@media (max-width: 1000px) { .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .program-grid { grid-template-columns: 1fr; }
  .program-card { grid-template-columns: 7.5rem 1fr; grid-template-rows: auto; }
  .program-card .photo-slot { aspect-ratio: auto; height: 100%; padding: .5rem; }
  .program-card .photo-slot span { display: none; }
  .program-body { text-align: left; justify-items: start; padding: .9rem 1rem 1rem; gap: .35rem; }
  .program-body h3 { font-size: 1.3rem; }
  .program-body p:not(.when) { font-size: .86rem; }
  .program-body a { min-height: 40px; padding: .4rem 1rem; font-size: .9rem; }
}

/* Class list (GET /classes) */
.class-list { display: grid; gap: .8rem; }
.class-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto auto; gap: 1rem 1.4rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.2rem; }
.class-row h3 { font-size: 1.45rem; font-weight: 800; }
.class-row .meta { font-size: .86rem; color: var(--muted); margin-top: .2rem; }
.class-when { display: grid; gap: .25rem; font-variant-numeric: tabular-nums; }
.class-when .days { display: flex; gap: .3rem; flex-wrap: wrap; }
.day { font: 800 .8rem var(--display); letter-spacing: .06em; background: var(--ink); color: var(--white); border-radius: 3px; padding: .15rem .45rem; }
.class-when .time { font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.status.open { color: var(--ok); background: #e6f4ec; }
.status.limited { color: var(--warn); background: #fdf0de; }
.status.full { color: var(--red-dark); background: #fde8eb; }
.class-row .button { min-height: 44px; padding: .5rem 1.1rem; font-size: 1rem; white-space: nowrap; }
.list-note { font-size: .82rem; color: var(--muted); margin-top: .9rem; }
@media (max-width: 760px) {
  .class-row { grid-template-columns: 1fr auto; padding: .95rem 1rem; }
  .class-row .class-when { grid-column: 1; }
  .class-row .status { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
  .class-row .button { grid-column: 1 / -1; width: 100%; }
}

/* Events (GET /events) */
.event-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .9rem; }
.event-card { display: flex; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
.event-date { flex: none; width: 3.8rem; align-self: start; text-align: center; border-radius: 6px; background: var(--red); color: var(--white); padding: .45rem 0; font-family: var(--display); line-height: 1; }
.event-date b { display: block; font-size: 1.9rem; font-weight: 900; }
.event-date span { font-size: .8rem; font-weight: 700; letter-spacing: .1em; }
.event-card h3 { font-size: 1.3rem; font-weight: 800; }
.event-card p { font-size: .86rem; color: var(--text-2); margin-top: .2rem; }

/* Why band */
.dark-band { background: var(--ink); color: var(--white); padding-block: 2.6rem 3rem; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.why-grid > div { display: flex; gap: .9rem; align-items: flex-start; }
.why-grid .ico { font-size: 2.4rem; color: var(--red); }
.why-grid h3 { font: 700 1.3rem/1.1 var(--display); }
.why-grid p { font-size: .88rem; color: var(--muted-dark); margin-top: .3rem; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; gap: 1.1rem; } .why-grid .ico { font-size: 2rem; } }

/* Visit: address + map (GET /studio) */
.visit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; align-items: stretch; }
.visit-info { display: grid; gap: 1.1rem; align-content: start; }
.visit-info h2, .visit-compact h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; }
.visit-compact { display: grid; gap: 1rem; }
.info-list { display: grid; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.info-row .ico { font-size: 1.5rem; color: var(--red); }
.info-row strong { display: block; font-size: 1rem; overflow-wrap: anywhere; }
.info-row span { color: var(--text-2); font-size: .92rem; }
.copy-btn { font: 600 .8rem var(--body); color: var(--text-2); background: var(--white); border: 1px solid var(--line); border-radius: 6px; min-height: 36px; padding: .3rem .7rem; cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.visit-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.map-card { position: relative; display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--grey); min-height: 20rem; }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-card .map-label { position: absolute; left: .8rem; bottom: .8rem; right: .8rem; display: flex; justify-content: space-between; align-items: center; gap: .6rem; background: rgba(16,16,18,.92); color: var(--white); border-radius: 8px; padding: .7rem .9rem; font-size: .9rem; }
.map-card .map-label b { font-family: var(--display); font-size: 1.15rem; letter-spacing: .03em; }
.map-card .map-label span { display: inline-flex; align-items: center; gap: .35rem; color: var(--gold); font-weight: 700; white-space: nowrap; }
.map-credit { position: absolute; top: .4rem; right: .5rem; font-size: .66rem; background: rgba(255,255,255,.85); color: #333; padding: .1rem .35rem; border-radius: 3px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map-card { min-height: 0; aspect-ratio: 5 / 4; } }
@media (max-width: 560px) { .visit-actions { display: grid; grid-template-columns: 1fr 1fr; } }

/* Trial band (home) */
.trial-band { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: var(--white); }
.trial-band .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; align-items: center; padding-block: 3rem; }
.trial-band h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; }
.trial-band .lead { font-size: 1.05rem; margin-top: .6rem; max-width: 28rem; }
.trial-band ul { margin: 1.1rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.trial-band li { display: flex; gap: .55rem; align-items: center; font-weight: 600; }
.trial-band li .ico { color: #ffd34d; font-size: 1.1rem; }
.trial-band .eyebrow { color: #ffd6dc; }
@media (max-width: 860px) { .trial-band .container { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 2.4rem; } }

/* Forms */
.form-card { background: var(--white); color: var(--ink); border-radius: 10px; padding: 1.6rem; display: grid; gap: .9rem; box-shadow: 0 14px 40px rgba(0,0,0,.12); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.9rem; font-weight: 800; }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-card label, .form-card legend { display: block; font-size: .85rem; font-weight: 700; }
.form-card legend { margin-bottom: .4rem; }
.form-card .req { color: var(--red); }
.form-card .opt { font-weight: 400; color: var(--muted); }
.form-card input, .form-card select, .form-card textarea { display: block; margin-top: .3rem; width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid #cfcfcf; border-radius: 6px; background: var(--white); font: 16px var(--body); color: #222; }
.form-card textarea { min-height: 5.5rem; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid #f4a0ac; border-color: var(--red); }
.form-card [aria-invalid="true"] { border-color: var(--red); outline: 2px solid #f4a0ac; }
.form-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.class-pick { display: grid; gap: .5rem; }
.class-pick label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; border: 1px solid #cfcfcf; border-radius: 6px; padding: .7rem .8rem; cursor: pointer; min-height: 56px; }
.class-pick input { width: 1.25rem; height: 1.25rem; min-height: 0; accent-color: var(--red); margin: 0; }
.form-card .hp input { margin: 0; }
.class-pick label:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); background: #fff7f8; }
.class-pick small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.class-pick .status { font-size: .74rem; padding: .2rem .5rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spam-check { display: grid; gap: .35rem; }
.spam-check .cf-turnstile { min-height: 65px; }
.spam-hint { font-size: .82rem; color: var(--text-2); }
.form-error { color: var(--red-dark); font-weight: 700; font-size: .92rem; background: #fde8eb; border-radius: 6px; padding: .6rem .8rem; }
.form-note { display: block; text-align: center; color: #777; font-size: .78rem; }
.waitlist-note { background: #fdf0de; color: #6b3d00; border-radius: 6px; padding: .7rem .8rem; font-size: .9rem; }
.form-card .button { width: 100%; }
@media (max-width: 520px) { .form-card .row { grid-template-columns: 1fr; } .form-card { padding: 1.2rem; } .class-pick .status { grid-column: 2; justify-self: start; } .class-pick label { grid-template-columns: auto minmax(0, 1fr); } }

/* Inner pages */
.page-hero { background: var(--ink); color: var(--white); padding-block: 3.4rem 3rem; border-bottom: 5px solid var(--red); }
.page-hero .container { display: grid; gap: .7rem; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 5.2rem); font-weight: 900; line-height: .9; }
.page-hero h1 span, .thank-you h1 span { color: var(--red); }
.page-hero p:not(.eyebrow) { max-width: 38rem; color: #d1d1d1; font-size: 1.05rem; }
@media (max-width: 560px) { .page-hero { padding-block: 2.2rem 2rem; } .page-hero p:not(.eyebrow) { font-size: .96rem; } }
.inner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .inner-grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; } }
.center-callout { text-align: center; display: grid; gap: .7rem; justify-items: center; padding-top: 3rem; }
.center-callout h2 { font-size: clamp(2rem, 4vw, 2.4rem); font-weight: 800; }
.center-callout p { color: #62646a; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.split > div:first-child { display: grid; gap: 1rem; }
.split h2 { font-size: clamp(2rem, 4vw, 2.4rem); font-weight: 800; }
.split > div:first-child > p { color: var(--text-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 1.8rem; } }
.trial-split .form-card { order: -1; }
@media (min-width: 901px) { .trial-split .form-card { order: 2; } }
.quote-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.6rem; background: var(--white); border-left: 4px solid var(--red); box-shadow: 0 5px 20px rgba(0,0,0,.04); }
.quote-card span { font: 900 3.2rem/.8 var(--display); color: var(--red); }
.quote-card h3 { font: 700 1.5rem/1.15 var(--display); }
.instructor-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.instructor { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem; display: grid; gap: .35rem; }
.instructor h3 { font-size: 1.45rem; font-weight: 800; }
.instructor .rank { font-size: .84rem; font-weight: 700; color: var(--red); }
.instructor p { font-size: .9rem; color: var(--text-2); }
.about-photo { aspect-ratio: 4 / 3; border-radius: 10px; }
.subhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .6rem; margin: 3rem 0 1.2rem; }
.subhead h2 { font-size: clamp(1.9rem, 4vw, 2.3rem); font-weight: 800; }

.portal-card { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 8px; padding: 2rem; }
.portal-card > * { min-width: 0; }
.portal-card h2 { font-size: 2rem; font-weight: 800; }
.portal-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.5rem; color: #444; }
.portal-list li { display: flex; gap: .55rem; align-items: center; }
.portal-list .ico { color: var(--red); font-size: 1.05rem; }
.portal-side { display: grid; gap: .7rem; justify-items: center; text-align: center; }
.portal-side small { color: var(--muted); max-width: 16rem; }
@media (max-width: 760px) { .portal-card { grid-template-columns: 1fr; padding: 1.3rem; } .portal-list { grid-template-columns: 1fr; } .portal-side { justify-items: stretch; text-align: left; } .portal-side .button { width: 100%; } .portal-side small { max-width: none; } }

.thank-you { text-align: center; padding-block: 4rem; display: grid; gap: 1.1rem; justify-items: center; }
.thank-you img { width: 7rem; height: 7rem; }
.thank-you h1 { font-size: clamp(3rem, 9vw, 5rem); font-weight: 900; }
.thank-you p:not(.eyebrow) { color: #444; max-width: 32rem; }
.next-steps { display: grid; gap: .6rem; width: min(100%, 26rem); }
.next-steps .button { width: 100%; }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding-block: 2.2rem 1.6rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem 2.4rem; align-items: start; }
.footer-inner .brand img { width: 48px; height: 48px; }
.footer-inner .brand-copy strong { font-size: 1.3rem; }
.footer-inner .brand-copy small { font-size: .7rem; letter-spacing: .4em; }
.footer-contact { display: grid; gap: .3rem; font-size: .9rem; color: #d0d0d0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.6rem; font-size: .9rem; }
.footer-links a:hover { color: #ff5268; }
.copyright { grid-column: 1 / -1; color: #8a8a8f; font-size: .78rem; border-top: 1px solid var(--line-dark); padding-top: 1rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* Server-rendered extras */
.flash-wrap { max-width: 76rem; margin: 1rem auto 0; padding-inline: 1.25rem; }
.note-box { background: #fdf0de; color: #6b3d00; border-radius: 6px; padding: .7rem .8rem; font-size: .92rem; font-weight: 600; }
.empty-box { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.empty-box strong { font: 800 1.4rem var(--display); }
.empty-box p { color: var(--text-2); }

