/* Cascais AI Hub Design System v3, applied to the public site.
   Dark is the default. html.theme-light switches the light tokens.
   Salmon is defined and unused on these pages so it never shares a composition with Mint. */

html,
[data-theme="civic"] {
  --grafite: #1B2631;
  --green: #27EAA6;
  --blue: #0069F8;
  --salmon: #FF9968;
  --white: #ffffff;
  --mist: #F4F5F3;
  --light: #DBDBDB;
  --medium: #A6A6A6;
  --dark: #404040;
  --ink: #111820;
  --bg: #0B1118;
  --bg2: #0E1620;
  --surface: #16212E;
  --surface-2: #1C2938;
  --surface-3: #0E1620;
  --overlay: #1C2938;
  --text: #ffffff;
  --fg: #ffffff;
  --muted: #9FB0BF;
  --border: rgba(255, 255, 255, 0.10);
  --border2: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.055);
  --glass2: rgba(255, 255, 255, 0.09);
  --ring-ghost: rgba(255, 255, 255, 0.10);
  --sh: 0 12px 30px rgba(0, 0, 0, 0.30);
  --sh-card: 0 12px 30px rgba(0, 0, 0, 0.30);
  --logo-blue: #0069F8;
  --logo-mint: #27EAA6;
  --logo-coral: #0069F8;
  --logo-grey: #A6A6A6;
  --accent: #0069F8;
  --accent-h: #0054c8;
  --accent-2: #27EAA6;
  --sun: #0069F8;
  --accent-sub: rgba(0, 105, 248, 0.14);
  --on-acc: #ffffff;
  --sec: #27EAA6;
  --fd: Unytour, "Arial Narrow", sans-serif;
  --ft: Inter, "Helvetica Neue", Arial, sans-serif;
  --font-d: Unytour, "Arial Narrow", sans-serif;
  --font-b: Inter, "Helvetica Neue", Arial, sans-serif;
  --font-m: Unytour, "Arial Narrow", sans-serif;
  --r: 24px;
  --r1: 10px;
  --r2: 16px;
  --r3: 24px;
  --rs: 16px;
  --pill: 999px;
  --button-r: 999px;
  --mesh: radial-gradient(45% 55% at 18% 15%, rgba(0, 105, 248, 0.45), transparent 60%),
    radial-gradient(45% 55% at 85% 25%, rgba(39, 234, 166, 0.16), transparent 62%),
    radial-gradient(70% 70% at 60% 108%, rgba(0, 105, 248, 0.28), transparent 70%),
    #0C1622;
  --card-ink: #52626F;
  color-scheme: dark;
}

html.theme-light {
  --bg: #F4F5F3;
  --bg2: #ffffff;
  --surface: #ffffff;
  --surface-2: #ECEEEA;
  --surface-3: #F4F5F3;
  --overlay: #ECEEEA;
  --text: #1B2631;
  --fg: #1B2631;
  --muted: #5B6B78;
  --border: rgba(27, 38, 49, 0.12);
  --border2: rgba(27, 38, 49, 0.22);
  --glass: rgba(27, 38, 49, 0.04);
  --glass2: rgba(27, 38, 49, 0.07);
  --ring-ghost: rgba(27, 38, 49, 0.08);
  --sh: 0 8px 24px rgba(27, 38, 49, 0.10);
  --sh-card: 0 8px 24px rgba(27, 38, 49, 0.10);
  --accent-sub: rgba(0, 105, 248, 0.10);
  --mesh: radial-gradient(45% 55% at 18% 15%, rgba(0, 105, 248, 0.12), transparent 60%),
    radial-gradient(45% 55% at 85% 25%, rgba(39, 234, 166, 0.10), transparent 62%),
    radial-gradient(70% 70% at 60% 108%, rgba(0, 105, 248, 0.08), transparent 70%),
    #EEF2F7;
  color-scheme: light;
}

html { background: var(--bg); scroll-padding-top: 88px; }
body {
  font-family: var(--ft);
  font-size: 16px;
  line-height: 26px;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(0, 105, 248, 0.28); color: inherit; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(159, 176, 191, 0.45); border-radius: 999px; }

h1, h2, h3, h4, .disp {
  font-family: var(--fd);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.02;
  color: var(--text);
}
p, li { text-wrap: pretty; }
h1, h2, .s-h2, .hero-h1, .cta-h2, .mission-big { text-wrap: balance; }

body > section { padding: 92px 0; border-bottom: 1px solid var(--border); background: transparent; }
@media (max-width: 768px) { body > section { padding: 64px 0; } }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.btn:focus-visible,
.button:focus-visible,
.theme-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(39, 234, 166, 0.18);
}

/* Buttons: mint primary, blue secondary, ghost */
.btn {
  font-family: var(--ft);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  border-radius: var(--pill);
  padding: 12px 22px;
  border: 1px solid transparent;
  box-shadow: none;
  transform: none;
}
.btn-p, .btn-p:hover,
#digest .btn-p, #digest .btn-p:hover {
  background: var(--green);
  color: var(--grafite);
  border-color: transparent;
  box-shadow: none;
  filter: none;
  transform: none;
}
.btn-p:hover, #digest .btn-p:hover { filter: brightness(1.08); }
.btn-s, .btn-s:hover,
.digest-actions .btn-s, .digest-actions .btn-s:hover {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
.btn-s:hover, .digest-actions .btn-s:hover { filter: brightness(1.08); }
.hero-ctas .speaker-cta, .hero-ctas .speaker-cta:hover {
  flex-basis: auto;
  max-width: none;
  width: auto;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
  box-shadow: none;
  font-weight: 600;
  transform: none;
  filter: none;
}
.hero-ctas .speaker-cta:hover { background: var(--glass); }
.btn[disabled], button:disabled { opacity: 0.4; cursor: not-allowed; filter: none; transform: none; }

.lockup-light { display: none; }
html.theme-light .lockup-dark { display: none; }
html.theme-light .lockup-light { display: block; }
.lockup { height: 54px; width: auto; }
.ft-brand-logo { width: 150px; height: auto; filter: none; }

/* Header */
.hdr, .hdr.scrolled {
  height: 76px;
  padding: 0 24px;
  background: rgba(11, 17, 24, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: none;
  border-bottom: 1px solid var(--border);
}
html.theme-light .hdr, html.theme-light .hdr.scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(27, 38, 49, 0.10);
}
.nav-links { gap: 12px; }
.nav-links a { font-family: var(--ft); font-size: 13px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.lang-switch {
  border: 1px solid var(--border2);
  background: transparent;
  backdrop-filter: none;
  border-radius: var(--pill);
}
.lang-switch button {
  font-family: var(--ft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-radius: var(--pill);
}
.lang-switch button.on { background: var(--green); color: var(--grafite); }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--pill);
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text);
  font-family: var(--ft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle .when-light { display: none; }
html.theme-light .theme-toggle .when-dark { display: none; }
html.theme-light .theme-toggle .when-light { display: inline; }
.social-links a, .ft-social a {
  border-color: var(--border);
  background: transparent;
  color: var(--muted);
  backdrop-filter: none;
}
.social-links a:hover, .ft-social a:hover { color: var(--text); border-color: var(--border2); transform: none; }
.mob-nav { top: 76px; background: var(--bg); }
.hamburger span { background: var(--text); }
.scroll-progress {
  height: 2px;
  background: var(--blue);
  box-shadow: none;
}

/* Hero */
#hero {
  background: var(--mesh);
  border-bottom: 0;
  min-height: 100svh;
}
html.theme-light,
html.theme-light body {
  background: #F4F5F3;
  background-image: none;
}
html.theme-light #hero {
  background:
    linear-gradient(0deg, rgba(0, 105, 248, 0.14) 0%, rgba(0, 105, 248, 0.04) 26%, transparent 52%),
    #F4F5F3;
}
#hero::before, #hero::after, .hero-h1::before, #net-canvas { display: none; }
.hero-ring, .about-ring, .page-ring, .eid-badge, .lead-seal {
  background-color: var(--ring-ghost);
  -webkit-mask: url("/brand/ring.svg") center / contain no-repeat;
  mask: url("/brand/ring.svg") center / contain no-repeat;
}
.hero-ring {
  position: absolute;
  right: -140px;
  top: -90px;
  width: min(560px, 72vw);
  height: min(560px, 72vw);
  z-index: 0;
  pointer-events: none;
}
.hero-h1, .hero-line {
  color: var(--text);
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
  letter-spacing: -0.01em;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
}
.hero-line {
  display: block;
  white-space: normal;
  width: auto;
  max-width: 24ch;
}
.hero-line::after { content: none; display: none; animation: none; }
.hero-sub { font-size: 16px; line-height: 26px; max-width: 62ch; color: var(--muted); }
.hero-cred {
  font-family: var(--fd);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow, .s-eye, .etype-kicker, .digest-card-kicker, .actcard-num, .hcard-tag, .f-section-head, .ft-col h4, .ft-social-lbl {
  font-family: var(--fd);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before, .s-eye::before, .hcard-tag::before { display: none; content: none; }
html.theme-light .eyebrow,
html.theme-light .s-eye,
html.theme-light .etype-kicker,
html.theme-light .digest-card-kicker,
html.theme-light .actcard-num,
html.theme-light .hcard-tag,
html.theme-light .f-section-head,
html.theme-light .ft-col h4,
html.theme-light .ft-social-lbl,
html.theme-light .tenet-n { color: #0054C8; }
.s-h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.s-body { font-size: 16px; line-height: 26px; color: var(--muted); max-width: 68ch; }

.hcard {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.hcard:hover, .acard:hover, .actcard:hover, .etype:hover, .lead-card:hover { transform: none; box-shadow: var(--sh-card); }
.hcard p { color: var(--muted); }
html.theme-light .hcard { background: #fff; border-color: rgba(27, 38, 49, 0.12); }
html.theme-light .hcard p { color: var(--card-ink); }

/* Bands */
#about, #leadership, #community, #activities, #events, #speak, #digest, #mission, #principles, #ahead, #join, #faq {
  background: transparent;
}
#community::before, #activities::before, #events::before, #digest::before,
#ahead::before, #mission::before, #faq::before { display: none; }

#association {
  background:
    linear-gradient(0deg, rgba(0, 105, 248, 0.92) 0%, rgba(0, 105, 248, 0.28) 42%, transparent 74%),
    var(--bg2);
  border-bottom: 0;
}
#association .s-eye { color: var(--green); opacity: 1; }
#association .s-h2, #association .s-body { color: #fff; opacity: 1; }
#association .found-detail { color: rgba(255, 255, 255, 0.82); border-top-color: rgba(255, 255, 255, 0.28); font-family: var(--fd); letter-spacing: 0.14em; }
html.theme-light #association {
  background:
    linear-gradient(0deg, rgba(0, 105, 248, 0.16) 0%, rgba(0, 105, 248, 0.05) 46%, transparent 74%),
    var(--mist);
}
html.theme-light #association .s-eye { color: var(--blue); }
html.theme-light #association .s-h2, html.theme-light #association .s-body { color: var(--grafite); }
html.theme-light #association .found-detail { color: #5B6B78; border-top-color: rgba(27, 38, 49, 0.16); }

.about-vis {
  min-height: 520px;
  padding: 0;
  border-radius: 18px;
  background: #0C1622;
  box-shadow: var(--sh-card);
  animation: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 105, 248, 0.95) 2%, rgba(0, 105, 248, 0.35) 32%, transparent 60%);
}
.about-ring {
  position: absolute; right: -50px; top: -30px; width: 190px; height: 190px; z-index: 2;
  background-color: rgba(17, 24, 32, 0.5);
  pointer-events: none;
}
.about-vis::before, .about-vis::after { display: none; }
.about-brand-card {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3;
  width: auto; margin: 0; padding: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 0; border-radius: 14px; box-shadow: none; animation: none;
}
.about-brand-note {
  margin: 0; padding: 0; border: 0;
  font-family: var(--fd); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--grafite);
}
.about-add {
  margin-top: 22px; padding: 18px 0 0;
  background: transparent; border: 0; border-radius: 0;
  border-top: 1px solid var(--border);
  color: var(--text);
}

/* Leadership as Event ID cards. Nameplate stays light in both themes. */
.lead-card {
  background: var(--surface);
  border: 0;
  border-radius: 18px;
  box-shadow: var(--sh-card);
  overflow: hidden;
}
html.theme-light .lead-card { background: #fff; }
.lead-photo { aspect-ratio: 3 / 4; background: #0C1622; }
.lead-photo img { filter: none; object-position: center 18%; }
.lead-wash {
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 105, 248, 0.95) 2%, rgba(0, 105, 248, 0.35) 32%, transparent 60%);
}
.lead-seal {
  top: -70px; right: -80px; width: 170px; height: 170px;
  border: 0; border-radius: 0; box-shadow: none;
  background-color: rgba(255, 255, 255, 0.55);
}
.ecard {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 16px;
  color: var(--grafite);
}
.eid-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.eid-badge { width: 20px; height: 20px; display: inline-block; background-color: var(--grafite); flex: 0 0 auto; }
.eid-place { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; color: #52626F; letter-spacing: 0.04em; }
.ecard h3 {
  font-family: var(--fd); font-size: 19px; line-height: 1.05; color: var(--grafite);
  text-decoration: underline; text-underline-offset: 3px; margin: 0;
}
.ecard .lead-role {
  font-family: var(--fd); font-size: 12px; font-weight: 600; line-height: 1.1;
  color: var(--grafite); margin-top: 8px;
}
.lead-photo > img { width: 100%; height: 100%; object-fit: cover; }
.ecard .eid-lockup {
  width: 70px;
  height: auto;
  max-height: 40px;
  margin-top: 12px;
  margin-left: auto;
  display: block;
  object-fit: contain;
  position: static;
}
.lead-body { padding: 16px 18px 18px; gap: 10px; }
.lead-bio { font-size: 14px; line-height: 1.55; color: var(--muted); }
html.theme-light .lead-bio { color: var(--card-ink); }
.lead-links a {
  font-family: var(--ft); font-weight: 600; color: var(--blue);
  border: 1px solid rgba(0, 105, 248, 0.35); background: transparent; border-radius: var(--pill);
}
.lead-links a:hover { background: rgba(0, 105, 248, 0.08); }
@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .lead-card { display: flex; grid-template-columns: none; }
  .lead-photo { aspect-ratio: 3 / 4; height: auto; min-height: 0; }
  .lead-body { padding: 16px; }
}

/* Content cards: white, Grafite type, in both themes */
.acard, .actcard, .etype, .mission-outcome, .digest-card, .form-wrap, .fi {
  background: #fff;
  color: var(--grafite);
  border: 0;
  border-radius: var(--r3);
  box-shadow: var(--sh-card);
}
.acard h3, .actcard h3, .etype h3, .mission-outcome h3, .digest-card h3 {
  font-family: var(--fd); color: var(--grafite); font-size: 22px; letter-spacing: -0.01em;
}
.acard p, .actcard p, .etype p, .mission-outcome p, .digest-card p, .digest-issue-row p {
  color: var(--card-ink); font-size: 14px; line-height: 1.55;
}
.acard-bar, .mission-outcome::before, .digest-card::before { display: none; }
.actcard-num { margin-bottom: 12px; }
html.theme-light .actcard-num { color: var(--blue); }
.actcard-num { color: var(--blue); }
.mission-outcome span, .digest-issue-row span, .etype-kicker, .digest-card-kicker {
  font-family: var(--fd); letter-spacing: 0.18em; color: var(--blue); font-weight: 600;
}

.event-visual, .etype-media { background: #0C1622; }
.event-visual { border-radius: 18px; box-shadow: var(--sh-card); }
.event-visual img, .etype-media img { filter: none; transform: none; }
.event-visual::before {
  background: linear-gradient(0deg, rgba(0, 105, 248, 0.92) 0%, rgba(0, 105, 248, 0.28) 26%, transparent 50%);
}
.etype-media::after {
  background: linear-gradient(0deg, rgba(0, 105, 248, 0.88) 0%, rgba(0, 105, 248, 0.16) 14%, transparent 32%);
}
.etype-media img.monthly-photo { object-position: center 48%; }
.etype-media img.walk-photo { object-position: center 40%; }
.event-visual::after {
  content: "";
  position: absolute; right: -50px; top: -30px; width: 190px; height: 190px; z-index: 2;
  pointer-events: none;
  background: rgba(17, 24, 32, 0.5);
  -webkit-mask: url("/brand/ring.svg") center / contain no-repeat;
  mask: url("/brand/ring.svg") center / contain no-repeat;
}
.event-photo-label strong {
  font-family: var(--fd); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; letter-spacing: -0.01em;
}
.event-photo-label span {
  font-family: var(--fd); letter-spacing: 0.18em; text-transform: uppercase; opacity: 1; color: #fff;
}
.event-photo-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px; letter-spacing: 0.04em; color: #fff;
  background: rgba(17, 24, 32, 0.35); border-color: rgba(255, 255, 255, 0.35);
}
.video-meet-visual {
  background:
    linear-gradient(0deg, rgba(0, 105, 248, 0.55) 0%, transparent 46%),
    #111820;
  box-shadow: none;
}
.video-grid { display: none; }
.video-tile {
  background: #1C2938;
  border-color: rgba(255, 255, 255, 0.12);
}
.video-controls i:nth-child(3) { background: var(--blue); }
.events-calendar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  box-shadow: none;
}
html.theme-light .events-calendar { background: #fff; }

#digest { background: transparent; color: var(--text); }
#digest::before { display: none; animation: none; }
#digest .digest-copy .s-eye { color: var(--green); opacity: 1; }
#digest .digest-copy .s-h2, #digest .digest-copy .s-body strong { color: var(--text); }
#digest .digest-copy .s-body { color: var(--muted); }
html.theme-light #digest .digest-copy .s-eye { color: var(--blue); }
.digest-stat {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  backdrop-filter: none;
}
.digest-stat strong { font-family: var(--fd); font-size: 22px; color: var(--text); letter-spacing: -0.01em; }
.digest-stat span { font-family: var(--fd); letter-spacing: 0.14em; color: var(--muted); }
.digest-panel { background: transparent; border: 0; box-shadow: none; padding: 0; backdrop-filter: none; }
.digest-card { padding: 24px; }
.digest-issue { border-color: rgba(27, 38, 49, 0.12); border-radius: var(--r2); }
.digest-issue-row { border-bottom-color: rgba(27, 38, 49, 0.12); }

#mission { background: transparent; }
.mission-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.mission-panel::before { display: none; }
.mission-big { letter-spacing: -0.01em; font-size: clamp(34px, 4.6vw, 56px); }
.mission-big span, .hero-line, .hero-h1 {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
  animation: none;
}
.mission-quote { font-family: var(--fd); letter-spacing: -0.01em; color: var(--text); border-top-color: var(--border); }
.mission-outcome { padding: 22px; }
.mission-outcome::before { display: none; }

#principles, .principles-shell { background: transparent; color: var(--text); box-shadow: none; }
#principles h2, #principles h3, .tenet-copy h3 { color: var(--text); }
#principles p, .tenet-copy p, .principles-intro { color: var(--muted); }
.tenet-n { font-family: var(--fd); color: var(--green); letter-spacing: 0.08em; }
html.theme-light .tenet-n { color: var(--blue); }
.tenet-row { border-bottom-color: var(--border); }

#faq { padding: 92px 0; background: transparent; }
@media (max-width: 768px) { #faq { padding: 64px 0; } }

#cta-final {
  background:
    linear-gradient(0deg, rgba(0, 105, 248, 0.88) 0%, rgba(0, 105, 248, 0.22) 40%, transparent 70%),
    var(--bg);
  border-bottom: 0;
  text-align: center;
}
.cta-h2, #cta-final .s-eye { color: #fff; }
.cta-sub { color: rgba(255, 255, 255, 0.88); }
html.theme-light #cta-final {
  background:
    linear-gradient(0deg, rgba(0, 105, 248, 0.18) 0%, transparent 62%),
    var(--mist);
}
html.theme-light .cta-h2 { color: var(--grafite); }
html.theme-light #cta-final .s-eye { color: var(--blue); }
html.theme-light .cta-sub { color: #5B6B78; }

/* Forms sit on a white card in both themes */
.form-wrap { max-width: 740px; padding: 40px; color-scheme: light; }
.form-head .s-eye { color: var(--green); }
html.theme-light .form-head .s-eye { color: var(--blue); }
.form-sub, .form-next-step { color: var(--muted); }
.ff label, .form-wrap h3, .form-success h3 { color: var(--grafite); }
.ff .req { color: var(--blue); }
.ff input, .ff select, .ff textarea {
  font-family: var(--ft);
  font-size: 16px;
  color: var(--grafite);
  background: #fff;
  border: 1px solid rgba(27, 38, 49, 0.2);
  border-radius: var(--r1);
  caret-color: var(--blue);
}
.ff input::placeholder, .ff textarea::placeholder { color: #5B6B78; opacity: 1; }
.ff input:focus, .ff select:focus, .ff textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(39, 234, 166, 0.18);
  outline: none;
}
.ff select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B2631' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.hint, .consent-t, .f-note, .form-success p { color: var(--card-ink); }
.consent input, .chk input { accent-color: var(--green); }
.f-section-head { color: var(--blue); }
.form-error {
  background: #FDECEC;
  border: 1px solid #E7B4B4;
  color: #7A2430;
  border-radius: var(--r1);
}
.succ-icon { background: var(--green); }
.succ-icon path { stroke: var(--grafite); }
.fi { border-radius: var(--r2); box-shadow: none; border: 1px solid rgba(27, 38, 49, 0.08); }
.fq { font-family: var(--ft); font-weight: 600; color: var(--grafite); font-size: 15px; }
.fq:hover { color: var(--blue); background: rgba(0, 105, 248, 0.05); }
.fa { color: var(--card-ink); font-size: 14px; line-height: 1.55; }
.fchev { color: var(--blue); background: var(--mist); }
.fi.open { border-color: rgba(0, 105, 248, 0.35); box-shadow: var(--sh-card); }

footer {
  background: var(--ink);
  color: #9FB0BF;
  padding: 72px 24px 40px;
}
.ft-desc, .ft-col a, .ft-bot, .ft-bot a { color: #9FB0BF; }
.ft-col a:hover, .ft-bot a:hover { color: #fff; }
.ft-col h4, .ft-social-lbl { color: var(--green); }
.ft-bot, .ft-bot p { opacity: 1 !important; color: #9FB0BF; }
.ft-bot { border-top-color: rgba(255, 255, 255, 0.12); }
html.theme-light footer { background: var(--mist); color: #5B6B78; }
html.theme-light .ft-desc,
html.theme-light .ft-col a,
html.theme-light .ft-bot,
html.theme-light .ft-bot a { color: #5B6B78; }
html.theme-light .ft-col a:hover, html.theme-light .ft-bot a:hover { color: var(--grafite); }
html.theme-light .ft-col h4, html.theme-light .ft-social-lbl { color: var(--blue); }
html.theme-light .ft-bot { border-top-color: rgba(27, 38, 49, 0.12); }
html.theme-light .ft-social a { color: var(--grafite); border-color: rgba(27, 38, 49, 0.18); }

.motion-ready .rev { opacity: 1; transform: none; filter: none; }
.motion-ready .hero-line { opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .hdr, .fi, .fq, .fa { transition: none; }
}

@media (max-width: 940px) {
  .lockup { height: 40px; }
  .hero-ctas .speaker-cta { width: auto; }
  .theme-toggle { margin-left: auto; }
  .social-links { margin-left: 8px; }
}
.actcard-num,
.etype-kicker,
.digest-card-kicker,
.digest-issue-row span,
.mission-outcome span,
.f-section-head,
.ff .req,
html.theme-light .s-eye,
html.theme-light .eyebrow,
html.theme-light .tenet-n,
html.theme-light .ft-col h4,
html.theme-light .ft-social-lbl,
html.theme-light .form-head .s-eye,
html.theme-light #cta-final .s-eye,
html.theme-light #association .s-eye,
html.theme-light #digest .digest-copy .s-eye {
  color: #0054C8;
}

@media (max-width: 700px) {
  .hero-ring { width: 220px; height: 220px; right: -70px; top: -40px; }
}
@media (max-width: 540px) {
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .about-vis { min-height: 420px; }
  .lockup { height: 44px; }
}
