/* Canonical visual system for the public presentation. */

:root {
  --surface: #f5f5f7;
  --surface-strong: #ececef;
  --line: #dedde1;
  --accent: #5b3a82;
  --editorial-title-size: clamp(50px, 4.35vw, 64px);
  --editorial-title-weight: 520;
  --editorial-title-tracking: -0.052em;
  --editorial-title-leading: 1.01;
  --editorial-copy-size: 18px;
  --editorial-copy-weight: 430;
  --editorial-copy-tracking: -0.018em;
  --editorial-copy-leading: 1.5;
  --section-title-size: var(--editorial-title-size);
}

:root[data-theme="dark"] {
  --surface: #151518;
  --surface-strong: #202024;
  --line: #2c2a2f;
  --accent: #c3a5f5;
}

#planos,
#faq {
  scroll-margin-top: 68px;
}

.header-inner {
  min-height: 68px;
}

.header-nav {
  gap: 2px;
}

.header-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  padding-inline: 12px;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
  transition: border-color 150ms ease, color 150ms ease;
}

.header-nav-window {
  display: block;
  height: 18px;
  overflow: hidden;
}

.header-nav-track {
  display: grid;
  grid-auto-rows: 18px;
  transform: translateY(0);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.header-nav-track > span {
  display: block;
  line-height: 18px;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.header-nav a[aria-current="location"] {
  color: var(--ink);
  font-weight: 600;
}

.header-nav a:hover .header-nav-track,
.header-nav a:focus-visible .header-nav-track {
  transform: translateY(-18px);
}

@media (prefers-reduced-motion: reduce) {
  .header-nav-track,
  .header-action-track {
    transition: none;
  }

  .hero-loop-motion {
    animation: none;
  }

  .hero-loop-svg {
    transform: none;
    transition: none;
  }

  .header-nav a:hover .header-nav-track,
  .header-nav a:focus-visible .header-nav-track,
  .login-button:hover .header-action-track,
  .login-button:focus-visible .header-action-track,
  .try-button:hover .header-action-track,
  .try-button:focus-visible .header-action-track {
    transform: none;
  }
}

.login-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding-inline: 18px;
  transition: border-color 150ms ease, color 150ms ease;
}

.login-button:hover,
.login-button:focus-visible {
  border-color: color-mix(in srgb, var(--ink) 48%, var(--line));
  background: transparent;
  color: var(--ink);
}

.try-button {
  min-height: 44px;
  border: 1px solid color-mix(in srgb, var(--ink) 56%, var(--line));
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding-inline: 18px;
  transition: border-color 150ms ease, color 150ms ease;
}

.try-button:hover,
.try-button:focus-visible {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
  transform: none;
}

.header-action-window {
  display: block;
  height: 18px;
  overflow: hidden;
}

.header-action-track {
  display: grid;
  grid-auto-rows: 18px;
  transform: translateY(0);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.header-action-row {
  display: flex;
  height: 18px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 18px;
  white-space: nowrap;
}

.login-button:hover .header-action-track,
.login-button:focus-visible .header-action-track,
.try-button:hover .header-action-track,
.try-button:focus-visible .header-action-track {
  transform: translateY(-18px);
}

@media (max-width: 639px) {
  .login-button,
  .try-button {
    min-height: 44px;
  }

  .try-button {
    padding-inline: 11px;
  }
}

main {
  background: var(--canvas);
}

.hero-review {
  background: var(--canvas);
}

.hero-showcase {
  overflow: hidden;
  background: var(--canvas);
  color: var(--ink);
  padding: clamp(92px, 10vh, 110px) 0 clamp(42px, 5vh, 58px);
}

.hero-showcase-layout {
  --hero-edge: max(24px, calc((100vw - var(--max)) / 2));
  --hero-copy-width: clamp(460px, 38vw, 560px);
  --hero-overlap: 36px;
  --hero-stage-height: clamp(480px, 36vw, 520px);
  --hero-carousel-start: calc(var(--hero-edge) + var(--hero-copy-width) - var(--hero-overlap));
  position: relative;
}

.hero-showcase-copy {
  position: absolute;
  z-index: 4;
  top: 0;
  left: var(--hero-edge);
  display: flex;
  width: var(--hero-copy-width);
  height: var(--hero-stage-height);
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  padding: 40px 64px 40px 0;
}

.hero-showcase-copy::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 calc(0px - var(--hero-edge));
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  content: "";
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
  pointer-events: none;
}

.hero-showcase-copy h1 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(50px, 4.35vw, 64px);
  font-variation-settings: "wdth" 100;
  font-weight: 520;
  letter-spacing: -0.052em;
  line-height: 1.01;
}

.hero-showcase-copy h1 span {
  display: block;
  color: var(--soft);
}

.hero-showcase-summary {
  max-width: 440px;
  margin: 32px 0 0;
  color: var(--soft);
  font-size: 18px;
  font-weight: 430;
  letter-spacing: -0.018em;
  line-height: 1.5;
}

.hero-showcase-cta {
  display: inline-flex;
  min-height: 44px;
  align-self: flex-start;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  padding: 0 19px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-showcase-cta:hover,
.hero-showcase-cta:focus-visible {
  transform: translateY(-1px);
}

.hero-showcase-cta:hover {
  opacity: 0.86;
}

.hero-carousel {
  position: relative;
  min-width: 0;
}

.hero-carousel-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  margin-left: var(--hero-carousel-start);
  padding-right: var(--hero-edge);
  padding-left: 0;
  scrollbar-width: none;
  scroll-padding-inline-start: 0;
  scroll-snap-type: inline proximity;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.hero-carousel-viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.hero-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.hero-carousel-viewport:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.hero-carousel-track {
  display: grid;
  width: max-content;
  grid-auto-flow: column;
  grid-auto-columns: clamp(320px, 26vw, 390px);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-feature {
  min-width: 0;
  height: var(--hero-stage-height);
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #17161a;
  color: #fff;
  box-shadow: none;
  contain: layout paint;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.hero-feature article {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  isolation: isolate;
  padding: 30px 28px 26px;
}

.hero-feature article::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 10, 13, 0.66) 0%, rgba(11, 10, 13, 0.18) 38%, rgba(11, 10, 13, 0.04) 62%, rgba(11, 10, 13, 0.54) 100%),
    linear-gradient(90deg, rgba(11, 10, 13, 0.14), transparent 72%);
  content: "";
  pointer-events: none;
}

.hero-feature header {
  position: relative;
  z-index: 2;
  max-width: 310px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.26);
}

.hero-feature h2 {
  margin: 0;
  font-size: clamp(26px, 2vw, 31px);
  font-variation-settings: "wdth" 96;
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-feature header p {
  max-width: 295px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.42;
}

.hero-feature-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #28262c;
}

.hero-loop-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: scale(1.015);
  transition: filter 500ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}

.hero-feature:hover .hero-loop-svg {
  filter: saturate(1.09) brightness(1.03);
  transform: scale(1.025);
}

.hero-loop-motion {
  transform-box: fill-box;
  transform-origin: center;
}

.hero-loop-drift {
  animation: hero-loop-drift 13s ease-in-out infinite;
}

.hero-loop-route path:last-child,
.hero-loop-dialogue path:last-child {
  stroke-dasharray: 0.34 0.66;
  animation: hero-loop-route 8s linear infinite;
}

.hero-loop-route path:first-child {
  animation: hero-loop-route-glow 6s ease-in-out infinite;
}

.hero-loop-orbit {
  animation: hero-loop-orbit 7s ease-in-out infinite;
}

.hero-loop-breathe {
  animation: hero-loop-breathe 6s ease-in-out infinite;
}

.hero-loop-steps {
  animation: hero-loop-steps 7s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.hero-loop-scan {
  animation: hero-loop-scan 5.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.hero-loop-library-orbit {
  animation: hero-loop-library-orbit 18s linear infinite;
}

.hero-loop-stack {
  animation: hero-loop-stack 8s ease-in-out infinite;
}

.hero-loop-float--one {
  animation: hero-loop-float-one 7s ease-in-out infinite;
}

.hero-loop-float--two {
  animation: hero-loop-float-two 9s ease-in-out infinite;
}

.hero-loop-score {
  animation: hero-loop-score 10s ease-in-out infinite;
}

.hero-loop-score-arc {
  animation: hero-loop-score-arc 5s ease-in-out infinite;
}

.hero-loop-pulse {
  animation: hero-loop-pulse 4.5s ease-in-out infinite;
}

.hero-loop-graph {
  stroke-dasharray: 0.18 0.82;
  animation: hero-loop-graph 6s linear infinite;
}

.hero-loop-dialogue {
  animation: hero-loop-dialogue 9s ease-in-out infinite;
}

.hero-loop-halo {
  animation: hero-loop-halo 14s linear infinite;
}

.hero-loop-listen {
  animation: hero-loop-listen 5.5s ease-in-out infinite;
}

.hero-loop-network {
  stroke-dasharray: 18 12;
  animation: hero-loop-network 9s linear infinite;
}

.hero-loop-people {
  animation: hero-loop-people 6s ease-in-out infinite;
}

.hero-loop-room-pulse {
  animation: hero-loop-room-pulse 4.8s ease-out infinite;
}

.hero-loop-domain-paths {
  animation: hero-loop-domain-paths 6s ease-in-out infinite;
}

.hero-loop-domain-route path:last-child {
  stroke-dasharray: 18 14;
  animation: hero-loop-domain-route 4.8s linear infinite;
}

.hero-loop-domain-route path:first-child {
  animation: hero-loop-domain-route-glow 4.8s ease-in-out infinite;
}

.hero-loop-domain-ready {
  animation: hero-loop-domain-ready 6s ease-in-out infinite;
}

.hero-loop-domain-current {
  animation: hero-loop-domain-current 3.6s ease-in-out infinite;
}

.hero-loop-domain-gap {
  animation: hero-loop-domain-gap 4.8s ease-in-out infinite;
}

.hero-loop-motion {
  animation-play-state: paused;
}

.hero-feature.is-in-view .hero-loop-motion {
  animation-play-state: running;
  will-change: transform, opacity;
}

.hero-carousel-viewport.is-dragging .hero-loop-motion {
  animation-play-state: paused;
  will-change: auto;
}

@keyframes hero-loop-drift {
  0%, 100% { transform: translate3d(-8px, 8px, 0) rotate(-2deg); }
  50% { transform: translate3d(10px, -10px, 0) rotate(3deg); }
}

@keyframes hero-loop-route {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes hero-loop-route-glow {
  0%, 100% { opacity: 0.16; }
  50% { opacity: 0.34; }
}

@keyframes hero-loop-orbit {
  0%, 100% { transform: translate3d(-4px, 6px, 0) scale(0.96); }
  50% { transform: translate3d(12px, -12px, 0) scale(1.06); }
}

@keyframes hero-loop-breathe {
  0%, 100% { transform: scale(0.82); opacity: 0.1; }
  50% { transform: scale(1.18); opacity: 0.2; }
}

@keyframes hero-loop-steps {
  0%, 100% { transform: translateY(18px); }
  45%, 55% { transform: translateY(-18px); }
}

@keyframes hero-loop-scan {
  0% { transform: translateY(0); opacity: 0; }
  18% { opacity: 0.8; }
  82% { opacity: 0.8; }
  100% { transform: translateY(-312px); opacity: 0; }
}

@keyframes hero-loop-library-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hero-loop-stack {
  0%, 100% { transform: translate3d(0, 8px, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(1.5deg); }
}

@keyframes hero-loop-float-one {
  0%, 100% { transform: translate3d(-8px, 8px, 0); }
  50% { transform: translate3d(18px, -20px, 0); }
}

@keyframes hero-loop-float-two {
  0%, 100% { transform: translate3d(10px, -10px, 0) rotate(-8deg); }
  50% { transform: translate3d(-18px, 24px, 0) rotate(12deg); }
}

@keyframes hero-loop-score {
  0%, 100% { transform: rotate(-96deg) scale(0.96); }
  50% { transform: rotate(-84deg) scale(1.04); }
}

@keyframes hero-loop-score-arc {
  0%, 100% { stroke-dasharray: 0.58 1; }
  50% { stroke-dasharray: 0.82 1; }
}

@keyframes hero-loop-pulse {
  0%, 100% { transform: scale(0.84); opacity: 0.06; }
  50% { transform: scale(1.18); opacity: 0.2; }
}

@keyframes hero-loop-graph {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes hero-loop-dialogue {
  0%, 100% { transform: translate3d(-16px, 8px, 0) rotate(-2deg); }
  50% { transform: translate3d(14px, -12px, 0) rotate(2deg); }
}

@keyframes hero-loop-halo {
  from { transform: rotate(0deg) scale(0.92); }
  50% { transform: rotate(180deg) scale(1.08); }
  to { transform: rotate(360deg) scale(0.92); }
}

@keyframes hero-loop-listen {
  0%, 100% { transform: translateY(9px) scale(0.98); }
  50% { transform: translateY(-11px) scale(1.02); }
}

@keyframes hero-loop-network {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -120; }
}

@keyframes hero-loop-people {
  0%, 100% { transform: scale(0.95) rotate(-1.5deg); }
  50% { transform: scale(1.045) rotate(1.5deg); }
}

@keyframes hero-loop-room-pulse {
  0% { transform: scale(0.66); opacity: 0.42; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes hero-loop-domain-paths {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.48; }
}

@keyframes hero-loop-domain-route {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -64; }
}

@keyframes hero-loop-domain-route-glow {
  0%, 100% { opacity: 0.14; }
  50% { opacity: 0.38; }
}

@keyframes hero-loop-domain-ready {
  0%, 100% { opacity: 0.88; }
  50% { opacity: 1; }
}

@keyframes hero-loop-domain-current {
  0%, 100% { transform: scale(0.985); }
  50% { transform: scale(1.015); }
}

@keyframes hero-loop-domain-gap {
  0%, 100% { opacity: 0.64; }
  50% { opacity: 1; }
}

.hero-feature-cta {
  position: relative;
  z-index: 3;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  color: #17161a;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.hero-feature-cta:hover,
.hero-feature-cta:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  margin-left: var(--hero-carousel-start);
  padding-right: var(--hero-edge);
  padding-left: 0;
}

.hero-carousel-position {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--soft);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 620;
}

.hero-carousel-progress {
  position: relative;
  display: block;
  width: 116px;
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.hero-carousel-progress i {
  display: block;
  width: 16.6667%;
  height: 100%;
  transform: translateX(0);
  transform-origin: left;
  background: var(--ink);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-carousel-buttons {
  display: flex;
  gap: 8px;
}

.hero-carousel-buttons button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.hero-carousel-buttons button:hover:not(:disabled) {
  background: var(--surface-strong);
  transform: translateY(-1px);
}

.hero-carousel-buttons button:disabled {
  cursor: default;
  opacity: 0.35;
}

.hero-carousel-buttons svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (max-width: 1100px) {
  .hero-carousel-track {
    grid-auto-columns: clamp(330px, 42vw, 390px);
  }
}

@media (max-width: 900px) {
  .hero-showcase-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-showcase-copy {
    position: relative;
    top: auto;
    left: auto;
    width: min(calc(100% - 48px), var(--max));
    height: auto;
    min-height: auto;
    margin-inline: auto;
    padding: 34px 0 38px;
  }

  .hero-showcase-copy::before {
    inset: -4px -24px -28px;
    background: color-mix(in srgb, var(--canvas) 80%, transparent);
    mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  }

  .hero-showcase-copy h1,
  .hero-showcase-summary {
    max-width: 620px;
  }

  .hero-carousel-viewport {
    margin-left: 0;
    padding-inline: 24px;
    scroll-padding-inline-start: 24px;
  }

  .hero-carousel {
    z-index: 1;
    margin-top: -22px;
    padding-top: 6px;
  }

  .hero-carousel-controls {
    margin-left: 0;
    padding-inline: 24px;
  }

  .hero-feature {
    height: 480px;
  }
}

@media (max-width: 760px) {
  .hero-carousel-track {
    grid-auto-columns: min(54vw, 390px);
  }
}

@media (max-width: 639px) {
  .hero-showcase {
    padding-top: 80px;
    padding-bottom: max(42px, calc(env(safe-area-inset-bottom, 0px) + 28px));
  }

  .hero-showcase-layout {
    gap: 0;
  }

  .hero-showcase-copy {
    width: auto;
    margin-inline:
      max(16px, env(safe-area-inset-left, 0px))
      max(16px, env(safe-area-inset-right, 0px));
    padding: 28px 0 32px;
  }

  .hero-showcase-copy::before {
    inset:
      -4px calc(0px - max(16px, env(safe-area-inset-right, 0px))) -24px
      calc(0px - max(16px, env(safe-area-inset-left, 0px)));
  }

  .hero-showcase-copy h1 {
    max-width: 348px;
    font-size: clamp(42px, 11.5vw, 50px);
  }

  .hero-showcase-summary {
    max-width: 340px;
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-showcase-cta {
    margin-top: 22px;
  }

  .hero-carousel-viewport {
    padding-inline:
      max(16px, env(safe-area-inset-left, 0px))
      max(16px, env(safe-area-inset-right, 0px));
    scroll-padding-inline-start: max(16px, env(safe-area-inset-left, 0px));
  }

  .hero-carousel-track {
    grid-auto-columns: min(86vw, 348px);
    gap: 12px;
  }

  .hero-feature {
    height: 500px;
    border-radius: 22px;
  }

  .hero-feature article {
    padding: 26px 24px 22px;
  }

  .hero-feature h2 {
    font-size: clamp(27px, 7.8vw, 32px);
  }

  .hero-feature header p {
    margin-top: 11px;
    font-size: 15px;
  }

  .hero-carousel-controls {
    margin-top: 18px;
    padding-inline:
      max(16px, env(safe-area-inset-left, 0px))
      max(16px, env(safe-area-inset-right, 0px));
  }

  .hero-carousel-progress {
    width: 84px;
  }

  .hero-carousel-buttons button {
    width: 44px;
    height: 44px;
  }
}

.section-heading,
.contexts-heading,
.plans-heading {
  gap: clamp(36px, 7vw, 100px);
}

.section-heading h2,
.contexts-heading h2,
.plans-heading h2,
.faq-section h2,
.student-stories-heading h2 {
  font-size: var(--section-title-size);
  font-variation-settings: "wdth" 100;
  font-weight: var(--editorial-title-weight);
  letter-spacing: var(--editorial-title-tracking);
  line-height: var(--editorial-title-leading);
}

.section-heading > p:last-child,
.student-stories-heading p,
.plans-heading > div:first-child > p:last-child {
  color: var(--soft);
  font-size: var(--editorial-copy-size);
  font-weight: var(--editorial-copy-weight);
  letter-spacing: var(--editorial-copy-tracking);
  line-height: var(--editorial-copy-leading);
}

.section-heading .eyebrow {
  margin-bottom: -16px;
}

.contexts-section {
  padding-block: clamp(92px, 8vw, 112px);
}

.contexts-gallery {
  gap: clamp(20px, 2.6vw, 36px);
  margin-top: 58px;
}

.contexts-gallery img {
  border-radius: 14px;
  background: var(--surface);
}

.contexts-gallery figcaption {
  margin-top: 16px;
  padding: 14px 2px 0;
  font-size: 14px;
}

.plans-section {
  padding-block: clamp(92px, 8vw, 112px);
}

.plans-grid {
  margin-top: 50px;
}

.faq-section {
  gap: clamp(42px, 7vw, 104px);
  padding-block: clamp(82px, 7vw, 96px);
}

.faq-section h2 {
  font-size: var(--section-title-size);
  letter-spacing: var(--editorial-title-tracking);
}

.faq-item summary:focus-visible {
  border-radius: 8px;
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 4px;
}

.site-footer {
  padding-inline: 0;
}

/* One continuous institutional canvas; product proof carries the color. */
.hero-showcase,
.contexts-section,
.student-stories,
.plans-section,
.faq-section {
  background: var(--canvas);
}

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

  .section-heading .eyebrow {
    margin-bottom: -10px;
  }

}

@media (max-width: 760px) {
  .contexts-section,
  .student-stories,
  .plans-section,
  .faq-section {
    padding-block: 64px;
  }

}

@media (max-width: 639px) {
  :root {
    --editorial-title-size: clamp(42px, 11.5vw, 50px);
    --editorial-copy-size: 15px;
  }

  .student-stories-controls { display: none; }

  .header-inner {
    min-height: 60px;
  }

  .mobile-navigation a[aria-current="location"] {
    color: var(--accent);
    font-weight: 650;
  }

  .section-heading h2,
  .contexts-heading h2,
  .plans-heading h2,
  .student-stories-heading h2 { font-size: var(--section-title-size); }

  .faq-section h2 { font-size: var(--section-title-size); }

  .contexts-gallery img {
    border-radius: 12px;
  }

  #planos,
  #faq {
    scroll-margin-top: 60px;
  }
}

@media (max-width: 359px) {
  .login-button {
    padding-inline: 7px;
  }

  .try-button {
    padding-inline: 6px;
  }

  .hero-showcase h1 {
    font-size: 42px;
  }
}
