:root {
  color-scheme: light dark;
  --page: #f4f6fb;
  --page-soft: #eef2f9;
  --surface: #fbfcff;
  --surface-strong: #e8edf8;
  --surface-accent: #e8edff;
  --text: #182033;
  --text-soft: #5f687d;
  --text-faint: #788196;
  --line: #dbe1ec;
  --line-strong: #c8d0df;
  --accent: #4f6fe8;
  --accent-hover: #405fcf;
  --accent-ink: #f8f9ff;
  --focus: #2c5ff0;
  --shadow: 0 28px 80px rgba(50, 68, 112, 0.15);
  --shadow-soft: 0 16px 48px rgba(50, 68, 112, 0.1);
  --radius-card: 20px;
  --radius-control: 12px;
  --header-height: 72px;
  --shell: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #101522;
    --page-soft: #151b2a;
    --surface: #191f2e;
    --surface-strong: #20283a;
    --surface-accent: #202b4f;
    --text: #eef1f8;
    --text-soft: #b2bbcc;
    --text-faint: #919bad;
    --line: #2b3447;
    --line-strong: #3a455c;
    --accent: #8197f0;
    --accent-hover: #93a5f5;
    --accent-ink: #11182a;
    --focus: #a9b7ff;
    --shadow: 0 30px 90px rgba(4, 7, 15, 0.44);
    --shadow-soft: 0 18px 56px rgba(4, 7, 15, 0.28);
  }

}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--text);
  font-family: "SF Pro Text", "SF Pro Display", "PingFang SC", "Microsoft YaHei UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 5%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 24rem),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 28%, transparent), transparent 38rem);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  background: var(--text);
  color: var(--page);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell,
.nav-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: border-color 240ms ease, background-color 240ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-family: "SF Pro Display", "PingFang SC", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.brand img {
  width: 40px;
  height: 40px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  white-space: nowrap;
}

.primary-nav > a:not(.button) {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 610;
  transition: color 180ms ease;
}

.primary-nav > a:not(.button):hover,
.primary-nav > a[aria-current="page"] {
  color: var(--text);
}

.menu-toggle {
  display: none;
  min-width: 56px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 20%, transparent);
  transition: transform 220ms var(--ease), background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 27%, transparent);
}

.button:active {
  transform: scale(0.98);
}

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 14px;
}

.button-block {
  width: 100%;
}

.icon {
  display: block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.direction-icon {
  stroke-width: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 680;
  white-space: nowrap;
}

.text-link .icon {
  color: var(--accent);
  transition: transform 180ms var(--ease), border-color 180ms ease, background-color 180ms ease;
}

.text-link .direction-icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}

.text-link:hover .direction-icon {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}

.text-link:hover .icon-arrow-right {
  transform: translateX(4px);
}

.hero-actions .text-link:hover .icon-arrow-down {
  transform: translateY(3px);
}

.text-link-back:hover .icon-arrow-left {
  transform: translateX(-4px);
}

.hero {
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 48px 0 56px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(620px, 1.42fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1,
.pricing-hero h1 {
  max-width: 8.7em;
  margin: 0;
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei UI", system-ui, sans-serif;
  font-size: clamp(48px, 5.1vw, 76px);
  font-weight: 790;
  letter-spacing: -0.065em;
  line-height: 1.06;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy > p,
.pricing-hero-copy > p {
  max-width: 29em;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  width: min(920px, 74vw);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -8% -10% 12%;
  z-index: -1;
  border-radius: 38px;
  background: var(--surface-accent);
  transform: rotate(3deg);
}

.app-shot {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease);
}

.app-shot:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 34px 96px rgba(44, 59, 98, 0.2);
}

.app-shot img {
  width: 100%;
  height: auto;
}

.app-shot-hero {
  transform: rotate(-1.4deg);
  transform-origin: center;
}

.app-shot-hero:hover {
  transform: rotate(-0.4deg) translateY(-4px) scale(1.005);
}

.value-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value-grid > div {
  display: grid;
  gap: 1px;
  padding: 24px clamp(22px, 4vw, 52px);
  border-left: 1px solid var(--line);
}

.value-grid > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.value-grid > div:last-child {
  padding-right: 0;
}

.value-grid strong,
.license-strip-grid strong {
  font-family: "SF Pro Display", "PingFang SC", system-ui, sans-serif;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.value-grid span,
.license-strip-grid span {
  color: var(--text-soft);
  font-size: 14px;
}

.section {
  padding: clamp(88px, 10vw, 144px) 0;
}

.eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.section h2,
.final-cta h2 {
  margin: 0;
  font-family: "SF Pro Display", "PingFang SC", "Microsoft YaHei UI", system-ui, sans-serif;
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 770;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.section h3 {
  margin: 0;
  font-family: "SF Pro Display", "PingFang SC", system-ui, sans-serif;
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.32;
}

.section p {
  color: var(--text-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading.narrow {
  max-width: 650px;
}

.section-heading > p {
  max-width: 42em;
  margin: 18px 0 0;
  font-size: 18px;
}

.feature-lead {
  padding-top: clamp(96px, 11vw, 156px);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.feature-copy > p {
  max-width: 31em;
  margin: 22px 0 0;
  font-size: 17px;
}

.feature-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.feature-facts span,
.tag-cloud span {
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--text-soft);
}

.feature-facts span {
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 650;
}

.workspace-section {
  background: var(--page-soft);
}

.app-shot-wide {
  box-shadow: var(--shadow-soft);
}

.workspace-details {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.workspace-details > div {
  display: grid;
  gap: 6px;
  padding: 24px 28px 0 0;
}

.workspace-details strong {
  font-size: 16px;
}

.workspace-details span {
  color: var(--text-soft);
  font-size: 14px;
}

.capability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.72fr);
  grid-template-rows: repeat(2, minmax(240px, auto));
  gap: 20px;
}

.capability-media,
.capability-card {
  border-radius: var(--radius-card);
}

.capability-media {
  grid-row: 1 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.app-shot-crop {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.app-shot-crop:hover {
  transform: none;
  box-shadow: none;
}

.media-caption {
  padding: 26px 30px 30px;
}

.media-caption p,
.capability-card p {
  margin: 10px 0 0;
}

.capability-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 3.4vw, 42px);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.capability-card-accent {
  background: var(--surface-accent);
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
}

.card-kicker {
  margin: 0 0 auto !important;
  color: var(--accent) !important;
  font-size: 13px;
  font-weight: 760;
}

.workflow-section {
  background: var(--page-soft);
}

.workflow-rail,
.activation-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.workflow-rail article,
.activation-path article {
  min-height: 220px;
  padding: 30px 38px 0 0;
  border-right: 1px solid var(--line);
}

.workflow-rail article + article,
.activation-path article + article {
  padding-left: 38px;
}

.workflow-rail article:last-child,
.activation-path article:last-child {
  border-right: 0;
}

.workflow-verb,
.activation-path article > span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 760;
}

.workflow-rail p,
.activation-path p {
  margin: 10px 0 0;
}

.trust-layout,
.license-notes-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: start;
}

.trust-copy,
.license-note-main {
  position: sticky;
  top: calc(var(--header-height) + 48px);
}

.trust-copy > p,
.license-note-main > p {
  max-width: 34em;
  margin: 22px 0 0;
  font-size: 17px;
}

.trust-points,
.license-note-grid {
  display: grid;
  gap: 18px;
}

.trust-points article,
.license-note-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.trust-points article:nth-child(2),
.license-note-grid article:nth-child(2) {
  margin-left: 42px;
  background: var(--surface-accent);
}

.trust-points p,
.license-note-grid p {
  margin: 10px 0 0;
}

.faq-section {
  background: var(--page-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(52px, 9vw, 132px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 48px);
}

.faq-intro > p {
  margin: 18px 0 24px;
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  position: relative;
  padding: 23px 44px 23px 0;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-size: 17px;
  font-weight: 680;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 48em;
  margin: -4px 0 24px;
}

.final-cta-section {
  padding-top: clamp(72px, 8vw, 112px);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 48px;
  padding: clamp(38px, 6vw, 72px);
  border-radius: var(--radius-card);
  background: var(--text);
  color: var(--page);
}

.final-cta h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  color: var(--page);
}

.final-cta p {
  margin: 14px 0 0;
  color: color-mix(in srgb, var(--page) 72%, transparent);
}

.final-cta-action {
  display: flex;
  align-items: center;
  gap: 28px;
}

.final-cta-action strong {
  font-family: "SF Pro Display", system-ui, sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.site-footer {
  padding: 38px 0 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-grid .brand img {
  width: 36px;
  height: 36px;
}

.footer-grid > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.footer-grid nav {
  display: flex;
  gap: 22px;
  color: var(--text-soft);
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--text);
}

/* Pricing */
.pricing-hero {
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 54px 0 66px;
}

.pricing-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(440px, 0.78fr);
  align-items: center;
  gap: clamp(64px, 10vw, 150px);
}

.pricing-hero-copy .text-link {
  margin-top: 30px;
}

.price-card {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.price-card-top {
  padding: 32px 34px 28px;
  background: var(--surface-accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
}

.price-card-top > span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 760;
}

.price-card-top p {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 12px 0 0;
}

.price-card-top strong {
  font-family: "SF Pro Display", system-ui, sans-serif;
  font-size: clamp(52px, 6.8vw, 84px);
  letter-spacing: -0.07em;
  line-height: 1;
}

.price-card-top small {
  margin-right: 4px;
  font-size: 0.48em;
  font-weight: 720;
  vertical-align: 0.22em;
}

.price-card-top em {
  color: var(--text-soft);
  font-size: 14px;
  font-style: normal;
  white-space: nowrap;
}

.price-card-body {
  padding: 30px 34px 32px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  color: var(--text-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.purchase-note {
  margin: 14px 0 0;
  color: var(--text-faint);
  font-size: 13px;
  text-align: center;
}

.license-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.license-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.license-strip-grid > div {
  display: grid;
  gap: 1px;
  padding: 24px 28px;
  border-left: 1px solid var(--line);
}

.license-strip-grid > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.license-strip-grid > div:last-child {
  padding-right: 0;
}

.included-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(56px, 9vw, 128px);
  align-items: start;
}

.included-heading {
  position: sticky;
  top: calc(var(--header-height) + 48px);
}

.included-heading > p {
  margin: 20px 0 0;
  font-size: 17px;
}

.included-groups {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.included-groups article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.included-groups article:nth-child(2),
.included-groups article:nth-child(3) {
  background: var(--surface-accent);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.tag-cloud span {
  padding: 7px 10px;
  font-size: 13px;
}

.activation-section {
  background: var(--page-soft);
}

.license-notes-section {
  padding-bottom: clamp(96px, 11vw, 156px);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  [data-hero-item] {
    animation: hero-enter 800ms var(--ease) both;
  }

  [data-hero-item]:nth-child(2) {
    animation-delay: 120ms;
  }

  .reveal.is-pending {
    opacity: 0;
    transform: translateY(24px);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 680ms var(--ease), transform 680ms var(--ease);
  }

  @keyframes hero-enter {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(290px, 0.82fr) minmax(500px, 1.18fr);
    gap: 42px;
  }

  .hero-visual {
    width: 690px;
  }

  .primary-nav {
    gap: 18px;
  }

  .primary-nav > a:not(.button) {
    font-size: 13px;
  }

  .trust-layout,
  .license-notes-layout,
  .included-layout {
    gap: 64px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .shell,
  .nav-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header {
    height: var(--header-height);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms var(--ease), visibility 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav > a:not(.button) {
    padding: 11px 12px;
    font-size: 15px;
  }

  .primary-nav .button {
    margin-top: 8px;
  }

  .hero,
  .pricing-hero {
    min-height: auto;
    padding: 64px 0 72px;
  }

  .hero-grid,
  .pricing-hero-grid,
  .feature-split,
  .trust-layout,
  .license-notes-layout,
  .faq-layout,
  .included-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .pricing-hero-grid {
    gap: 48px;
  }

  .hero-visual {
    width: 100%;
  }

  .hero h1,
  .pricing-hero h1 {
    max-width: 10em;
    font-size: clamp(48px, 9vw, 70px);
  }

  .feature-split {
    gap: 46px;
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .capability-media {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .trust-copy,
  .license-note-main,
  .faq-intro,
  .included-heading {
    position: static;
  }

  .trust-layout,
  .license-notes-layout,
  .included-layout,
  .faq-layout {
    gap: 48px;
  }

  .trust-points article:nth-child(2),
  .license-note-grid article:nth-child(2) {
    margin-left: 0;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta-action {
    justify-content: space-between;
  }

  .license-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .license-strip-grid > div:nth-child(3) {
    border-left: 0;
  }

  .license-strip-grid > div:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .section {
    padding: 78px 0;
  }

  .hero,
  .pricing-hero {
    padding-top: 52px;
  }

  .hero h1,
  .pricing-hero h1 {
    max-width: none;
    font-size: clamp(42px, 13vw, 58px);
    letter-spacing: -0.06em;
  }

  .pricing-hero {
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .pricing-hero-grid {
    gap: 24px;
  }

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

  .pricing-hero-copy .eyebrow {
    margin-bottom: 10px;
  }

  .pricing-hero-copy > p {
    margin-top: 12px;
    line-height: 1.5;
  }

  .pricing-hero-copy .text-link {
    margin-top: 14px;
  }

  .hero-copy > p,
  .pricing-hero-copy > p {
    margin-top: 20px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
  }

  .hero-visual::before {
    inset: 7% -3% -8% 10%;
    border-radius: 26px;
  }

  .app-shot,
  .price-card,
  .capability-media,
  .capability-card,
  .trust-points article,
  .license-note-grid article,
  .included-groups article,
  .final-cta {
    border-radius: 16px;
  }

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

  .value-grid > div,
  .value-grid > div:first-child,
  .value-grid > div:last-child {
    padding: 17px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .value-grid > div:first-child {
    border-top: 0;
  }

  .section h2,
  .final-cta h2 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .workspace-details,
  .workflow-rail,
  .activation-path,
  .included-groups {
    grid-template-columns: 1fr;
  }

  .workspace-details > div {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace-details > div:last-child {
    border-bottom: 0;
  }

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

  .capability-media {
    grid-column: auto;
  }

  .capability-card {
    min-height: 250px;
  }

  .workflow-rail article,
  .activation-path article,
  .workflow-rail article + article,
  .activation-path article + article {
    min-height: auto;
    padding: 26px 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-rail article:last-child,
  .activation-path article:last-child {
    border-bottom: 0;
  }

  .workflow-verb,
  .activation-path article > span {
    margin-bottom: 20px;
  }

  .final-cta {
    padding: 32px 24px;
  }

  .final-cta-action {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

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

  .footer-grid nav {
    flex-wrap: wrap;
  }

  .price-card-top,
  .price-card-body {
    padding-inline: 24px;
  }

  .price-card-top {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .price-card-body {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .price-card-top p {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-card-top strong {
    font-size: 58px;
  }

  .check-list {
    gap: 9px;
    margin-bottom: 18px;
    font-size: 14px;
  }

  .purchase-note {
    margin-top: 9px;
  }

  .license-strip-grid {
    grid-template-columns: 1fr;
  }

  .license-strip-grid > div,
  .license-strip-grid > div:first-child,
  .license-strip-grid > div:last-child,
  .license-strip-grid > div:nth-child(3) {
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .license-strip-grid > div:first-child {
    border-top: 0;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 38px;
  }

  .pricing-hero {
    padding-top: 18px;
    padding-bottom: 24px;
  }

  .pricing-hero-grid {
    gap: 14px;
  }

  .pricing-hero h1 {
    font-size: 36px;
  }

  .pricing-hero-copy > p {
    font-size: 15px;
  }

  .pricing-hero-copy .text-link {
    margin-top: 10px;
  }

  .price-card-top {
    padding-top: 15px;
    padding-bottom: 13px;
  }

  .price-card-body {
    padding-top: 13px;
    padding-bottom: 15px;
  }

  .price-card-top strong {
    font-size: 50px;
  }

  .check-list {
    gap: 6px;
    margin-bottom: 13px;
    font-size: 13px;
  }

  .pricing-page .purchase-note {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  .final-cta {
    border: 1px solid var(--line-strong);
    background: var(--surface-strong);
    color: var(--text);
  }

  .final-cta h2 {
    color: var(--text);
  }

  .final-cta p {
    color: var(--text-soft);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--page);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Component-library refinement pass
   Patterns adapted for this static site from shadcn/ui, beUI,
   Rare UI, Beautiful UI and Transitions.dev. */

:root {
  --page: #f7f8fc;
  --page-soft: #f0f2f8;
  --surface: #fcfcff;
  --surface-strong: #ebeefa;
  --surface-accent: #ecebff;
  --text: #17192a;
  --text-soft: #60647a;
  --text-faint: #6b7085;
  --line: #e0e2eb;
  --line-strong: #cfd2df;
  --accent: #655cf4;
  --accent-hover: #554be8;
  --accent-ink: #fafaff;
  --focus: #5d52f2;
  --shadow: 0 24px 64px rgba(61, 61, 114, 0.14), 0 6px 18px rgba(55, 58, 93, 0.06);
  --shadow-soft: 0 12px 32px rgba(55, 58, 93, 0.08);
  --radius-card: 24px;
  --radius-control: 14px;
  --header-height: 88px;
  --shell: 1220px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0d0e15;
    --page-soft: #12131d;
    --surface: #171821;
    --surface-strong: #1c1e2a;
    --surface-accent: #272447;
    --text: #f1f1f6;
    --text-soft: #aaacbb;
    --text-faint: #a2a5b5;
    --line: #292b36;
    --line-strong: #393c49;
    --accent: #918aff;
    --accent-hover: #a29cff;
    --accent-ink: #11111a;
    --focus: #aaa5ff;
    --shadow: 0 26px 72px rgba(1, 1, 8, 0.5), 0 6px 20px rgba(1, 1, 8, 0.28);
    --shadow-soft: 0 14px 38px rgba(1, 1, 8, 0.3);
  }
}

body {
  background: var(--page);
}

body::before {
  background:
    radial-gradient(circle at 78% 7%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 28rem),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 62%, transparent), transparent 42rem);
}

.site-header {
  height: var(--header-height);
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled {
  border: 0;
}

.nav-shell {
  height: 60px;
  margin-top: 14px;
  padding: 0 10px 0 14px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 10px 34px rgba(50, 52, 85, 0.08);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: background 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled .nav-shell {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-soft);
}

.brand {
  gap: 9px;
  font-size: 18px;
}

.brand img {
  width: 36px;
  height: 36px;
}

.primary-nav {
  gap: 6px;
}

.primary-nav > a:not(.button) {
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 13px;
  transition: color 180ms ease, background-color 180ms ease;
}

.primary-nav > a:not(.button):hover,
.primary-nav > a[aria-current="page"] {
  background: var(--surface-strong);
}

.button {
  position: relative;
  gap: 10px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--accent);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 22%, transparent);
}

.button::after {
  content: "";
  position: absolute;
  inset: -80% -30%;
  background: linear-gradient(105deg, transparent 38%, rgba(250, 250, 255, 0.36) 50%, transparent 62%);
  transform: translateX(-68%) rotate(8deg);
  display: none;
  transition: transform 600ms var(--ease);
}

.button-shimmer::after {
  display: block;
}

.button-shimmer:hover::after {
  transform: translateX(68%) rotate(8deg);
}

.button > span {
  position: relative;
  z-index: 1;
}

.button-icon {
  display: grid;
  width: 26px;
  height: 26px;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 8px;
  place-items: center;
  background: color-mix(in srgb, currentColor 9%, transparent);
  transition: transform 220ms var(--ease);
}

.button-icon .icon {
  width: 16px;
  height: 16px;
}

.button:hover .button-icon {
  transform: translate(2px, -2px);
}

.button-small {
  min-height: 40px;
  border-radius: 11px;
}

.hero {
  min-height: min(860px, calc(100dvh - 22px));
  padding: 58px 0 94px;
}

.hero-grid {
  grid-template-columns: minmax(360px, 0.82fr) minmax(610px, 1.34fr);
  gap: clamp(46px, 6vw, 90px);
}

.hero-grid > *,
.pricing-hero-grid > * {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  margin-bottom: 24px;
  padding: 6px 12px 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
}

.hero-badge > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #61c993;
  box-shadow: 0 0 0 5px color-mix(in srgb, #61c993 16%, transparent);
  animation: badge-pulse 2.6s ease-in-out infinite;
}

.hero h1,
.pricing-hero h1 {
  max-width: 8.5em;
  font-size: clamp(48px, 4.6vw, 64px);
  font-weight: 780;
  letter-spacing: -0.058em;
  line-height: 1.06;
}

.hero-copy > p,
.pricing-hero-copy > p {
  max-width: 31em;
  color: var(--text-soft);
}

.hero-actions {
  margin-top: 32px;
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px !important;
  color: var(--text-faint) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.hero-footnote span {
  position: relative;
}

.hero-footnote span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
}

.hero-visual {
  width: min(880px, 70vw);
  perspective: 1400px;
}

.hero-visual::before {
  inset: 10% -7% -12% 11%;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, #7ac0ff 26%, transparent), transparent 24%),
    var(--surface-accent);
  transform: rotate(2deg);
}

.product-stage,
[data-tilt] {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  position: relative;
  transform: perspective(1200px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
  transform-style: preserve-3d;
  transition: transform 240ms var(--ease);
  will-change: transform;
}

.product-stage .app-shot {
  position: relative;
  z-index: 1;
  transform: translateZ(18px) rotate(-1deg);
}

.product-stage:hover .app-shot {
  transform: translateZ(30px) rotate(-0.35deg);
}

.stage-glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: var(--radius-card);
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(250, 250, 255, 0.32), transparent 28%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  transform: translateZ(38px);
}

.product-stage:hover .stage-glare {
  opacity: 1;
}

.app-shot {
  border-color: color-mix(in srgb, var(--line-strong) 82%, transparent);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow), inset 0 1px color-mix(in srgb, var(--surface) 70%, transparent);
}

.app-shot-hero,
.app-shot-hero:hover {
  transform-origin: center;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 52%, var(--surface));
}

.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.window-bar span:first-child {
  background: #ff756b;
}

.window-bar span:nth-child(2) {
  background: #f6c254;
}

.window-bar span:nth-child(3) {
  background: #58c984;
}

.window-bar em {
  margin-left: auto;
  color: var(--text-faint);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.stage-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateZ(64px);
}

.stage-chip-top {
  top: -22px;
  right: 6%;
  padding: 10px 14px;
  font-size: 13px;
}

.stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5bc98b;
  box-shadow: 0 0 0 4px color-mix(in srgb, #5bc98b 17%, transparent);
}

.stage-chip-bottom {
  right: -24px;
  bottom: -28px;
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
  min-width: 164px;
  padding: 13px 16px;
}

.stage-chip-bottom strong {
  font-size: 25px;
  line-height: 1.15;
}

.stage-chip-bottom span {
  color: var(--text-soft);
  font-size: 12px;
}

.value-strip {
  border: 0;
  background: transparent;
}

.value-grid {
  gap: 12px;
}

.value-grid > div,
.value-grid > div:first-child,
.value-grid > div:last-child {
  align-items: flex-start;
  padding: 20px 22px;
  border: 1px solid var(--line) !important;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.value-grid strong,
.license-strip-grid strong {
  font-size: 16px;
}

.section {
  padding: clamp(96px, 9vw, 128px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.section h2,
.final-cta h2 {
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.feature-lead {
  padding-top: clamp(104px, 10vw, 144px);
}

.feature-split {
  align-items: center;
  gap: clamp(52px, 8vw, 112px);
}

.feature-copy {
  max-width: 430px;
}

.feature-facts {
  gap: 8px;
}

.feature-facts span,
.tag-cloud span {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.workspace-section {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--page-soft) 86%, transparent);
}

.workspace-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 31rem);
}

.workspace-section .shell {
  position: relative;
}

.product-tabs {
  max-width: 1080px;
  margin-inline: auto;
}

.tab-list {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 500px);
  margin: 0 auto 26px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 12px 30px rgba(55, 58, 93, 0.06);
}

.tab-indicator {
  --tab-position: 0;
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  z-index: -1;
  width: calc((100% - 10px) / 3);
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  border-radius: 10px;
  background: var(--surface-strong);
  box-shadow: 0 5px 14px rgba(50, 52, 85, 0.1), inset 0 1px color-mix(in srgb, var(--surface) 78%, transparent);
  transform: translateX(calc(var(--tab-position) * 100%));
  transition: transform 420ms cubic-bezier(0.34, 1.45, 0.64, 1);
}

.tab-list button {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 13px;
  font-weight: 680;
  transition: color 200ms ease;
}

.tab-list button[aria-selected="true"] {
  color: var(--text);
}

.tab-stage {
  position: relative;
  min-height: 300px;
}

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

.tab-panel.is-active {
  animation: panel-enter 500ms var(--ease) both;
}

.workspace-details {
  max-width: 980px;
  margin: 34px auto 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  overflow: hidden;
}

.workspace-details > div {
  padding: 20px 24px;
  border-left: 1px solid var(--line);
}

.workspace-details > div:first-child {
  border-left: 0;
}

.capability-grid {
  gap: 18px;
}

.capability-media,
.capability-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.capability-media::after,
.capability-card::after,
.included-groups article::after,
.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--accent) 14%, transparent), transparent 30%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.capability-media:hover::after,
.capability-card:hover::after,
.included-groups article:hover::after,
.price-card:hover::after {
  opacity: 1;
}

.capability-card {
  position: relative;
  min-height: 292px;
  padding: 34px;
}

.capability-card-accent {
  background:
    radial-gradient(circle at 90% 12%, color-mix(in srgb, #70b8ff 18%, transparent), transparent 12rem),
    color-mix(in srgb, var(--accent) 8%, var(--surface));
}

.card-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  border-radius: 13px;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  color: var(--accent);
  font-size: 18px;
  font-weight: 750;
}

.workflow-section,
.activation-section {
  background: transparent;
}

.workflow-rail,
.activation-path {
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.workflow-rail article,
.activation-path article {
  position: relative;
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--line) !important;
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.workflow-rail article::after,
.activation-path article::after {
  content: attr(data-step);
  position: absolute;
  top: 22px;
  right: 24px;
  color: color-mix(in srgb, var(--accent) 36%, var(--text-faint));
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}

.workflow-verb,
.activation-path article > span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  border-radius: 13px;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  color: var(--accent);
  font-size: 12px;
}

.trust-section,
.license-notes-section {
  background: color-mix(in srgb, var(--page-soft) 82%, transparent);
}

.trust-points,
.license-note-grid {
  gap: 12px;
}

.trust-points article,
.license-note-grid article {
  margin: 0 !important;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.faq-section {
  background: transparent;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.faq-list details[open] {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}

.faq-list summary {
  padding: 20px 52px 20px 22px;
  cursor: pointer;
}

.faq-list summary::after {
  right: 20px;
  display: grid;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 9px;
  place-items: center;
  background: var(--surface);
}

.faq-list details p {
  padding: 0 54px 22px 22px;
}

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 28px;
  background:
    radial-gradient(circle at 74% 0%, color-mix(in srgb, #70b8ff 20%, transparent), transparent 20rem),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface));
  color: var(--text);
}

.final-cta h2 {
  color: var(--text);
}

.final-cta p {
  color: var(--text-soft);
}

.cta-orb {
  position: absolute;
  right: 8%;
  bottom: -125px;
  z-index: -1;
  width: 260px;
  height: 260px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 42% 58% 62% 38% / 46% 42% 58% 54%;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  filter: blur(1px);
  animation: orb-drift 9s ease-in-out infinite alternate;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.external-link .direction-icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, currentColor 6%, transparent);
  transition: transform 180ms var(--ease), border-color 180ms ease, background-color 180ms ease;
}

.external-link:hover .direction-icon {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  transform: translate(2px, -2px);
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 28px);
  z-index: 90;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  place-items: center;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--text);
  box-shadow: 0 14px 36px color-mix(in srgb, var(--text) 13%, transparent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transform: translateY(12px) scale(0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 280ms var(--ease), border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--accent) 18%, transparent);
  transform: translateY(-3px) scale(1);
}

.back-to-top:active {
  transform: translateY(0) scale(0.96);
}

.back-to-top .direction-icon {
  width: 21px;
  height: 21px;
}

/* Pricing */

.pricing-hero {
  min-height: min(800px, calc(100dvh - 20px));
  padding: 64px 0 90px;
  overflow: hidden;
}

.pricing-hero-grid {
  grid-template-columns: minmax(360px, 0.88fr) minmax(440px, 0.72fr);
  gap: clamp(64px, 9vw, 134px);
}

.pricing-hero-copy .hero-badge {
  margin-bottom: 22px;
}

.pricing-hero-copy .text-link {
  margin-top: 30px;
}

.price-card {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 26px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
}

.price-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 60%, transparent), transparent 36%, color-mix(in srgb, #70b8ff 32%, transparent));
  opacity: 0.65;
}

.price-aura {
  position: absolute;
  inset: 18% -12% -14%;
  z-index: -2;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  filter: blur(48px);
  pointer-events: none;
}

.price-card-top {
  padding: 30px 34px 26px;
  border-bottom: 1px solid var(--line);
  border-radius: 26px 26px 0 0;
  background:
    radial-gradient(circle at 92% 0%, color-mix(in srgb, #70b8ff 18%, transparent), transparent 12rem),
    color-mix(in srgb, var(--accent) 7%, var(--surface));
}

.price-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.price-card-top .price-label-row > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.price-label-row > em {
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
}

.price-card-top p:not(.price-caption) {
  margin-top: 20px;
}

.price-card-top strong {
  font-size: 72px;
  letter-spacing: -0.075em;
}

.price-card-top strong small {
  margin-right: 5px;
  font-size: 28px;
}

.price-caption {
  margin: 5px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.price-card-body {
  padding: 28px 34px 30px;
  border-radius: 0 0 26px 26px;
  background: var(--surface);
}

.check-list {
  gap: 12px;
  margin-bottom: 24px;
}

.check-list li::before {
  display: grid;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  place-items: center;
  background: color-mix(in srgb, #58c98a 14%, var(--surface));
  color: #27935b;
  content: "✓";
  font-size: 12px;
  font-weight: 800;
}

.device-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-bottom: 18px;
}

.device-slots > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  column-gap: 9px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--page-soft);
}

.device-slots span {
  grid-row: 1 / 3;
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  place-items: center;
  background: var(--surface);
  color: var(--accent);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px var(--line);
}

.device-slots strong {
  font-size: 12px;
  line-height: 1.25;
}

.device-slots small {
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.4;
}

.license-strip {
  border: 0;
  background: transparent;
}

.license-strip-grid {
  gap: 10px;
}

.license-strip-grid > div,
.license-strip-grid > div:first-child,
.license-strip-grid > div:last-child,
.license-strip-grid > div:nth-child(3) {
  padding: 18px 20px;
  border: 1px solid var(--line) !important;
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.included-layout {
  align-items: start;
}

.included-groups {
  gap: 12px;
}

.included-groups article {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.group-index {
  position: absolute;
  top: 22px;
  right: 24px;
  color: color-mix(in srgb, var(--accent) 40%, var(--text-faint));
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 5px color-mix(in srgb, #61c993 13%, transparent); }
  50% { box-shadow: 0 0 0 8px color-mix(in srgb, #61c993 4%, transparent); }
}

@keyframes panel-enter {
  from { opacity: 0; transform: translateY(12px) scale(0.99); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes orb-drift {
  from { transform: rotate(-7deg) translate3d(0, 0, 0); }
  to { transform: rotate(9deg) translate3d(14px, -10px, 0); }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(310px, 0.8fr) minmax(510px, 1.2fr);
  }

  .hero-visual {
    width: 700px;
  }

  .primary-nav {
    gap: 2px;
  }

  .primary-nav > a:not(.button) {
    padding-inline: 8px;
  }

  .device-slots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 78px;
  }

  .nav-shell {
    height: 54px;
    margin-top: 10px;
    padding-left: 11px;
    border-radius: 16px;
  }

  .primary-nav {
    top: calc(100% + 2px);
    left: 16px;
    right: 16px;
    gap: 2px;
    border-radius: 17px;
    background: color-mix(in srgb, var(--surface) 95%, transparent);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

  .primary-nav > a:not(.button) {
    padding: 12px;
  }

  .hero,
  .pricing-hero {
    padding-top: 52px;
  }

  .hero-grid,
  .pricing-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 62px;
  }

  .hero-visual {
    width: 100%;
  }

  .stage-chip-bottom {
    right: 18px;
  }

  .workspace-details > div {
    padding-inline: 18px;
  }

  .pricing-hero-copy {
    text-align: center;
  }

  .pricing-hero-copy .hero-badge,
  .pricing-hero-copy .text-link {
    margin-inline: auto;
  }

  .pricing-hero-copy > p {
    margin-inline: auto;
  }

  .price-card {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .device-slots {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .hero,
  .pricing-hero {
    padding-top: 34px;
    padding-bottom: 62px;
  }

  .hero-grid,
  .pricing-hero-grid {
    gap: 48px;
  }

  .hero-badge {
    margin-bottom: 19px;
    font-size: 12px;
  }

  .hero h1,
  .pricing-hero h1 {
    font-size: clamp(40px, 11vw, 48px);
  }

  .pricing-hero h1 span {
    display: block;
  }

  .hero-actions {
    align-items: stretch;
    gap: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-footnote {
    justify-content: center;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .hero-badge,
  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .stage-chip-top {
    top: -18px;
    right: 4%;
  }

  .stage-chip-bottom {
    right: 10px;
    bottom: -24px;
    min-width: 144px;
  }

  .window-bar {
    height: 28px;
    padding-inline: 10px;
  }

  .window-bar span {
    width: 6px;
    height: 6px;
  }

  .value-grid {
    gap: 8px;
  }

  .value-grid > div,
  .value-grid > div:first-child,
  .value-grid > div:last-child {
    padding: 16px 18px;
  }

  .section {
    padding: 84px 0;
  }

  .tab-list {
    margin-bottom: 18px;
  }

  .tab-list button {
    padding: 0 7px;
    font-size: 12px;
  }

  .tab-stage {
    min-height: 180px;
  }

  .workspace-details {
    border-radius: 15px;
  }

  .workspace-details > div {
    padding: 17px 18px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace-details > div:last-child {
    border-bottom: 0;
  }

  .capability-card {
    min-height: 268px;
    padding: 28px;
  }

  .workflow-rail,
  .activation-path {
    gap: 9px;
  }

  .workflow-rail article,
  .activation-path article,
  .workflow-rail article + article,
  .activation-path article + article {
    min-height: 220px;
    padding: 24px;
    border-bottom: 1px solid var(--line);
  }

  .faq-list summary {
    padding: 18px 50px 18px 18px;
  }

  .faq-list details p {
    padding: 0 50px 19px 18px;
  }

  .final-cta {
    border-radius: 22px;
  }

  .cta-orb {
    right: -90px;
  }

  .pricing-hero-copy .hero-badge {
    margin-bottom: 18px;
  }

  .pricing-hero-copy .text-link {
    margin-top: 20px;
  }

  .price-card-top,
  .price-card-body {
    padding-inline: 22px;
  }

  .price-card-top {
    padding-top: 23px;
    padding-bottom: 21px;
  }

  .price-card-body {
    padding-top: 22px;
    padding-bottom: 23px;
  }

  .price-card-top strong {
    font-size: 60px;
  }

  .device-slots {
    grid-template-columns: 1fr;
  }

  .license-strip-grid {
    gap: 8px;
  }

  .license-strip-grid > div,
  .license-strip-grid > div:first-child,
  .license-strip-grid > div:last-child,
  .license-strip-grid > div:nth-child(3) {
    padding: 15px 18px;
  }

  .back-to-top {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

@media (max-width: 360px) {
  .hero-badge {
    padding-right: 9px;
    font-size: 12px;
  }

  .hero h1,
  .pricing-hero h1 {
    font-size: 38px;
  }

  .stage-chip-top {
    display: none;
  }

  .stage-chip-bottom {
    min-width: 126px;
    padding: 10px 12px;
  }

  .stage-chip-bottom strong {
    font-size: 21px;
  }

  .price-card-top strong {
    font-size: 52px;
  }
}

@media (prefers-color-scheme: dark) {
  .nav-shell {
    box-shadow: 0 10px 38px rgba(1, 1, 8, 0.36);
  }

  .button {
    box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 17%, transparent), inset 0 1px rgba(250, 250, 255, 0.12);
  }

  .window-bar span:first-child,
  .window-bar span:nth-child(2),
  .window-bar span:nth-child(3) {
    filter: saturate(0.8) brightness(0.9);
  }

  .final-cta {
    background:
      radial-gradient(circle at 74% 0%, color-mix(in srgb, #70b8ff 12%, transparent), transparent 20rem),
      linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface));
  }

  .check-list li::before {
    color: #68d39a;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge > span,
  .cta-orb,
  .tab-panel.is-active {
    animation: none;
  }

  .product-stage,
  [data-tilt],
  .product-stage .app-shot,
  .product-stage:hover .app-shot {
    transform: none;
  }
}
