@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400&family=Playfair+Display:ital,wght@0,400;1,400&family=SUSE+Mono:wght@300;400&display=swap");

@font-face {
  font-family: "Funnel Display Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/funnel-display:vf@latest/latin-wght-normal.woff2)
    format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Funnel Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/funnel-sans:latin@latest/latin-normal.woff2)
    format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}


:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #eef2f6;
  --text: #1b1d22;
  --muted: #6a707a;
  --primary: #7f8fa6;
  --primary-dark: #6f7f96;
  --accent: #5f87a8;
  --accent-dark: #4f738f;
  --accent-gold: #ffd36b;
  --heading-dark: #427e10;
  --heading-bright: #bfd63b;
  --border: #d6dde6;
  --shadow: 0 18px 45px rgba(37, 45, 56, 0.12);
  --highlight: #334195;
  --sunburst: hsl(50 95% 50%);
  --turquoise: #79B4A9;
  --dusty: #aec050;
  --purple: #572cc7;
  --navbar-height: 88px;
}

.sunburst {
  color: var(--sunburst);
}

.turquoise {
  color: var(--turquoise);
}

.dusty {
  color: var(--dusty);
}

.gold {
  color: var(--accent-gold);
}

.purple {
  color: var(--purple);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Funnel Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(360px 300px at 12% 4%, rgba(255, 248, 220, 0.18), rgba(255, 248, 220, 0) 68%),
    radial-gradient(760px 520px at 14% 6%, rgba(248, 242, 210, 0.12), rgba(248, 242, 210, 0) 72%),
    radial-gradient(720px 520px at 88% 8%, rgba(208, 232, 245, 0.12), rgba(208, 232, 245, 0) 72%),
    radial-gradient(820px 560px at 50% 120%, rgba(232, 244, 230, 0.14), rgba(232, 244, 230, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #fffefc 26%, #fefdf9 70%, #ffffff 100%);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-weight: 300;
}

h1,
h2,
h3 {
  color: var(--heading-dark);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: -1;
}

body::before {
  top: -120px;
  left: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(248, 242, 214, 0.18), rgba(248, 242, 214, 0) 70%);
}

body::after {
  bottom: -220px;
  right: -120px;
  background: radial-gradient(circle at 70% 70%, rgba(224, 240, 220, 0.14), rgba(224, 240, 220, 0) 70%);
}

.page::before {
  content: "";
  position: fixed;
  top: 20%;
  right: 10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(212, 232, 246, 0.16), rgba(212, 232, 246, 0) 70%);
  filter: blur(80px);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 24px;
}

.navbar {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 1.25rem 24px;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--navbar-height);
  background: transparent;
  transition: background 0.3s ease;
}

.nav-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #232323;
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  top: -5px;
  transition: color 0.3s ease;
}

.logo .logo-beta,
.navbar .logo-beta {
  margin-left: 0.2rem;
  font-family: "Funnel Sans", system-ui, -apple-system, sans-serif;
  font-size: 0.48em;
  font-weight: 300;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.11em;
  line-height: 1;
  vertical-align: super;
  color: #5f87a8;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: #1f2328;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:not(.primary)::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0.3rem;
  left: 0.8rem;
  background-color: rgba(95, 107, 104, 0.6);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #2f3533;
  background: transparent;
}

.nav-link:not(.primary):hover::after {
  width: calc(100% - 1.6rem);
}

.nav-link.primary {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(95, 107, 104, 0.35);
  color: #2f3533;
  border-radius: 30px;
  padding: 0.33rem 1.7rem;
}

.nav-link.primary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.hero {
  padding: 0;
  min-height: 100vh;
  margin-top: calc(var(--navbar-height) * -1);
  padding-top: calc(24px + var(--navbar-height));
  padding-bottom: 28px;
  display: flex;
  align-items: center;
  text-align: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

.hero::before {
  width: 460px;
  height: 320px;
  left: 7%;
  top: 41%;
  background: radial-gradient(circle at 30% 35%, rgba(118, 171, 178, 0.22), rgba(118, 171, 178, 0) 72%);
}

.hero::after {
  width: 520px;
  height: 360px;
  right: 4%;
  top: 3%;
  background: radial-gradient(circle at 65% 35%, rgba(98, 155, 162, 0.2), rgba(98, 155, 162, 0) 74%);
}

.hero-content {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  transform: translateY(-24px);
}

.hero-footnote {
  margin-top: 0;
  max-width: 640px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 0px solid var(--border);
  text-align: center;
  font-weight: 600;
  color: var(--text);
  align-self: center;
  padding-bottom: 35px;
  position: relative;
}

.hero-footnote p {
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  font-weight: 400;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
  transform: translateY(-14px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero h1 {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.hero-arrow {
  display: inline-block;
  width: clamp(64px, 7.7vw, 122px);
  height: auto;
  margin: 0 6px;
  vertical-align: middle;
}

.hero-tagline {
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  font-size: clamp(16px, 2.1vw, 20px);
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 8px;
  padding-bottom: 21px;
  color: var(--highlight);
}

.hero-summary {
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 680px;
  margin: -9px auto 10px;
}

.hero-summary + .hero-summary {
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: -8px 0 0;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
}

.btn-hero-primary {
  background: linear-gradient(55deg, hsl(37 80% 64%) 20%, hsl(50 95% 50%) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(178, 130, 23, 0.28);
  font-weight: 600;
}

.btn-hero-primary:hover {
  background: linear-gradient(55deg, hsl(34 92% 62%) 20%, hsl(46 100% 52%) 100%);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(168, 118, 8, 0.36);
}

.btn-hero-secondary {
  background: rgba(244, 246, 244, 0.92);
  color: #2f3d8d;
  border-color: rgba(51, 65, 149, 0.36);
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 4px 10px rgba(51, 65, 149, 0.08);
}

.btn-hero-secondary:hover {
  background: #eef2f7;
  color: #253178;
  border-color: rgba(51, 65, 149, 0.5);
}

.hero-cta-note {
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  font-size: 12px;
  color: #7a818d;
  margin-top: 4px;
}

.hero-gallery {
  margin: 0 auto clamp(72px, 10vh, 132px);
  max-width: 980px;
  display: grid;
  gap: 16px;
  padding: 0 12px;
}

.workflow-carousel {
  margin: 0 auto clamp(72px, 10vh, 132px);
  max-width: 980px;
  display: grid;
  gap: 14px;
  padding: 0 12px;
}

.workflow-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 8px;
}

.workflow-tab {
  --tab-progress: 0;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: visible;
}

.workflow-tab.is-active {
  background: var(--heading-bright);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 16px rgba(191, 214, 59, 0.32);
}

.workflow-tab::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(var(--highlight), var(--highlight)) left center / calc(var(--tab-progress) * 100%) 100% no-repeat,
    rgba(51, 65, 149, 0.2);
  pointer-events: none;
}

.workflow-arrow {
  color: #5a659c;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  user-select: none;
}

.workflow-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1f2633;
  font-size: 18px;
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 1.45;
  max-width: 860px;
  min-height: 88px;
  margin: 0 auto 6px;
  padding: 10px 16px;
  border-radius: 12px;
}

.workflow-summary p {
  margin: 0;
}

.workflow-summary p + p {
  margin-top: 4px;
}

.workflow-summary-highlight {
  color: var(--turquoise);
  font-weight: 400;
}

.workflow-stage-shell {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.workflow-play-toggle {
  position: absolute;
  top: -10px;
  right: -42px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(47, 61, 141, 0.35);
  background: rgba(244, 246, 244, 0.98);
  color: #2f3d8d;
  font-family: "Funnel Sans", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(28, 34, 64, 0.18);
  cursor: pointer;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.workflow-play-toggle:hover {
  background: #ffffff;
}

.workflow-play-toggle:focus-visible {
  outline: 2px solid #2f3d8d;
  outline-offset: 2px;
}

.workflow-stage {
  position: relative;
  aspect-ratio: 2 / 1;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(37, 45, 56, 0.12);
  overflow: hidden;
}

.workflow-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.workflow-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.workflow-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--surface);
}

@media (max-width: 700px) {
  .workflow-play-toggle {
    top: -8px;
    right: -8px;
    width: 34px;
    height: 34px;
    font-size: 12px;
  }
}

.gallery-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 25px !important;
}

.gallery-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1f2633;
  font-size: 18px;
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  white-space: normal;
  text-wrap: balance;
  font-weight: 500;
  line-height: 1.45;
  max-width: 860px;
  margin: 0 auto 6px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(244, 246, 244, 0.9);
  box-shadow: 0 8px 20px rgba(31, 35, 40, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gallery-step-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5a659c;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  margin: 0 2px;
  user-select: none;
  pointer-events: none;
}

.gallery-tab {
  --gallery-progress: 0;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: visible;
}

.gallery-tab-label {
  position: relative;
  z-index: 1;
}

.gallery-tab-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -7px;
  height: 3px;
  border-radius: 999px;
  background: rgba(51, 65, 149, 0.2);
  pointer-events: none;
}

.gallery-tab-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--highlight);
  transform: scaleX(var(--gallery-progress));
  transform-origin: left center;
  transition: transform 120ms linear;
}

.gallery-tab.is-active {
  background: var(--heading-bright);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 16px rgba(191, 214, 59, 0.32);
}

.gallery-tab.is-active .gallery-tab-progress {
  background: rgba(51, 65, 149, 0.2);
}

.gallery-tab.is-active .gallery-tab-progress::after {
  background: var(--highlight);
}

.gallery-panels {
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(37, 45, 56, 0.12);
  overflow: hidden;
  transition: box-shadow 0.35s ease;
  max-width: 980px;
  margin: 0 auto;
}

.gallery-panels:hover,
.gallery-panels:focus-within {
  box-shadow:
    0 22px 44px rgba(37, 45, 56, 0.14),
    0 0 88px rgba(37, 45, 56, 0.18);
}

.gallery-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.gallery-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.gallery-panel picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-panel img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  object-position: center;
  background: var(--surface);
}

.gallery-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1f2633;
  background: rgba(244, 246, 244, 0.92);
  box-shadow: 0 8px 18px rgba(31, 35, 40, 0.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-panels {
    transition: none;
  }

  .gallery-panel {
    transition: none;
  }
}

.plan {
  margin: 50px 0 20px;
  position: relative;
  isolation: isolate;
}

.plan::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 300px;
  top: -70px;
  right: -110px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(72px);
  background: radial-gradient(circle at 50% 50%, rgba(140, 186, 192, 0.2), rgba(140, 186, 192, 0) 74%);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.accent-underline {
  display: inline-block;
  background-image: linear-gradient(var(--accent-gold), var(--accent-gold));
  background-repeat: no-repeat;
  background-position: 0 95%;
  background-size: 100% 4px;
  padding-bottom: 2px;
}

.heading-dark {
  color: var(--heading-dark);
}

.heading-bright {
  color: var(--heading-bright);
}

.heading-strong {
  color: #6b807c;
}

.highlight {
  color: var(--highlight);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  color: var(--turquoise);
  margin-bottom: 10px;
}

.section-heading h2 {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 300;
  margin-bottom: 10px;
  white-space: nowrap;
}

.section-summary {
  color: var(--muted);
  font-size: 16px;
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
}

.tabs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 32px rgba(43, 31, 18, 0.08);
}

.tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-controls label {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
  position: relative;
  padding-bottom: 22px;
}

.tab-panel .panel-text {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  height: fit-content;
  align-self: start;
}

.tab-panel p {
  color: #232323;
  font-size: 1gpx;
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.6;
  max-width: 55ch;
}

.tab-panel ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  margin-top: 20px;
  padding-top: 6px;
}

.tab-panel li {
  position: relative;
  padding-left: 18px;
}

.tab-panel li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.tab-panel li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.plan-panel-next {
  margin-top: 8px;
  align-self: flex-end;
  border: 0;
  background: transparent;
  color: #8e98ab;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  padding-right: 25px;
}

.plan-panel-next span {
  display: inline-block;
  font-size: 24px;
  font-weight: 200;
  transform: translateY(4px);
  transition: color 0.2s ease, transform 0.2s ease;
}

.plan-panel-next:hover span,
.plan-panel-next:focus-visible span {
  color: #5a659c;
  transform: translate(4px, 4px);
}

.panel-visual {
  display: flex;
  justify-content: center;
}

.plan-visual-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f3f7f6;
  transition: transform 0.2s ease;
}

.plan-visual-image img {
  display: block;
  width: 100%;
  height: auto;
}

.plan-image-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
}

.zoom-affordance {
  position: relative;
  isolation: isolate;
}

.zoom-affordance::after {
  content: "\1F50D";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
  color: rgba(26, 33, 41, 0.7);
  background: rgba(246, 248, 247, 0.82);
  border: 1px solid rgba(142, 152, 171, 0.28);
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(28, 35, 47, 0.12);
  opacity: 0.72;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.plan-image-open:hover .plan-visual-image,
.plan-image-open:focus-visible .plan-visual-image {
  transform: scale(1.02);
}

.zoom-affordance:hover::after,
.zoom-affordance:focus-visible::after {
  opacity: 0.92;
  transform: translateY(-1px);
}

.tab-panel-note {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  font-size: 12px;
  line-height: 1.35;
  font-style: italic;
  color: #b6bfc9;
  pointer-events: none;
}

.continuity-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.continuity-copy p {
 max-width: 60ch;
}

.continuity-note {
  position: static;
  display: block;
  margin-top: auto;
  padding-top: 12px;
}

.visual-card {
  width: 100%;
  min-height: 220px;
  border-radius: 16px;
  border: 1px dashed var(--border);
  background: linear-gradient(135deg, #f7f0e7 0%, #f3f7f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}

#plan-tab-0:checked ~ .tab-controls label[for="plan-tab-0"],
#plan-tab-1:checked ~ .tab-controls label[for="plan-tab-1"],
#plan-tab-2:checked ~ .tab-controls label[for="plan-tab-2"],
#plan-tab-3:checked ~ .tab-controls label[for="plan-tab-3"] {
  background: var(--heading-bright);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 16px rgba(191, 214, 59, 0.32);
}

#plan-tab-0:checked ~ .tab-panels #plan-panel-0,
#plan-tab-1:checked ~ .tab-panels #plan-panel-1,
#plan-tab-2:checked ~ .tab-panels #plan-panel-2,
#plan-tab-3:checked ~ .tab-panels #plan-panel-3 {
  display: grid;
}

.transition {
  margin: 40px auto 80px;
  max-width: 820px;
  text-align: center;
  font-weight: 400;
  color: #6b807c;
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
}

.editor {
  margin: 40px 0 10px;
  position: relative;
}

.editor::before {
  content: "";
  position: absolute;
  top: 120px;
  left: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(179, 210, 230, 0.45), rgba(179, 210, 230, 0) 70%);
  filter: blur(90px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.create {
  margin: 40px 0 10px;
  position: relative;
  isolation: isolate;
}

.create::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 300px;
  left: -90px;
  top: 120px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(74px);
  background: radial-gradient(circle at 45% 40%, rgba(151, 198, 204, 0.18), rgba(151, 198, 204, 0) 74%);
}

.feature-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  box-shadow: 0 10px 30px rgba(40, 30, 20, 0.08);
  margin: 22px 0;
}

.feature-hero.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.feature-hero.reverse .feature-copy {
  order: 2;
}

.feature-hero.reverse .feature-visual {
  order: 1;
}

.feature-copy h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
  max-width: 62ch;
}

.inline-modal-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--highlight);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font: inherit;
}

.inline-modal-link:hover,
.inline-modal-link:focus-visible {
  color: var(--highlight);
}

.inline-modal-link[aria-haspopup="dialog"]::after {
  content: " \1F50D";
  font-size: 0.85em;
  opacity: 0.68;
  vertical-align: baseline;
}

.inline-modal-link[aria-haspopup="dialog"]:hover::after,
.inline-modal-link[aria-haspopup="dialog"]:focus-visible::after {
  opacity: 0.9;
}

.feature-copy .feature-search-question {
  color: var(--turquoise);
  font-weight: 500;
  margin-top: -2px;
}

.feature-hero-top {
  align-items: start;
}

.feature-hero-top .feature-copy {
  align-self: start;
}

.feature-hero-top .feature-copy h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.feature-hero-top .feature-visual {
  align-self: start;

}

.feature-heading-playfair {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.14;
  color: #1f2328;
}

.feature-heading-playfair.feature-heading-plain {
  margin-bottom: 12px;
}

.editor-pillar .feature-heading-playfair.feature-heading-plain {
  margin-top: 8px;
}

.feature-row .feature-heading-playfair.feature-heading-plain,
.feature-band .feature-heading-playfair.feature-heading-plain {
  margin-top: 8px;
}

.feature-heading-line {
  display: block;
  margin-top: 2px;
  margin-left: 2.5em;
  margin-bottom: 20px;
}

.feature-heading-italic {
  color: #4b5560;
  font-style: italic;
  font-size: 1.08em;
}

.feature-visual .visual-card {
  min-height: 260px;
}

.design-workflow-board {
  position: relative;
  height: 845px;
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.design-links {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.design-link {
  position: absolute;
  border-top: 1px dotted rgba(83, 102, 120, 0.6);
  left: 0;
  top: 0;
  width: 0;
  transform-origin: left center;
}

.design-step {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(27, 29, 34, 0.1);
  border-radius: 14px;
  padding: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 10px 22px rgba(27, 29, 34, 0.08);
  display: grid;
  gap: 6px;
}

.design-step.is-ai {
  border-color: rgba(111, 143, 167, 0.36);
  background: linear-gradient(180deg, #f4fbff 0%, #edf6ff 100%);
}

.design-step.is-human {
  border-color: rgba(177, 163, 118, 0.32);
  background: linear-gradient(180deg, #fffef8 0%, #ffffff 100%);
}

.design-step-1 {
  top: 8%;
  left: 16%;
  width: clamp(130px, 13%, 170px);
}

.design-step-2 {
  top: 6%;
  left: 31%;
  width: clamp(170px, 17%, 240px);
}

.design-step-3a {
  top: 10%;
  left: 50%;
  width: clamp(120px, 11%, 160px);
}

.design-step-3b {
  top: 8%;
  left: 63%;
  width: clamp(120px, 11%, 160px);
}

.design-step-4 {
  top: 23%;
  left: 73%;
  width: clamp(230px, 23%, 320px);
}

.design-step-5 {
  top: 33%;
  left: 55%;
  width: clamp(140px, 14%, 200px);
}

.design-step-6 {
  top: 34%;
  left: 37%;
  width: clamp(170px, 17%, 250px);
}

.design-step-7 {
  top: 52%;
  left: 10%;
  width: clamp(220px, 23%, 290px);
}

.design-step-8 {
  top: 50%;
  left: 38%;
  width: clamp(280px, 37%, 440px);
}

.design-step-0 {
  top: 3%;
  left: 2%;
  width: clamp(120px, 12%, 160px);
}

.design-step-label {
  display: grid;
  gap: 2px;
  user-select: none;
}

.design-workflow-board.is-authoring .design-step-label {
  cursor: grab;
}

.design-workflow-board.is-authoring .design-step {
  touch-action: none;
}

.design-workflow-board.is-authoring .design-step.is-dragging .design-step-label {
  cursor: grabbing;
}

.design-step-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.18;
  color: #364451;
}

.design-step-instruction {
  font-size: 10px;
  font-weight: 500;
  color: #acacac;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.design-step-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
}

.design-step-open img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(27, 29, 34, 0.08);
}

.design-frame-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.design-frame-grid picture {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(27, 29, 34, 0.1);
}

.design-frame-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.design-step-note {
  font-size: 11px;
  color: #5e7080;
}

.design-artifact-preview {
  --artifact-preview-scale: 0.62;
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(27, 29, 34, 0.1);
  background: #ffffff;
}

.design-artifact-preview iframe {
  display: block;
  width: calc(100% / var(--artifact-preview-scale));
  height: calc(100% / var(--artifact-preview-scale));
  border: 0;
  background: #ffffff;
  transform: scale(var(--artifact-preview-scale));
  transform-origin: top left;
}

.design-artifact-zoom-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.design-artifact-zoom-btn.zoom-affordance::after {
  right: 0;
  bottom: 0;
}

.design-artifact-zoom-btn:focus-visible {
  outline: 2px solid rgba(77, 118, 158, 0.5);
  outline-offset: 2px;
}

.design-artifact-caption {
  margin-top: 8px;
  display: block;
  font-size: 11px;
  color: #667484;
}

.design-workflow-hero {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
}

.design-workflow-header {
  text-align: center;
}

.design-workflow-header .feature-heading-playfair {
  margin-bottom: 0;
}

.design-workflow-header .feature-heading-line {
  margin-left: 0;
  margin-bottom: 0;
}

.design-workflow-stage {
  width: 100%;
}

.design-workflow-legend {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: end;
  justify-items: start;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 10px;
  font-size: 11px;
  color: #768493;
}

.design-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.design-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(27, 29, 34, 0.16);
  box-shadow: 0 1px 4px rgba(27, 29, 34, 0.12);
}

.design-legend-swatch-human {
  background: linear-gradient(180deg, #fffef8 0%, #ffffff 100%);
  border-color: rgba(177, 163, 118, 0.34);
}

.design-legend-swatch-ai {
  background: linear-gradient(180deg, #f4fbff 0%, #edf6ff 100%);
  border-color: rgba(111, 143, 167, 0.4);
}

.design-legend-note {
  grid-column: 1 / -1;
  justify-self: end;
  text-align: right;
  color: #8594a4;
}

.design-layout-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.design-layout-btn {
  border: 1px solid rgba(83, 102, 120, 0.26);
  background: #ffffff;
  color: #40505f;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  cursor: pointer;
}

.design-layout-btn:hover,
.design-layout-btn:focus-visible {
  background: #f3f7fb;
}

.design-layout-status {
  min-width: 52px;
  text-align: right;
  color: #637282;
  font-size: 11px;
}

.frame-set-modal .frame-set-modal-panel {
  width: min(980px, 94vw);
  max-height: 88vh;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.frame-set-modal .frame-set-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.frame-set-modal .frame-set-modal-grid picture {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(27, 29, 34, 0.1);
}

.frame-set-modal .frame-set-modal-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.continuity-preview {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(27, 29, 34, 0.09);
  box-shadow: 0 14px 28px rgba(27, 29, 34, 0.12);
  transition: transform 0.24s ease;
}

.continuity-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.continuity-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
}

.continuity-open:hover .continuity-preview,
.continuity-open:focus-visible .continuity-preview {
  transform: scale(1.02);
}

.editor-rhapsody,
.editor-scarlet {
  margin: 22px 0 26px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 14px 34px rgba(40, 30, 20, 0.08);
}

.rhapsody-preview,
.scarlet-preview {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(27, 29, 34, 0.09);
  box-shadow: 0 14px 28px rgba(27, 29, 34, 0.12);
}

.rhapsody-preview img,
.scarlet-preview img {
  display: block;
  width: 100%;
  height: auto;
}

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

.editor-pillar {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(214, 221, 230, 0.58);
  background: #ffffff;
}

.editor-pillar h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.editor-pillar p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.editor-pillar p + p {
  margin-top: 4px;
}

.feature-band {
  margin: 26px 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.band-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.band-card h3 {
  font-size: 20px;
}

.band-card p {
  color: var(--muted);
  font-size: 14px;
}

.band-card ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.band-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}

.band-card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.language-list {
  margin-top: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  font-size: 13px;
}

.language-list li {
  padding-left: 0;
}

.language-list li::before {
  content: none;
}

.media-dock-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.media-dock-preview {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 0;
  box-shadow: none;
}

.media-dock-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.checklist-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  display: grid;
  gap: 12px;
  align-content: start;
}

.feature-row .checklist-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -24px;
  width: 276px;
  height: 228px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 42% 40%, rgba(98, 155, 162, 0.2), rgba(98, 155, 162, 0) 72%);
  filter: blur(24px);
  z-index: -1;
}

.checklist-card h3 {
  font-size: 20px;
}

.checklist-card p {
  color: var(--muted);
  font-size: 14px;
  min-height: 54px;
  margin: 0;
}

.checklist-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  font-size: 14px;
  text-align: left;
  margin: 10px 0 0;
  max-width: none;
}

.checklist-card li {
  position: relative;
  padding-left: 16px;
  color: var(--text);
}

.checklist-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--highlight);
}

.checklist-card li > ul {
  margin-top: 6px;
  margin-left: 12px;
}

.checklist-card li > ul li {
  color: var(--muted);
}


.feature-banner {
  margin: 24px 0 40px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 0.5px solid var(--border);
  background: var(--surface);
  text-align: center;
}

.feature-banner.pdi-banner {
  background: hsl(34 30% 94%);
  border-color: #c7d2de;
}

.feature-banner h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.feature-banner p {
  color: var(--muted);
  font-size: 14px;
}

.analytics-preview {
  display: block;
  width: min(100%, 560px);
  margin: 8px auto 0;
  border-radius: 10px;
  border: 1px solid rgba(27, 29, 34, 0.12);
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 10px 24px rgba(27, 29, 34, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  transition: transform 0.24s ease;
}

.analytics-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.token-meter-preview {
  display: block;
  width: min(100%, 280px);
  margin: 8px auto 0;
  border-radius: 8px;
  overflow: hidden;
}

.token-meter-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.token-meter-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.token-meter-open:hover .token-meter-preview,
.token-meter-open:focus-visible .token-meter-preview {
  transform: none;
}

.portal-preview {
  display: block;
  width: min(100%, 220px);
  margin: 14px auto 0;
  border-radius: 10px;
  border: 1px solid rgba(27, 29, 34, 0.12);
  box-shadow:
    0 10px 24px rgba(27, 29, 34, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  overflow: hidden;
  transition: transform 0.24s ease;
}

.portal-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.multi-export-preview {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(27, 29, 34, 0.1);
  box-shadow: 0 12px 28px rgba(27, 29, 34, 0.1);
  transition: transform 0.24s ease;
}

.multi-export-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.search-preview {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(27, 29, 34, 0.1);
  box-shadow: 0 12px 28px rgba(27, 29, 34, 0.1);
  transition: transform 0.24s ease;
}

.search-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.multi-export-wrap {
  position: relative;
  width: 100%;
}

.multi-export-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.multi-export-open:hover .multi-export-preview,
.multi-export-open:focus-visible .multi-export-preview {
  transform: scale(1.02);
}

.search-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.search-open:hover .search-preview,
.search-open:focus-visible .search-preview {
  transform: scale(1.02);
}

.analytics-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.analytics-open:hover .analytics-preview,
.analytics-open:focus-visible .analytics-preview {
  transform: scale(1.02);
}

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 20, 28, 0.82);
  z-index: 2147483000;
  isolation: isolate;
}

.image-modal.is-open {
  display: flex;
}

.image-modal img {
  position: relative;
  z-index: 1;
  max-width: min(1200px, 94vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.image-modal-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 20, 28, 0.85);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.design-sequence-modal .image-modal-close {
  top: 16px;
}

.image-modal-side-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(15, 20, 28, 0.82);
  color: #ffffff;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.image-modal-side-prev {
  left: 16px;
}

.image-modal-side-next {
  right: 16px;
}

.image-modal-side-btn:hover,
.image-modal-side-btn:focus-visible {
  background: rgba(22, 28, 38, 0.95);
}

.image-modal-sequence-meta {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 120px));
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 20, 28, 0.75);
  padding: 8px 12px;
  text-align: center;
}

.image-modal-sequence-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  color: #f4f7fb;
  font-size: 15px;
  line-height: 1.2;
}

.image-modal-sequence-instruction {
  margin-top: 2px;
  color: rgba(226, 235, 244, 0.9);
  font-size: 12px;
  line-height: 1.3;
}

.ethics-modal .ethics-modal-panel {
  position: relative;
  z-index: 1;
  width: min(840px, 88vw);
  height: min(96vh, 1200px);
  padding: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.52);
}

.ethics-modal iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
}

.ethics-modal {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.ethics-modal .image-modal-close {
  border: 1px solid rgba(95, 107, 104, 0.35);
  background: rgba(255, 255, 255, 0.86);
  color: #2f3533;
}

.artifact-modal .artifact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 96vw);
  height: min(88vh, 1060px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  background: #ffffff;
}

.artifact-modal iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.feature-row {
  margin: 24px 0 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.feature-row .checklist-card,
.feature-row .feature-banner,
.feature-row .band-card {
  margin: 0;
  height: 100%;
}

.feature-row .feature-banner {
  padding: 22px;
  border-radius: 18px;
  text-align: left;
  display: grid;
  gap: 12px;
  align-content: start;
}

.feature-row .feature-banner p,
.feature-row .band-card p {
  min-height: 54px;
  margin: 0;
}

.feature-row .feature-card-head {
  display: grid;
  align-content: start;
  gap: 10px;
}

.feature-row .band-card .feature-card-head,
.feature-row .feature-banner .feature-card-head,
.feature-row .checklist-card .feature-card-head {
  min-height: 132px;
}

.feature-row .band-card .feature-card-head p,
.feature-row .feature-banner .feature-card-head p {
  min-height: 0;
}

.feature-row .feature-card-meta {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
}

.feature-row .feature-card-meta p {
  min-height: 0;
  margin: 0;
}

.feature-row .feature-card-meta .token-meter-open {
  width: min(100%, 280px);
}

.feature-row .feature-card-meta .token-meter-preview {
  margin: 0;
}

.checklist-card .checklist-ai-list {
  margin: 0 0 2px 0;
}

.checklist-card .checklist-ai-list li {
  color: var(--muted);
}

.checklist-card .checklist-main-list {
  margin-top: 0;
}

.visual-card.compact {
  min-height: 160px;
}

.pricing {
  margin-top: 96px;
  position: relative;
  isolation: isolate;
}

.pricing::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 320px;
  right: -120px;
  top: 20px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(82px);
  background: radial-gradient(circle at 55% 45%, rgba(133, 181, 188, 0.16), rgba(133, 181, 188, 0) 76%);
}

.pricing-header {
  text-align: center;
  max-width: 720px;
  padding-top: 8px;
  margin: 0 auto 30px;
}

.pricing-header h2 {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 300;
  margin-bottom: 10px;
}

.pricing-header p {
  color: var(--muted);
  font-size: 16px;
}

.lifetime-banner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  margin: 28px auto 30px;
  box-shadow: 0 8px 24px rgba(40, 30, 20, 0.08);
}

.lifetime-info h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 6px 0 10px;
}

.lifetime-subtitle {
  margin: -2px 0 10px;
}

.lifetime-info p {
  color: var(--muted);
  max-width: 640px;
}

.lifetime-info ul {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.lifetime-info ul li {
  position: relative;
  padding-left: 18px;
}

.lifetime-info ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.lifetime-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--muted);
}

.lifetime-pill svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.lifetime-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  white-space: nowrap;
}

.lifetime-price {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-size: 36px;
  font-weight: 600;
}

.lifetime-price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
}

.lifetime-comparison {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
  max-width: 260px;
  white-space: normal;
  line-height: 1.4;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  box-shadow: 0 6px 22px rgba(40, 30, 20, 0.06);
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 600;
}

.price {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-size: 36px;
  font-weight: 600;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
}

.card-subtitle {
  color: var(--muted);
  font-size: 14px;
}

.card-subtitle.card-subtitle-highlight {
  color: var(--highlight);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  flex: 1;
  font-size: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.note {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.pricing-card a.btn {
  margin-top: auto;
}

.pricing-grid .btn {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.lifetime-cta .btn {
  padding: 10px 16px;
  font-size: 14px;
  min-height: 40px;
  border-radius: 10px;
  background: linear-gradient(55deg, hsl(37 80% 64%) 20%, hsl(50 95% 50%) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(178, 130, 23, 0.28);
}

.lifetime-cta .btn:hover {
  background: linear-gradient(55deg, hsl(34 92% 62%) 20%, hsl(46 100% 52%) 100%);
  box-shadow: 0 10px 20px rgba(168, 118, 8, 0.36);
}

.waitlist .btn {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 10px;
  background: var(--heading-dark);
  color: #ffffff;
}

.waitlist .btn:hover {
  background: #025515;
}

.pricing-grid .btn-primary {
  background: var(--heading-dark);
  color: #ffffff;
}

.pricing-grid .btn-primary:hover {
  background: #025515;
}

.pricing-grid .btn-accent {
  background: var(--heading-bright);
  color: #ffffff;
}

.pricing-grid .btn-accent:hover {
  background: #a9c42f;
}

.pricing-card-popular {
  border: 1px solid hsl(42 78% 56%);
  box-shadow: none;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f5faf9 100%);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(55deg, hsl(37 80% 64%) 20%, hsl(50 95% 50%) 100%);
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.teams {
  margin-top: 50px;
  position: relative;
  isolation: isolate;
}

.teams::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 280px;
  left: -110px;
  top: -40px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(70px);
  background: radial-gradient(circle at 40% 50%, rgba(160, 205, 210, 0.15), rgba(160, 205, 210, 0) 76%);
}

.teams-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 28px;
}

.teams-card-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
}

.teams-banner-main {
  display: grid;
  gap: 4px;
}

.teams-card-banner h3 {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 600;
}

.teams-card-banner .teams-price {
  margin-top: 0;
  font-size: 34px;
  line-height: 1.08;
}

.teams-card-banner .teams-price span {
  font-size: 18px;
}

.teams-card-banner .teams-price small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--muted);
}

.teams-banner-cta {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 10px;
  border: 1px solid rgba(83, 102, 120, 0.26);
  background: #ffffff;
  color: #40505f;
  white-space: nowrap;
}

.teams-banner-cta:hover,
.teams-banner-cta:focus-visible {
  background: #f3f7fb;
  transform: none;
}

.teams-info h3 {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 600;
}

.teams-price {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-size: 42px;
  margin-top: 14px;
}

.teams-price span {
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
}

.teams-minimum {
  color: var(--muted);
  margin-top: 4px;
  font-size: 16px;
}

.teams-description {
  margin-top: 12px;
  font-size: 16px;
}

.teams-cta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.teams-cta p {
  color: var(--muted);
  font-size: 14px;
}

.waitlist {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.waitlist input {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  font-family: inherit;
}

.teams-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px 18px;
  align-content: center;
  font-size: 14px;
  color: var(--text);
}

.teams-features div {
  position: relative;
  padding-left: 18px;
}

.teams-features div::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.faq {
  margin-top: 70px;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.faq::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 300px;
  right: -100px;
  top: -30px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(76px);
  background: radial-gradient(circle at 60% 45%, rgba(147, 194, 200, 0.14), rgba(147, 194, 200, 0) 78%);
}

.faq h2 {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-size: 30px;
  color: #1f2328;
  margin-bottom: 28px;
}

.faq-accordion {
  text-align: left;
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-accordion details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
}

.faq-accordion summary {
  cursor: pointer;
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  color: #2a3139;
  list-style: none;
}

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

.faq-accordion summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.faq-accordion details[open] summary::after {
  content: "–";
}

.faq-accordion p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

.cta {
  margin: 64px 0 30px;
}

.cta-card {
  background:
    radial-gradient(360px 220px at 15% 20%, rgba(151, 198, 204, 0.2), rgba(151, 198, 204, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #c7d2de;
  border-radius: 20px;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 14px 34px rgba(37, 45, 56, 0.12);
}

.cta-card h2 {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(25px, 2.8vw, 34px);
  line-height: 1.15;
  margin-bottom: 10px;
  color: #1f2328;
}

@media (min-width: 901px) {
  .cta-card h2 {
    font-size: clamp(20px, 2.24vw, 27px);
  }
}

.cta-card p {
  color: #5d6672;
  font-size: 15px;
  max-width: 660px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
  justify-content: flex-end;
}

.cta-actions .btn {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
}

.btn-cta-primary {
  background: linear-gradient(55deg, hsl(37 80% 64%) 20%, hsl(50 95% 50%) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(178, 130, 23, 0.28);
}

.btn-cta-primary:hover {
  background: linear-gradient(55deg, hsl(34 92% 62%) 20%, hsl(46 100% 52%) 100%);
  box-shadow: 0 10px 20px rgba(168, 118, 8, 0.36);
}

.btn-cta-secondary {
  background: #ffffff;
  color: #1f2328;
  border-color: #c7d2de;
}

.btn-cta-secondary:hover {
  background: #f3f7fb;
}

.site-footer {
  margin-top: 60px;
  padding: 32px 24px 20px;
  border-top: 1px solid var(--border);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(140px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  font-size: 14px;
}

.site-footer h4 {
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #4f5968;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: var(--accent-dark);
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom .status::before {
  content: "●";
  color: #2f9e44;
  margin-right: 8px;
}

.footer-cta {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-1px);
  border-color: rgba(95, 107, 104, 0.5);
  box-shadow: 0 6px 14px rgba(40, 30, 20, 0.08);
}

.footer-meta {
  color: var(--muted);
  font-size: 13px;
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
}

.hybrid-headline {
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.05;
  margin-bottom: 12px;
}

.hybrid-lead {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-weight: 300;
  display: inline-block;
}


.policy-page .site-header {
  padding-bottom: 24px;
}

.policy-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  font-family: "M PLUS Rounded 1c", "Funnel Sans", system-ui, -apple-system, sans-serif;
}

.policy-header h1 {
  font-family: "Funnel Display Variable", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 8px;
  color: var(--text);
}

.policy-header p {
  color: var(--muted);
  font-size: 14px;
}

.policy-section {
  margin-top: 24px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.policy-section h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.policy-section h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.policy-section p {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 10px;
}

.policy-section ul,
.policy-section ol {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--text);
  font-size: 14px;
  display: grid;
  gap: 6px;
}

.policy-section a {
  color: var(--accent-dark);
}

.policy-table {
  overflow-x: auto;
  margin: 12px 0;
}

.policy-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.policy-table th,
.policy-table td {
  border: 1px solid var(--border);
  padding: 10px;
  text-align: left;
}

.policy-table th {
  background: var(--surface-muted);
}

@media (max-width: 900px) {
  :root {
    --navbar-height: 72px;
  }

  .hero-gallery {
    margin: 0 auto clamp(52px, 8vh, 92px);
    padding: 0 10px;
    gap: 12px;
  }

  .gallery-controls {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 2px 2px 6px;
    margin: 0;
  }

  .gallery-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .gallery-summary {
    font-size: 16px;
    padding: 0 8px;
    line-height: 1.55;
  }

  .gallery-step-arrow {
    font-size: 14px;
  }

  .gallery-panels {
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(37, 45, 56, 0.1);
  }

  .analytics-preview {
    width: min(100%, 500px);
  }

  .token-meter-preview {
    width: min(100%, 260px);
  }

  .editor-rhapsody,
  .editor-scarlet {
    padding: 18px;
  }

  .portal-preview {
    width: min(100%, 200px);
  }

  .multi-export-preview {
    border-radius: 10px;
  }

  .search-preview {
    border-radius: 10px;
  }

  .lifetime-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lifetime-cta {
    align-items: flex-start;
  }

  .teams-card {
    grid-template-columns: 1fr;
  }

  .teams-card-banner {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px 20px;
  }

  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-row .checklist-card {
    grid-column: 1 / -1;
  }

  .tab-panel {
    grid-template-columns: 1fr;
  }

  .feature-hero,
  .feature-hero.reverse {
    grid-template-columns: 1fr;
  }

  .feature-hero-top .feature-visual {
    margin-top: 0;
  }

  .design-workflow-board {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
  }

  .design-links {
    display: none;
  }

  .design-step {
    position: static;
    flex: 1 1 calc(50% - 10px);
    width: auto;
    max-width: none;
    left: auto;
    top: auto;
  }

  .design-step-1,
  .design-step-0,
  .design-step-3a,
  .design-step-3b,
  .design-step-5 {
    width: 100%;
  }

  .design-artifact-preview {
    --artifact-preview-scale: 0.54;
    height: 280px;
  }

  .design-legend-note {
    justify-self: end;
    text-align: right;
  }

  .feature-hero.reverse .feature-copy {
    order: 1;
  }

  .feature-hero.reverse .feature-visual {
    order: 2;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .navbar {
    padding: 1rem;
  }

  .nav-links {
    display: none;
  }

  .logo {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-summary {
    white-space: nowrap;
    font-size: clamp(11px, 2.8vw, 13px);
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  .hero-footnote {
    max-width: min(92vw, 560px);
    padding: 12px 14px 20px;
    padding-bottom: 25px;
    margin-inline: auto;
  }

  .hero-footnote p {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.4;
  }

  .hero-actions {
    justify-content: center;
    width: auto;
    max-width: none;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-gallery {
    margin: 0 auto 52px;
    gap: 10px;
    padding: 0 8px;
  }

  .gallery-controls {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 8px;
    padding-bottom: 4px;
    margin-bottom: 8px !important;
  }

  .gallery-tab {
    font-size: 12px;
    padding: 7px 12px;
  }

  .gallery-summary {
    font-size: 15px;
    line-height: 1.5;
  }

  .gallery-step-arrow {
    display: none;
  }

  .gallery-caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 11px;
    justify-content: center;
    text-align: center;
  }

  .gallery-panels {
    border-radius: 12px;
    aspect-ratio: 16 / 11;
  }

  .analytics-preview {
    width: 100%;
  }

  .token-meter-preview {
    width: min(100%, 240px);
  }

  .editor-rhapsody,
  .editor-scarlet {
    padding: 14px;
    border-radius: 16px;
  }

  .rhapsody-preview,
  .scarlet-preview {
    border-radius: 11px;
  }

  .editor-pillars {
    margin-top: 14px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .editor-pillar {
    padding: 12px;
  }

  .editor-pillar h3 {
    font-size: 16px;
  }

  .portal-preview {
    width: min(100%, 180px);
  }

  .multi-export-preview {
    border-radius: 9px;
  }

  .search-preview {
    border-radius: 9px;
  }

  .language-list {
    grid-template-columns: 1fr;
  }

  .design-workflow-board {
    gap: 10px;
  }

  .design-workflow-legend {
    grid-template-columns: 1fr;
    justify-content: start;
    justify-items: start;
    gap: 6px;
  }

  .design-legend-note {
    justify-self: start;
    text-align: left;
  }

  .design-step {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }

  .design-artifact-preview {
    --artifact-preview-scale: 0.46;
    height: 240px;
  }

  .frame-set-modal .frame-set-modal-grid {
    grid-template-columns: 1fr;
  }

  .media-dock-gallery {
    grid-template-columns: 1fr;
  }

  .image-modal {
    padding: 12px;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row .checklist-card {
    grid-column: auto;
  }

  .nav {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .teams-price {
    font-size: 34px;
  }

  .teams-card-banner .teams-price {
    font-size: 30px;
  }

  .teams-card-banner .teams-price span {
    font-size: 15px;
  }

  .teams-card-banner {
    gap: 12px;
  }

  .teams-banner-cta {
    width: 100%;
    justify-content: center;
  }

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

@media (max-width: 420px) {
  .hero::before,
  .hero::after {
    opacity: 0.58;
  }
}
