:root {
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-950: #1e1b4b;
  --white: #ffffff;
  --page-max: 1440px;
  --content: 1080px;
  --gutter: 180px;
  --font: "Public Sans", system-ui, sans-serif;
  --font-display: "Outfit", "Public Sans", system-ui, sans-serif;
  --radius-btn: 12px;
  --radius-card: 24px;
  --soft-btn: linear-gradient(180deg, var(--indigo-50) 0%, var(--indigo-100) 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.glow {
  position: absolute;
  width: 304px;
  height: 304px;
  pointer-events: none;
  z-index: 0;
}

.glow img {
  width: 1104px;
  height: 1104px;
  max-width: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Hero soft glows — match Figma left/right atmosphere */
.glow--left {
  /* soft lavender, mid-left between CTA and dashboard */
  top: 140px;
  left: max(-200px, calc(50% - 820px));
}

.glow--right {
  /* stronger pink along right edge of hero/dashboard */
  top: 600px;
  left: auto;
  right: max(-160px, calc(50% - 720px - 80px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--gray-100);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  position: relative;
  width: min(100%, var(--page-max));
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 203px;
  max-width: 100%;
  height: 32px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
  color: var(--gray-900);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--indigo-200);
  border-radius: var(--radius-btn);
  background-image: var(--soft-btn);
  color: var(--indigo-950);
  font-weight: 500;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

.btn--sm {
  min-height: 42px;
  width: 99px;
  padding: 0;
}

.hero {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 100px var(--gutter) 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.hero__copy,
.hero__preview {
  position: relative;
  z-index: 1;
}

.hero__copy {
  width: min(100%, 692px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.hero__copy h1 {
  font-size: 49px;
  font-weight: 600;
  line-height: 50px;
  color: var(--gray-900);
}

.text-accent {
  color: var(--indigo-600);
}

.hero__copy p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-800);
}

.hero__preview {
  width: 100%;
  max-width: var(--content);
  position: relative;
  z-index: 1;
}

/* Figma 4590:5009 — 1080 × 604 frame */
.hero__preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 604;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(99, 102, 241, 0.08);
}

.hero__preview-backdrop {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
}

.hero__preview-fade {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(238, 242, 255, 0) 0%,
    var(--indigo-50) 100%
  );
  z-index: 0;
}

.hero__preview-bg {
  position: absolute;
  left: -0.34%;
  top: -0.05%;
  width: 100.68%;
  height: 101.26%;
  max-width: none;
  /* Figma places the image stretched into this box — no cover crop */
  object-fit: fill;
  display: block;
  z-index: 1;
}

/* Figma 4597:5101 — inset glass card around dashboard */
.hero__preview-card {
  position: absolute;
  top: calc(41 / 604 * 100%);
  left: calc(65 / 1080 * 100%);
  width: calc(949 / 1080 * 100%);
  padding: clamp(8px, 1.11vw, 12px);
  border-radius: clamp(16px, 1.53vw, 22px);
  border: 1px solid var(--white);
  background: rgba(238, 242, 255, 0.5);
  box-shadow: 0 -1px 24px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  z-index: 2;
}

.hero__preview-dashboard {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 881;
  border-radius: clamp(8px, 0.83vw, 12px);
  overflow: hidden;
  background: var(--white);
}

.hero__preview-dashboard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
  display: block;
  pointer-events: none;
}

.features {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 40px var(--gutter) 80px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}


.features__intro,
.steps__intro {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content));
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.features__intro h2,
.steps__intro h2 {
  font-size: 39px;
  font-weight: 600;
  line-height: normal;
  color: var(--gray-900);
  text-align: center;
  width: 100%;
}

.features__title-line {
  display: block;
  text-align: center;
}

.features__intro p,
.steps__intro p {
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--gray-800);
  text-align: center;
  width: 100%;
  max-width: none;
}

/* Figma 4706:5296 — tabs 417 + gap 20 + preview 643; equal bottom edge */
.features__panel {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 417fr) minmax(0, 643fr);
  gap: 20px;
  align-items: stretch;
}

.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  height: 100%;
}

.feature-tab {
  position: relative;
  width: 100%;
  flex: 100 1 0;
  min-height: 0;
  padding: 0;
  text-align: left;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  background: var(--gray-50);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.2s ease, flex-grow 0.2s ease;
}

.feature-tab__title {
  position: absolute;
  left: 35px;
  top: 35px;
  right: 35px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  color: var(--gray-400);
  white-space: nowrap;
  text-align: left;
}

.feature-tab__title img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.feature-tab__title .icon-active {
  display: none;
}

.feature-tab__desc {
  position: absolute;
  left: 35px;
  right: 35px;
  top: 75px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #374151;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.feature-tab.is-active {
  flex: 150 1 0;
  background: var(--white);
}

.feature-tab.is-active .feature-tab__title {
  color: #1f2937;
}

.feature-tab.is-active .feature-tab__title .icon-active {
  display: block;
}

.feature-tab.is-active .feature-tab__title .icon-inactive {
  display: none;
}

.feature-tab.is-active .feature-tab__desc {
  opacity: 1;
}

/* Figma 4706:4285 — preview drives height; tabs stretch to same bottom */
.feature-preview {
  --wave-back: #d9f99d; /* lime/200 — explain */
  --wave-front: #a3e635; /* lime/400 */
  position: relative;
  width: 100%;
  aspect-ratio: 643 / 474;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  background: var(--white);
  overflow: hidden;
  transition: background-color 0.25s ease;
}

/* Figma tab washes — soft → strong wave pair */
.feature-preview[data-active-tab="solve"] {
  --wave-back: #fef08a; /* yellow/200 */
  --wave-front: #facc15; /* yellow/400 */
}

.feature-preview[data-active-tab="visual"] {
  --wave-back: #a5f3fc; /* cyan/200 */
  --wave-front: #22d3ee; /* cyan/400 */
}

.feature-preview[data-active-tab="watch"] {
  --wave-back: #f5d0fe; /* fuchsia/200 */
  --wave-front: #e879f9; /* fuchsia/400 */
}

.feature-preview__wave {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}

.feature-preview__wave--back {
  left: -4.51%; /* -29 / 643 */
  top: 61.39%; /* 291 / 474 */
  width: 114.15%; /* 734 / 643 */
  height: 45.99%; /* 218 / 474 */
}

.feature-preview__wave--front {
  left: -3.11%; /* -20 / 643 */
  top: 75.53%; /* 358 / 474 */
  width: 114.15%;
  height: 34.6%; /* 164 / 474 */
}

.feature-preview__wave-inset {
  position: absolute;
}

.feature-preview__wave-inset--back {
  inset: -110.09% -32.7%;
}

.feature-preview__wave-inset--front {
  inset: -146.34% -32.7%;
}

.feature-preview__wave-inset img,
.feature-preview__wave-svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.feature-preview__shot {
  position: absolute;
  top: 24.26%; /* 115 / 474 — explain */
  left: 6.69%; /* 43 / 643 */
  width: 86.31%; /* 555 / 643 */
  height: 50.84%; /* 241 / 474 */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 17px rgba(0, 0, 0, 0.1);
}

.feature-preview__shot-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fcfeff;
}

.feature-preview__img {
  position: absolute;
  left: 3.74%;
  top: 4.72%;
  width: 90.77%;
  height: 88.73%;
  max-width: none;
  object-fit: fill;
  display: block;
}

/* Figma 4714:5301 — Solve problems */
.feature-preview[data-active-tab="solve"] .feature-preview__shot {
  top: 26.79%; /* 127 / 474 */
  left: 6.69%; /* 43 / 643 */
  width: 86.31%; /* 555 / 643 */
  height: 45.36%; /* 215 / 474 */
  border-radius: 21px;
}

.feature-preview[data-active-tab="solve"] .feature-preview__img {
  left: 5.79%;
  top: 6.93%;
  width: 86.57%;
  height: 86.49%;
}

/* Figma 4714:5312 — Interactive visualisations */
.feature-preview[data-active-tab="visual"] .feature-preview__shot {
  top: 18.99%; /* 90 / 474 */
  left: 7.47%; /* 48 / 643 */
  width: 84.76%; /* 545 / 643 */
  height: 61.6%; /* 292 / 474 */
  border-radius: 21px;
}

.feature-preview[data-active-tab="visual"] .feature-preview__img {
  left: -3.38%;
  top: -6.24%;
  width: 105.21%;
  height: 108.88%;
}

/* Figma 4714:5316 — Watch a lesson */
.feature-preview[data-active-tab="watch"] .feature-preview__shot {
  top: 18.99%; /* 90 / 474 */
  left: 7.47%; /* 48 / 643 */
  width: 84.76%; /* 545 / 643 */
  height: 61.6%; /* 292 / 474 */
  border-radius: 21px;
}

.feature-preview[data-active-tab="watch"] .feature-preview__img {
  left: -9.36%;
  top: -11.09%;
  width: 116.15%;
  height: 115.77%;
}

.steps {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 40px var(--gutter) 120px;
  overflow: visible;
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

/* Figma group96 emerald glow — sits behind steps and bleeds toward FAQ */
.steps__glow {
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(2411px, 280%);
  height: 504px;
  transform: translate(-50%, -20%);
  pointer-events: none;
  z-index: 0;
}

.steps__glow img {
  width: 3173px;
  height: 1266px;
  max-width: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.steps__intro,
.steps__grid {
  position: relative;
  z-index: 1;
}

.steps__grid {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 28px 35px;
}

.step-card__num {
  font-size: 39px;
  font-weight: 700;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 9px;
}

.step-card p:last-child {
  font-size: 16px;
  line-height: 1.45;
  color: var(--gray-500);
}

.faq {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 40px var(--gutter) 100px;
  display: flex;
  gap: 36px;
  align-items: flex-start;
  justify-content: center;
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

.faq h2 {
  width: 416px;
  flex-shrink: 0;
  min-height: 292px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 39px;
  font-weight: 500;
  line-height: 1.25;
  color: #030712;
}

.faq__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 628px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 22px 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-800);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary img {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-500);
}

.site-footer {
  background: var(--indigo-50);
  border-radius: 40px 40px 0 0;
  min-height: 201px;
  display: flex;
  align-items: center;
}

.site-footer__inner {
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 48px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand--footer img {
  width: 278px;
  height: 44px;
  object-fit: cover;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
  color: var(--gray-900);
  white-space: nowrap;
}

.site-footer__signin {
  font-weight: 500;
  color: var(--indigo-950);
}

@media (max-width: 1200px) {
  :root {
    --gutter: 64px;
  }

  .glow--left {
    left: -160px;
  }

  .glow--right {
    left: auto;
    right: -140px;
  }

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

  .feature-tabs {
    height: auto;
  }

  .feature-tab,
  .feature-tab.is-active {
    flex: none;
    min-height: 0;
    padding: 24px;
  }

  .feature-tab__title,
  .feature-tab__desc {
    position: static;
    left: auto;
    right: auto;
    top: auto;
  }

  .feature-tab__title {
    white-space: normal;
  }

  .feature-tab__desc {
    display: block;
    margin-top: 10px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
  }

  .feature-tab.is-active .feature-tab__desc {
    opacity: 1;
    max-height: 120px;
  }

  .feature-preview {
    aspect-ratio: 643 / 474;
    min-height: 280px;
  }

  .feature-preview__shot {
    border-radius: 12px;
  }

  .faq {
    flex-direction: column;
    align-items: stretch;
  }

  .faq h2 {
    width: 100%;
    min-height: 0;
  }

  .faq__list {
    max-width: none;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 20px;
  }

  .site-header {
    height: 64px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.06);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .site-nav .btn {
    margin-top: 12px;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand img {
    width: min(180px, 58vw);
    height: 28px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 48px;
    gap: 36px;
  }

  .hero__copy {
    gap: 20px;
    width: 100%;
  }

  .hero__copy h1 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.2;
  }

  .hero__copy p {
    font-size: 15px;
    line-height: 1.55;
  }

  /* Keep dashboard readable: frame grows with card, soft bottom peek */
  .hero__preview-frame {
    aspect-ratio: auto;
    min-height: 0;
    display: flex;
    align-items: stretch;
    padding: 14px 12px 0;
  }

  .hero__preview-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0;
    padding: 8px;
    border-radius: 14px;
    /* intentional peek — bottom edge soft-clips into frame */
    margin-bottom: -18%;
  }

  .hero__preview-dashboard,
  .hero__preview-dashboard img {
    border-radius: 10px;
  }

  .features {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .features__intro,
  .steps__intro {
    gap: 16px;
    margin-bottom: 24px;
  }

  .features__intro h2,
  .steps__intro h2,
  .faq h2 {
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.25;
  }

  .features__intro p,
  .steps__intro p {
    font-size: 15px;
    line-height: 1.5;
  }

  .feature-tab,
  .feature-tab.is-active {
    padding: 20px;
    border-radius: 18px;
  }

  .feature-tab__title {
    font-size: 17px;
    gap: 8px;
  }

  .feature-tab__title img {
    width: 24px;
    height: 24px;
  }

  .feature-tab__desc {
    font-size: 14px;
    line-height: 1.45;
  }

  .feature-preview {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }

  .feature-preview__shot {
    top: 18%;
    left: 5%;
    width: 90%;
    height: 58%;
    border-radius: 12px;
  }

  .steps {
    padding-top: 24px;
    padding-bottom: 64px;
  }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-card {
    padding: 24px 22px 28px;
  }

  .step-card__num {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .faq {
    padding-top: 24px;
    padding-bottom: 64px;
    gap: 24px;
  }

  .faq h2 {
    text-align: left;
    justify-content: flex-start;
    font-size: clamp(26px, 7vw, 30px);
  }

  .faq-item summary {
    min-height: 56px;
    padding: 18px 16px;
    font-size: 15px;
    gap: 12px;
  }

  .faq-item p {
    padding: 0 16px 18px;
    font-size: 14px;
  }

  .site-footer {
    border-radius: 28px 28px 0 0;
    min-height: 0;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 36px;
    padding-bottom: 36px;
    gap: 20px;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .brand--footer img {
    width: min(200px, 70vw);
    height: auto;
  }

  .steps__glow,
  .glow {
    display: none;
  }

  .steps {
    background: radial-gradient(
      ellipse 90% 70% at 50% 55%,
      rgba(110, 231, 183, 0.28) 0%,
      rgba(236, 253, 245, 0.45) 40%,
      rgba(255, 255, 255, 0) 75%
    );
  }
}

@media (max-width: 400px) {
  :root {
    --gutter: 16px;
  }

  .hero__copy h1 {
    font-size: 26px;
  }

  .feature-tab__title {
    font-size: 16px;
  }

  .hero__preview-frame {
    padding: 10px 8px 0;
  }

  .hero__preview-card {
    padding: 6px;
    border-radius: 12px;
    margin-bottom: -22%;
  }
}

/* —— About / Contact pages —— */
.page--simple {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page--simple .glow--page {
  top: 280px;
}

.page-main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 64px var(--gutter) 80px;
}

.page-content {
  width: min(100%, 640px);
}

.page-content h1 {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
}

.page-content > p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
}

.page-content__cta {
  margin-top: 24px !important;
}

.contact-form {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  max-width: 512px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--indigo-200);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.contact-form__submit {
  width: 100%;
  margin-top: 4px;
}

.contact-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.contact-form__status {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gray-500);
}

.contact-form__status.is-success {
  color: #047857;
}

.contact-form__status.is-error {
  color: #b91c1c;
}

.site-nav a[aria-current="page"] {
  font-weight: 600;
}

@media (max-width: 860px) {
  .page-main {
    padding: 40px var(--gutter) 56px;
  }

  .page-content h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .page--simple .glow {
    display: none;
  }

  .page--simple {
    background: radial-gradient(
        ellipse 70% 50% at 10% 20%,
        rgba(251, 207, 232, 0.35) 0%,
        transparent 60%
      ),
      radial-gradient(
        ellipse 60% 45% at 80% 70%,
        rgba(167, 243, 208, 0.28) 0%,
        transparent 65%
      );
  }
}
