/* ============================================================
   REACTION CREATOR — PREMIUM HOMEPAGE V2

   This stylesheet belongs only to index.html.
   Secondary pages can continue using assets/css/styles.css.
============================================================ */

:root {
  --purple: #7642f3;
  --purple-bright: #8a5bff;
  --purple-deep: #5421c4;
  --plum: #21133f;
  --plum-soft: #31205a;
  --lavender: #f1ecff;
  --lavender-light: #faf8ff;
  --mint: #d9faf4;
  --ink: #211a3d;
  --ink-soft: #554d6c;
  --muted: #777087;
  --line: rgba(68, 43, 124, 0.13);
  --white: #ffffff;
  --page-width: 1240px;
  --shadow-large: 0 38px 100px rgba(59, 33, 119, 0.17);
  --shadow-soft: 0 22px 64px rgba(59, 33, 119, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.055em;
}

p {
  color: var(--muted);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(118, 66, 243, 0.42);
  outline-offset: 4px;
}

.shell {
  width: min(100% - 56px, var(--page-width));
  margin-inline: auto;
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 300;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

#workflow,
#features,
#editor,
#download {
  scroll-margin-top: 90px;
}

.section-label,
.card-label,
.eyebrow {
  color: var(--purple-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-label--light {
  color: #d7c8ff;
}

.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-style: normal;
  font-weight: 500;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.product-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep));
  color: var(--white);
  box-shadow: 0 18px 38px rgba(90, 34, 207, 0.25);
}

.button--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(64, 40, 118, 0.08);
}

.button--white {
  background: var(--white);
  color: var(--purple-deep);
  box-shadow: 0 18px 42px rgba(30, 13, 69, 0.2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--purple-deep);
  font-size: 14px;
  font-weight: 850;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

/* ============================================================
   HEADER
============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(64, 39, 120, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.nav {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}

.brand__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  border: 1px solid rgba(118, 66, 243, 0.15);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(72, 42, 151, 0.12);
}

.brand__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__text strong {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.brand__text small {
  margin-top: 5px;
  color: #8b849c;
  font-size: 10px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #5d576f;
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--lavender-light);
  color: var(--purple-deep);
  transform: translateY(-1px);
}

.nav-menu .nav-menu__cta {
  min-height: 44px;
  margin-left: 8px;
  padding-inline: 19px;
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(33, 19, 63, 0.18);
}

.nav-menu .nav-menu__cta:hover,
.nav-menu .nav-menu__cta:focus-visible {
  background: var(--purple-deep);
  color: var(--white);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(53, 34, 103, 0.1);
  cursor: pointer;
}

.nav-toggle > span:first-child,
.nav-toggle > span:first-child::before,
.nav-toggle > span:first-child::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.nav-toggle > span:first-child {
  position: relative;
}

.nav-toggle > span:first-child::before {
  position: absolute;
  transform: translateY(-6px);
}

.nav-toggle > span:first-child::after {
  position: absolute;
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] > span:first-child {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] > span:first-child::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:first-child::after {
  transform: rotate(-45deg);
}

/* ============================================================
   HERO
============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 28px;
  background:
    radial-gradient(circle at 10% 8%, rgba(203, 185, 255, 0.42), transparent 31%),
    radial-gradient(circle at 90% 36%, rgba(188, 247, 239, 0.55), transparent 30%),
    linear-gradient(180deg, #fbf9ff, #ffffff);
}

.hero__orb {
  position: absolute;
  border: 1px solid rgba(118, 66, 243, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero__orb--one {
  width: 520px;
  height: 520px;
  left: -380px;
  bottom: -190px;
}

.hero__orb--two {
  width: 270px;
  height: 270px;
  right: -180px;
  top: 80px;
}

.hero__grid {
  min-height: 730px;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 6vw, 90px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 9px 13px;
  border: 1px solid rgba(118, 66, 243, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 32px rgba(65, 39, 125, 0.08);
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b5cff;
  box-shadow: 0 0 0 5px rgba(139, 92, 255, 0.12);
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(68px, 7.2vw, 104px);
  line-height: 0.86;
}

.hero h1 em {
  display: block;
  color: var(--purple);
  font-style: normal;
}

.hero__description {
  max-width: 530px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.platform-note {
  margin: 17px 0 0 7px;
  color: #8a8499;
  font-size: 12px;
  font-weight: 750;
}

.product-visual--hero {
  z-index: 1;
  aspect-ratio: 4 / 5;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-large);
  transform: rotate(1.4deg) scale(1.03);
}

.product-visual--hero img {
  border-radius: 39px;
}

.format-rail {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.format-rail > p {
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.format-rail ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.format-rail li {
  padding: 10px 8px;
  border-radius: 12px;
  background: var(--lavender-light);
  color: var(--purple-deep);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

/* ============================================================
   THREE-STEP WORKFLOW
============================================================ */

.workflow-overview {
  padding: 100px 0;
  background: var(--white);
}

.workflow-overview__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(600px, 1.32fr);
  align-items: center;
  column-gap: clamp(50px, 7vw, 96px);
  row-gap: 14px;
}

.workflow-overview__heading {
  grid-row: 1 / 3;
}

.workflow-overview__heading h2 {
  max-width: 460px;
  margin-bottom: 0;
  font-size: clamp(54px, 5.6vw, 78px);
  line-height: 0.94;
}

.workflow-overview__heading h2 span {
  display: block;
  color: var(--purple);
}

.workflow-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(250, 248, 255, 0.96), rgba(239, 250, 248, 0.7));
  box-shadow: 0 24px 70px rgba(59, 33, 119, 0.1);
  list-style: none;
}

.workflow-cards li {
  position: relative;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 22px;
  border-left: 1px solid var(--line);
}

.workflow-cards li:first-child {
  border-left: 0;
}

.workflow-cards__number {
  position: absolute;
  right: 18px;
  top: 15px;
  color: #9b87cb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.workflow-cards__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 13px;
  background: #ece5ff;
  color: var(--purple-deep);
  font-size: 23px;
}

.workflow-cards strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -0.025em;
}

.workflow-cards p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.workflow-overview__link {
  grid-column: 2;
  width: fit-content;
  margin-top: 0;
  font-size: 12px;
}

/* ============================================================
   SHARED STAGE HEADINGS
============================================================ */

.stage-heading {
  margin-bottom: 64px;
}

.stage-shell {
  position: relative;
}

.stage-number {
  position: absolute;
  right: 0;
  top: 0;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(84, 33, 196, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.stage-number--light {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: #e8ddff;
}

.stage-heading h2 {
  margin-bottom: 0;
  font-size: clamp(58px, 6vw, 84px);
  line-height: 0.94;
}

.stage-heading h2 span {
  display: block;
  color: var(--purple);
}

.stage-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: clamp(60px, 10vw, 150px);
}

.stage-heading--split > p {
  max-width: 470px;
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.75;
}

.stage-heading--center {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.stage-heading--center > p:last-child {
  max-width: 650px;
  margin: 26px auto 0;
  font-size: 17px;
}

/* ============================================================
   LAYOUT SPECTACLE
============================================================ */

.layout-stage {
  padding: 130px 0 140px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 10%, rgba(190, 247, 239, 0.54), transparent 26%),
    var(--lavender);
}

.product-visual--cinema {
  width: min(112%, 1380px);
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 45px 120px rgba(70, 40, 139, 0.2);
}

.product-visual--cinema img {
  border-radius: 37px;
}

/* ============================================================
   RECORDING STAGE
============================================================ */

.record-stage {
  padding: 120px 0;
  background: var(--white);
}

.record-stage__grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(330px, 0.66fr) minmax(560px, 1.34fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.record-stage__copy h2 {
  margin-bottom: 30px;
  font-size: clamp(58px, 6.2vw, 86px);
  line-height: 0.91;
}

.record-stage__copy h2 span {
  display: block;
  color: var(--purple);
}

.record-stage__copy > p:not(.section-label) {
  max-width: 500px;
  margin-bottom: 38px;
  font-size: 17px;
  line-height: 1.75;
}

.workflow-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.workflow-list li {
  min-height: 72px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.workflow-list span {
  color: var(--purple-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.workflow-list strong {
  color: var(--ink-soft);
  font-size: 15px;
}

.product-visual--record {
  width: 112%;
  aspect-ratio: 4 / 3;
  margin-right: -12%;
  border-radius: 42px;
  box-shadow: var(--shadow-large);
}

/* ============================================================
   DIRECT EXPORT MESSAGE
============================================================ */

.export-message {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 100px 0;
  background:
    radial-gradient(circle at 14% 85%, rgba(89, 227, 210, 0.18), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(151, 104, 255, 0.33), transparent 35%),
    linear-gradient(135deg, #1d1139, #3b1d78 58%, #5222a9);
}

.export-message::before,
.export-message::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.export-message::before {
  width: 560px;
  height: 560px;
  left: -360px;
  bottom: -300px;
}

.export-message::after {
  width: 400px;
  height: 400px;
  right: -260px;
  top: -210px;
}

.export-message__inner {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  text-align: center;
}

.export-message .stage-number {
  right: 0;
  top: -28px;
}

.export-message h2 {
  margin: 0 auto 30px;
  color: var(--white);
  font-size: clamp(68px, 7.6vw, 106px);
  line-height: 0.91;
}

.export-message h2 span {
  display: block;
  color: #d7fbf5;
}

.export-message__inner > p:not(.section-label) {
  max-width: 690px;
  margin: 0 auto 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.75;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  list-style: none;
}

.workflow-rail li {
  min-height: 86px;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 12px;
  padding: 14px 17px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}

.workflow-rail li:last-child {
  border-right: 0;
}

.workflow-rail small {
  grid-column: 2;
  grid-row: 1;
  color: #bea8f5;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.workflow-rail .material-symbols-rounded {
  width: 36px;
  height: 36px;
  display: grid;
  grid-column: 1;
  grid-row: 1 / 3;
  place-items: center;
  margin: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #d7fbf5;
  font-size: 21px;
}

.workflow-rail strong {
  grid-column: 2;
  grid-row: 2;
  color: var(--white);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.workflow-rail__finish {
  border: 1px solid rgba(217, 250, 244, 0.42) !important;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(118, 66, 243, 0.5), rgba(76, 220, 199, 0.18)) !important;
  box-shadow: 0 12px 30px rgba(20, 10, 46, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* ============================================================
   CUTOUT STAGE
============================================================ */

.cutout-stage {
  padding: 130px 0;
  background:
    radial-gradient(circle at 88% 80%, rgba(221, 251, 246, 0.7), transparent 25%),
    var(--white);
}

.cutout-stage__grid {
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(600px, 1.34fr) minmax(320px, 0.66fr);
  align-items: center;
  gap: clamp(65px, 8vw, 120px);
}

.product-visual--cutout {
  width: 116%;
  aspect-ratio: 4 / 3;
  margin-left: -10%;
  border-radius: 42px;
  box-shadow: var(--shadow-large);
}

.cutout-stage__copy h2 {
  margin-bottom: 28px;
  font-size: clamp(58px, 6vw, 84px);
  line-height: 0.91;
}

.cutout-stage__copy h2 span {
  display: block;
  color: var(--purple);
}

.cutout-stage__copy > p:not(.section-label) {
  max-width: 500px;
  margin-bottom: 30px;
  font-size: 17px;
  line-height: 1.75;
}

/* ============================================================
   LANDSCAPE FORMAT SPOTLIGHT
============================================================ */

.landscape-stage {
  padding: 145px 0 150px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(211, 197, 255, 0.66), transparent 28%),
    radial-gradient(circle at 88% 74%, rgba(205, 248, 244, 0.72), transparent 29%),
    linear-gradient(180deg, #fbfaff 0%, #f2edff 100%);
}

.landscape-stage__heading {
  max-width: 1020px;
  margin: 0 auto 62px;
  text-align: center;
}

.landscape-stage__heading h2 {
  margin: 0 auto 30px;
  font-size: clamp(64px, 7vw, 98px);
  line-height: 0.92;
}

.landscape-stage__heading h2 span {
  display: block;
  color: var(--purple);
}

.landscape-stage__heading > p:not(.section-label) {
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
}

.product-visual--landscape {
  width: min(112%, 1380px);
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 48px 125px rgba(67, 38, 135, 0.2);
}

.product-visual--landscape img {
  border-radius: 37px;
}

/* ============================================================
   OPTIONAL EDITOR MODE
============================================================ */

.editor-stage {
  padding: 145px 0 155px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(202, 185, 255, 0.58), transparent 27%),
    radial-gradient(circle at 88% 22%, rgba(196, 250, 242, 0.62), transparent 25%),
    linear-gradient(180deg, #f6f2ff, #eee8ff);
}

.editor-stage__heading {
  max-width: 980px;
  margin: 0 auto 70px;
  text-align: center;
}

.editor-stage__heading .section-label--light {
  color: var(--purple-deep);
}

.editor-stage__heading h2 {
  margin-bottom: 30px;
  font-size: clamp(66px, 7.2vw, 100px);
  line-height: 0.92;
}

.editor-stage__heading h2 span {
  display: block;
  color: var(--purple);
}

.editor-stage__heading > p:not(.section-label) {
  max-width: 740px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
}

.product-visual--editor {
  width: min(114%, 1410px);
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 45px 120px rgba(67, 38, 135, 0.2);
}

.product-visual--editor img {
  border-radius: 37px;
}

.editor-tools {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 42px auto 0;
  padding: 0;
  border-top: 1px solid rgba(73, 45, 136, 0.16);
  border-bottom: 1px solid rgba(73, 45, 136, 0.16);
  list-style: none;
}

.editor-tools li {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 28px;
  border-right: 1px solid rgba(73, 45, 136, 0.16);
}

.editor-tools__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 12px;
  background: rgba(118, 66, 243, 0.1);
  color: var(--purple-deep) !important;
  font-size: 21px !important;
}

.editor-tools li:last-child {
  border-right: 0;
}

.editor-tools strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 16px;
}

.editor-tools span {
  color: var(--muted);
  font-size: 14px;
}

/* ============================================================
   PROJECTS AND EXPORTS
============================================================ */

.library-stage {
  padding: 130px 0 150px;
  background: var(--white);
}

.library-composition {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 26px;
  margin-top: 60px;
}

.library-feature {
  min-width: 0;
  overflow: hidden;
  padding: 48px 48px 0;
  border-radius: 42px;
  box-shadow: var(--shadow-soft);
}

.library-feature--projects {
  background: linear-gradient(150deg, #f8f5ff, #ebe4ff);
}

.library-feature--exports {
  margin-top: 110px;
  background: linear-gradient(150deg, #effbf9, #f8f5ff);
}

.library-feature h3 {
  max-width: 500px;
  margin-bottom: 0;
  font-size: clamp(42px, 4.5vw, 62px);
  line-height: 0.96;
}

.library-feature__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 15px;
  background: rgba(118, 66, 243, 0.1);
  color: var(--purple-deep);
  font-size: 24px;
}

.product-visual--library {
  width: calc(100% + 38px);
  max-width: none;
  aspect-ratio: 4 / 3;
  margin: 46px -19px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 24px 54px rgba(54, 31, 107, 0.12);
}

/* ============================================================
   PRODUCT PRINCIPLES
============================================================ */

.principles-stage {
  padding: 150px 0;
  border-top: 1px solid var(--line);
  background: var(--lavender-light);
}

.principles-stage__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(480px, 1.12fr);
  align-items: start;
  gap: clamp(70px, 10vw, 150px);
}

.principles-stage__heading {
  position: sticky;
  top: 116px;
}

.principles-stage__heading h2 {
  max-width: 560px;
  font-size: clamp(56px, 5.8vw, 80px);
  line-height: 0.94;
}

.principles-stage__heading h2 span {
  display: block;
  color: var(--purple);
}

.principles-list {
  border-top: 1px solid var(--line);
}

.principles-list article {
  min-height: 150px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.principles-list article > span {
  color: var(--purple-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.principles-list h3 {
  margin-bottom: 9px;
  font-family: inherit;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.principles-list p {
  max-width: 520px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

/* ============================================================
   FINAL CTA
============================================================ */

.download-stage {
  padding: 110px 0;
  background: var(--white);
}

.download-stage__panel {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: 60px;
  overflow: hidden;
  padding: 78px 74px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 46px;
  background:
    radial-gradient(circle at 86% 18%, rgba(188, 255, 244, 0.22), transparent 28%),
    radial-gradient(circle at 10% 98%, rgba(204, 175, 255, 0.28), transparent 36%),
    linear-gradient(135deg, #4e21b8, #7b47ed 58%, #5926c4);
  box-shadow: 0 42px 110px rgba(72, 35, 157, 0.25);
}

.download-stage__panel::after {
  position: absolute;
  width: 500px;
  height: 500px;
  right: -220px;
  bottom: -260px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.download-stage__copy {
  position: relative;
  z-index: 2;
}

.download-stage h2 {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(66px, 7vw, 98px);
  line-height: 0.9;
}

.download-stage h2 span {
  display: block;
  color: #d8fbf6;
}

.download-stage__copy > p:not(.section-label) {
  max-width: 570px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.download-stage__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.download-stage__actions .google-play-badge-link {
  display: inline-flex;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(20, 8, 53, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.download-stage__actions .google-play-badge-link:hover,
.download-stage__actions .google-play-badge-link:focus-visible {
  box-shadow: 0 20px 42px rgba(20, 8, 53, 0.34);
  transform: translateY(-2px);
}

.download-stage__actions .google-play-badge-link img {
  display: block;
  width: 194px;
  height: auto;
}

.download-stage__actions small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 750;
}

.app-mark {
  position: relative;
  z-index: 2;
  min-height: 340px;
  display: grid;
  place-items: center;
  margin: 0;
}

.app-mark::before {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
  content: "";
}

.app-mark img {
  position: relative;
  width: 205px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.2);
  border-radius: 46px;
  box-shadow: 0 32px 72px rgba(37, 16, 86, 0.4);
  transform: rotate(4deg);
}

/* ============================================================
   FOOTER
============================================================ */

.site-footer {
  border-top: 1px solid var(--line);
  background: #f6f3ff;
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, minmax(130px, 0.55fr));
  gap: 44px;
  padding: 72px 0 56px;
}

.footer-brand p {
  max-width: 310px;
  margin: 18px 0 0;
  font-size: 13px;
}

.footer-grid h3 {
  margin-bottom: 15px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #6f6982;
  font-size: 13px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--purple-deep);
}

.footer-bottom {
  padding: 19px 0;
  border-top: 1px solid var(--line);
  color: #8b859c;
  font-size: 11px;
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1040px) {
  .hero__grid {
    grid-template-columns: minmax(330px, 0.86fr) minmax(430px, 1.14fr);
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(62px, 8vw, 84px);
  }

  .record-stage__grid,
  .cutout-stage__grid {
    grid-template-columns: 0.74fr 1.26fr;
    gap: 55px;
  }

  .cutout-stage__grid {
    grid-template-columns: 1.24fr 0.76fr;
  }

  .download-stage__panel {
    padding: 70px 58px;
  }

  .app-mark::before {
    width: 270px;
    height: 270px;
  }
}

/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 780px) {
  .shell {
    width: min(100% - 32px, var(--page-width));
  }

  .site-header {
    background: rgba(255, 255, 255, 0.94);
  }

  .nav {
    min-height: 66px;
  }

  .brand {
    gap: 9px;
  }

  .brand__icon {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
    border-radius: 12px;
  }

  .brand__text strong {
    font-size: 14px;
  }

  .brand__text small {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 24px 60px rgba(48, 31, 94, 0.17);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    justify-content: flex-start;
    padding-inline: 15px;
  }

  .nav-menu .nav-menu__cta {
    justify-content: center;
    margin: 5px 0 0;
  }

  .hero {
    padding: 38px 0 20px;
  }

  .hero__grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero__copy {
    text-align: center;
  }

  .eyebrow {
    margin: 0 auto 16px;
    font-size: 10px;
  }

  .hero h1 {
    max-width: 560px;
    margin: 0 auto 16px;
    font-size: clamp(48px, 12.5vw, 68px);
    line-height: 0.9;
  }

  .hero__description {
    max-width: 520px;
    margin: 0 auto 20px;
    font-size: 15px;
    line-height: 1.55;
  }

  .button-row {
    justify-content: center;
  }

  .platform-note {
    margin-left: 0;
  }

  .product-visual--hero {
    width: min(74vw, 390px);
    margin-inline: auto;
    padding: 7px;
    border-radius: 30px;
    transform: none;
  }

  .product-visual--hero img {
    border-radius: 24px;
  }

  .format-rail {
    display: block;
    margin-top: 18px;
    padding: 15px 10px;
    text-align: center;
  }

  .format-rail > p {
    margin-bottom: 11px;
    font-size: 10px;
  }

  .format-rail ul {
    gap: 5px;
  }

  .format-rail li {
    padding: 9px 4px;
    font-size: 9px;
  }

  .workflow-overview {
    padding: 58px 0;
  }

  .workflow-overview__inner {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .workflow-overview__heading {
    grid-row: auto;
    text-align: center;
  }

  .workflow-overview__heading h2 {
    max-width: 520px;
    margin-inline: auto;
    font-size: clamp(43px, 11vw, 58px);
  }

  .workflow-cards {
    width: min(100%, 560px);
    grid-template-columns: 1fr;
    gap: 0;
    margin-inline: auto;
    padding: 7px 14px;
    border-radius: 25px;
  }

  .workflow-cards li {
    min-height: 86px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: initial;
    column-gap: 13px;
    padding: 13px 2px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .workflow-cards li:first-child {
    border-top: 0;
  }

  .workflow-cards__number {
    position: static;
    grid-column: 3;
    grid-row: 1 / 3;
    justify-self: end;
    font-size: 9px;
  }

  .workflow-cards__icon {
    width: 42px;
    height: 42px;
    grid-column: 1;
    grid-row: 1 / 3;
    margin-bottom: 0;
    border-radius: 12px;
    font-size: 21px;
  }

  .workflow-cards strong {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 2px;
    font-size: 15px;
    line-height: 1.25;
  }

  .workflow-cards p {
    display: block;
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
    line-height: 1.35;
  }

  .workflow-overview__link {
    grid-column: auto;
    margin: -8px auto 0;
  }

  .layout-stage,
  .landscape-stage,
  .editor-stage {
    padding: 64px 0 40px;
  }

  .stage-number {
    right: 4px;
    top: -50px;
  }

  .stage-heading {
    margin-bottom: 28px;
  }

  .stage-heading--split {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }

  .stage-heading h2 {
    font-size: clamp(44px, 11vw, 60px);
  }

  .stage-heading--split > p,
  .stage-heading--center > p:last-child {
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.55;
  }

  .product-visual--cinema,
  .product-visual--landscape,
  .product-visual--editor {
    width: 100%;
    padding: 7px;
    border-radius: 24px;
  }

  .product-visual--cinema img,
  .product-visual--landscape img,
  .product-visual--editor img {
    border-radius: 18px;
  }

  .landscape-stage__heading {
    margin-bottom: 28px;
  }

  .landscape-stage__heading h2 {
    font-size: clamp(48px, 12vw, 66px);
  }

  .landscape-stage__heading > p:not(.section-label) {
    font-size: 14px;
    line-height: 1.55;
  }

  .product-visual--landscape {
    width: calc(100% + 24px);
    margin-left: -12px;
  }

  .landscape-stage {
    padding: 44px 0 24px;
  }

  .record-stage,
  .cutout-stage {
    padding: 56px 0 40px;
  }

  .record-stage__grid,
  .cutout-stage__grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .record-stage__copy,
  .cutout-stage__copy {
    text-align: center;
  }

  .record-stage__copy h2,
  .cutout-stage__copy h2 {
    font-size: clamp(45px, 12vw, 62px);
  }

  .record-stage__copy > p:not(.section-label),
  .cutout-stage__copy > p:not(.section-label) {
    margin-inline: auto;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .product-visual--record,
  .product-visual--cutout {
    width: calc(100% + 24px);
    margin-inline: -12px;
    border-radius: 25px;
    transform: none;
  }

  .export-message {
    min-height: 0;
    padding: 64px 0;
  }

  .export-message .stage-number {
    right: 4px;
    top: -52px;
  }

  .export-message h2 {
    font-size: clamp(52px, 13vw, 70px);
  }

  .export-message__inner > p:not(.section-label) {
    max-width: 470px;
    margin-bottom: 26px;
    font-size: 14px;
    line-height: 1.55;
  }

  .workflow-rail {
    width: min(100%, 560px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-inline: auto;
    padding: 6px;
    border-radius: 22px;
  }

  .workflow-rail li {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 3px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    text-align: center;
  }

  .workflow-rail .material-symbols-rounded {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    margin: 0;
    border-radius: 10px;
    font-size: 18px;
  }

  .workflow-rail small,
  .workflow-rail .material-symbols-rounded,
  .workflow-rail strong {
    grid-column: auto;
    grid-row: auto;
  }

  .workflow-rail small {
    order: -1;
    font-size: 8px;
  }

  .workflow-rail strong {
    font-size: 11px;
    line-height: 1.1;
  }

  .workflow-rail__finish {
    border-radius: 16px;
  }

  .cutout-stage__grid {
    display: flex;
    flex-direction: column-reverse;
  }

  .cutout-stage {
    padding-bottom: 24px;
  }

  .editor-stage__heading {
    margin-bottom: 32px;
  }

  .editor-stage__heading h2 {
    font-size: clamp(50px, 13vw, 68px);
  }

  .editor-stage__heading > p:not(.section-label) {
    font-size: 14px;
    line-height: 1.55;
  }

  .editor-stage {
    padding: 44px 0 30px;
  }

  .product-visual--editor {
    width: calc(100% + 24px);
    margin-left: -12px;
  }

  .editor-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }

  .editor-tools li {
    min-height: 98px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(73, 45, 136, 0.16);
  }

  .editor-tools li:nth-child(2) {
    border-right: 0;
  }

  .editor-tools li:nth-child(n + 3) {
    border-bottom: 0;
  }

  .library-stage {
    padding: 44px 0 24px;
  }

  .library-composition {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 28px;
  }

  .library-feature,
  .library-feature--exports {
    margin-top: 0;
    padding: 32px 28px 0;
    border-radius: 28px;
  }

  .library-feature h3 {
    font-size: 40px;
  }

  .product-visual--library {
    width: calc(100% + 22px);
    margin: 24px -11px 0;
    border-radius: 21px 21px 0 0;
  }

  .principles-stage {
    padding: 105px 0;
  }

  .principles-stage__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .principles-stage__heading {
    position: static;
    text-align: center;
  }

  .principles-stage__heading h2 {
    margin-inline: auto;
    font-size: clamp(45px, 11vw, 60px);
  }

  .principles-list article {
    min-height: 130px;
  }

  .download-stage {
    padding: 36px 0 48px;
  }

  .download-stage__panel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 44px 26px 32px;
    border-radius: 34px;
    text-align: center;
  }

  .download-stage h2 {
    margin-inline: auto;
    font-size: clamp(50px, 13vw, 68px);
  }

  .download-stage__copy > p:not(.section-label) {
    margin-inline: auto;
    font-size: 15px;
  }

  .download-stage__actions {
    justify-content: center;
  }

  .app-mark {
    min-height: 210px;
  }

  .app-mark::before {
    width: 184px;
    height: 184px;
  }

  .app-mark img {
    width: 122px;
    border-width: 6px;
    border-radius: 34px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
    padding: 52px 0 42px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   SMALL PHONES
============================================================ */

@media (max-width: 430px) {
  .shell {
    width: min(100% - 24px, var(--page-width));
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    margin-bottom: 12px;
    font-size: clamp(44px, 12.8vw, 55px);
  }

  .hero__description {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .eyebrow {
    margin-bottom: 12px;
    padding-block: 7px;
  }

  .button-row {
    width: min(100%, 335px);
    display: grid;
    margin-inline: auto;
  }

  .button {
    width: 100%;
  }

  .hero .button--secondary,
  .hero .platform-note {
    display: none;
  }

  .hero .button {
    min-height: 50px;
  }

  .product-visual--hero {
    width: min(62vw, 275px);
  }

  .format-rail {
    display: none;
  }

  .workflow-overview__heading h2,
  .stage-heading h2,
  .record-stage__copy h2,
  .cutout-stage__copy h2,
  .principles-stage__heading h2 {
    font-size: 41px;
  }

  .export-message h2,
  .landscape-stage__heading h2,
  .editor-stage__heading h2,
  .download-stage h2 {
    font-size: 47px;
  }

  .editor-tools li {
    padding: 15px 13px;
  }

  .workflow-cards strong {
    font-size: 14px;
  }

  .library-feature {
    padding: 28px 23px 0;
  }

  .library-feature h3 {
    font-size: 36px;
  }

  .principles-list article {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .download-stage__panel {
    padding-inline: 22px;
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   INTERACTIVE PRODUCT STORY — AUGUST 2026 REFINEMENT
============================================================ */

.layout-stage {
  padding: 104px 0 112px;
}

.layout-showcase {
  display: grid;
  grid-template-columns: minmax(340px, 0.74fr) minmax(520px, 1.26fr);
  align-items: center;
  gap: clamp(52px, 7vw, 104px);
}

.layout-showcase .stage-number {
  right: 0;
  top: -48px;
}

.layout-showcase__copy h2 {
  max-width: 590px;
  margin: 0 0 24px;
  font-size: clamp(58px, 5.8vw, 82px);
  line-height: 0.91;
}

.layout-showcase__copy h2 span {
  display: block;
  color: var(--purple);
}

.layout-tabs {
  --layout-glider-x: 7px;
  --layout-glider-width: 118px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  isolation: isolate;
  gap: 7px;
  width: min(100%, 520px);
  padding: 7px;
  border: 1px solid rgba(84, 33, 196, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 44px rgba(62, 35, 126, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.layout-tabs__glider {
  position: absolute;
  z-index: 0;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: var(--layout-glider-width);
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #5c27df 0%, #8750ff 58%, #36d5c8 140%);
  box-shadow:
    0 14px 30px rgba(91, 41, 200, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  pointer-events: none;
  transform: translate3d(var(--layout-glider-x), 0, 0);
  transition:
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    width 620ms cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 260ms ease;
  will-change: transform, width;
}

.layout-tabs__glider::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.34) 48%, transparent 72%);
  content: "";
  transform: translateX(-130%);
  animation: layout-glider-shine 3.6s ease-in-out infinite;
}

@keyframes layout-glider-shine {
  0%, 58% { transform: translateX(-130%); }
  82%, 100% { transform: translateX(130%); }
}

.layout-tab {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 66px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 8px 4px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #625a75;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.layout-tab:hover {
  color: var(--purple-deep);
  transform: translateY(-1px);
}

.layout-tab.is-active {
  background: transparent;
  color: var(--white);
  box-shadow: none;
  transform: translateY(-1px) scale(1.02);
}

.layout-tab .material-symbols-rounded {
  font-size: 21px;
}

.layout-showcase__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 17px 0 0;
  color: #6c6480;
  font-size: 12px;
  font-weight: 700;
}

.layout-showcase__hint .material-symbols-rounded {
  color: var(--purple);
  font-size: 20px;
}

.layout-viewport {
  position: relative;
  min-width: 0;
  min-height: 790px;
  display: grid;
  place-items: center;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 54px;
  background:
    radial-gradient(circle at 20% 18%, rgba(134, 78, 255, 0.25), transparent 30%),
    radial-gradient(circle at 84% 82%, rgba(55, 222, 204, 0.3), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(232, 223, 255, 0.72));
  box-shadow: 0 42px 110px rgba(59, 33, 119, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: grab;
  perspective: 1200px;
  touch-action: pan-y;
  user-select: none;
}

.layout-viewport.is-dragging {
  cursor: grabbing;
}

.layout-viewport::before,
.layout-viewport::after {
  position: absolute;
  border: 1px solid rgba(118, 66, 243, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.layout-viewport::before {
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -210px;
}

.layout-viewport::after {
  width: 260px;
  height: 260px;
  right: -120px;
  top: -100px;
}

.layout-panel {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  width: 100%;
  min-height: 710px;
  display: grid;
  place-items: center;
  margin: 0;
  backface-visibility: hidden;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.layout-panel[hidden] {
  display: none;
}

.layout-panel.is-entering-next {
  animation: layout-slide-in-next 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.layout-panel.is-entering-previous {
  animation: layout-slide-in-previous 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.layout-panel.is-leaving-next {
  animation: layout-slide-out-next 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.layout-panel.is-leaving-previous {
  animation: layout-slide-out-previous 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.layout-viewport.is-dragging .layout-panel.is-active {
  transform: translate3d(var(--layout-drag-x, 0), 0, 0) rotate(var(--layout-drag-rotate, 0deg)) scale(0.985);
  transition: none;
}

.layout-viewport.is-snapping-back .layout-panel.is-active {
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes layout-slide-in-next {
  0% { opacity: 0; filter: blur(5px); transform: translate3d(62%, 0, -80px) rotateY(-9deg) scale(0.88); }
  72% { opacity: 1; filter: blur(0); transform: translate3d(-2.4%, 0, 0) rotateY(0.8deg) scale(1.012); }
  100% { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
}

@keyframes layout-slide-in-previous {
  0% { opacity: 0; filter: blur(5px); transform: translate3d(-62%, 0, -80px) rotateY(9deg) scale(0.88); }
  72% { opacity: 1; filter: blur(0); transform: translate3d(2.4%, 0, 0) rotateY(-0.8deg) scale(1.012); }
  100% { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
}

@keyframes layout-slide-out-next {
  0% { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
  100% { opacity: 0; filter: blur(5px); transform: translate3d(-34%, 0, -110px) rotateY(7deg) scale(0.88); }
}

@keyframes layout-slide-out-previous {
  0% { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
  100% { opacity: 0; filter: blur(5px); transform: translate3d(34%, 0, -110px) rotateY(-7deg) scale(0.88); }
}

.app-demo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f5f1ff;
  box-shadow: 0 28px 75px rgba(43, 23, 91, 0.28);
}

.app-demo--portrait {
  width: min(100%, 352px);
  aspect-ratio: 917 / 2048;
  border: 6px solid rgba(255, 255, 255, 0.96);
  border-radius: 42px;
}

.app-demo__ui {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-demo__media {
  position: absolute;
  z-index: 2;
  left: 7.9%;
  top: 18.1%;
  width: 84.2%;
  height: 66.9%;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  background: #dce5f5;
}

.app-demo__source {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.app-demo__record-pill {
  position: absolute;
  z-index: 6;
  left: 3.5%;
  top: 2%;
  width: 35.5%;
  height: auto;
  border-radius: 999px;
}

.app-demo--916 .app-demo__creator-pane {
  position: absolute;
  inset: 0 0 auto;
  height: 26%;
  overflow: hidden;
  background: linear-gradient(135deg, #301343, #8a3156);
}

.app-demo--916 .app-demo__creator-pane img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

.app-demo--916 .app-demo__source {
  inset: 26% 0 0;
  height: 74%;
}

.app-demo--pip .app-demo__source,
.app-demo--cutout .app-demo__source {
  inset: 0;
}

.app-demo__pip-window {
  position: absolute;
  z-index: 4;
  left: 4.5%;
  bottom: 4%;
  width: 37%;
  height: 34%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  background: linear-gradient(145deg, #311340, #744069);
  box-shadow: 0 15px 34px rgba(25, 10, 43, 0.34);
}

.app-demo__pip-window img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 25%;
}

.app-demo__cutout-person {
  position: absolute;
  z-index: 4;
  left: -7%;
  bottom: -40%;
  width: 112%;
  max-width: none;
  filter: drop-shadow(0 18px 24px rgba(25, 10, 43, 0.31));
}

.phone-shell--landscape {
  position: relative;
  width: 100%;
  padding: 10px 24px 10px 15px;
  border: 1px solid rgba(59, 48, 82, 0.2);
  border-radius: 46px;
  background: linear-gradient(145deg, #ffffff 0%, #f3f1f9 52%, #d8d3e2 100%);
  box-shadow:
    0 30px 74px rgba(43, 23, 91, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(61, 50, 79, 0.12);
  isolation: isolate;
}

.phone-shell--landscape::before {
  content: "";
  position: absolute;
  z-index: 8;
  right: 7px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3f3b48;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.48);
  transform: translateY(-50%);
}

.phone-shell--landscape::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -4px;
  left: 28%;
  width: 76px;
  height: 4px;
  border-radius: 5px 5px 1px 1px;
  background: #b8b2c4;
  box-shadow: 96px 0 0 #b8b2c4;
}

.app-demo--landscape {
  width: 100%;
  aspect-ratio: 1352 / 720;
  border: 2px solid rgba(30, 27, 37, 0.82);
  border-radius: 31px;
  box-shadow: none;
}

.app-demo__wide-creator,
.app-demo__wide-source,
.app-demo__wide-record,
.app-demo__wide-toolbar,
.app-demo__wide-status {
  position: absolute;
  z-index: 3;
}

.app-demo__wide-creator {
  left: 0;
  top: 0;
  width: 47.34%;
  height: 73.45%;
  overflow: hidden;
  background: linear-gradient(145deg, #321544, #74415f);
}

.app-demo__wide-creator img {
  position: absolute;
  left: 50%;
  bottom: -31%;
  width: 88%;
  max-width: none;
  transform: translateX(-50%);
}

.app-demo__wide-source {
  left: 47.34%;
  top: 0;
  width: 52.66%;
  height: 73.45%;
  object-fit: cover;
}

.app-demo__wide-record {
  z-index: 6;
  left: 1.5%;
  top: 2.7%;
  width: 21%;
  height: auto;
  border-radius: 999px;
}

.app-demo__wide-toolbar {
  z-index: 5;
  left: 0;
  top: 73.35%;
  width: 100%;
  height: 26.65%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  background: linear-gradient(110deg, rgba(251, 250, 255, 0.99), rgba(239, 249, 251, 0.99));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.app-demo__wide-toolbar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-demo__wide-status {
  z-index: 7;
  right: 2.8%;
  top: 1.1%;
  width: 14%;
  height: auto;
  border-radius: 4px;
}

.layout-panel--wide {
  min-height: 580px;
}

.layout-panel--wide .phone-shell--landscape {
  width: min(100%, 760px);
}

.layout-viewport.is-wide,
.layout-viewport.is-wide .layout-panel--wide {
  min-height: 0;
}

.workflow-rail li {
  min-height: 0;
  display: block;
  padding: 0;
}

.workflow-rail button {
  width: 100%;
  min-height: 86px;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 12px;
  padding: 14px 17px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.workflow-rail button:hover {
  background: rgba(255, 255, 255, 0.07);
}

.workflow-rail button.is-active {
  background: linear-gradient(145deg, rgba(118, 66, 243, 0.58), rgba(76, 220, 199, 0.2));
  box-shadow: 0 12px 30px rgba(20, 10, 46, 0.2), inset 0 0 0 1px rgba(217, 250, 244, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.workflow-rail button small,
.workflow-rail button .material-symbols-rounded,
.workflow-rail button strong {
  pointer-events: none;
}

.export-detail {
  max-width: 760px;
  min-height: 126px;
  margin: 22px auto 0;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(16, 8, 38, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  text-align: left;
}

.export-detail__step {
  margin: 0 0 4px;
  color: #d8c8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.export-detail h3 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 28px;
  line-height: 1.08;
}

.export-detail > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 520;
  line-height: 1.52;
}

.landscape-stage {
  padding: 90px 0;
}

.landscape-showcase {
  display: grid;
  grid-template-columns: minmax(290px, 0.44fr) minmax(560px, 1.56fr);
  align-items: center;
  gap: clamp(38px, 5vw, 72px);
  min-height: 620px;
  padding: clamp(42px, 5vw, 70px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 52px;
  background:
    radial-gradient(circle at 88% 12%, rgba(77, 224, 207, 0.24), transparent 30%),
    radial-gradient(circle at 6% 90%, rgba(118, 66, 243, 0.22), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(235, 228, 255, 0.76));
  box-shadow: 0 42px 120px rgba(61, 35, 127, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.landscape-showcase__copy h2 {
  margin: 0 0 24px;
  font-size: clamp(52px, 5.3vw, 76px);
  line-height: 0.91;
}

.landscape-showcase__copy h2 span {
  display: block;
  color: var(--purple);
}

.landscape-showcase__copy > p:not(.section-label) {
  max-width: 430px;
  margin: 0 0 24px;
  color: #554d69;
  font-size: 16px;
  font-weight: 520;
  line-height: 1.62;
}

.landscape-showcase__badge {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(84, 33, 196, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple-deep);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(61, 35, 127, 0.08);
}

.landscape-showcase__badge .material-symbols-rounded {
  font-size: 19px;
}

.landscape-showcase__visual {
  min-width: 0;
  margin: 0;
}

.editor-stage {
  padding: 104px 0 112px;
}

.editor-stage__heading {
  margin-bottom: 44px;
}

.editor-stage__heading > p:not(.section-label) {
  color: #554d69;
  font-weight: 520;
}

.editor-tools {
  max-width: 680px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin: 26px auto 0;
  border: 0;
}

.editor-tools li {
  min-width: 132px;
  min-height: 54px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid rgba(84, 33, 196, 0.11) !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(61, 35, 127, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.editor-tools__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin: 0;
  border-radius: 10px;
  font-size: 19px !important;
}

.editor-tools strong {
  margin: 0;
  font-size: 14px;
  line-height: 1;
}

.record-stage__copy > p:not(.section-label),
.cutout-stage__copy > p:not(.section-label),
.stage-heading--center > p:last-child,
.library-feature p,
.principles-list p {
  color: #5a526d;
  font-weight: 520;
}

@media (max-width: 1020px) {
  .layout-showcase {
    grid-template-columns: minmax(300px, 0.82fr) minmax(440px, 1.18fr);
    gap: 36px;
  }

  .layout-viewport {
    min-height: 720px;
    padding: 24px;
  }

  .layout-panel {
    min-height: 650px;
  }

  .app-demo--portrait {
    width: min(100%, 316px);
  }

  .landscape-showcase {
    grid-template-columns: minmax(250px, 0.52fr) minmax(460px, 1.48fr);
    padding: 44px 36px;
  }
}

@media (max-width: 820px) {
  .layout-stage {
    padding: 72px 0 58px;
  }

  .layout-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .layout-showcase__copy {
    text-align: center;
  }

  .layout-showcase__copy h2,
  .layout-tabs {
    margin-inline: auto;
  }

  .layout-showcase__copy h2 {
    font-size: clamp(48px, 10vw, 68px);
  }

  .layout-showcase__hint {
    justify-content: center;
  }

  .layout-viewport {
    min-height: 690px;
  }

  .layout-panel {
    min-height: 620px;
  }

  .layout-panel--wide {
    min-height: 390px;
  }

  .landscape-stage {
    padding: 52px 0;
  }

  .landscape-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding: 42px 34px 34px;
    text-align: center;
  }

  .landscape-showcase__copy > p:not(.section-label) {
    margin-inline: auto;
  }

  .landscape-showcase__badge {
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .layout-showcase .stage-number {
    top: -46px;
  }

  .layout-showcase__copy h2 {
    margin-bottom: 17px;
    font-size: 43px;
  }

  .layout-tabs {
    --layout-glider-x: 5px;
    gap: 4px;
    padding: 5px;
    border-radius: 18px;
  }

  .layout-tabs__glider {
    top: 5px;
    bottom: 5px;
    border-radius: 14px;
  }

  .layout-tab {
    min-height: 57px;
    border-radius: 14px;
    font-size: 10px;
  }

  .layout-tab .material-symbols-rounded {
    font-size: 19px;
  }

  .layout-showcase__hint {
    display: none;
  }

  .layout-viewport {
    min-height: 0;
    padding: 20px 12px 24px;
    border-radius: 30px;
  }

  .layout-panel {
    min-height: 0;
  }

  .app-demo--portrait {
    width: min(78vw, 280px);
    border-width: 4px;
    border-radius: 32px;
  }

  .layout-panel--wide {
    min-height: 0;
  }

  .layout-panel--wide .phone-shell--landscape {
    width: 100%;
  }

  .layout-viewport.is-wide {
    padding: 14px 4px;
  }

  .phone-shell--landscape {
    padding: 6px 14px 6px 9px;
    border-radius: 28px;
  }

  .phone-shell--landscape::before {
    right: 4px;
    width: 3px;
    height: 3px;
  }

  .phone-shell--landscape::after {
    top: -3px;
    width: 42px;
    height: 3px;
    box-shadow: 54px 0 0 #b8b2c4;
  }

  .app-demo--landscape {
    border-width: 1px;
    border-radius: 21px;
  }

  .workflow-rail button {
    min-height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px 2px;
    text-align: center;
  }

  .workflow-rail button small,
  .workflow-rail button .material-symbols-rounded,
  .workflow-rail button strong {
    grid-column: auto;
    grid-row: auto;
  }

  .workflow-rail button small {
    order: -1;
    font-size: 8px;
  }

  .workflow-rail button .material-symbols-rounded {
    width: 29px;
    height: 29px;
    font-size: 17px;
  }

  .workflow-rail button strong {
    font-size: 10px;
  }

  .export-detail {
    min-height: 144px;
    margin-top: 16px;
    padding: 18px;
    border-radius: 19px;
    text-align: center;
  }

  .export-detail h3 {
    font-size: 24px;
  }

  .export-detail > p:last-child {
    font-size: 13px;
  }

  .landscape-showcase {
    gap: 25px;
    padding: 31px 18px 18px;
    border-radius: 30px;
  }

  .landscape-showcase__copy h2 {
    margin-bottom: 17px;
    font-size: 43px;
  }

  .landscape-showcase__copy > p:not(.section-label) {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.52;
  }

  .editor-stage {
    padding: 62px 0 54px;
  }

  .editor-stage__heading {
    margin-bottom: 26px;
  }

  .editor-stage__heading > p:not(.section-label) {
    font-size: 15px;
    line-height: 1.55;
  }

  .editor-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
  }

  .editor-tools li {
    min-width: 0;
    min-height: 50px;
    padding: 8px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .layout-panel.is-entering-next,
  .layout-panel.is-entering-previous,
  .layout-panel.is-leaving-next,
  .layout-panel.is-leaving-previous,
  .layout-tabs__glider::after {
    animation: none !important;
  }
}

