:root {
  --bg: #050914;
  --bg-soft: #081326;
  --surface: rgba(255, 255, 255, .07);
  --surface-strong: rgba(255, 255, 255, .105);
  --text: #f7fbff;
  --muted: #b7c7df;
  --primary: #5b21b6;
  --primary-bright: #7c3aed;
  --secondary: #2563eb;
  --success: #22c55e;
  --line: rgba(255, 255, 255, .14);
  --shadow: 0 26px 90px rgba(0, 0, 0, .34);
  --container: 1180px;
  --route-gap: clamp(34px, 3.4vw, 48px);
  --section-gap: clamp(36px, 4vw, 54px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  color-scheme: dark;
}

html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0 0, rgba(78, 25, 159, .34), transparent 34rem),
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, .24), transparent 32rem),
    radial-gradient(circle at 52% 100%, rgba(124, 58, 237, .12), transparent 36rem),
    linear-gradient(180deg, #06111f 0%, #081326 48%, #050914 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: #fff;
  background: rgba(124, 58, 237, .55);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 12px;
  color: #07101f;
  background: #fff;
  font-weight: 800;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
  background: linear-gradient(180deg, rgba(5, 9, 20, .97), rgba(5, 9, 20, .82), transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-logo {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(78, 25, 159, .42));
}

.brand-copy {
  min-width: 0;
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: clamp(18px, 2vw, 23px);
  letter-spacing: -.04em;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.desktop-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  transition: .25s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .095);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .07);
  cursor: pointer;
}

.menu-toggle .bars,
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle .bars::before {
  transform: translateY(-7px);
}

.menu-toggle .bars::after {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] .bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .bars::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bars::after {
  transform: rotate(-45deg) translate(1px, -1px);
}

.mobile-nav {
  display: none;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #09162b;
  box-shadow: var(--shadow);
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-radius: 14px;
  font-weight: 800;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, .07);
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .075);
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .26);
}

.btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary) 50%, var(--secondary));
  box-shadow: 0 16px 44px rgba(78, 25, 159, .3);
}

.btn-secondary {
  background: rgba(255, 255, 255, .09);
}

.btn-small {
  min-height: 44px;
  padding-inline: 17px;
  font-size: 13px;
}

.btn-inline {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 13px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.04em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(42px, 5.7vw, 74px);
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
}

h3 {
  font-size: clamp(20px, 2.1vw, 28px);
}

.eyebrow,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-badge {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  letter-spacing: .02em;
  text-transform: none;
  font-size: 13px;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 22px rgba(96, 165, 250, .95);
}

.gradient-text {
  color: transparent;
  background: linear-gradient(135deg, #fff, #bfdbfe 45%, #a78bfa 74%, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
}

.section {
  padding: var(--section-gap) 0;
  scroll-margin-top: 108px;
}

.hero {
  padding: clamp(40px, 5vw, 66px) 0 clamp(44px, 5vw, 68px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr);
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}

.hero h1 {
  margin-top: 18px;
  max-width: 760px;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #cbd8eb;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.stat {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
}

.stat strong {
  display: block;
  font-size: 24px;
  letter-spacing: -.04em;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  width: min(100%, 430px);
  min-height: 0;
  display: grid;
  place-items: center;
  margin-inline: auto;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045));
  box-shadow: var(--shadow);
}

.hero-slide-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 23px;
  background: #07101d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 23px;
  opacity: 0;
  transform: translateX(-105%);
  transition: transform .68s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  will-change: transform, opacity;
}

.hero-slide.is-active,
.hero-slide.is-current {
  z-index: 2;
  opacity: 1;
  transform: translateX(0);
}

.hero-slide.is-incoming {
  z-index: 3;
  opacity: 1;
  transform: translateX(-105%);
}

.hero-slide.is-incoming.run-in {
  transform: translateX(0);
}

.hero-slide.is-current.run-out {
  opacity: .25;
  transform: translateX(105%);
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head .eyebrow {
  color: #c4b5fd;
}

.section-head h2 {
  margin-top: 12px;
}

.section-head p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 54px rgba(0, 0, 0, .12);
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.card:hover {
  transform: translateY(-5px);
  background: var(--surface-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .26);
}

.card h3 {
  font-size: 20px;
  letter-spacing: -.025em;
}

.card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.58;
}

.feature-card {
  min-height: 218px;
  padding: 18px 18px 46px;
  cursor: pointer;
  outline: none;
}

.feature-card:focus-visible {
  border-color: rgba(147, 197, 253, .8);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .2), 0 24px 64px rgba(0, 0, 0, .3);
}

.feature-card::after {
  content: "View details →";
  position: absolute;
  left: 18px;
  bottom: 15px;
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 850;
}

.feature-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .3), rgba(37, 99, 235, .24));
  box-shadow: 0 16px 42px rgba(78, 25, 159, .22);
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 11px;
}

.feature-card h3 {
  margin: 0;
  font-size: 19px;
}

.feature-card p {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.52;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel h3 {
  margin-top: 12px;
}

.panel>p {
  margin: 14px 0 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #e9f2ff;
  background: rgba(255, 255, 255, .05);
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #86efac;
  background: rgba(34, 197, 94, .17);
  font-size: 13px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.link-card {
  min-height: 112px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
}

.icon-box {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-bright), var(--secondary));
  font-size: 24px;
  box-shadow: 0 13px 36px rgba(78, 25, 159, .3);
}

.icon-box img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.text-icon {
  font-size: 24px;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(78, 25, 159, .34), rgba(37, 99, 235, .2)), rgba(255, 255, 255, .07);
  box-shadow: var(--shadow);
}

.cta p {
  margin: 13px 0 0;
  color: var(--muted);
}

/* Route pages: one rhythm for every page. */
.page-hero {
  padding: clamp(38px, 4.5vw, 58px) 0 0;
}

.page-hero-card {
  padding: clamp(46px, 5.8vw, 72px) clamp(20px, 4vw, 44px);
  overflow: hidden;
  position: relative;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .96), rgba(78, 25, 159, .94) 48%, rgba(37, 99, 235, .9));
  box-shadow: var(--shadow);
}

.page-hero-card::after {
  content: "";
  position: absolute;
  top: -150px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.page-hero-card h1 {
  max-width: 960px;
  margin: 14px auto 0;
  font-size: clamp(38px, 5.4vw, 66px);
}

.page-hero-card p {
  max-width: 780px;
  margin: 16px auto 0;
  color: #e6edff;
  font-size: 17px;
}

.page-hero-card .eyebrow {
  position: relative;
  z-index: 1;
}

.meta-pill {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: 12px;
  font-weight: 850;
}

.route-content {
  padding: var(--route-gap) 0 clamp(60px, 7vw, 92px);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, .28fr) minmax(0, .72fr);
  gap: 22px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .065);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 8px 10px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 13px;
}

.toc a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.content-stack {
  display: grid;
  gap: 14px;
}

.content-card {
  padding: clamp(22px, 2.8vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .068);
}

.content-card> :first-child {
  margin-top: 0;
}

.content-card> :last-child {
  margin-bottom: 0;
}

.content-card h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.03em;
}

.content-card h3 {
  margin-top: 20px;
  font-size: 20px;
  letter-spacing: -.02em;
}

.content-card p,
.content-card li {
  color: #d2def0;
}

.content-card ul,
.content-card ol {
  padding-left: 22px;
}

.content-card li+li {
  margin-top: 6px;
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid #60a5fa;
  border-radius: 14px;
  color: #dbeafe;
  background: rgba(37, 99, 235, .12);
}

.support-layout {
  display: grid;
  gap: 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.contact-card .icon-box {
  margin: 0 auto 16px;
}

.contact-card h3 {
  margin: 0;
}

.contact-card p {
  margin: 10px 0 0;
}

.contact-card a {
  color: #bfdbfe;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.form-shell {
  width: 100%;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(124, 58, 237, .18), transparent 28rem),
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, .16), transparent 26rem),
    linear-gradient(180deg, rgba(17, 29, 53, .98), rgba(7, 17, 32, .99));
  box-shadow: 0 28px 82px rgba(0, 0, 0, .34);
}

.form-shell-head {
  width: min(100%, 920px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 16px;
}

.form-shell-head h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.form-shell-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.form-shell-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-toolbar {
  width: min(100%, 920px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(37, 99, 235, .08)), rgba(255, 255, 255, .035);
}

.form-toolbar p {
  margin: 0;
  color: #c5d4e8;
  font-size: 13px;
}

.form-theme-toggle {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0 14px;
  font-size: 12px;
}

.form-frame,
.google-form-frame {
  width: min(100%, 920px);
  min-height: 1540px;
  display: block;
  margin: 0 auto;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 20px;
  color-scheme: dark;
  background: #07111f;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .38);
}

.form-frame.is-dark-form,
.google-form-frame.is-dark-form {
  filter: invert(.93) hue-rotate(180deg) saturate(.92) brightness(.82) contrast(1.08);
}

.form-frame.is-original-form,
.google-form-frame.is-original-form {
  filter: none;
  color-scheme: light;
  background: #fff;
}

.thank-you-card {
  text-align: center;
}

.site-footer {
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.footer-links a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
  font-weight: 750;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* Feature dialog */
.feature-info-dialog {
  width: min(calc(100% - 28px), 680px);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  color: #f7fbff;
  background:
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, .22), transparent 19rem),
    linear-gradient(180deg, #15223a, #091528 65%, #07101d);
  box-shadow: 0 40px 130px rgba(0, 0, 0, .65);
}

.feature-info-dialog::backdrop {
  background: rgba(2, 6, 15, .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.feature-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: 25px;
  cursor: pointer;
}

.feature-dialog-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-right: 40px;
}

.feature-dialog-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .42), rgba(37, 99, 235, .28));
}

.feature-dialog-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 13px;
}

.feature-info-dialog h2 {
  margin: 5px 0 0;
  font-size: clamp(30px, 5vw, 44px);
}

.feature-dialog-summary {
  margin: 22px 0 0;
  color: #d7e3f3;
  line-height: 1.7;
}

.feature-dialog-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-dialog-list li {
  position: relative;
  padding: 13px 14px 13px 43px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 15px;
  color: #dce7f7;
  background: rgba(255, 255, 255, .055);
  line-height: 1.55;
}

.feature-dialog-list li::before {
  content: "✓";
  position: absolute;
  top: 13px;
  left: 13px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #bfdbfe;
  background: rgba(37, 99, 235, .25);
  font-size: 12px;
  font-weight: 900;
}

.feature-dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: min(100%, 430px);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {

  .desktop-nav,
  .nav-actions .btn-small {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: relative;
    top: auto;
  }
}

@media (max-width: 680px) {
  :root {
    --route-gap: 26px;
    --section-gap: 40px;
  }

  .container {
    width: min(100% - 16px, var(--container));
  }

  .site-header {
    padding: 8px 0;
  }

  .nav-shell {
    min-height: 62px;
    padding: 8px;
    border-radius: 21px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 38px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .stats,
  .feature-grid,
  .split-grid,
  .link-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: min(100%, 390px);
    padding: 8px;
    border-radius: 24px;
  }

  .hero-slide-stage,
  .hero-slide {
    border-radius: 18px;
  }

  .feature-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon text";
    column-gap: 12px;
    padding: 15px 15px 38px;
  }

  .feature-card .feature-icon {
    grid-area: icon;
    width: 50px;
    height: 50px;
    margin: 0;
    border-radius: 15px;
  }

  .feature-card h3 {
    grid-area: title;
    align-self: end;
    font-size: 18px;
  }

  .feature-card p {
    grid-area: text;
    margin-top: 5px;
    font-size: 13.5px;
  }

  .feature-card::after {
    left: 77px;
    bottom: 11px;
  }

  .page-hero {
    padding-top: 24px;
  }

  .page-hero-card {
    padding: 34px 16px;
    border-radius: 25px;
  }

  .route-content {
    padding-top: var(--route-gap);
    padding-bottom: 54px;
  }

  .toc {
    display: none;
  }

  .content-card {
    padding: 18px;
  }

  .support-layout {
    gap: 24px;
  }

  .contact-grid {
    gap: 12px;
  }

  .contact-card {
    min-height: 0;
    padding: 20px;
  }

  .form-shell {
    padding: 10px;
    border-radius: 20px;
  }

  .form-shell-head,
  .form-toolbar {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .form-shell-head {
    margin-bottom: 14px;
  }

  .form-toolbar {
    margin-bottom: 10px;
    padding: 11px 12px;
    border-radius: 14px;
  }

  .form-theme-toggle {
    width: 100%;
  }

  .form-frame,
  .google-form-frame {
    width: 100%;
    min-height: 1720px;
    border-radius: 16px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .feature-info-dialog {
    padding: 22px 17px;
    border-radius: 22px;
  }

  .feature-dialog-head {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 13px;
    padding-right: 34px;
  }

  .feature-dialog-icon {
    width: 56px;
    height: 56px;
    border-radius: 17px;
  }

  .feature-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .brand-copy strong {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    transform: none !important;
  }
}

/* ===== FINAL HOME SECTION + SUPPORT CARD FIX ===== */

/* Adjacent home-page sections use one shared gap instead of double
   top + bottom padding. */
main>.section+.section {
  padding-top: 0;
}

/* Support/legal cards: square icon and separate title/subtitle rows. */
.link-card {
  min-height: 126px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
}

.link-card>.icon-box {
  width: 62px;
  height: 62px;
  min-width: 62px;
  min-height: 62px;
  aspect-ratio: 1 / 1;
  margin: 0;
  flex: 0 0 62px;
  align-self: center;
  justify-self: start;
  border-radius: 18px;
}

.link-card>span:last-child {
  min-width: 0;
  width: 100%;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: center;
  align-items: start;
  justify-items: start;
  row-gap: 7px;
}

.link-card strong,
.link-card small {
  width: 100%;
  min-width: 0;
  display: block !important;
  margin: 0 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

.link-card strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.28;
}

.link-card small {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.48;
}

/* Normal spacing between the support-card section and the CTA. */
#support.section {
  padding-bottom: var(--section-gap);
}

#support.section+.section {
  padding-top: 0;
}

@media (max-width: 680px) {
  :root {
    --section-gap: 34px;
  }

  main>.section+.section {
    padding-top: 0;
  }

  .link-card {
    min-height: 112px;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    padding: 17px;
  }

  .link-card>.icon-box {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    flex-basis: 54px;
    border-radius: 16px;
  }

  .link-card strong {
    font-size: 16px;
  }

  .link-card small {
    font-size: 13px;
  }
}