/* Shared visual language for the public website and application. */
:root {
  --ink: #20223b;
  --violet: #5845d6;
  --lavender: #f1efff;
  --hairline: #e6e4ef;
  --muted-ink: #636579;
}
.benefit-hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: 16px;
  min-height: 620px;
  position: relative;
  isolation: isolate;
}
.benefit-copy {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}
.benefit-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #655a91;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 25px;
}
.benefit-kicker > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8070dc;
  box-shadow: 0 0 0 5px #ebe7fa;
}
.benefit-hero h1 {
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.23;
  letter-spacing: -3.6px;
  font-weight: 800;
  margin: 0 0 25px;
  color: var(--ink);
  max-width: none;
  word-break: keep-all;
}
.benefit-hero h1 > span {
  color: var(--violet);
}
.benefit-lead {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted-ink);
  letter-spacing: -0.5px;
  margin: 0 0 32px;
}
.benefit-lead strong {
  color: #37324e;
  font-weight: 700;
}
.benefit-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.benefit-actions a {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 17px 23px;
  border: 1px solid var(--violet);
  border-radius: 14px;
  background: var(--violet);
  color: white;
  box-shadow: 0 7px 18px #5845d61c;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.benefit-actions a.outline {
  color: var(--ink);
  background: #ffffffbd;
  border: 1px solid #dedbe9;
  box-shadow: none;
}
.benefit-actions a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px #5845d625;
}
.benefit-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
  color: #737085;
  font-size: 11px;
  line-height: 1.8;
  margin: 24px 0 0;
}
.benefit-scene {
  overflow: clip;
  position: relative;
  width: 100%;
  height: 550px;
  isolation: isolate;
  perspective: 1000px;
  border-radius: 0;
  background: radial-gradient(
    ellipse at 53% 47%,
    #dcd6ff7a 0%,
    #eeebff44 45%,
    transparent 70%
  );
}
.benefit-scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0 15px 13px #4c3f8d22);
  pointer-events: none;
}
.scene-shadow {
  position: absolute;
  left: 23%;
  bottom: 14%;
  width: 55%;
  height: 30px;
  background: radial-gradient(ellipse, #9186c54f, transparent 70%);
  filter: blur(8px);
  transform: rotate(-7deg);
}
.scene-orbit {
  position: absolute;
  inset: 20% 6%;
  border: 1px solid #b6acd233;
  border-radius: 50%;
  transform: rotate(-30deg);
}
.scene-orbit:after {
  content: "";
  position: absolute;
  inset: 17%;
  border: 1px solid #cfc8e447;
  border-radius: 50%;
  transform: rotate(50deg);
}
.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  border: 1px solid #fff;
  border-radius: 18px;
  background: linear-gradient(120deg, #ffffffed, #ffffffba);
  box-shadow:
    0 20px 45px -20px #46397755,
    0 2px 2px #ffffff inset,
    0 -2px 0 #e4deee inset;
  backdrop-filter: blur(12px);
  animation: benefit-float 8s ease-in-out infinite;
  transform-style: preserve-3d;
}
.floating-card small {
  display: block;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #777487;
  margin-bottom: 6px;
}
.floating-card strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.6px;
  color: #32304c;
  white-space: nowrap;
}
.floating-card em {
  display: block;
  font-size: 10px;
  font-style: normal;
  color: #747085;
  margin-top: 4px;
}
.mini-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #d8c8ff, #8663de);
  border: 1px solid #d8c5ff;
  color: white;
  text-shadow: 0 2px 3px #735092;
  box-shadow:
    0 4px 8px #8b6acf30,
    inset 0 2px 0 #ffffff91;
  font-size: 24px;
  width: 42px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  transform: rotate(-8deg);
}
.mini-icon.peach {
  background: linear-gradient(135deg, #ffdfbc, #f0a478);
  border-color: #ffe0c3;
  text-shadow: 0 2px 3px #c89266;
  box-shadow:
    0 4px 8px #ddad8230,
    inset 0 2px 0 #fff8;
}
.mini-icon.mint {
  background: linear-gradient(135deg, #c2ece1, #77bfae);
  border-color: #cfece3;
  text-shadow: 0 2px 3px #67a08d;
  box-shadow:
    0 4px 8px #8fbdac30,
    inset 0 2px 0 #fff8;
}
.card-learn {
  top: 14%;
  right: 8%;
  --angle: 8deg;
  transform: rotate(8deg);
  animation-delay: -2s;
}
.card-transit {
  top: 48%;
  left: -1%;
  --angle: -9deg;
  transform: rotate(-9deg);
  animation-delay: -5s;
}
.card-business {
  bottom: 12%;
  right: 0;
  --angle: 5deg;
  transform: rotate(5deg);
}
.scene-caption {
  position: absolute;
  bottom: 3%;
  left: 3%;
  font-size: 8px;
  letter-spacing: 2.8px;
  color: #8c83a7;
}
.motion-control {
  position: absolute;
  bottom: 2%;
  right: 2%;
  z-index: 3;
  background: transparent !important;
  border: 1px solid #d9d3e5 !important;
  color: #79728a !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  padding: 7px 10px !important;
  border-radius: 20px !important;
  box-shadow: none !important;
  cursor: pointer;
}
.scene-fallback {
  position: absolute;
  inset: 18%;
  display: grid;
  place-items: center;
  color: #8c78d2;
  font-size: 210px;
  text-shadow:
    1px 2px #c7bbf0,
    5px 12px 0 #c0b2e7,
    15px 30px 25px #8371bd40;
  transform: rotate(-18deg);
}
canvas[data-state="rendered"] ~ .scene-fallback {
  display: none;
}
.benefit-scene[data-paused="true"] .floating-card {
  animation-play-state: paused;
}
.audience-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 24px;
}
.audience-switch > button {
  display: flex;
  gap: 17px;
  align-items: center;
  text-align: left;
  padding: 23px 27px;
  border: 1px solid var(--hairline);
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 3px 8px #30224a03;
  transition:
    border-color 0.2s,
    transform 0.2s;
  min-width: 0;
}
.audience-switch > button[aria-pressed="true"] {
  border: 1.5px solid #9b88e4;
  background: linear-gradient(110deg, #f4f0ff, #faf8ff);
  box-shadow: 0 5px 20px #7562a30c;
}
.audience-switch > button:hover {
  transform: translateY(-2px);
}
.audience-switch strong {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.7px;
  display: block;
}
.audience-switch small {
  font-size: 12px;
  font-weight: 400;
  color: #6d697c;
  display: block;
  margin-top: 4px;
}
.audience-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eae4fa;
  color: #7761b6;
  font-size: 25px;
  flex-shrink: 0;
}
.audience-switch > button:nth-child(2) .audience-icon {
  background: #e7f0ec;
  color: #66907f;
}
.audience-arrow {
  margin-left: auto;
  color: #9488b5;
  font-size: 22px;
}
.benefit-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 35px 0;
  gap: 38px;
}
.benefit-paths article {
  padding: 0 28px 0 0;
  border-right: 1px solid var(--hairline);
}
.benefit-paths article:last-child {
  border: 0;
  padding-right: 0;
}
.benefit-paths small {
  font-size: 11px;
  letter-spacing: 2px;
  color: #9589b0;
}
.benefit-paths h2 {
  font-size: 20px;
  letter-spacing: -0.7px;
  margin: 12px 0 8px;
  color: var(--ink);
}
.benefit-paths p {
  font-size: 13px;
  color: var(--muted-ink);
  line-height: 1.85;
  margin: 0;
}
.scope-caption {
  font-size: 12px;
  color: #777285;
  line-height: 1.8;
  margin: 20px 3px 30px;
}
.field-hint {
  font-size: 12px;
  color: #645d72;
  line-height: 1.85;
}
.benefit-hero.compact {
  min-height: 450px;
}
.compact .benefit-scene {
  height: 430px;
}
.compact h1 {
  font-size: clamp(36px, 4vw, 57px);
}
@keyframes benefit-float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--angle));
  }
  50% {
    transform: translateY(-9px) rotate(calc(var(--angle) + 2deg));
  }
}
@media (min-width: 1500px) {
  .benefit-scene {
    height: 600px;
  }
}
@media (max-width: 1000px) {
  .benefit-hero {
    gap: 0;
    min-height: 520px;
  }
  .benefit-scene {
    height: 470px;
  }
  .floating-card {
    padding: 13px;
    gap: 9px;
  }
  .floating-card strong {
    font-size: 12px;
  }
  .mini-icon {
    width: 34px;
    height: 36px;
  }
  .benefit-hero h1 {
    letter-spacing: -2px;
  }
  .benefit-lead {
    font-size: 15px;
  }
  .benefit-actions a {
    gap: 10px;
    padding: 15px;
  }
  .benefit-trust {
    font-size: 10px;
    gap: 5px 9px;
  }
}
@media (max-width: 760px) {
  .benefit-hero,
  .benefit-hero.compact {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }
  .benefit-copy {
    text-align: center;
    padding: 30px 0 0;
  }
  .benefit-kicker,
  .benefit-actions,
  .benefit-trust {
    justify-content: center;
  }
  .benefit-hero h1,
  .compact h1 {
    font-size: 42px;
    letter-spacing: -2.5px;
    margin-bottom: 20px;
  }
  .benefit-lead {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .benefit-kicker {
    font-size: 10px;
    letter-spacing: 1.4px;
    margin-bottom: 19px;
  }
  .benefit-scene,
  .compact .benefit-scene {
    height: 360px;
    max-width: 470px;
    margin: 0 auto;
  }
  .compact .benefit-trust {
    margin-top: 10px;
  }
  .floating-card {
    padding: 12px 14px;
    gap: 10px;
  }
  .floating-card strong {
    font-size: 12px;
  }
  .floating-card small {
    font-size: 6px;
  }
  .floating-card em {
    font-size: 9px;
  }
  .mini-icon {
    width: 32px;
    height: 35px;
    font-size: 20px;
    border-radius: 10px;
  }
  .card-learn {
    top: 12%;
    right: 7%;
  }
  .card-transit {
    top: 46%;
    left: 0;
  }
  .card-business {
    right: 1%;
    bottom: 14%;
  }
  .scene-caption {
    font-size: 6px;
    letter-spacing: 1.6px;
    left: 5%;
  }
  .motion-control {
    font-size: 9px !important;
  }
  .audience-switch {
    gap: 10px;
    margin-top: 22px;
  }
  .audience-switch > button {
    padding: 18px 15px;
    gap: 10px;
    flex-wrap: wrap;
    border-radius: 16px;
  }
  .audience-switch strong {
    font-size: 16px;
  }
  .audience-switch small {
    font-size: 10px;
    line-height: 1.6;
  }
  .audience-icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
    border-radius: 9px;
  }
  .audience-arrow {
    display: none;
  }
  .benefit-paths {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 28px 5px;
  }
  .benefit-paths article {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    padding: 0 0 23px;
  }
  .benefit-paths h2 {
    font-size: 19px;
  }
  .benefit-paths article:last-child {
    padding-bottom: 0;
  }
  .scene-fallback {
    font-size: 170px;
  }
}
@media (max-width: 360px) {
  .benefit-hero h1,
  .compact h1 {
    font-size: 35px;
  }
  .benefit-scene,
  .compact .benefit-scene {
    height: 310px;
  }
  .floating-card {
    padding: 10px;
  }
  .floating-card strong {
    font-size: 10px;
  }
  .floating-card small {
    font-size: 5px;
  }
  .mini-icon {
    width: 28px;
    height: 30px;
  }
  .audience-switch strong {
    font-size: 14px;
  }
  .audience-switch > button {
    padding: 14px 11px;
  }
  .benefit-actions a {
    font-size: 12px;
    padding: 13px;
  }
  .benefit-trust {
    gap: 5px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .floating-card {
    animation: none !important;
  }
  .benefit-actions a,
  .audience-switch > button {
    transition: none !important;
  }
}
@media print {
  .benefit-hero,
  .audience-switch,
  .scope-caption,
  .motion-control {
    display: none !important;
  }
}
