:root {
  color-scheme: light;
  --brand: #3f5fe9;
  --brand-strong: #2f4fdc;
  --brand-deep: #17317b;
  --ink: #0b1229;
  --ink-soft: #25304a;
  --muted: #5f6b85;
  --canvas: #fbfcff;
  --surface: #ffffff;
  --wash: #eff4ff;
  --wash-strong: #e5edff;
  --line: #dbe4f5;
  --line-strong: #c8d6f1;
  --success: #138b6a;
  --radius-sm: 12px;
  --radius-card: 16px;
  --radius-panel: 24px;
  --shadow-soft: 0 18px 60px rgba(35, 63, 132, 0.1);
  --shadow-card: 0 10px 34px rgba(39, 65, 128, 0.08);
  --container: 1200px;
  --header-h: 72px;
  --section-space: clamp(48px, 4.2vw, 68px);
  --fs-body: clamp(16px, 15.4px + 0.14vw, 18px);
  --fs-lead: clamp(18px, 17px + 0.38vw, 22px);
  --fs-h3: clamp(21px, 19px + 0.5vw, 26px);
  --fs-h2: clamp(32px, 27px + 1.4vw, 44px);
  --fs-h1: clamp(40px, 25px + 4.1vw, 72px);
  --z-base: 0;
  --z-raised: 10;
  --z-sticky: 100;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  padding-block-start: calc(var(--header-h) + 1px);
  background: var(--canvas);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: var(--fs-body);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
p,
h1,
h2,
h3,
h4,
li,
figcaption,
a {
  overflow-wrap: anywhere;
}
ul,
ol {
  padding: 0;
}

:target,
[id]:not(body) {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

:focus-visible {
  outline: 3px solid rgba(77, 107, 254, 0.45);
  outline-offset: 4px;
  border-radius: 6px;
}

::selection {
  color: #fff;
  background: var(--brand);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  min-width: 0;
}

.skip-link {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: var(--z-sticky);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  z-index: var(--z-sticky);
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(219, 228, 245, 0.84);
  background: rgba(251, 252, 255, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding-inline: max(0px, env(safe-area-inset-left))
    max(0px, env(safe-area-inset-right));
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand__mark {
  width: 32px;
  flex: 0 0 32px;
}

.desktop-nav {
  display: none;
}
.desktop-nav a,
.footer__nav a,
.footer__actions > a:not(.button) {
  transition: color 180ms var(--ease);
}
.desktop-nav a:hover,
.footer__nav a:hover,
.footer__actions > a:not(.button):hover {
  color: var(--brand);
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
.header__actions .button {
  width: 108px;
  min-height: 44px;
  height: 44px;
  flex: 0 0 108px;
  padding-inline: 6px;
  font-size: 13px;
  font-weight: 720;
  line-height: 1;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

@media (max-width: 389px) {
  .site-header .brand {
    width: 44px;
    flex: 0 0 44px;
    justify-content: center;
  }
  .site-header .brand > span {
    display: none;
  }
}

.button {
  min-height: 48px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(77, 107, 254, 0.18);
  transition:
    transform 180ms var(--ease),
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}
.button:hover {
  transform: translateY(-2px);
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  box-shadow: 0 14px 30px rgba(77, 107, 254, 0.24);
}
.button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(77, 107, 254, 0.18);
}
.button:focus-visible {
  outline: 3px solid rgba(63, 95, 233, 0.42);
  outline-offset: 3px;
}
.button[disabled],
.button[aria-disabled="true"] {
  opacity: 0.46;
  pointer-events: none;
  box-shadow: none;
  cursor: not-allowed;
}
.button.is-loading,
.button[aria-busy="true"] {
  position: relative;
  color: transparent;
  pointer-events: none;
  cursor: wait;
}
.button.is-loading::after,
.button[aria-busy="true"]::after {
  content: "";
  position: absolute;
  width: 18px;
  aspect-ratio: 1;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  color: #fff;
  animation: button-spin 720ms linear infinite;
}
@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}
.button--small {
  min-height: 44px;
  padding: 9px 13px;
  font-size: 14px;
}
.button--secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: none;
}
.button--secondary:hover {
  background: var(--wash);
  border-color: var(--brand);
  color: var(--brand-deep);
  box-shadow: none;
}
.button--white {
  background: #fff;
  color: var(--brand-deep);
  border-color: #fff;
  box-shadow: 0 16px 34px rgba(12, 31, 89, 0.2);
}
.button--white:hover {
  background: var(--wash);
  border-color: var(--wash);
  color: var(--brand-deep);
}
.button__icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.hero {
  position: relative;
  padding-block: clamp(32px, 4vw, 56px) clamp(40px, 4.5vw, 60px);
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  width: min(62vw, 850px);
  aspect-ratio: 1;
  inset: -35% -18% auto auto;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(77, 107, 254, 0.13),
    rgba(77, 107, 254, 0) 68%
  );
  pointer-events: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-block-end: 20px;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumbs a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-deep);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.hero__grid > * {
  min-width: 0;
}
.hero__copy {
  position: relative;
  z-index: var(--z-raised);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(77, 107, 254, 0.2);
  border-radius: 999px;
  background: rgba(239, 244, 255, 0.86);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.eyebrow--light {
  color: #dfe6ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

h1,
h2,
h3 {
  text-wrap: balance;
  letter-spacing: -0.045em;
}
h1 {
  max-width: 13ch;
  margin-block-start: 16px;
  font-size: var(--fs-h1);
  line-height: 0.99;
  font-weight: 790;
}
.hero--home h1 {
  margin-block-start: 0;
}
h2 {
  max-width: 17ch;
  font-size: var(--fs-h2);
  line-height: 1.08;
  font-weight: 770;
}
h3 {
  font-size: var(--fs-h3);
  line-height: 1.18;
  font-weight: 730;
}

.hero__lead {
  max-width: 59ch;
  margin-block-start: 18px;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 22px;
}
.hero__note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-block-start: 14px;
  color: var(--muted);
  font-size: 14px;
}
.hero__note span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(19, 139, 106, 0.1);
}
.hero__visual {
  position: relative;
  min-width: 0;
}

.hero-image {
  position: relative;
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2.5vw, 28px);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: rotate(1.25deg);
}
.hero-image img {
  width: 100%;
  aspect-ratio: 1402 / 1122;
  object-fit: cover;
}
.hero-image figcaption {
  position: absolute;
  inset: auto 10px 10px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
}

.product-visual {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: linear-gradient(145deg, #f8faff, #e8efff);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}
.visual-spark {
  position: absolute;
  width: 130px;
  inset: 0 0 auto auto;
  color: rgba(77, 107, 254, 0.14);
  z-index: -1;
}

.deck-card,
.outline-card,
.prompt-card,
.editor-card,
.lyric-card,
.timeline,
.video-screen {
  position: absolute;
  border: 1px solid rgba(169, 188, 227, 0.68);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}
.deck-card {
  border-radius: 18px;
}
.deck-card--back {
  inset: 50px 26px auto 80px;
  min-height: 225px;
  padding: 22px;
  transform: rotate(5deg);
  color: var(--muted);
}
.deck-card--main {
  inset: 88px 52px 48px 18px;
  padding: 28px 24px;
}
.deck-kicker {
  color: var(--brand);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.deck-card strong {
  display: block;
  max-width: 13ch;
  margin-block-start: 12px;
  font-size: 30px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.deck-lines {
  display: grid;
  gap: 8px;
  margin-block-start: 30px;
}
.deck-lines i {
  display: block;
  width: 70%;
  height: 5px;
  border-radius: 5px;
  background: #dfe7f7;
}
.deck-lines i:nth-child(2) {
  width: 54%;
}
.deck-count {
  position: absolute;
  inset: auto 20px 18px auto;
  color: var(--muted);
  font-size: 12px;
}
.outline-card {
  inset: auto 10px 16px auto;
  width: 160px;
  display: grid;
  gap: 7px;
  padding: 16px;
  border-radius: 14px;
  transform: rotate(-2deg);
}
.outline-card b {
  margin-block-end: 5px;
}
.outline-card span {
  padding-block: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.photo-frame {
  position: absolute;
  inset: 30px 30px 82px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #dbe6ff 0 44%,
    #a8bdf2 44% 64%,
    #506fd1 64%
  );
  box-shadow: var(--shadow-card);
}
.photo-frame::before {
  content: "";
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  inset: auto -18% -49% auto;
  border-radius: 48% 52% 0 0;
  background: #203c92;
}
.photo-frame::after {
  content: "";
  position: absolute;
  width: 68%;
  aspect-ratio: 1.4;
  inset: auto auto -29% -12%;
  border-radius: 50% 55% 0 0;
  background: #7894df;
}
.photo-sun {
  position: absolute;
  width: 58px;
  aspect-ratio: 1;
  inset: 46px 52px auto auto;
  border-radius: 50%;
  background: #fff8d6;
  box-shadow: 0 0 45px rgba(255, 245, 185, 0.72);
}
.photo-object {
  position: absolute;
  z-index: var(--z-raised);
  width: 40%;
  aspect-ratio: 0.8;
  inset: auto 8% 0 auto;
  border-radius: 42% 42% 12% 12%;
  background: linear-gradient(180deg, #f5f8ff, #b5c6ec);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.16);
}
.photo-frame > span {
  position: absolute;
  z-index: var(--z-raised);
  inset: 26px auto auto 24px;
  width: 120px;
  color: #203c92;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}
.prompt-card {
  inset: auto 18px 18px 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
}
.prompt-card b {
  width: 100%;
  font-size: 13px;
}
.prompt-card span {
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--wash);
  color: var(--brand-deep);
  font-size: 11px;
}

.editor-card {
  inset: 34px 22px;
  padding: 24px;
  border-radius: 18px;
}
.editor-top {
  display: flex;
  gap: 6px;
  margin-block-end: 32px;
}
.editor-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}
.editor-card > b {
  font-size: 20px;
}
.editor-card p {
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.text-old {
  margin-block-start: 18px;
  background: #f7f8fb;
  color: #8a94a9;
  text-decoration: line-through;
  text-decoration-color: #c1c8d6;
}
.text-new {
  background: #eef3ff;
  color: var(--brand-deep);
}
.edit-arrow {
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 8px auto;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.edit-arrow .icon {
  width: 18px;
}
.editor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 16px;
}
.editor-meta span {
  padding: 5px 8px;
  border-radius: 7px;
  background: #e7f8f2;
  color: #11795d;
  font-size: 11px;
  font-weight: 720;
}

.product-visual--songs {
  background: linear-gradient(145deg, #f4f6ff, #e8edff 54%, #dbe4ff);
}
.lyric-card {
  padding: 20px;
  border-radius: 16px;
}
.lyric-card small {
  color: var(--brand);
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lyric-card p,
.lyric-card strong {
  display: block;
  margin-block-start: 15px;
  line-height: 1.5;
}
.lyric-card--one {
  inset: 38px 78px auto 22px;
  transform: rotate(-3deg);
}
.lyric-card--two {
  inset: 166px 22px 34px 70px;
  transform: rotate(2deg);
}
.lyric-card--two strong {
  font-size: 25px;
  line-height: 1.2;
}
.wave {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 52px;
  margin-block-start: 15px;
}
.wave i {
  width: 6px;
  height: 18px;
  border-radius: 6px;
  background: var(--brand);
}
.wave i:nth-child(2),
.wave i:nth-child(5) {
  height: 34px;
}
.wave i:nth-child(3) {
  height: 46px;
}
.song-chip {
  position: absolute;
  inset: auto auto 14px 18px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 11px;
}

.video-screen {
  inset: 28px 28px 150px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #233d96, #4d6bfe);
  color: #fff;
}
.video-screen::before {
  content: "";
  position: absolute;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.video-screen .play {
  position: relative;
  width: 64px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
}
.video-screen > span {
  position: absolute;
  inset: auto 15px 12px auto;
  font-size: 11px;
  opacity: 0.82;
}
.timeline {
  inset: auto 18px 22px;
  padding: 18px 14px 14px;
  border-radius: 14px;
}
.timeline-track {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 1.5fr 0.7fr;
  gap: 4px;
}
.timeline-track i {
  height: 38px;
  border-radius: 6px;
  background: #cfdbfb;
}
.timeline-track i:nth-child(2) {
  background: #9eb3ee;
}
.timeline-track i:nth-child(3) {
  background: var(--brand);
}
.timeline-track i:nth-child(4) {
  background: var(--brand-deep);
}
.timeline-labels {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 1.5fr 0.7fr;
  gap: 4px;
  margin-block-start: 7px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.section {
  padding-block: var(--section-space);
}
.section--compact {
  padding-block-start: clamp(40px, 3.8vw, 56px);
}
.section--wash {
  background: var(--wash);
  border-block: 1px solid rgba(200, 214, 241, 0.55);
}
.section--ink {
  background: var(--ink);
  color: #fff;
}
.section--demo {
  overflow: clip;
}

.section-heading {
  max-width: 760px;
  margin-block-end: clamp(28px, 3vw, 42px);
}
.section-heading h2 {
  margin-block-start: 14px;
}
.section-heading > p {
  max-width: 62ch;
  margin-block-start: 14px;
  color: var(--muted);
}
.section-heading--center {
  margin-inline: auto;
  text-align: center;
}
.section-heading--center h2 {
  margin-inline: auto;
}
.section-heading--center .eyebrow {
  justify-self: center;
}
.section--ink .section-heading > p {
  color: #aeb9d4;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}
.card-grid > * {
  min-width: 0;
}
.feature-card {
  min-height: 196px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  transition:
    transform 200ms var(--ease),
    border-color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: #b6c7f0;
  box-shadow: var(--shadow-card);
}
.icon-box {
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--wash);
  color: var(--brand);
}
.feature-card h3 {
  margin-block-start: 26px;
}
.feature-card p {
  margin-block-start: 10px;
  color: var(--muted);
  font-size: 15px;
}

.process-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.steps-list {
  display: grid;
  gap: 12px;
  list-style: none;
}
.step-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.82);
}
.step-card > * {
  min-width: 0;
}
.step-card__num {
  width: 44px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 780;
}
.step-card p {
  margin-block-start: 8px;
  color: var(--muted);
  font-size: 15px;
}

.demo-shell {
  position: relative;
  max-width: 1050px;
  margin-inline: auto;
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: linear-gradient(145deg, #f8faff, #edf2ff);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.demo-shell__spark {
  position: absolute;
  width: 180px;
  inset: 0 0 auto auto;
  color: rgba(77, 107, 254, 0.09);
}
.prompt-bubble {
  position: relative;
  z-index: var(--z-raised);
  max-width: 610px;
  margin-inline-start: auto;
  padding: 14px 16px;
  border-radius: 16px 16px 4px 16px;
  background: var(--brand);
  color: #fff;
}
.prompt-bubble span {
  display: block;
  margin-block-end: 5px;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}
.prompt-bubble p {
  line-height: 1.45;
}
.result-panel {
  position: relative;
  z-index: var(--z-raised);
  margin-block-start: 16px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.result-panel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding-block-end: 16px;
  border-bottom: 1px solid var(--line);
}
.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--brand);
  transform: rotate(45deg);
}
.result-badge {
  margin-inline-start: auto;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--wash);
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 700;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 10px;
  margin-block-start: 16px;
}
.result-grid article {
  --step-color: #3f5fe9;
  --step-tint: #eef2ff;
  min-width: 0;
  padding: 15px;
  border: 1px solid color-mix(in srgb, var(--step-color) 28%, white);
  border-top: 4px solid var(--step-color);
  border-radius: 13px;
  background: linear-gradient(145deg, #fff 28%, var(--step-tint));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--step-color) 10%, transparent);
}
.result-grid article:nth-child(2) {
  --step-color: #7556e8;
  --step-tint: #f2efff;
}
.result-grid article:nth-child(3) {
  --step-color: #1689bb;
  --step-tint: #eaf8ff;
}
.result-grid article:nth-child(4) {
  --step-color: #168b68;
  --step-tint: #eaf9f3;
}
.result-grid article > span {
  color: var(--step-color);
  font-size: 12px;
  font-weight: 760;
}
.result-grid h3 {
  margin-block-start: 10px;
  font-size: 18px;
}
.result-grid p {
  margin-block-start: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tabs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.tabs {
  min-width: 0;
}
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-block-end: 14px;
}
.tabs__list button {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #35415f;
  border-radius: 10px;
  background: #151e35;
  color: #bac4dd;
  font-size: 14px;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}
.tabs__list button:hover {
  color: #fff;
  border-color: #657396;
}
.tabs__list button[aria-selected="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.tab-panel {
  min-height: 240px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #29344f;
  border-radius: var(--radius-panel);
  background: #121b31;
}
.tab-panel[hidden] {
  display: none;
}
.tab-panel > span {
  color: #8ea3ff;
  font-size: 13px;
  font-weight: 760;
}
.tab-panel h3 {
  max-width: 18ch;
  margin-block-start: 24px;
  font-size: clamp(28px, 3vw, 42px);
}
.tab-panel p {
  max-width: 48ch;
  margin-block-start: 14px;
  color: #b5c0da;
  font-size: var(--fs-lead);
}
.tab-panel a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-start: 20px;
  color: #dfe6ff;
  font-weight: 700;
}
.tab-panel .button--tab {
  min-height: 48px;
  padding: 12px 18px;
  border-color: #fff;
  border-radius: 12px;
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.tab-panel .button--tab:hover {
  border-color: var(--wash);
  background: var(--wash);
  color: var(--brand-deep);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}
.tab-panel a .icon {
  width: 18px;
  transition: transform 180ms var(--ease);
}
.tab-panel a:hover .icon {
  transform: translateX(4px);
}

.section--pain {
  position: relative;
  border-block: 1px solid #dbe4fb;
  background:
    radial-gradient(circle at 8% 18%, rgba(63, 95, 233, 0.12), transparent 28%),
    radial-gradient(
      circle at 90% 84%,
      rgba(22, 139, 104, 0.1),
      transparent 26%
    ),
    #f7f9ff;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 16px;
}
.pain-card {
  --pain-color: #3f5fe9;
  --pain-tint: #edf2ff;
  min-width: 0;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--pain-color) 27%, white);
  border-top: 4px solid var(--pain-color);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, #fff 24%, var(--pain-tint));
  box-shadow: 0 12px 30px color-mix(in srgb, var(--pain-color) 9%, transparent);
}
.pain-card:nth-child(2) {
  --pain-color: #7556e8;
  --pain-tint: #f2efff;
}
.pain-card:nth-child(3) {
  --pain-color: #d16b2f;
  --pain-tint: #fff3e9;
}
.pain-card > span {
  color: var(--pain-color);
  font-size: 12px;
  font-weight: 780;
}
.pain-card h3 {
  margin-block-start: 18px;
}
.pain-card p {
  margin-block-start: 11px;
  color: var(--muted);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 12px;
}
.related-card {
  --related-color: #3f5fe9;
  --related-tint: #edf2ff;
  min-width: 0;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--related-color) 24%, white);
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, #fff 28%, var(--related-tint));
  box-shadow: 0 10px 26px
    color-mix(in srgb, var(--related-color) 8%, transparent);
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease);
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--related-color);
}
.related-card:nth-child(2) {
  --related-color: #7556e8;
  --related-tint: #f3efff;
}
.related-card:nth-child(3) {
  --related-color: #1689bb;
  --related-tint: #e9f8ff;
}
.related-card:nth-child(4) {
  --related-color: #168b68;
  --related-tint: #eaf9f3;
}
.related-card:nth-child(5) {
  --related-color: #d16b2f;
  --related-tint: #fff3e9;
}
.related-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.related-card__icon {
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 11px;
  background: var(--related-color);
  color: #fff;
  box-shadow: 0 8px 18px
    color-mix(in srgb, var(--related-color) 24%, transparent);
}
.related-card__icon .icon {
  width: 20px;
  height: 20px;
}
.related-card__label {
  color: var(--related-color);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.related-card > strong {
  margin-block-start: 14px;
  font-size: 18px;
  line-height: 1.28;
}
.related-card__action {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-block-start: auto;
  padding-block-start: 12px;
  color: var(--related-color);
  font-size: 13px;
  font-weight: 720;
}
.related-card__arrow {
  width: 17px;
  height: 17px;
  transition: transform 180ms var(--ease);
}
.related-card:hover .related-card__arrow {
  transform: translateX(3px);
}

.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  overflow: clip;
}
.faq-item summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary svg {
  width: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms var(--ease);
}
.faq-item[open] summary svg {
  transform: rotate(180deg);
}
.faq-item > div {
  padding: 0 16px 16px;
}
.faq-item p {
  color: var(--muted);
}

.final-cta {
  padding-block-start: 0;
  padding-block-end: clamp(28px, 3vw, 40px);
}
.final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: clamp(26px, 3.8vw, 42px);
  border-radius: var(--radius-panel);
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #fff;
  overflow: hidden;
}
.final-cta h2 {
  margin-block-start: 18px;
}
.final-cta p {
  max-width: 54ch;
  margin-block-start: 14px;
  color: #dfe6ff;
}
.final-cta .button {
  justify-self: start;
}

.site-footer {
  padding-block: 22px max(18px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.footer__brand p {
  max-width: 34ch;
  margin-block-start: 10px;
  color: var(--muted);
  font-size: 14px;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.footer__nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 14px;
}
.footer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.footer__actions > a:not(.button) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 650;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-block-start: 12px;
  padding-block-start: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.not-found {
  min-height: 70vh;
  display: grid;
  align-items: center;
  padding-block: 80px;
  text-align: center;
}
.not-found h1 {
  max-width: none;
  margin-inline: auto;
}
.not-found p {
  max-width: 52ch;
  margin: 20px auto 28px;
  color: var(--muted);
}

.js.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 420ms var(--ease),
    transform 420ms var(--ease);
}
.js.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 390px) {
  .container {
    width: min(100% - 40px, var(--container));
  }
  .button--small {
    padding-inline: 16px;
  }
  .brand {
    gap: 10px;
    font-size: 18px;
  }
  .brand__mark {
    width: 34px;
    flex-basis: 34px;
  }
  .product-visual {
    min-height: 470px;
  }
  .deck-card--main {
    inset-inline-start: 26px;
  }
}

@media (min-width: 430px) {
  .hero__actions .button {
    padding-inline: 24px;
  }
  .product-visual {
    min-height: 500px;
  }
  .editor-card {
    inset: 42px;
  }
  .feature-card {
    min-height: 210px;
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 78px;
  }
  .container {
    width: min(100% - 64px, var(--container));
  }
  .header__inner {
    min-height: var(--header-h);
  }
  .brand__mark {
    width: 36px;
    flex-basis: 36px;
  }
  .button--small {
    font-size: 15px;
  }
  .button--small {
    min-height: 44px;
    padding-inline: 20px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(38px, 5vw, 70px);
  }
  .hero--home .hero__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  }
  .hero-image {
    margin-inline-end: -24px;
  }
  .product-visual {
    min-height: 520px;
  }
  .process-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(50px, 7vw, 100px);
  }
  .section-heading--sticky {
    position: sticky;
    inset-block-start: calc(var(--header-h) + 30px);
  }
  .tabs-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(50px, 7vw, 100px);
  }
  .tab-panel {
    min-height: 290px;
  }
  .final-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .final-cta .button {
    justify-self: end;
  }
  .footer__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 84px;
  }
  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
  }
  .desktop-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 620;
  }
  .header__actions {
    gap: 10px;
  }
  .hero {
    padding-block-start: clamp(48px, 4.5vw, 64px);
  }
  .hero__grid {
    gap: clamp(60px, 6.4vw, 92px);
  }
  .hero-image {
    margin-inline-end: -60px;
  }
  .product-visual {
    min-height: 560px;
  }
  .card-grid--features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  body[data-page="home"] .card-grid--features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .container {
    width: min(100% - 80px, var(--container));
  }
  .hero-image {
    margin-inline-end: -76px;
  }
  .product-visual {
    margin-inline-end: -38px;
  }
}

@media (min-width: 1440px) {
  .hero-image {
    margin-inline-end: -96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js.reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
