
:root {
  --bg: #07111f;
  --bg-2: #0d1a2e;
  --header-logo-height: 72px;
  --header-logo-image-height: 64px;
  --header-white-width: max(172px, calc((100vw - 1240px) / 2 + 156px));
  --cta-button-height: 42px;
  --hero-backdrop-rgb: 8, 22, 45;
  --hero-grid-rgb: 112, 134, 172;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --surface-dark: #0b1627;
  --text: #102033;
  --text-strong: #09111d;
  --text-soft: #4e6076;
  --line: rgba(12, 29, 55, 0.12);
  --line-strong: rgba(23, 53, 94, 0.18);
  --primary: #0b84ff;
  --primary-strong: #0060d6;
  --accent: #1cd3ff;
  --success: #22c55e;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow-lg: 0 30px 80px rgba(8, 20, 38, 0.16);
  --shadow-md: 0 18px 50px rgba(8, 20, 38, 0.10);
  --max: 1240px;
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
  line-height: 1.55;
}

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

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

button {
  font: inherit;
}

h1 {
  font-weight: 600;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0b192b;
  background-image: none;
  background-repeat: no-repeat;
  border-bottom: 0;
  backdrop-filter: none;
  isolation: isolate;
}

.site-header > .container {
  position: relative;
  z-index: 1;
}

.header-inner {
  min-height: var(--header-logo-height);
  height: var(--header-logo-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: auto;
  max-width: min(54vw, 320px);
  height: var(--header-logo-image-height);
  filter: none;
}

.brand-mark {
  display: none;
}

.desktop-nav {
  display: flex;
  justify-content: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link,
.dropdown-summary {
  padding: 10px 9px;
  border-radius: 999px;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.dropdown-summary:hover,
.dropdown:hover > .dropdown-summary,
.dropdown:focus-within > .dropdown-summary {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.dropdown {
  position: relative;
}

.dropdown-summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

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

.dropdown-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.dropdown:hover > .dropdown-summary::after,
.dropdown:focus-within > .dropdown-summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

.dropdown-menu {
  list-style: none;
  display: none;
  margin: 10px 0 0;
  padding: 10px;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 280px;
  background: rgba(7, 17, 31, 0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.28);
  z-index: 20;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 10px;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
  display: block;
}

.dropdown-menu li + li {
  margin-top: 4px;
}

.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255,255,255,0.90);
  font-size: 0.94rem;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-cta .cta-button {
  white-space: nowrap;
}

.header-cta .cta-button.primary {
  box-shadow: none;
}

.header-account-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 8px;
  border: 0;
  color: rgba(255,255,255,0.9);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.header-account-link[data-account-nav-name] {
  max-width: 168px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--accent);
}

.header-account-link:hover {
  color: #fff;
}

.header-account-link[data-account-nav-name]:hover {
  color: #9cecff;
}

.header-register-link {
  min-height: 38px;
  padding: 0 13px;
  border-color: rgba(255,255,255,0.26);
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-size: 0.9rem;
}

.header-register-link:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle .bar,
.mobile-toggle .bar::before,
.mobile-toggle .bar::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle .bar::before,
.mobile-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-toggle .bar::before { top: -6px; }
.mobile-toggle .bar::after { top: 6px; }

.mobile-toggle[aria-expanded="true"] .bar {
  background: transparent;
}
.mobile-toggle[aria-expanded="true"] .bar::before {
  top: 0;
  transform: rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] .bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-panel {
  display: none;
  padding: 12px 0 24px;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  background: #2f343d;
  overflow: hidden;
}

.mobile-nav-list > li + li {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav-list a,
.mobile-nav-list button,
.mobile-nav-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 18px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  cursor: pointer;
}

.mobile-nav-list button {
  border: 0;
  background: transparent;
  text-align: left;
}

.mobile-nav-list [data-account-nav-name] {
  max-width: none;
  color: var(--accent);
}

.mobile-nav-list summary {
  list-style: none;
}

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

.mobile-nav-list details .submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  background: rgba(0,0,0,0.08);
}

.mobile-nav-list details .submenu a {
  padding: 14px 18px 14px 30px;
  font-weight: 500;
  color: rgba(255,255,255,0.84);
}

.hero {
  position: relative;
  overflow: visible;
  z-index: 5;
  background:
    radial-gradient(circle at 15% 15%, rgba(20, 66, 126, 0.26), transparent 36%),
    radial-gradient(circle at 85% 30%, rgba(16, 52, 102, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(var(--hero-backdrop-rgb), 1) 0%, #0a1d3a 54%, #071425 100%);
  color: #fff;
  padding: 88px 0 74px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background-image:
    linear-gradient(rgba(var(--hero-grid-rgb), 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--hero-grid-rgb), 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 54, 102, 0.18), rgba(8, 22, 45, 0.02) 34%, rgba(8, 22, 45, 0.02) 66%, rgba(18, 54, 102, 0.18));
  background-size: 72px 72px, 72px 72px, 100% 100%;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%);
}

.hero::after {
  background:
    radial-gradient(circle at center, rgba(120, 162, 220, 0.12), transparent 60%);
  opacity: 0.46;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 42px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 4.8vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: none;
}

.hero-copy .subheadline {
  margin: 0 0 18px;
  font-size: clamp(1.18rem, 2vw, 1.6rem);
  line-height: 1.35;
  color: rgba(255,255,255,0.88);
  max-width: 34ch;
}

.hero-copy .lead {
  margin: 0 0 30px;
  font-size: 1.06rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.76);
  max-width: 69ch;
  padding-right: clamp(24px, 4vw, 72px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-row-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
}

.cta-row-hero .cta-button {
  width: 100%;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--cta-button-height);
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 18px 40px rgba(11, 132, 255, 0.28);
}

.cta-button.secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.16);
}

.hero-visual {
  position: relative;
  aspect-ratio: 3 / 2;
  min-height: 0;
  isolation: isolate;
}

.signal-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: -10% auto auto -8%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(28, 211, 255, 0.28), transparent 70%);
  z-index: 4;
}

.panel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.32;
}

.visual-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  /* Fade edges to transparency so the original image blends into the hero backdrop. */
  -webkit-mask-image: radial-gradient(130% 116% at 52% 50%, rgba(0,0,0,1) 58%, rgba(0,0,0,0.96) 68%, rgba(0,0,0,0.7) 80%, rgba(0,0,0,0.35) 90%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(130% 116% at 52% 50%, rgba(0,0,0,1) 58%, rgba(0,0,0,0.96) 68%, rgba(0,0,0,0.7) 80%, rgba(0,0,0,0.35) 90%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

section {
  padding: 88px 0;
}

.section-header {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--text-strong);
}

.section-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.grid-3,
.grid-2,
.grid-steps {
  display: grid;
  gap: 24px;
}

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

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

.card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.92;
}

.card-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(11,132,255,0.12), rgba(28,211,255,0.10));
  border: 1px solid rgba(11, 132, 255, 0.12);
  color: var(--primary-strong);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.34rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.free-tier-label {
  color: var(--success);
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.case-study-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.case-study-column {
  display: grid;
  gap: 24px;
  align-content: start;
}

.case-study-list .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.case-study-list .card .cta-row {
  margin-top: clamp(22px, 2.4vw, 34px);
}

@media (max-width: 780px) {
  .case-study-masonry {
    grid-template-columns: 1fr;
  }
}

.card-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-strong);
  font-weight: 700;
}

.card-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.features-wrap {
  padding: 34px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(11,132,255,0.30), rgba(28,211,255,0.35));
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  padding: 24px 22px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-height: 252px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.08rem;
  box-shadow: 0 18px 32px rgba(11, 132, 255, 0.24);
}

.step-card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.step-card p {
  margin: 0;
  color: var(--text-soft);
}

.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 15% 20%, rgba(28,211,255,0.20), transparent 32%),
    radial-gradient(circle at 85% 80%, rgba(11,132,255,0.18), transparent 34%),
    linear-gradient(135deg, #08111d 0%, #102440 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 90px rgba(9, 17, 30, 0.24);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 66px 66px;
  opacity: 0.5;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cta-banner p {
  margin: 0 0 24px;
  max-width: 64ch;
  color: rgba(255,255,255,0.80);
}

.site-footer {
  padding: 28px 0 54px;
  background: linear-gradient(180deg, #08111d 0%, #0b1627 100%);
  color: rgba(255,255,255,0.82);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(180px, 0.8fr) minmax(280px, 1.15fr);
  column-gap: 34px;
  row-gap: 28px;
  padding: 38px 0 22px;
}

.footer-brand img {
  width: 170px;
  margin-bottom: 18px;
}

.footer-brand p {
  margin: 0;
  max-width: 32ch;
  color: rgba(255,255,255,0.66);
}

.footer-nav h3 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.52);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li + li {
  margin-top: 10px;
}

.footer-nav a {
  color: rgba(255,255,255,0.86);
}

.footer-link-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255,255,255,0.86);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-nav a:hover,
.footer-link-button:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.58);
  font-size: 0.94rem;
}

.footer-bottom > .footer-legal-links {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  row-gap: 0.4rem;
}

.footer-bottom > span:first-child {
  flex: 0 0 auto;
  white-space: nowrap;
}

.footer-legal-links > a {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
}

.footer-legal-links > a:not(:last-child)::after {
  content: "·";
  margin-inline: 0.72rem;
  color: rgba(255,255,255,0.42);
}

.placeholder-hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 15% 15%, rgba(28, 211, 255, 0.18), transparent 34%),
    radial-gradient(circle at 85% 30%, rgba(11, 132, 255, 0.20), transparent 28%),
    linear-gradient(180deg, #08111d 0%, #0d1a2e 100%);
  color: #fff;
}

.placeholder-card {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.26);
}

.placeholder-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.placeholder-card p {
  margin: 0;
  color: rgba(255,255,255,0.80);
  font-size: 1.08rem;
  max-width: 56ch;
}

.placeholder-meta {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.84);
  font-weight: 600;
  font-size: 0.92rem;
}

.placeholder-body {
  padding: 58px 0 92px;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
}

.placeholder-panel {
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.placeholder-panel h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.placeholder-panel p {
  margin: 0;
  color: var(--text-soft);
}

.placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-hero {
  padding-bottom: 62px;
}

.about-hero-card {
  max-width: 920px;
}

.about-body {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

.about-copy {
  max-width: 880px;
  margin: 0 auto;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.about-copy p {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-copy p + p {
  margin-top: 22px;
}

.shop-product-grid .card,
.software-overview-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.shop-product-grid .card ul,
.software-overview-grid .card ul {
  margin-bottom: 0;
}

.shop-product-grid .placeholder-actions,
.shop-product-grid .card-link,
.software-overview-grid .placeholder-actions,
.software-overview-grid .card-link {
  margin-top: auto;
  padding-top: 24px;
}

.shop-product-grid .card-link,
.software-overview-grid .card-link {
  align-self: flex-start;
}

.shop-hero {
  padding: 72px 0 34px;
  background:
    radial-gradient(circle at 18% 12%, rgba(28, 211, 255, 0.10), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

.shop-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(12, 29, 55, 0.10);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82)),
    radial-gradient(circle at 85% 20%, rgba(11, 132, 255, 0.12), transparent 36%);
  box-shadow: 0 34px 90px rgba(8, 20, 38, 0.12);
}

.shop-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11, 132, 255, 0.10);
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--text-strong);
}

.shop-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.pricing-note {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 22px;
  border: 1px solid rgba(11, 132, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(238, 247, 255, 0.84)),
    radial-gradient(circle at 90% 0%, rgba(28, 211, 255, 0.22), transparent 38%);
}

.pricing-note strong {
  color: var(--text-strong);
  font-size: 1.02rem;
}

.pricing-note span {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.license-catalog-status {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(13, 47, 76, 0.14);
  border-radius: 8px;
  color: #27445d;
  background: #ffffff;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
}

.license-catalog-status.is-ready {
  color: #14532d;
  border-color: rgba(26, 163, 151, 0.32);
  background: #eefbf7;
}

.license-catalog-status.is-error {
  color: #7c2d12;
  border-color: rgba(217, 111, 50, 0.36);
  background: #fff7ed;
}

.license-tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

.license-tier-card,
.license-addon-card {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(12, 29, 55, 0.10);
  border-radius: 12px;
  color: var(--text-strong);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 20, 38, 0.08);
}

.license-tier-card {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 265px);
  gap: 10px 22px;
  align-items: center;
}

.license-tier-card .shop-card-meta,
.license-tier-card h3,
.license-tier-card .shop-card-tagline,
.license-tier-card ul {
  grid-column: 1;
}

.license-tier-card .license-price {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
}

.license-tier-card > .shop-unavailable {
  grid-column: 2;
  justify-self: stretch;
  align-self: start;
}

.license-tier-card--enterprise {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 16px 22px;
}

.license-tier-card--enterprise .license-price {
  grid-column: 1;
  grid-row: auto;
  align-self: start;
  max-width: 265px;
}

.license-tier-card h3,
.license-addon-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.16rem, 1.4vw, 1.36rem);
  font-weight: 750;
  line-height: 1.25;
}

.license-tier-card .shop-card-tagline {
  margin: 0;
  color: var(--text-soft);
}

.license-tier-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.license-tier-card li + li {
  margin-top: 5px;
}

.license-price {
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid rgba(12, 29, 55, 0.10);
  border-radius: 10px;
  background: #f5f8fc;
}

.license-price span {
  color: #33465c;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.license-price strong,
.license-addon-price {
  color: var(--text-strong);
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1.08;
}

.license-price small {
  color: var(--text-soft);
  font-size: 0.79rem;
  line-height: 1.35;
}

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

.license-rules-grid section {
  padding: 18px;
  border: 1px solid rgba(12, 29, 55, 0.10);
  border-radius: 10px;
  background: #ffffff;
}

.license-rules-grid h3 {
  margin: 0 0 8px;
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 750;
}

.license-rules-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.license-addon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

.license-addon-card {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 250px);
  gap: 10px 22px;
  align-items: center;
}

.license-addon-card h3,
.license-addon-card p:not(.license-addon-price) {
  grid-column: 1;
}

.license-addon-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.license-addon-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--primary-strong);
}

.license-addon-card > .shop-unavailable {
  grid-column: 2;
  justify-self: stretch;
}

.license-enterprise-form {
  grid-column: 2;
  grid-row: 1 / span 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(12, 29, 55, 0.12);
  border-radius: 10px;
  background: #f5f8fc;
}

.license-enterprise-form label {
  display: grid;
  gap: 5px;
  color: #24364c;
  font-size: 0.78rem;
  font-weight: 750;
}

.license-enterprise-form input,
.license-enterprise-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(11, 25, 43, 0.15);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--text-strong);
  background: #ffffff;
  font: inherit;
}

.license-enterprise-form textarea {
  resize: vertical;
}

.license-enterprise-form-wide,
.license-enterprise-form .form-status {
  grid-column: 1 / -1;
}

.license-enterprise-form .button {
  justify-content: center;
  min-height: 42px;
}

.shop-catalog-section {
  padding: 36px 0 92px;
}

.shop-toolbar {
  position: sticky;
  top: var(--header-logo-height);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 32px;
  padding: 12px;
  border: 1px solid rgba(12, 29, 55, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 45px rgba(8, 20, 38, 0.08);
  backdrop-filter: blur(14px);
}

.shop-toolbar a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text-strong);
  font-weight: 800;
  font-size: 0.92rem;
}

.shop-toolbar a:hover {
  background: rgba(11, 132, 255, 0.10);
  color: var(--primary-strong);
}

.shop-category {
  scroll-margin-top: 118px;
}

.shop-category + .shop-category {
  margin-top: 52px;
}

.shop-section-header {
  margin-bottom: 18px;
}

.shop-product-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 232px;
  gap: 24px;
  align-items: stretch;
  margin-top: 16px;
  padding: 22px;
  border: 1px solid rgba(12, 29, 55, 0.10);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(8, 20, 38, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.shop-product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 132, 255, 0.22);
  box-shadow: 0 32px 78px rgba(8, 20, 38, 0.13);
}

.shop-product-card.is-featured {
  border-color: rgba(34, 197, 94, 0.32);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248, 255, 251, 0.96)),
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.12), transparent 34%);
}

.shop-product-card.is-hardware {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246, 250, 255, 0.98)),
    radial-gradient(circle at 0% 20%, rgba(11, 132, 255, 0.08), transparent 32%);
}

.shop-product-media,
.shop-detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(12, 29, 55, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(135deg, #f7fbff, #eef5fb),
    radial-gradient(circle at 80% 20%, rgba(11, 132, 255, 0.14), transparent 34%);
}

.shop-product-media {
  min-height: 180px;
}

.shop-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.shop-product-media.is-product-cutout,
.shop-detail-media.is-product-cutout {
  overflow: visible;
  border-color: transparent;
  background: transparent;
  border-radius: 0;
}

.shop-product-media.is-product-cutout img,
.shop-detail-media.is-product-cutout img {
  padding: 0;
  border-radius: 18px;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 26px rgba(8, 20, 38, 0.14));
}

.shop-product-info {
  min-width: 0;
}

.shop-product-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-badge.is-available {
  background: rgba(34, 197, 94, 0.14);
  color: #087a43;
}

.product-badge.is-planned {
  background: rgba(251, 191, 36, 0.18);
  color: #8a5b00;
}

.product-badge.is-info {
  background: rgba(11, 132, 255, 0.12);
  color: var(--primary-strong);
}

.product-sku {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.shop-product-info h3,
.shop-detail-copy h1 {
  margin: 0;
  color: var(--text-strong);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.shop-product-info h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.shop-product-info h3 a:hover {
  color: var(--primary-strong);
}

.shop-product-info p,
.shop-detail-copy p,
.shop-detail-buy-box p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.shop-feature-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.shop-feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
}

.shop-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-50%);
}

.shop-buy-box,
.shop-detail-buy-box {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(12, 29, 55, 0.10);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fe 100%);
}

.shop-buy-box .cta-button,
.shop-detail-buy-box .cta-button {
  width: 100%;
}

.shop-buy-box .cta-button.secondary,
.shop-detail-buy-box .cta-button.secondary {
  border-color: rgba(11, 132, 255, 0.18);
  background: rgba(11, 132, 255, 0.08);
  color: var(--primary-strong);
  box-shadow: none;
}

.shop-price {
  display: grid;
  gap: 4px;
}

.price-label {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-price strong {
  color: var(--text-strong);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.shop-price small {
  color: var(--text-soft);
  font-weight: 700;
}

.shop-price.is-free strong {
  color: #087a43;
}

.cta-button.is-disabled,
.cta-button:disabled {
  border-color: rgba(12, 29, 55, 0.10);
  background: #dde7f1;
  color: #66758a;
  box-shadow: none;
  cursor: not-allowed;
}

.cta-button.is-disabled:hover,
.cta-button:disabled:hover {
  transform: none;
}

a.cta-button.is-disabled {
  pointer-events: none;
}

.shop-detail-hero {
  padding: 70px 0 92px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

.shop-back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--primary-strong);
  font-weight: 900;
}

.shop-back-link::before {
  content: "<";
  margin-right: 8px;
}

.shop-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr) minmax(260px, 330px);
  gap: 26px;
  align-items: start;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(12, 29, 55, 0.10);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(8, 20, 38, 0.12);
}

.shop-detail-media {
  min-height: 330px;
}

.shop-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.shop-detail-copy h1 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: 0;
}

.shop-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.engine-pack-selector {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.engine-pack-selector legend {
  margin-bottom: 6px;
  color: var(--text-strong);
  font-weight: 900;
}

.engine-pack-selector label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(12, 29, 55, 0.12);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.engine-pack-selector label:has(input:checked) {
  border-color: rgba(11, 132, 255, 0.38);
  background: rgba(11, 132, 255, 0.06);
}

.engine-pack-selector input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.engine-pack-selector strong,
.engine-pack-selector small {
  display: block;
}

.engine-pack-selector small {
  color: var(--text-soft);
  font-weight: 700;
}

.kicker {
  display: none;
}

.card ul,
.placeholder-panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.card li + li,
.placeholder-panel li + li {
  margin-top: 8px;
}

.inline-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(11, 132, 255, 0.08);
  border: 1px solid rgba(11, 132, 255, 0.14);
  color: var(--text-strong);
  font-size: 0.95rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11, 132, 255, 0.08);
  border: 1px solid rgba(11, 132, 255, 0.15);
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 0.86rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.metric {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.metric span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.spec-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  background: #f3f8ff;
  color: var(--text-strong);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.spec-table td {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.download-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.download-item {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.download-item h4 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1rem;
}

.download-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

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

.download-grid-platforms {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.download-form-layout {
  display: grid;
  gap: 24px;
}

.download-release-section {
  padding-bottom: 12px;
}

.download-release-section .section-header {
  margin-bottom: 0;
}

.download-release-section .section-header > p {
  margin: 0;
}

.download-release-section + .placeholder-body {
  padding-top: 16px;
}

.release-archive-links {
  display: grid;
  gap: 4px;
  margin: -4px 0 12px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.release-version-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.release-archive-links span {
  font-weight: 800;
  color: var(--text-strong);
}

.release-archive-links a {
  color: var(--primary-strong);
  font-weight: 800;
}

.download-form-layout .download-gate-heading {
  max-width: 880px;
}

.download-form-layout .platform-choice {
  grid-template-columns: 1fr;
}

.download-gate-panel {
  border-color: rgba(8, 163, 201, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 163, 201, 0.12), transparent 34%),
    #fff;
}

.release-download-card {
  grid-template-rows: auto 1fr auto;
}

.release-download-card.is-recommended,
.platform-option.is-recommended {
  border-color: rgba(8, 163, 201, 0.76);
  box-shadow: 0 20px 46px rgba(8, 78, 112, 0.14);
}

.artifact-meta {
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.download-catalog-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(8, 163, 201, 0.22);
  border-radius: 14px;
  color: var(--text-soft);
  background: #fff;
}

.download-actions {
  display: grid;
  gap: 10px;
  align-content: end;
  margin-top: 4px;
}

.download-actions .cta-button {
  justify-content: center;
  width: 100%;
  text-align: center;
}

.release-provenance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(8, 163, 201, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(8, 163, 201, 0.08), rgba(16, 35, 56, 0.02)),
    #fff;
}

.release-provenance h3 {
  margin: 0 0 6px;
  color: var(--text-strong);
  font-size: 0.98rem;
}

.release-provenance p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.release-provenance code {
  color: var(--text-strong);
  font-size: 0.86em;
  background: rgba(8, 163, 201, 0.1);
  border-radius: 6px;
  padding: 1px 5px;
}

.download-gate-heading {
  max-width: 620px;
}

.download-gate-heading h2 {
  margin-bottom: 10px;
}

.download-gate-heading p {
  margin-bottom: 0;
}

.form-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(8, 163, 201, 0.22);
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(8, 163, 201, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-gate-form {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.account-session-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(8, 163, 201, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(8, 163, 201, 0.08), rgba(34, 197, 94, 0.07)),
    #fff;
}

.account-session-panel h2,
.account-session-panel strong,
.account-session-panel p,
.account-session-panel small {
  margin: 0;
}

.account-session-panel strong,
.account-session-panel h2 {
  display: block;
  color: var(--text-strong);
  font-size: 1.08rem;
  line-height: 1.25;
}

.account-session-panel small,
.account-session-panel p {
  display: block;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.account-session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-session-actions .cta-button {
  min-height: 40px;
}

.account-release-updates {
  flex: 1 1 280px;
  max-width: 410px;
}

.account-release-updates label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(12, 29, 55, 0.12);
  border-radius: 12px;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.account-release-updates label:focus-within {
  outline: 3px solid rgba(8, 163, 201, 0.24);
  outline-offset: 2px;
}

.account-release-updates input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.account-release-updates strong,
.account-release-updates small {
  display: block;
}

.account-release-updates-status {
  margin-top: 8px;
}

.account-logout-button {
  border-color: var(--line-strong);
  color: var(--text-strong);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.account-logout-button:hover,
.account-logout-button:focus-visible {
  border-color: var(--primary);
  color: var(--primary-strong);
  background: rgba(11, 132, 255, 0.06);
}

.account-return-note {
  padding: 12px 14px;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 14px;
  color: #166534;
  background: rgba(34, 197, 94, 0.08);
}

.platform-choice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.platform-choice legend,
.form-section-title span {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-strong);
  font-size: 0.98rem;
  font-weight: 900;
}

.field-hint {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.account-field-hint {
  margin-top: 10px;
}

.platform-os-group {
  min-width: 0;
}

.platform-os-group + .platform-os-group {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.platform-os-heading {
  margin: 0 0 12px;
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.platform-os-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.platform-option-shell {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
}

.platform-option-shell .platform-option {
  height: 100%;
}

.platform-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  min-width: 0;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,248,252,0.94));
  box-shadow: 0 12px 34px rgba(8, 20, 38, 0.06);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.platform-option:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 163, 201, 0.34);
  box-shadow: 0 18px 42px rgba(8, 20, 38, 0.09);
}

.platform-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.platform-radio {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 2px solid rgba(78, 96, 118, 0.28);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.platform-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.platform-option:has(input:checked) {
  border-color: rgba(8, 163, 201, 0.76);
  background:
    radial-gradient(circle at 85% 0%, rgba(28, 211, 255, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(231, 249, 255, 0.98), rgba(245, 252, 255, 0.96));
  box-shadow: 0 20px 46px rgba(8, 78, 112, 0.14);
}

.platform-option:has(input:checked) .platform-radio {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.platform-option:has(input:checked) .platform-radio::after {
  opacity: 1;
  transform: scale(1);
}

.platform-option strong,
.platform-option small,
.platform-option em {
  display: block;
}

.platform-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.recommendation-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(8, 163, 201, 0.12);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recommendation-badge[hidden] {
  display: none;
}

.platform-copy {
  min-width: 0;
}

.platform-option strong {
  color: var(--text-strong);
  font-size: 1.02rem;
  line-height: 1.25;
}

.platform-option small {
  margin-top: 5px;
  color: var(--text-soft);
  line-height: 1.45;
}

.platform-option em {
  margin-top: 11px;
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
}

.platform-verification {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px 4px 0;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.platform-signature-info,
.platform-signature-info strong,
.platform-signature-info small {
  display: block;
}

.platform-signature-info strong {
  color: var(--text-strong);
  font-size: 0.8rem;
}

.platform-signature-info small {
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.platform-verification-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
}

.platform-verification a {
  color: var(--primary-strong);
  font-weight: 800;
  text-decoration: none;
}

.platform-verification a:hover {
  text-decoration: underline;
}

.platform-verification code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
}

.form-section-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: -6px;
}

.form-section-title small {
  color: var(--text-soft);
  font-weight: 700;
}

.account-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 14px 0 16px;
  padding: 4px;
  border: 1px solid rgba(12, 29, 55, 0.12);
  border-radius: 8px;
  background: rgba(232, 239, 247, 0.78);
}

.account-mode-switch label {
  min-width: 0;
  cursor: pointer;
}

.account-mode-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.account-mode-switch span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text-soft);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.account-mode-switch input:checked + span {
  border-color: rgba(12, 29, 55, 0.12);
  color: var(--text-strong);
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.account-mode-switch input:focus-visible + span {
  outline: 3px solid rgba(8, 163, 201, 0.28);
  outline-offset: 1px;
}

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

.form-grid label,
.consent-check {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--text-strong);
  font-weight: 800;
}

.form-grid label span {
  font-size: 0.9rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(12, 29, 55, 0.15);
  border-radius: 14px;
  padding: 11px 13px;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
  font-size: 0.98rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-grid textarea {
  resize: vertical;
  line-height: 1.48;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: rgba(78, 96, 118, 0.62);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.platform-option:focus-within,
.consent-check:focus-within {
  outline: 3px solid rgba(8, 163, 201, 0.24);
  outline-offset: 2px;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: rgba(8, 132, 255, 0.62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(8, 132, 255, 0.08);
}

.form-grid .is-wide {
  grid-column: 1 / -1;
}

[data-account-login-form] .form-grid {
  grid-template-columns: 1fr;
}

[data-account-login-form] .form-grid input {
  min-height: 52px;
}

.consent-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(12, 29, 55, 0.1);
  border-radius: 16px;
  color: var(--text-soft);
  background: rgba(245, 248, 252, 0.8);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.48;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.release-update-consent strong {
  color: var(--text-strong);
}

.form-submit-button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  font-size: 1rem;
}

.account-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
}

.account-verified-message {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 8px;
  color: #166534;
  background: rgba(34, 197, 94, 0.08);
  font-weight: 700;
}

.account-registration-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.account-panel {
  display: grid;
  gap: 18px;
}

.account-history-panel {
  grid-column: 1 / -1;
  grid-row: auto;
}

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

.account-history-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(12, 29, 55, 0.1);
  border-radius: 14px;
  background: rgba(245, 248, 252, 0.78);
}

.account-history-item strong,
.account-history-item small,
.account-history-item span {
  display: block;
}

.account-history-item strong {
  color: var(--text-strong);
}

.account-history-item small,
.account-history-item span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.account-reset-panel {
  max-width: 760px;
  margin: 0 auto;
}

.account-reset-panel h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: 2rem;
  line-height: 1.1;
}

.download-result-layout {
  display: grid;
  gap: 24px;
}

.download-result-panel {
  border-color: rgba(34, 197, 94, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.12), transparent 36%),
    #fff;
}

.download-result-panel.is-warning {
  border-color: rgba(251, 191, 36, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.16), transparent 36%),
    #fff;
}

.download-result-panel h1 {
  margin: 0 0 10px;
  color: var(--text-strong);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.download-result-panel p {
  max-width: 760px;
  font-size: 1.05rem;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.download-process-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 132, 255, 0.09), transparent 32%),
    #fff;
}

.download-flow-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  counter-reset: se-flow;
}

.download-flow-list > div {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 18px 18px 66px;
  border: 1px solid rgba(12, 29, 55, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,254,0.98));
  box-shadow: 0 12px 32px rgba(8, 20, 38, 0.05);
}

.download-flow-list h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.04rem;
}

.download-flow-list p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.52;
}

.flow-step {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(8, 132, 255, 0.22);
}

.form-status-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary-strong);
  font-weight: 800;
}

.edge-challenge-hero .kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  color: rgba(226, 246, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edge-challenge-hero h1 sup {
  font-size: 0.45em;
  vertical-align: super;
}

.edge-challenge-visual .signal-panel::before {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.24), transparent 70%);
}

.challenge-tag-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(12, 29, 55, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,254,0.94)),
    radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.11), transparent 34%);
  box-shadow: var(--shadow-md);
}

.challenge-tag-panel span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  color: #0f4f4a;
  background: rgba(240, 253, 250, 0.82);
  font-size: 0.86rem;
  font-weight: 850;
}

.edge-challenge-outcome {
  padding-top: 36px;
}

.challenge-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

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

.challenge-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f766e, var(--accent));
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.08);
}

.challenge-submit-section {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

.challenge-submit-grid {
  align-items: start;
}

.challenge-form-panel {
  display: grid;
  gap: 18px;
}

.challenge-form {
  display: grid;
  gap: 18px;
}

.challenge-checkbox-group,
.challenge-radio-group {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(12, 29, 55, 0.1);
  border-radius: 18px;
  background: rgba(245, 248, 252, 0.74);
}

.challenge-checkbox-group legend,
.challenge-radio-group legend {
  padding: 0 6px;
  color: var(--text-strong);
  font-size: 0.94rem;
  font-weight: 900;
}

.challenge-checkbox-grid,
.challenge-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.challenge-checkbox-grid label,
.challenge-radio-grid label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid rgba(12, 29, 55, 0.09);
  border-radius: 14px;
  background: #fff;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.challenge-checkbox-grid input,
.challenge-radio-grid input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--primary);
}

.challenge-next-panel {
  position: sticky;
  top: calc(var(--header-logo-height) + 24px);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.11), transparent 34%),
    #fff;
}

.challenge-contact-note {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 18px;
  background: rgba(240, 253, 250, 0.72);
}

.challenge-contact-note strong {
  color: var(--text-strong);
}

.challenge-contact-note a {
  color: var(--primary-strong);
  font-weight: 850;
  overflow-wrap: anywhere;
}

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

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

.media-grid-quarter {
  grid-template-columns: 1fr;
  justify-items: center;
}

.media-grid-quarter .media-frame {
  width: 75%;
  max-width: 1200px;
  min-width: 560px;
}

.media-frame {
  margin: 0;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  box-shadow: var(--shadow-md);
}

.media-frame picture,
.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
}

.media-frame img,
.media-frame video {
  height: auto;
  max-width: 100%;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f2f6fc;
}

.media-frame figcaption {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.media-path {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(11, 132, 255, 0.08);
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

.edge-carousel {
  width: min(100%, 700px);
  margin: 0 auto;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  box-shadow: var(--shadow-md);
}

.edge-carousel-stage {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f1f6fd;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.edge-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  will-change: opacity;
  pointer-events: none;
}

.edge-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.edge-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.edge-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.edge-carousel-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text-strong);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.edge-carousel-btn:hover,
.edge-carousel-btn:focus-visible {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.edge-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.edge-carousel-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 132, 255, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.edge-carousel-dot.is-active {
  background: var(--primary);
  transform: scale(1.12);
}

.edge-carousel-dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

body.prerelease-modal-open {
  overflow: hidden;
}

.prerelease-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2200;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(7, 17, 31, 0.68);
  backdrop-filter: blur(8px);
}

.prerelease-backdrop[hidden] {
  display: none;
}

.prerelease-modal {
  position: relative;
  width: min(100%, 520px);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fe 100%);
  box-shadow: var(--shadow-lg);
}

.prerelease-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text-strong);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.prerelease-modal h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.prerelease-text {
  margin: 0;
  color: var(--text-soft);
}

.prerelease-action {
  margin: 12px 0 0;
  color: var(--primary-strong);
  font-size: 0.86rem;
  word-break: break-word;
}

.prerelease-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.prerelease-form label {
  font-weight: 700;
  color: var(--text-strong);
}

.prerelease-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text-strong);
  font: inherit;
}

.prerelease-input:focus-visible {
  outline: 2px solid rgba(11, 132, 255, 0.35);
  outline-offset: 1px;
}

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

.prerelease-actions .cta-button {
  min-height: var(--cta-button-height);
}

.prerelease-actions .cta-button.secondary {
  background: rgba(11, 132, 255, 0.08);
  color: var(--primary-strong);
  border-color: rgba(11, 132, 255, 0.18);
}

.prerelease-actions .cta-button.primary:disabled {
  opacity: 0.72;
  cursor: default;
}

.prerelease-status {
  min-height: 22px;
  margin: 4px 0 0;
  font-size: 0.92rem;
}

.prerelease-status.is-success {
  color: #09784a;
}

.prerelease-status.is-error {
  color: #b42318;
}

.sf2-consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1300;
  width: min(640px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 20px;
  border: 1px solid rgba(28, 211, 255, 0.24);
  border-radius: 22px;
  background: rgba(7, 17, 31, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  color: #eef7ff;
}

.sf2-consent-copy h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.sf2-consent-copy p {
  margin: 0 0 12px;
  color: rgba(238, 247, 255, 0.78);
  font-size: 0.92rem;
}

.sf2-consent-copy label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 4px 14px 0 0;
  font-size: 0.9rem;
  color: rgba(238, 247, 255, 0.92);
}

.sf2-consent-actions {
  display: grid;
  gap: 8px;
  min-width: 180px;
}

body #klaro .cookie-notice,
body #klaro .cookie-modal .cm-modal {
  border: 1px solid rgba(28, 211, 255, 0.24);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.97);
  color: #eef7ff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body #klaro .cookie-notice {
  right: 18px;
  bottom: 18px;
  left: auto;
  width: min(620px, calc(100vw - 36px));
  max-width: min(620px, calc(100vw - 36px));
}

body #klaro .cookie-notice .cn-body,
body #klaro .cookie-modal .cm-body {
  color: rgba(238, 247, 255, 0.78);
}

body #klaro .cookie-notice .cn-body strong,
body #klaro .cookie-modal .cm-header h1,
body #klaro .cookie-modal .cm-list-title {
  color: #fff;
}

body #klaro .cookie-notice a,
body #klaro .cookie-modal a {
  color: #1cd3ff;
}

body #klaro .cookie-notice .cm-btn,
body #klaro .cookie-modal .cm-btn {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(28, 211, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #eef7ff;
  font-weight: 700;
}

body #klaro .cookie-notice .cm-btn.cm-btn-success,
body #klaro .cookie-notice .cm-btn.cm-btn-success-var,
body #klaro .cookie-modal .cm-btn.cm-btn-success,
body #klaro .cookie-modal .cm-btn.cm-btn-success-var {
  border-color: rgba(28, 211, 255, 0.7);
  background: #1cd3ff;
  color: #07111f;
}

body #klaro .cookie-notice .cm-btn.cm-btn-danger,
body #klaro .cookie-modal .cm-btn.cm-btn-danger {
  border-color: rgba(238, 247, 255, 0.2);
  background: transparent;
}

body #klaro .cookie-modal .cm-bg {
  background: rgba(2, 8, 16, 0.72);
}

body #klaro .cookie-modal .cm-service,
body #klaro .cookie-modal .cm-purpose {
  border-color: rgba(238, 247, 255, 0.12);
}

.form-status {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.form-status:not(:empty) {
  padding: 12px 14px;
  border: 1px solid rgba(12, 29, 55, 0.1);
  border-radius: 14px;
  background: rgba(245, 248, 252, 0.92);
}

.form-status.is-success {
  color: #09784a;
  border-color: rgba(9, 120, 74, 0.22);
  background: rgba(34, 197, 94, 0.08);
}

.form-status.is-error {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.22);
  background: rgba(180, 35, 24, 0.07);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy .lead {
    padding-right: 0;
  }
  .hero-visual {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }
  .cta-row-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .timeline {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .timeline::before {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .placeholder-grid {
    grid-template-columns: 1fr;
  }
  .shop-hero-card,
  .shop-detail-layout {
    grid-template-columns: 1fr;
  }
  .shop-product-card {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .shop-buy-box {
    grid-column: 1 / -1;
    grid-template-columns: minmax(160px, 220px) minmax(180px, auto) auto;
    align-items: center;
  }
  .metric-grid,
  .proof-grid,
  .media-grid,
  .shop-spec-grid {
    grid-template-columns: 1fr 1fr;
  }
  .media-grid-quarter {
    grid-template-columns: 1fr;
  }
  .media-grid-quarter .media-frame {
    width: 85%;
    max-width: 980px;
    min-width: 360px;
  }
  .platform-os-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) {
  :root {
    --header-logo-height: 72px;
    --header-logo-image-height: 54px;
    --header-white-width: clamp(160px, 55vw, 240px);
  }
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
    justify-self: end;
  }
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .brand img {
    height: var(--header-logo-image-height);
    max-width: min(70vw, 280px);
  }
  section {
    padding: 76px 0;
  }
}

@media (max-width: 1180px) {
  .account-registration-panel {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --header-white-width: clamp(147px, 59vw, 213px);
  }
  .hero {
    padding: 74px 0 60px;
  }
  .edge-challenge-hero {
    padding: 52px 0 42px;
  }
  .hero-copy h1 {
    max-width: none;
  }
  .grid-3,
  .grid-2,
  .form-grid,
  .platform-choice,
  .challenge-checkbox-grid,
  .challenge-radio-grid,
  .download-grid-compact,
  .release-provenance,
  .timeline,
  .footer-top,
  .metric-grid,
  .proof-grid,
  .media-grid,
  .shop-spec-grid {
    grid-template-columns: 1fr;
  }
  .media-grid-quarter .media-frame {
    width: 100%;
    min-width: 0;
  }
  .footer-bottom {
    display: grid;
  }
  .footer-bottom > .footer-legal-links {
    width: 100%;
    justify-content: flex-start;
  }
  .features-wrap,
  .cta-banner,
  .placeholder-card,
  .placeholder-panel,
  .about-copy,
  .shop-hero-card,
  .shop-product-card,
  .shop-detail-layout {
    padding: 24px;
  }
  .shop-toolbar {
    position: static;
    border-radius: 22px;
  }
  .shop-toolbar a {
    flex: 1 1 140px;
    justify-content: center;
  }
  .shop-product-card,
  .shop-buy-box,
  .shop-detail-buy-box {
    grid-template-columns: 1fr;
  }
  .license-tier-card,
  .license-addon-card,
  .license-tier-card--enterprise,
  .license-enterprise-form {
    grid-template-columns: 1fr;
  }
  .license-rules-grid {
    grid-template-columns: 1fr;
  }
  .license-tier-card .shop-card-meta,
  .license-tier-card h3,
  .license-tier-card .shop-card-tagline,
  .license-tier-card ul,
  .license-tier-card .license-price,
  .license-tier-card > .shop-unavailable,
  .license-addon-card h3,
  .license-addon-card p:not(.license-addon-price),
  .license-addon-price,
  .license-addon-card > .shop-unavailable,
  .license-enterprise-form {
    grid-column: auto;
    grid-row: auto;
  }
  .account-page-grid {
    grid-template-columns: 1fr;
  }
  .account-history-panel {
    grid-row: auto;
  }
  .challenge-next-panel {
    position: static;
  }
  .shop-product-media {
    min-height: 210px;
  }
  .shop-detail-media {
    min-height: 240px;
  }
  .platform-os-grid {
    grid-template-columns: 1fr;
  }
  .platform-option {
    min-height: 0;
  }
  .form-section-title {
    display: grid;
    gap: 3px;
  }
  .download-flow-list > div {
    padding: 16px 16px 16px 60px;
  }
  .flow-step {
    top: 16px;
    left: 16px;
  }
  .card,
  .step-card {
    padding: 24px;
  }
  .hero-visual {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }
  .edge-challenge-visual {
    display: none;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row-hero {
    grid-template-columns: 1fr;
  }
  .cta-button {
    width: 100%;
  }
  .edge-carousel {
    padding: 14px;
  }
  .edge-carousel-controls {
    justify-content: center;
  }
  .prerelease-backdrop {
    padding: 16px;
  }
  .prerelease-modal {
    padding: 20px;
  }
  .prerelease-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sf2-consent-banner {
    grid-template-columns: 1fr;
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
  .sf2-consent-actions {
    grid-template-columns: 1fr;
  }
}

/* SF2 in-place content editor */
.sf2-editor-toolbar,
.sf2-editor-panel {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.sf2-editor-toolbar {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(8, 163, 201, 0.36);
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.94);
  color: #effbff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.sf2-editor-toolbar-title {
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sf2-editor-toolbar-body {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.sf2-editor-muted {
  color: rgba(239, 251, 255, 0.74);
  font-size: 0.92rem;
}

.sf2-editor-login {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sf2-editor-login input {
  min-width: 220px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.sf2-editor-login input:focus {
  border-color: rgba(28, 211, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(28, 211, 255, 0.12);
}

.sf2-editor-login button,
.sf2-editor-link-button,
.sf2-editor-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.sf2-editor-login button,
.sf2-editor-button.primary {
  padding: 12px 16px;
  color: #06111f;
  background: linear-gradient(135deg, #7ef5ff 0%, #1cd3ff 45%, #0b84ff 100%);
}

.sf2-editor-link-button,
.sf2-editor-button.secondary {
  padding: 11px 14px;
  color: #e8f9ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.sf2-editor-error {
  color: #ffb4a8;
  font-size: 0.9rem;
  font-weight: 700;
}

.sf2-edit-mode-active .sf2-editable-highlight {
  position: relative;
  outline: 2px dashed rgba(8, 163, 201, 0.72);
  outline-offset: 5px;
  border-radius: 8px;
  cursor: text;
  transition: outline-color 0.15s ease, background-color 0.15s ease;
}

.sf2-edit-mode-active .sf2-editable-highlight:hover,
.sf2-edit-mode-active .sf2-editable-highlight:focus {
  outline-color: #1cd3ff;
  background: rgba(28, 211, 255, 0.08);
}

.sf2-editor-panel {
  position: fixed;
  top: 86px;
  right: 22px;
  z-index: 10000;
  width: min(520px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid rgba(12, 29, 55, 0.12);
  border-radius: 24px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 34px 90px rgba(8, 20, 38, 0.28);
  transform: translateX(calc(100% + 36px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.sf2-editor-panel.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.sf2-editor-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.sf2-editor-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf2-editor-panel h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

.sf2-editor-panel p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.sf2-editor-icon-button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: var(--surface-alt);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.sf2-editor-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.sf2-editor-panel textarea {
  width: 100%;
  min-height: 210px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 14px;
  color: var(--text);
  background: #fbfdff;
  line-height: 1.5;
  outline: none;
}

.sf2-editor-panel textarea:focus {
  border-color: rgba(11, 132, 255, 0.64);
  box-shadow: 0 0 0 5px rgba(11, 132, 255, 0.1);
}

.sf2-editor-status {
  min-height: 22px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.sf2-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.sf2-editor-button.secondary {
  color: var(--text);
  background: #edf5fb;
  border-color: #c9dce8;
}

@media (max-width: 720px) {
  .sf2-editor-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .sf2-editor-toolbar-body,
  .sf2-editor-login {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .sf2-editor-login input {
    min-width: 0;
    width: 100%;
  }

  .sf2-editor-panel {
    top: 72px;
    right: 16px;
    left: 16px;
    width: auto;
  }
}

/* SF2 editor UI refresh - keep this after the initial editor styles. */
.sf2-editor-toolbar {
  left: 50% !important;
  right: auto !important;
  bottom: 18px !important;
  width: min(1040px, calc(100vw - 36px)) !important;
  max-width: calc(100vw - 36px) !important;
  padding: 12px 14px !important;
  border-radius: 22px !important;
  transform: translateX(-50%) !important;
}

.sf2-editor-toolbar-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.sf2-editor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7ef5ff 0%, #1cd3ff 45%, #0b84ff 100%);
  color: #06111f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(28, 211, 255, 0.26);
}

.sf2-editor-toolbar-subtitle {
  margin-top: 3px;
  color: rgba(239, 251, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.2;
}

.sf2-editor-login {
  margin: 0;
}

.sf2-editor-login button,
.sf2-editor-link-button,
.sf2-editor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  white-space: nowrap;
}

.sf2-editor-panel {
  top: 86px !important;
  right: 22px !important;
  bottom: 24px !important;
  width: min(540px, calc(100vw - 32px)) !important;
  padding: 24px !important;
  overflow: auto;
}

.sf2-editor-panel form {
  display: grid;
  gap: 16px;
  margin: 0;
}

.sf2-editor-field {
  display: grid;
  gap: 8px;
}

.sf2-editor-panel textarea {
  min-height: 260px;
  font: inherit;
}

.sf2-editor-actions {
  margin-top: 2px;
}

@media (max-width: 760px) {
  .sf2-editor-toolbar {
    bottom: 12px !important;
    width: calc(100vw - 24px) !important;
  }

  .sf2-editor-panel {
    top: 70px !important;
    right: 12px !important;
    left: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    padding: 18px !important;
  }
}
