:root {
  --navy: #12365c;
  --navy-dark: #07172c;
  --ink: #111827;
  --muted: #5f7089;
  --line: rgba(17, 24, 39, .12);
  --glass: rgba(255,255,255,.72);

  --orange: #ff8a00;
  --pink: #ec4899;
  --purple: #7c3aed;
  --blue: #2563eb;
  --green: #22c55e;
  --cyan: #06b6d4;

  --radius: 28px;
  --shadow: 0 22px 60px rgba(18, 54, 92, .12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 5% 4%, rgba(255,138,0,.18), transparent 22%),
    radial-gradient(circle at 92% 6%, rgba(236,72,153,.14), transparent 24%),
    linear-gradient(180deg, #fff7ee 0%, #fbf8ff 38%, #f5fbff 100%);
}

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

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

.shell {
  width: min(var(--max), calc(100% - 44px));
  margin-left: auto;
  margin-right: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(18, 54, 92, .96);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 32px rgba(18,54,92,.20);
}

.nav-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 305px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
}

.nav-menu a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #2c3d58;
  font-size: 13px;
  font-weight: 850;
}

.nav-menu a:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(236, 72, 153, .10));
  color: #5b21b6;
}

.nav-menu .nav-cta {
  background: linear-gradient(135deg, #12365c 0%, #5f35b5 100%);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 10px 22px rgba(18,54,92,.18);
}

.nav-menu .nav-cta:hover {
  background: linear-gradient(135deg, #0b2340 0%, #7c3aed 100%);
  color: #fff;
}

.menu-button {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 8px;
  background: rgba(255,255,255,.14);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.glass-section {
  position: relative;
  overflow: hidden;
}

.glass-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.28), transparent 24%),
    radial-gradient(circle at 90% 8%, rgba(255,255,255,.20), transparent 26%);
  opacity: .8;
}

.section-pad {
  padding: 88px 0;
}

.hero-section {
  padding: 98px 0 92px;
  background:
    radial-gradient(circle at 3% 5%, rgba(255,138,0,.16), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(236,72,153,.12), transparent 26%),
    linear-gradient(135deg, rgba(255,248,239,.92), rgba(251,247,255,.88) 52%, rgba(245,251,255,.92));
}

.problem-section {
  background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(245,249,255,.74));
}

.journey-section {
  background: linear-gradient(135deg, rgba(19,54,92,.96), rgba(52,57,125,.94), rgba(93,45,132,.94));
  color: rgba(255,255,255,.82);
}

.platform-section {
  background: linear-gradient(180deg, rgba(255,255,255,.64), rgba(241,248,255,.82));
}

.app-section {
  background: linear-gradient(135deg, rgba(246,250,255,.82), rgba(255,249,245,.78));
}

.genie-section {
  background: linear-gradient(180deg, rgba(250,248,255,.82), rgba(247,251,255,.88));
}

.roles-section {
  background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(243,249,255,.82));
}

.resources-section {
  background: linear-gradient(135deg, rgba(246,251,255,.88), rgba(255,250,246,.82));
}

.contact-section {
  padding: 90px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,138,0,.14), transparent 25%),
    linear-gradient(135deg, #142f5d, #323d7b 58%, #5a2f83);
  color: rgba(255,255,255,.90);
}

.glass-card {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.66));
  border: 1px solid rgba(255,255,255,.74);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.accent-orange { border-top-color: var(--orange); }
.accent-pink { border-top-color: var(--pink); }
.accent-purple { border-top-color: var(--purple); }
.accent-blue { border-top-color: var(--blue); }
.accent-green { border-top-color: var(--green); }
.accent-cyan { border-top-color: var(--cyan); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 56px;
  align-items: center;
}

.section-pill {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(124,58,237,.18);
  color: #4b2dbb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: none;
  box-shadow: 0 8px 20px rgba(18,54,92,.06);
}

.section-pill.on-dark {
  color: #fff;
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.20);
  box-shadow: none;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.journey-section h2,
.journey-section h3,
.contact-section h2 {
  color: #fff;
}

h1 {
  max-width: 720px;
  font-size: clamp(44px, 5.35vw, 70px);
}

h2 {
  max-width: 820px;
  font-size: clamp(32px, 4vw, 52px);
}

h3 {
  font-size: 21px;
}

.lead,
.narrative-copy,
.section-header p,
.feature-card p,
.insight-card p,
.role-card p,
.app-card figcaption,
.resource-panel p,
.genie-copy p,
.flow-step p {
  color: var(--muted);
  font-size: 17px;
}

.lead {
  max-width: 700px;
  margin: 24px 0 30px;
  font-size: 18px;
}

.journey-section .section-header p,
.journey-section .narrative-copy,
.journey-section .flow-step p,
.contact-section .contact-copy p {
  color: rgba(255,255,255,.84);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #12365c 0%, #5f35b5 100%);
  box-shadow: 0 16px 32px rgba(18,54,92,.20);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(255,255,255,.78);
  border-color: var(--line);
}

.trust-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #33445e;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 850;
}

.hero-showcase {
  padding: 13px;
  border-top-color: transparent;
}

.hero-showcase img {
  border-radius: 22px;
}

.screen-caption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: baseline;
  padding: 14px 10px 4px;
}

.screen-caption strong {
  color: var(--navy);
}

.screen-caption span {
  color: var(--muted);
  font-size: 14px;
}

.narrative-grid,
.app-split,
.genie-grid,
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 56px;
  align-items: start;
}

.narrative-grid {
  margin-bottom: 34px;
}

.section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 36px;
}

.section-header p {
  max-width: 830px;
}

.card-row,
.feature-grid,
.role-grid,
.app-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.card-row.three {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid,
.role-grid {
  grid-template-columns: repeat(4, 1fr);
}

.insight-card,
.feature-card,
.role-card {
  padding: 26px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.insight-card:hover,
.feature-card:hover,
.role-card:hover,
.app-card:hover,
.download-stack a:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 62px rgba(18,54,92,.14);
}

.card-index {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.accent-orange .card-index { background: var(--orange); }
.accent-pink .card-index { background: var(--pink); }
.accent-purple .card-index { background: var(--purple); }

.flow-panel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 26px;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
  border-top-color: rgba(255,255,255,.32);
  box-shadow: 0 26px 70px rgba(0,0,0,.18);
}

.flow-step {
  padding: 18px;
  border-top: 4px solid currentColor;
  border-radius: 20px;
  color: var(--blue);
}

.flow-step span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 13px;
  border-radius: 12px;
  color: #fff;
  background: currentColor;
  font-weight: 900;
}

.flow-step h3 {
  color: #fff;
  margin-bottom: 8px;
}

.flow-arrow {
  display: none;
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 15px;
  color: var(--blue);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.18);
}

.accent-orange .icon-box { color: var(--orange); background: rgba(255,138,0,.09); border-color: rgba(255,138,0,.20); }
.accent-green .icon-box { color: var(--green); background: rgba(34,197,94,.09); border-color: rgba(34,197,94,.20); }
.accent-purple .icon-box { color: var(--purple); background: rgba(124,58,237,.09); border-color: rgba(124,58,237,.20); }

.icon-box svg {
  width: 22px;
  height: 22px;
}

.icon-box path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-split {
  align-items: center;
}

.section-header.compact {
  margin-bottom: 0;
}

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

.app-card {
  padding: 12px;
  margin: 0;
}

.app-card img {
  border-radius: 22px;
}

.app-card figcaption {
  padding: 12px 8px 4px;
  color: var(--navy);
  font-weight: 850;
}

.genie-grid {
  align-items: center;
}

.genie-image {
  padding: 12px;
  border-top-color: var(--pink);
}

.genie-image img {
  border-radius: 22px;
}

.question-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.question-list div {
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--navy);
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(18,54,92,.07);
}

.resource-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 36px;
  border-top-color: var(--cyan);
}

.download-stack {
  display: grid;
  gap: 12px;
}

.download-stack a {
  display: block;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.70);
  color: var(--navy);
  transition: transform .22s ease, box-shadow .22s ease;
}

.download-stack strong,
.download-stack span {
  display: block;
}

.download-stack span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.contact-grid {
  align-items: start;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy a {
  color: #fff;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.45);
}

.contact-details {
  margin-top: 24px;
  padding: 22px;
  color: var(--ink);
  border-top-color: var(--green);
}

.contact-details strong,
.contact-details span {
  display: block;
}

.contact-details span {
  color: var(--muted);
  margin-top: 4px;
}

.form-card {
  padding: 30px;
  border-top: 6px solid var(--purple);
  background:
    radial-gradient(circle at 92% 0%, rgba(124,58,237,.10), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(255,138,0,.07), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(251,249,255,.96) 48%, rgba(245,249,255,.97)) !important;
  box-shadow:
    0 28px 64px rgba(4,12,28,.24),
    0 1px 0 rgba(255,255,255,.95) inset,
    0 -12px 28px rgba(18,54,92,.045) inset;
  transform: none !important;
}

.form-card:hover {
  transform: none !important;
}

.form-card label {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 850;
}

.form-card input,
.form-card textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.14);
  background: rgba(255,255,255,.95);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 2px 4px rgba(18,54,92,.045), 0 1px 0 rgba(255,255,255,.85);
}

.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: rgba(124,58,237,.45);
  box-shadow: 0 0 0 4px rgba(124,58,237,.10);
}

.form-card textarea {
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  color: #4f6078 !important;
  opacity: 1 !important;
  font-size: 13px;
  font-weight: 650;
}

.footer {
  padding: 34px 0;
  background: #07172c;
  color: rgba(255,255,255,.74);
  text-align: center;
}

.footer strong,
.footer span {
  display: block;
}

.footer span {
  margin-top: 6px;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .narrative-grid,
  .app-split,
  .genie-grid,
  .resource-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .role-grid,
  .card-row.three,
  .flow-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand img {
    width: 230px;
  }

  .menu-button {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 86px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    text-align: center;
    font-size: 14px;
    padding: 10px 14px;
  }

  .hero-section,
  .section-pad,
  .contact-section {
    padding: 66px 0;
  }

  h1 {
    font-size: 38px;
  }

  .feature-grid,
  .role-grid,
  .card-row.three,
  .flow-panel {
    grid-template-columns: 1fr;
  }

  .screen-caption {
    grid-template-columns: 1fr;
  }
}



/* ==================================================
   Redesigned connected learner journey section
   ================================================== */
.journey-section {
  position: relative;
  background:
    radial-gradient(circle at 8% 10%, rgba(255,138,0,.22), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(6,182,212,.20), transparent 28%),
    linear-gradient(135deg, #142f5d 0%, #313f7d 54%, #67378c 100%);
}

.journey-ribbon {
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 170px;
  background: linear-gradient(90deg, rgba(255,138,0,.18), rgba(236,72,153,.14), rgba(6,182,212,.16));
  filter: blur(38px);
  opacity: .7;
  pointer-events: none;
}

.journey-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.journey-hero h2 {
  color: #fff;
  max-width: 820px;
}

.journey-hero p {
  color: rgba(255,255,255,.84);
  max-width: 860px;
  font-size: 18px;
}

.journey-summary {
  padding: 24px 26px;
  border-top-color: var(--cyan);
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.10));
  border-color: rgba(255,255,255,.24);
  color: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.journey-summary strong,
.journey-summary span {
  display: block;
}

.journey-summary strong {
  font-size: 20px;
  margin-bottom: 6px;
}

.journey-summary span {
  color: rgba(255,255,255,.76);
}

.journey-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.10));
  border-color: rgba(255,255,255,.25);
  border-top-color: rgba(255,255,255,.38);
  box-shadow: 0 30px 80px rgba(4,12,28,.24);
}

.journey-track::before {
  content: "";
  position: absolute;
  left: 58px;
  right: 58px;
  top: 76px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple), var(--blue), var(--cyan));
  opacity: .65;
}

.journey-step-card {
  position: relative;
  z-index: 1;
  min-height: 245px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.22), transparent 36%),
    rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.70);
  border-top: 5px solid currentColor;
  color: var(--blue);
  box-shadow: 0 18px 42px rgba(4,12,28,.14);
  transition: transform .22s ease, box-shadow .22s ease;
}

.journey-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(4,12,28,.22);
}

.journey-step-card h3 {
  color: var(--ink);
  margin: 18px 0 10px;
  font-size: 23px;
}

.journey-step-card p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

.journey-badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: color-mix(in srgb, currentColor 14%, white);
  border: 1px solid color-mix(in srgb, currentColor 22%, white);
  box-shadow: 0 14px 28px color-mix(in srgb, currentColor 16%, transparent);
}

.journey-badge span {
  position: absolute;
  transform: translate(22px, -22px);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: currentColor;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px color-mix(in srgb, currentColor 24%, transparent);
}

.journey-badge svg {
  width: 26px;
  height: 26px;
}

.journey-badge path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-step-card.accent-orange { color: var(--orange); }
.journey-step-card.accent-pink { color: var(--pink); }
.journey-step-card.accent-purple { color: var(--purple); }
.journey-step-card.accent-blue { color: var(--blue); }
.journey-step-card.accent-cyan { color: var(--cyan); }

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

  .journey-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-track::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .journey-track {
    grid-template-columns: 1fr;
  }

  .journey-step-card {
    min-height: auto;
  }
}



/* ==================================================
   Journey section: remove small corner circles
   ================================================== */
.journey-badge span {
  display: none !important;
}



/* ==================================================
   Hero: small platform pills removed
   ================================================== */
.hero-copy .cta-row {
  margin-bottom: 0;
}



/* ==================================================
   Contact section redesign
   ================================================== */
.contact-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(255,138,0,.18), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(124,58,237,.24), transparent 30%),
    linear-gradient(135deg, #0c2447 0%, #263a78 52%, #61318a 100%);
  color: rgba(255,255,255,.90);
}

.contact-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
  opacity: .42;
  pointer-events: none;
}

.contact-glow-one {
  width: 340px;
  height: 340px;
  left: -120px;
  top: 40px;
  background: rgba(255,138,0,.35);
}

.contact-glow-two {
  width: 420px;
  height: 420px;
  right: -130px;
  bottom: -120px;
  background: rgba(236,72,153,.32);
}

.contact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 42px;
  align-items: stretch;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  border-color: rgba(255,255,255,.22);
  border-top-color: rgba(255,255,255,.34);
  box-shadow: 0 34px 90px rgba(4,12,28,.28);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  padding: 10px 8px 10px 4px;
}

.contact-copy h2 {
  max-width: 620px;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 56px);
}

.contact-copy p {
  max-width: 610px;
  color: rgba(255,255,255,.88) !important;
  font-size: 18px;
}

.contact-benefits {
  display: grid;
  gap: 12px;
  margin: 28px 0 22px;
  max-width: 600px;
}

.contact-benefits div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
}

.contact-benefits span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(0,0,0,.16);
}

.contact-benefits strong {
  color: #fff;
  font-size: 16px;
}

.contact-benefits small {
  color: rgba(255,255,255,.74);
  font-size: 13px;
}

.contact-details {
  max-width: 600px;
  margin-top: 0;
  padding: 20px 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.10));
  border: 1px solid rgba(255,255,255,.22);
  border-top: 4px solid var(--green);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(0,0,0,.14);
  backdrop-filter: blur(14px);
  transform: none !important;
}

.contact-details:hover {
  transform: none !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.14) !important;
}

.contact-details strong,
.contact-details span {
  display: block;
}

.contact-details strong {
  margin-bottom: 8px;
}

.contact-details span {
  color: rgba(255,255,255,.78);
  margin-top: 4px;
}

.form-card {
  align-self: center;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.94);
  border-top: 6px solid var(--purple);
  background:
    radial-gradient(circle at 92% 0%, rgba(124,58,237,.11), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(255,138,0,.08), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(251,249,255,.96) 48%, rgba(245,249,255,.97)) !important;
  box-shadow:
    0 30px 70px rgba(4,12,28,.26),
    0 1px 0 rgba(255,255,255,.95) inset,
    0 -12px 28px rgba(18,54,92,.045) inset;
  backdrop-filter: blur(18px);
  transform: none !important;
  transition: box-shadow .18s ease, border-color .18s ease, background .18s ease !important;
}

.form-card:hover {
  transform: none !important;
  box-shadow:
    0 30px 70px rgba(4,12,28,.26),
    0 1px 0 rgba(255,255,255,.95) inset,
    0 -12px 28px rgba(18,54,92,.045) inset !important;
}

.form-heading {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(17,24,39,.10);
}

.form-heading strong,
.form-heading span {
  display: block;
}

.form-heading strong {
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -.025em;
}

.form-heading span {
  margin-top: 5px;
  color: #5f7089;
  font-size: 14px;
}

.form-card label {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 850;
}

.form-card input,
.form-card textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.14);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 2px 4px rgba(18,54,92,.045), 0 1px 0 rgba(255,255,255,.85);
}

.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: rgba(124,58,237,.45);
  box-shadow: 0 0 0 4px rgba(124,58,237,.10);
}

.form-card textarea {
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  color: #4f6078 !important;
  opacity: 1 !important;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 1080px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .contact-section {
    padding: 66px 0;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-benefits div {
    grid-template-columns: 1fr;
  }

  .contact-benefits span {
    grid-row: auto;
  }
}



/* ==================================================
   Contact section: remove outer card and reduce text bulk
   ================================================== */

/* Remove the large overall card that wrapped both contact details and form */
.contact-panel {
  background: transparent !important;
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* Reduce the main heading size/weight so the section feels lighter */
.contact-copy h2 {
  max-width: 560px;
  font-size: clamp(30px, 3.25vw, 44px) !important;
  line-height: 1.12;
  letter-spacing: -.03em;
}

/* Make the paragraph tighter and less bulky */
.contact-copy > p {
  max-width: 540px;
  font-size: 16px !important;
  line-height: 1.6;
}

/* Make the left column more compact */
.contact-copy {
  min-height: auto !important;
  padding: 8px 0 !important;
}

/* Slim down the next-step items */
.contact-benefits {
  max-width: 540px;
  margin: 22px 0 20px !important;
  gap: 10px !important;
}

.contact-benefits div {
  padding: 13px 14px !important;
  border-radius: 18px !important;
}

.contact-benefits span {
  width: 34px !important;
  height: 34px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
}

.contact-benefits strong {
  font-size: 15px !important;
}

.contact-benefits small {
  font-size: 12.5px !important;
}

/* Keep contact details card clear but slightly less heavy */
.contact-details {
  max-width: 540px;
  padding: 18px 20px !important;
  border-radius: 20px !important;
}

/* Keep form as the main action card */
.form-card {
  max-width: 620px;
  margin-left: auto;
}



/* ==================================================
   Static legal modal adapted from Genius pDNA app
   ================================================== */
.footer-legal-links {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-legal-links button {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.footer-legal-links button:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 18px;
}

.legal-modal__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(245,158,11,.18), rgba(245,158,11,0) 34%),
    radial-gradient(circle at 86% 8%, rgba(124,58,237,.22), rgba(124,58,237,0) 36%),
    rgba(15, 23, 42, .52);
  backdrop-filter: blur(12px);
}

.legal-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 26px 70px rgba(15,23,42,.28), inset 0 1px 0 rgba(255,255,255,.92);
  color: #172033;
}

.legal-modal__header {
  position: relative;
  min-height: 96px;
  padding: 18px 20px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #143b57 0%, #29195f 56%, #a21caf 100%);
  border-bottom: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26);
  text-align: center;
}

.legal-modal__title-wrap h2 {
  margin: 0;
  color: #fff;
  font-size: 1.34rem;
  font-weight: 900;
  letter-spacing: -.02em;
  text-shadow: 0 1px 0 rgba(15,23,42,.22);
}

.legal-modal__title-wrap p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  font-weight: 700;
}

.legal-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.72);
  background: #fff;
  color: #dc2626;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15,23,42,.22), inset 0 1px 0 rgba(255,255,255,.88);
}

.legal-modal__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(226,232,240,.95);
  background: #fff;
}

.legal-tab {
  border: 1px solid rgba(124,58,237,.18);
  border-radius: 999px;
  background: #fff;
  color: #29195f;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(45,26,84,.06), inset 0 1px 0 rgba(255,255,255,.90);
}

.legal-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 42%, #6366f1 100%);
}

.legal-modal__body {
  padding: 16px 18px;
  overflow: auto;
  background: #fff;
}

.legal-panel {
  display: none;
}

.legal-panel.is-active {
  display: block;
}

.legal-section-card {
  background: #fff;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(45,26,84,.08), inset 0 1px 0 rgba(255,255,255,.90);
  padding: 18px;
}

.legal-section-card + .legal-section-card {
  margin-top: 14px;
}

.legal-section-card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: -.015em;
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 42%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal-section-card h4 {
  margin: 16px 0 6px;
  color: #29195f;
  font-size: .96rem;
  font-weight: 900;
}

.legal-section-card p,
.legal-section-card li {
  color: #172033;
  font-size: .92rem;
  line-height: 1.6;
}

.legal-section-card p {
  margin: 6px 0;
}

.legal-section-card ul {
  margin: 6px 0 6px 1.2rem;
  padding: 0;
}

.legal-modal__footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(226,232,240,.95);
  display: flex;
  justify-content: flex-end;
  background: #fff;
}

.legal-modal__done {
  border-radius: 999px;
  padding: 9px 18px;
  border: 1px solid rgba(236,72,153,.32);
  background: #fff;
  color: #29195f;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(45,26,84,.10), inset 0 1px 0 rgba(255,255,255,.90);
}

@media (max-width: 760px) {
  .legal-modal {
    padding: 10px;
  }

  .legal-modal__header {
    min-height: 112px;
    padding-right: 62px;
  }

  .legal-modal__title-wrap h2 {
    font-size: 1.1rem;
  }
}
