: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;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 13px 7px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(124,58,237,.18);
  color: #12365c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: none;
  box-shadow: 0 8px 20px rgba(18,54,92,.06);
}

.section-pill-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00 0%, #ec4899 100%);
  box-shadow: 0 10px 18px rgba(236,72,153,.16);
}

.section-pill-icon svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.section-pill.on-dark .section-pill-icon {
  background: rgba(255,255,255,.18);
  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;
  }
}


/* ==================================================
   Clearer product-story landing page refresh
   ================================================== */
.lp-hero,
.lp-section {
  position: relative;
  overflow: hidden;
}

.lp-hero {
  padding: 96px 0 82px;
  background:
    radial-gradient(circle at 7% 8%, rgba(255,138,0,.18), transparent 25%),
    radial-gradient(circle at 90% 12%, rgba(236,72,153,.15), transparent 26%),
    linear-gradient(135deg, rgba(255,248,239,.94), rgba(250,247,255,.92) 52%, rgba(242,250,255,.96));
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr);
  gap: 42px;
  align-items: center;
}

.lp-hero-copy h1 {
  margin: 14px 0 20px;
  max-width: 840px;
  color: #07172c;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: .94;
  letter-spacing: -.07em;
}

.lp-hero-copy .lead {
  max-width: 760px;
  color: #40526d;
  font-size: clamp(1.06rem, 1.7vw, 1.32rem);
}

.lp-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px 18px;
  margin: 26px 0 0;
}

.lp-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #12365c;
  font-weight: 900;
  font-size: .88rem;
  line-height: 1.2;
}

.lp-proof-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #12365c 0%, #5f35b5 100%);
  box-shadow: 0 12px 22px rgba(18,54,92,.14);
}

.lp-proof-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-eyebrow {
  color: #12365c;
  letter-spacing: .06em;
  background: rgba(255,255,255,.82);
  border-color: rgba(18,54,92,.10);
}

.hero-cta-row {
  margin-top: 26px;
  flex-wrap: nowrap;
}

.hero-cta-row .btn {
  white-space: nowrap;
}

.lp-hero-visual {
  padding: 20px;
  border-radius: 34px;
}

.lp-hero-visual img {
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(18,54,92,.16);
}

.lp-section {
  padding: 86px 0;
}

.lp-what {
  background: linear-gradient(180deg, rgba(255,255,255,.64), rgba(246,250,255,.84));
}

.lp-two-col {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  gap: 28px;
  align-items: stretch;
}

.lp-two-col h2,
.lp-section h2 {
  margin: 10px 0 18px;
  color: #07172c;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.lp-two-col p,
.section-header p {
  color: #50617a;
  font-size: 1.05rem;
}

.lp-answer-card {
  padding: 30px;
  border-radius: 28px;
  border-top: 5px solid var(--purple);
}

.lp-answer-card h3 { margin-top: 0; }

.lp-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.lp-benefit-grid article,
.lp-feature-grid article {
  padding: 26px;
  border-radius: 24px;
}

.lp-benefit-grid h3,
.lp-feature-grid h3 { margin: 0 0 10px; }
.lp-benefit-grid p,
.lp-feature-grid p { margin: 0; color: #5f7089; }

.lp-how {
  color: rgba(255,255,255,.88);
  background: linear-gradient(135deg, #102f59, #383a83 55%, #622f83);
}

.lp-how .section-header h2,
.lp-how .section-header p { color: #fff; }
.lp-how .section-header p { opacity: .82; }

.lp-flow-card {
  padding: 34px 34px 30px;
  margin-top: 24px;
  border-radius: 34px;
  background: rgba(255,255,255,.96);
}

.lp-flow-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  width: 100%;
  min-height: 190px;
}

.lp-flow-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 52px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7a1a, #ec3d95, #2f76ff, #22c55e, #06b6d4);
  opacity: .72;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .16);
}

.lp-flow-node {
  position: relative;
  z-index: 1;
  min-height: 172px;
  padding: 14px 12px 16px;
  border-radius: 26px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(148, 163, 184, .25);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.lp-flow-number {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #fff;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 16px 26px rgba(15, 23, 42, .16);
}

.lp-flow-node strong {
  display: block;
  color: #0b1830;
  font-size: 1rem;
  line-height: 1.15;
  margin-bottom: 7px;
}

.lp-flow-node small {
  display: block;
  color: #5f7089;
  font-size: .82rem;
  line-height: 1.28;
}

.lp-flow-orange .lp-flow-number { background: linear-gradient(135deg, #ff8a1c, #f59e0b); }
.lp-flow-pink .lp-flow-number { background: linear-gradient(135deg, #ff3f9d, #a855f7); }
.lp-flow-blue .lp-flow-number { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.lp-flow-green .lp-flow-number { background: linear-gradient(135deg, #22c55e, #10b981); }
.lp-flow-cyan .lp-flow-number { background: linear-gradient(135deg, #06b6d4, #2563eb); }

.lp-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.lp-steps div {
  min-height: 122px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.lp-steps strong,
.lp-steps span { display: block; }
.lp-steps strong { color: #fff; margin-bottom: 8px; }
.lp-steps span { color: rgba(255,255,255,.75); font-size: .92rem; }

.lp-experience {
  background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(240,249,255,.86));
}

.lp-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, .45fr) minmax(190px, .45fr);
  gap: 20px;
  align-items: stretch;
}

.lp-showcase-grid figure {
  margin: 0;
  padding: 18px;
  border-radius: 30px;
}

.lp-wide-shot img,
.lp-mobile-shot img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(18,54,92,.14);
}

.lp-wide-shot img { aspect-ratio: 16 / 9; }
.lp-mobile-shot img { aspect-ratio: 9 / 16; object-position: top center; }

.lp-showcase-grid figcaption {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.lp-showcase-grid figcaption strong { color: #07172c; }
.lp-showcase-grid figcaption span { color: #5f7089; font-size: .92rem; }

.lp-capabilities { background: rgba(255,255,255,.72); }
.lp-feature-grid { margin-top: 12px; }

.lp-genie {
  background: linear-gradient(135deg, rgba(250,248,255,.9), rgba(246,251,255,.94));
}

.lp-roles {
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,248,239,.58));
}

@media (max-width: 980px) {
  .lp-hero-grid,
  .lp-two-col,
  .genie-grid,
  .contact-panel {
    grid-template-columns: 1fr !important;
  }

  .lp-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-wide-shot {
    grid-column: 1 / -1;
  }

  .lp-steps,
  .lp-benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .lp-hero { padding: 54px 0 52px; }
  .lp-section { padding: 58px 0; }
  .lp-hero-grid { gap: 26px; }
  .lp-hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.6rem); }
  .lp-showcase-grid { grid-template-columns: 1fr; }
  .lp-mobile-shot img { max-height: 620px; object-fit: cover; }
  .lp-flow-visual { grid-template-columns: 1fr; gap: 14px; min-height: 0; }
  .lp-flow-line { display: none; }
  .lp-flow-card { padding: 18px; }
  .lp-flow-node { min-height: 0; flex-direction: row; text-align: left; justify-content: flex-start; gap: 14px; }
  .lp-flow-number { width: 58px; height: 58px; margin: 0; font-size: 1.45rem; flex: 0 0 58px; }
  .lp-proof-item { font-size: .8rem; }
}


/* =========================================================
   CLEAN HERO LAYOUT
   One controlled block only:
   - readable headline size
   - wider gap between text and image
   - larger hero image
   - balanced desktop layout
   ========================================================= */
@media (min-width: 980px) {
  .lp-hero {
    min-height: auto !important;
    padding: 72px 0 88px !important;
  }

  .lp-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(390px, 0.84fr) minmax(620px, 1.16fr) !important;
    gap: 110px !important;
    align-items: center !important;
  }

  .lp-hero-copy {
    max-width: 560px !important;
    min-width: 0 !important;
    align-self: center !important;
  }

  .lp-hero-copy h1 {
    max-width: 560px !important;
    font-size: clamp(3rem, 4.3vw, 5.25rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.055em !important;
    margin-bottom: 22px !important;
  }

  .lp-hero-copy .lead {
    max-width: 540px !important;
    font-size: clamp(1.02rem, 1.18vw, 1.18rem) !important;
    line-height: 1.55 !important;
  }

  .lp-hero-visual {
    width: 100% !important;
    max-width: 880px !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
    transform: none !important;
  }

  .lp-hero-visual img {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
  }
}

@media (min-width: 1280px) {
  .lp-hero-grid {
    grid-template-columns: minmax(430px, 0.82fr) minmax(720px, 1.18fr) !important;
    gap: 130px !important;
  }

  .lp-hero-copy {
    max-width: 590px !important;
  }

  .lp-hero-copy h1 {
    max-width: 590px !important;
    font-size: clamp(3.4rem, 4.25vw, 5.55rem) !important;
  }

  .lp-hero-visual {
    max-width: 980px !important;
  }
}

@media (max-width: 979px) {
  .lp-hero {
    padding-top: 48px !important;
    padding-bottom: 56px !important;
  }

  .lp-hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .lp-hero-copy h1 {
    font-size: clamp(2.45rem, 11vw, 3.8rem) !important;
    line-height: 1.02 !important;
    max-width: 100% !important;
  }

  .lp-hero-visual {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* Hero clean-up: keep non-clickable platform areas visually distinct from buttons */
@media (max-width: 720px) {
  .lp-proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hero-cta-row {
    flex-wrap: wrap;
  }

  .hero-cta-row .btn {
    flex: 1 1 150px;
  }
}

@media (max-width: 420px) {
  .lp-proof-row {
    grid-template-columns: 1fr;
  }

  .hero-cta-row {
    align-items: stretch;
  }

  .hero-cta-row .btn {
    width: 100%;
  }
}

/* =========================================================
   Merged landing page sections — platform, experience and roles
   ========================================================= */
.lp-platform-combined {
  background:
    radial-gradient(circle at 6% 8%, rgba(255,138,0,.12), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(124,58,237,.13), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.70), rgba(246,250,255,.88));
}

.merged-section-header {
  max-width: 980px;
}

.platform-meaning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.platform-meaning-card {
  padding: 28px;
  border-radius: 28px;
  min-height: 230px;
}

.platform-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(124,58,237,.16);
  color: #12365c;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.platform-meaning-card h3,
.role-showcase-card h3 {
  margin: 0 0 10px;
  color: #07172c;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.platform-meaning-card p,
.role-showcase-card p {
  margin: 0;
  color: #5f7089;
  line-height: 1.58;
}

.platform-flow-card {
  margin-top: 26px;
}

.platform-role-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.platform-role-strip div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 14px 34px rgba(18,54,92,.08);
}

.platform-role-strip strong,
.platform-role-strip span {
  display: block;
}

.platform-role-strip strong {
  color: #07172c;
  margin-bottom: 6px;
}

.platform-role-strip span {
  color: #60738d;
  font-size: .92rem;
  line-height: 1.35;
}

.lp-experience-combined {
  background:
    radial-gradient(circle at 12% 10%, rgba(6,182,212,.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.70), rgba(240,249,255,.88));
}

.merged-feature-grid {
  margin-top: 26px;
}

.lp-role-showcase {
  background:
    radial-gradient(circle at 14% 8%, rgba(236,72,153,.13), transparent 28%),
    radial-gradient(circle at 84% 0%, rgba(255,138,0,.13), transparent 28%),
    linear-gradient(180deg, rgba(255,248,239,.62), rgba(255,255,255,.78));
}

.role-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.role-showcase-card {
  overflow: hidden;
  border-radius: 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.role-showcase-copy {
  padding: 26px 26px 18px;
}

.role-showcase-card img {
  width: calc(100% - 36px);
  margin: 0 18px 18px;
  border-radius: 24px;
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 20px 48px rgba(18,54,92,.14);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  background: #f8fafc;
}

.role-showcase-card:nth-child(2) img {
  object-position: top left;
}

@media (max-width: 1080px) {
  .platform-meaning-grid,
  .role-showcase-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .platform-meaning-card {
    min-height: 0;
    padding: 22px;
  }

  .platform-role-strip {
    grid-template-columns: 1fr;
  }

  .role-showcase-copy {
    padding: 22px 22px 16px;
  }

  .role-showcase-card img {
    width: calc(100% - 28px);
    margin: 0 14px 14px;
    border-radius: 20px;
  }
}

/* =========================================================
   Mobile simplified layout for platform + product experience
   Replaces many small cards with fewer clear story cards.
   ========================================================= */
.lp-platform-simple,
.lp-experience-simple {
  text-align: left;
}

.lp-platform-simple .simple-section-header,
.lp-experience-simple .simple-section-header {
  text-align: left;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.lp-platform-simple .section-pill,
.lp-experience-simple .section-pill {
  margin-left: 0;
  margin-right: auto;
}

.platform-simple-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 34px;
  border-top: 5px solid #3b82f6;
  overflow: hidden;
}

.platform-simple-copy,
.experience-simple-copy {
  min-width: 0;
}

.platform-simple-intro h3,
.platform-simple-flow h3,
.experience-simple-copy h3,
.experience-capability-card h3 {
  margin: 0 0 12px;
  color: #07172c;
  font-size: clamp(1.38rem, 2vw, 2rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  text-align: left;
}

.platform-simple-intro p,
.experience-simple-copy p {
  margin: 0;
  color: #52647e;
  line-height: 1.62;
  text-align: left;
}

.platform-simple-points {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.platform-simple-points div,
.experience-capability-list div {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(148,163,184,.20);
  box-shadow: 0 12px 28px rgba(18,54,92,.07);
  text-align: left;
}

.platform-simple-points strong,
.experience-capability-list strong {
  display: block;
  color: #07172c;
  font-weight: 950;
  letter-spacing: -.01em;
}

.platform-simple-points span,
.experience-capability-list span {
  display: block;
  color: #5f7089;
  font-size: .94rem;
  line-height: 1.45;
}

.platform-simple-flow {
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(124,58,237,.15), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.80), rgba(247,250,255,.90));
  border: 1px solid rgba(148,163,184,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 20px 50px rgba(18,54,92,.10);
}

.platform-simple-flow ol {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
}

.platform-simple-flow li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(148,163,184,.18);
}

.platform-simple-flow li > span {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .84rem;
  font-weight: 950;
  background: linear-gradient(135deg, #ff8a1c, #ec4899 52%, #2563eb);
  box-shadow: 0 12px 24px rgba(18,54,92,.14);
}

.platform-simple-flow strong,
.platform-simple-flow small {
  display: block;
  text-align: left;
}

.platform-simple-flow strong {
  color: #07172c;
  font-weight: 950;
  margin-bottom: 2px;
}

.platform-simple-flow small {
  color: #65758d;
  line-height: 1.35;
}

.experience-simple-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, .68fr);
  gap: 22px;
  align-items: stretch;
}

.experience-primary-card,
.experience-mobile-card,
.experience-capability-card {
  border-radius: 32px;
  padding: clamp(20px, 2.4vw, 28px);
  overflow: hidden;
  text-align: left;
}

.experience-primary-card {
  display: grid;
  grid-template-columns: minmax(260px, .62fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.experience-primary-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  border-radius: 24px;
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 20px 50px rgba(18,54,92,.15);
}

.experience-mobile-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
}

.experience-mobile-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.experience-mobile-pair img {
  width: 100%;
  max-height: 390px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 18px 42px rgba(18,54,92,.13);
}

.experience-capability-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, .34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.experience-capability-card > .platform-kicker,
.experience-capability-card > h3 {
  grid-column: 1;
}

.experience-capability-list {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1080px) {
  .platform-simple-card,
  .experience-simple-grid,
  .experience-primary-card,
  .experience-capability-card {
    grid-template-columns: 1fr;
  }

  .experience-capability-card > .platform-kicker,
  .experience-capability-card > h3,
  .experience-capability-list {
    grid-column: auto;
    grid-row: auto;
  }

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

@media (max-width: 720px) {
  .lp-platform-simple .simple-section-header,
  .lp-experience-simple .simple-section-header {
    margin-bottom: 22px;
  }

  .platform-simple-card,
  .experience-primary-card,
  .experience-mobile-card,
  .experience-capability-card {
    border-radius: 26px;
    padding: 20px;
  }

  .platform-simple-points div,
  .experience-capability-list div {
    padding: 14px 15px;
    border-radius: 18px;
  }

  .platform-simple-flow {
    padding: 18px;
    border-radius: 22px;
  }

  .platform-simple-flow li {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 10px;
  }

  .platform-simple-flow li > span {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: .76rem;
  }

  .experience-mobile-pair {
    gap: 12px;
  }

  .experience-mobile-pair img {
    max-height: 330px;
    border-radius: 18px;
  }

  .experience-capability-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .experience-mobile-pair {
    grid-template-columns: 1fr 1fr;
  }

  .experience-mobile-pair img {
    max-height: 280px;
  }
}

/* =========================================================
   Final section-flow and alignment polish
   - Keeps platform/product section headings aligned with the card below
   - On mobile, keeps Genie heading before the Genie image so the card clearly
     belongs to the Genie AI Assistant section
   ========================================================= */
.lp-platform-simple .simple-section-header,
.lp-experience-simple .simple-section-header {
  width: min(var(--max), calc(100% - 44px));
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left !important;
}

.lp-platform-simple .simple-section-header > *,
.lp-experience-simple .simple-section-header > * {
  text-align: left !important;
}

.lp-platform-simple .simple-section-header .section-pill,
.lp-experience-simple .simple-section-header .section-pill {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.lp-platform-simple .simple-section-header > p:not(.section-pill),
.lp-experience-simple .simple-section-header > p:not(.section-pill) {
  max-width: 820px;
}

@media (max-width: 980px) {
  .lp-genie .genie-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .lp-genie .genie-copy {
    order: 1 !important;
    text-align: left !important;
  }

  .lp-genie .genie-image {
    order: 2 !important;
  }

  .lp-genie .genie-copy .section-pill {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .lp-genie .genie-copy h2,
  .lp-genie .genie-copy p {
    text-align: left !important;
  }
}

@media (max-width: 760px) {
  .lp-platform-simple .simple-section-header,
  .lp-experience-simple .simple-section-header {
    width: min(var(--max), calc(100% - 28px));
  }

  .lp-genie {
    padding-top: 58px;
  }
}
