:root {
  --font-body: "Manrope", "Avenir Next", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Franklin Gothic Condensed", sans-serif;
  --bg: #f6f8fc;
  --bg-soft: #edf3fa;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-warm: #fff9ee;
  --navy: #0d2545;
  --navy-soft: #315279;
  --gold: #f1b62b;
  --gold-soft: #ffe39f;
  --ink: #102640;
  --muted: #5b7088;
  --line: rgba(16, 38, 64, 0.12);
  --line-strong: rgba(16, 38, 64, 0.2);
  --shadow: 0 24px 64px rgba(13, 37, 69, 0.12);
  --shadow-soft: 0 14px 36px rgba(13, 37, 69, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: 1240px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at top right, rgba(241, 182, 43, 0.11), transparent 24%),
    radial-gradient(circle at 0% 14%, rgba(49, 82, 121, 0.06), transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, #fbfcff 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

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

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

button:disabled {
  cursor: not-allowed;
}

.site-shell {
  width: min(calc(100% - 52px), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 248, 252, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 248, 252, 0.96);
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(13, 37, 69, 0.06);
}

.header-shell {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}

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

.brand-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.logo-badge img,
.motif-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name,
.display-title,
.panel-title,
.callout-title,
.form-title,
.legal-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--navy);
}

.brand-name {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 0.96;
}

.sun-o {
  height: 1.15em;
  width: auto;
  display: inline-block;
  vertical-align: -0.1em;
  margin: 0 0.04em;
}

.brand-tag,
.eyebrow,
.section-label,
.mini-label,
.field-note,
.comparison-label,
.page-pill,
.proof-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  flex-wrap: wrap;
}

.site-nav a,
.nav-dropdown > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
  padding-right: 18px;
}

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

.site-nav a::after,
.nav-dropdown > summary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease;
}

.nav-dropdown > summary::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.nav-dropdown > summary:hover,
.nav-dropdown > summary:focus-visible,
.nav-dropdown--active > summary,
.nav-dropdown[open] > summary {
  color: var(--navy);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after,
.nav-dropdown > summary:hover::after,
.nav-dropdown > summary:focus-visible::after,
.nav-dropdown--active > summary::after,
.nav-dropdown[open] > summary::after {
  transform: scaleX(1);
}

.nav-dropdown[open] > summary::before {
  transform: translateY(-20%) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 20;
  width: min(700px, calc(100vw - 48px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  transform: translateX(-38%);
}

.nav-dropdown-label {
  margin: 0 0 14px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.nav-dropdown-link {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(16, 38, 64, 0.09);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  white-space: normal;
}

.nav-dropdown-link span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--navy);
}

.nav-dropdown-link small {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.nav-dropdown-link[aria-current="page"] {
  border-color: rgba(241, 182, 43, 0.56);
  background: linear-gradient(180deg, rgba(255, 241, 206, 0.78), rgba(255, 255, 255, 0.96));
}

.header-cta,
.button-row,
.split-actions,
.surface-actions,
.preview-switch {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
  cursor: pointer;
  touch-action: manipulation;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-solid {
  background: linear-gradient(135deg, #ffd14b, var(--gold));
  color: var(--navy);
  box-shadow: 0 18px 36px rgba(241, 182, 43, 0.24);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--line-strong);
  color: var(--navy);
}

.button-dark {
  background: linear-gradient(180deg, #132947 0%, #0b1d33 100%);
  color: #f3f6fb;
  box-shadow: 0 16px 34px rgba(11, 29, 51, 0.2);
}

.button[data-loading="true"] {
  background: linear-gradient(135deg, #0f3c73 0%, #1d5fd1 52%, #4db3ff 100%);
  box-shadow: 0 18px 42px rgba(40, 112, 221, 0.34);
  cursor: progress;
}

.button[data-loading="true"]::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  animation: buttonSpin 0.8s linear infinite;
}

.button-wide {
  width: 100%;
}

.button[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.button-muted {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--line);
  color: var(--muted);
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-main {
  overflow: clip;
}

.hero {
  position: relative;
  padding: 34px 0 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 37, 69, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 37, 69, 0.03) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 86%);
}

.hero-shell,
.split-layout,
.preview-layout,
.form-layout,
.proof-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
  gap: 42px;
  align-items: center;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.hero-copy,
.hero-visual {
  opacity: 1;
  transform: none;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-brandline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-badge {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.display-title {
  font-size: clamp(3.2rem, 5.6vw, 5.8rem);
  line-height: 0.9;
  max-width: 13ch;
}

.hero-copy p,
.section-copy,
.surface-card p,
.comparison-card li,
.stack-card p,
.contact-card p,
.legal-card p,
.thanks-card p,
.form-note,
.feature-list li,
.stat-item p,
.payment-note,
.payment-list li {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-notes,
.feature-list,
.check-list,
.timeline-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-notes li,
.feature-list li,
.check-list li {
  position: relative;
  padding-left: 18px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.hero-notes li::before,
.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-stage,
.browser-frame,
.surface-card,
.image-card,
.proof-card,
.page-link-card,
.comparison-card,
.stack-card,
.contact-card,
.preview-card,
.legal-card,
.thanks-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.hero-stage {
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 248, 252, 0.96);
}

.dot-row {
  display: inline-flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff6a61; }
.dot-yellow { background: #f4c248; }
.dot-green { background: #5ac868; }

.browser-url,
.browser-status {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.browser-url {
  color: var(--navy);
}

.browser-status {
  color: var(--muted);
  text-align: right;
}

.hero-stage-body {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(241, 182, 43, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(220px, 0.82fr);
  gap: 18px;
}

.surface-card {
  padding: 26px;
}

.surface-card h2,
.page-link-card h3,
.comparison-card h3,
.stack-card h3,
.contact-card h3,
.preview-card h3,
.legal-card h2,
.thanks-card h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--navy);
}

.surface-card h2 {
  max-width: 12ch;
}

.motif-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(241, 182, 43, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,252,0.9));
}

.motif-mark {
  width: 116px;
  height: 116px;
}

.motif-card p {
  max-width: 18ch;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.stage-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.rail-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.rail-card strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.45;
}

.code-card {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #112845 0%, #08182c 100%);
  color: #f2f5fb;
}

.code-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 24, 44, 0.5);
}

.code-bar span:last-child {
  color: rgba(255,255,255,0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.code-body {
  padding: 18px 20px 20px;
}

.code-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
}

.token-key { color: #f6d25f; }
.token-punct { color: rgba(255,255,255,0.55); padding: 0 8px; }
.token-value { color: #b8d7ff; }

.section {
  padding: 30px 0 0;
}

#audit-form {
  scroll-margin-top: 120px;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.94;
  text-transform: uppercase;
  color: var(--navy);
}

.page-link-grid,
.comparison-grid,
.stack-grid,
.proof-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.page-link-card,
.comparison-card,
.stack-card,
.proof-card,
.contact-card,
.preview-card {
  padding: 24px;
}

.page-link-card p,
.comparison-card p,
.stack-card p,
.contact-card p {
  margin-top: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.link-arrow--light {
  color: rgba(255, 255, 255, 0.92);
}

.proof-layout {
  align-items: stretch;
}

.image-card {
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.image-card--trust img {
  aspect-ratio: 4 / 3;
  object-position: 34% center;
}

.image-card--tech img,
.image-card--diagram img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(237,243,250,0.92));
}

.image-card--wide img {
  aspect-ratio: 16 / 9;
  object-position: center;
}

.proof-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 28px;
}

.proof-card .section-title,
.form-copy .section-title,
.split-copy .section-title {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
}

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

.stat-item {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.stat-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.35;
}

.stat-item p {
  margin-top: 8px;
  font-size: 0.9rem;
}

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

.comparison-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.comparison-card li {
  margin-top: 10px;
}

.comparison-card--strong {
  background: linear-gradient(180deg, #112845 0%, #1a3a62 100%);
  border-color: transparent;
}

.comparison-card--strong .comparison-label,
.comparison-card--strong h3,
.comparison-card--strong li,
.comparison-card--strong p {
  color: rgba(255,255,255,0.92);
}

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

.split-copy {
  display: grid;
  gap: 18px;
}

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

.stack-card {
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-soft);
}

.stack-card--dark {
  background: linear-gradient(180deg, #132947 0%, #0a1b31 100%);
  border-color: transparent;
}

.stack-card--dark h3,
.stack-card--dark p,
.stack-card--dark .mini-label {
  color: rgba(255,255,255,0.9);
}

.timeline-list {
  gap: 16px;
}

.timeline-item {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.timeline-item h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--navy);
}

.timeline-item p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.timeline-item--dark {
  border-top-color: rgba(255,255,255,0.12);
}

.timeline-item--dark h3,
.timeline-item--dark p,
.timeline-item--dark .mini-label {
  color: rgba(255,255,255,0.9);
}

.home-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-promo {
  padding: 24px 0 8px;
}

.home-paths {
  padding-top: 12px;
}

.home-paths-shell {
  display: grid;
  gap: 24px;
}

.home-paths-head {
  max-width: 72ch;
}

.home-paths-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-path-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.home-path-card:hover,
.home-path-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(8, 31, 58, 0.08);
  border-color: rgba(16, 38, 64, 0.14);
}

.home-path-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--navy);
}

.home-path-note {
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid rgba(16, 38, 64, 0.08);
  color: var(--muted);
}

.home-path-card .button {
  margin-top: auto;
}

.home-path-card--dark {
  background: linear-gradient(160deg, #102640 0%, #183a62 48%, #234a77 100%);
  border-color: transparent;
}

.home-path-card--dark .home-kicker,
.home-path-card--dark h3,
.home-path-card--dark p {
  color: rgba(255, 255, 255, 0.92);
}

.home-path-card--dark .home-path-note {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
}

.home-promo-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.home-promo-pill,
.home-growth-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-promo-pill {
  background: rgba(16, 38, 64, 0.08);
  color: var(--navy);
}

.home-promo-copy,
.home-hero-note,
.home-metric-label,
.home-growth-copy p,
.home-path-card p,
.home-growth-fit,
.home-proof-item p,
.home-convert-card p,
.home-proof-caption,
.home-gallery-card-caption strong,
.home-convert-card .home-section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-promo-link {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.home-section-head,
.home-platform-head,
.home-industries-copy,
.home-audit-copy,
.home-start-card,
.home-hero-intro {
  display: grid;
  gap: 18px;
}

.home-section-title,
.home-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--navy);
}

.home-hero-title {
  font-size: clamp(4rem, 8vw, 7.6rem);
  line-height: 0.84;
  max-width: 8ch;
  margin-inline: auto;
}

.home-section-title {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.92;
  max-width: 12ch;
}

.home-hero-text,
.home-section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.new-hero-layout {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: 
    radial-gradient(circle at 80% 20%, #f7a220 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, #f7a220 0%, transparent 40%),
    linear-gradient(135deg, #023474 0%, #001f46 100%);
  color: #fff;
  padding: 80px 0;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: inherit;
  font-size: 28vw;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 0;
  line-height: 0.8;
  letter-spacing: -0.02em;
}

.hero-main-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
}

.hero-primary-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  text-align: center;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0 0 30px 0;
  text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-pricing-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 3;
}

.hero-mobile-actions {
  display: none;
  width: 100%;
  gap: 12px;
}

.hero-product-title {
  font-family: inherit;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: #fff;
}

.hero-product-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.hero-price {
  margin: 15px 0;
}

.hero-price strong {
  font-size: clamp(4rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
}

.hero-price span {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.circular-cta {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  color: #001f46;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  gap: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: absolute;
  right: -70px;
  bottom: -40px;
  z-index: 10;
}

.circular-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  color: #001f46;
}

.hero-glass-panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
  color: #fff;
}

.panel-heading {
  font-family: inherit;
  font-size: 1.5rem;
  margin: 0 0 24px 0;
  font-weight: 700;
}

.panel-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-features-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  font-weight: 500;
  padding-left: 0;
}

.panel-features-list li::before {
  display: none;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.hero-trust-bar {
  text-align: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust-bar p {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 20px 0;
}

.hero-trust-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  opacity: 0.5;
}

.logo-placeholder {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.ops-hero {
  min-height: auto;
  padding: 72px 0 56px;
}

.ops-hero-shell {
  gap: 26px;
}

.ops-kicker,
.ops-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.ops-eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.ops-headline {
  margin: 0;
  max-width: 11ch;
  text-align: left;
}

.ops-content-grid {
  gap: 32px;
  align-items: stretch;
}

.ops-pricing-block {
  align-items: flex-start;
  text-align: left;
  gap: 18px;
}

.ops-pricing-block .hero-product-title {
  max-width: 7ch;
}

.ops-pricing-block .hero-price {
  margin: 0;
}

.ops-price-stack {
  display: grid;
  gap: 10px;
}

.ops-price-note {
  max-width: 40ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
  line-height: 1.7;
}

.ops-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.preview-switch .button {
  flex: 1 1 220px;
}

.ops-circular-cta {
  position: static;
  right: auto;
  bottom: auto;
  flex: 0 0 auto;
}

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

.ops-note-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.97rem;
  line-height: 1.6;
}

.ops-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f7c551;
}

.ops-glass-panel {
  display: grid;
  gap: 22px;
  align-content: start;
}

.ops-glass-panel .panel-heading {
  color: #fff;
}

.ops-glass-panel .section-label,
.ops-glass-panel .panel-title,
.ops-glass-panel .portal-feedback,
.ops-glass-panel .request-summary-list strong,
.ops-glass-panel .request-summary-list span,
.ops-glass-panel .request-summary-list p {
  color: rgba(255, 255, 255, 0.92);
}

.ops-glass-panel .section-label,
.ops-glass-panel .portal-feedback,
.ops-glass-panel .request-summary-list strong {
  color: rgba(255, 255, 255, 0.68);
}

.ops-glass-panel .button-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.94);
}

.ops-glass-panel .panel-features-list li {
  align-items: flex-start;
}

.ops-section {
  padding-top: 24px;
}

.ops-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}

.ops-surface {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.ops-surface--warm {
  background: linear-gradient(180deg, #fffdf7 0%, #faf1de 100%);
  border-color: rgba(241, 182, 43, 0.22);
}

.ops-surface--dark {
  background: linear-gradient(160deg, #102640 0%, #183a62 48%, #234a77 100%);
  border-color: transparent;
  box-shadow: 0 24px 64px rgba(13, 37, 69, 0.18);
}

.ops-surface--dark .section-label,
.ops-surface--dark .section-title,
.ops-surface--dark .section-copy,
.ops-surface--dark p,
.ops-surface--dark li,
.ops-surface--dark .field-note,
.ops-surface--dark .check-list li,
.ops-surface--dark .meta-chip {
  color: rgba(255, 255, 255, 0.9);
}

.ops-surface--dark .section-label,
.ops-surface--dark .field-note {
  color: rgba(255, 255, 255, 0.68);
}

.ops-surface--dark .meta-chip {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.ops-surface--dark .button-ghost,
.ops-surface--dark .button-muted {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

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

.ops-mini-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.ops-mini-card strong {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.35;
}

.ops-mini-card span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.ops-auth-stack {
  display: grid;
  gap: 18px;
}

.ops-auth-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #fff;
}

.ops-auth-card .section-label,
.ops-auth-card .panel-title,
.ops-auth-card .field label,
.ops-auth-card .field-label,
.ops-auth-card .portal-feedback,
.ops-auth-card .field-note {
  color: inherit;
}

.ops-auth-card .section-label,
.ops-auth-card .field-note,
.ops-auth-card .portal-feedback {
  color: rgba(255, 255, 255, 0.72);
}

.ops-auth-card .button-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.94);
}

.ops-auth-card .portal-code-input,
.ops-auth-card .field input,
.ops-auth-card .field textarea,
.ops-auth-card .field select {
  background: rgba(255, 255, 255, 0.96);
}

.ops-payment-shell {
  width: min(calc(100% - 52px), 980px);
  margin: 0 auto;
}

.ops-payment-card {
  display: grid;
  gap: 18px;
  padding: 32px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.ops-payment-card--warm {
  background: linear-gradient(180deg, #fffdf7 0%, #faf1de 100%);
  border-color: rgba(241, 182, 43, 0.22);
}

.ops-status-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.home-hero-intro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.home-hero-actions {
  justify-content: center;
}

.home-hero-note {
  font-size: 0.92rem;
}

.home-hero-reel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.18fr 0.9fr 1.05fr;
  gap: 18px;
  align-items: end;
  margin-top: 34px;
}

.home-hero-panel,
.home-industries-media,
.home-gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-hero-panel {
  height: 320px;
  min-height: 260px;
  animation: heroFloat 8s ease-in-out infinite;
}

.home-hero-panel--feature {
  height: 420px;
  min-height: 420px;
}

.home-hero-panel--tall {
  height: 360px;
  min-height: 360px;
}

.home-hero-panel--short {
  height: 300px;
  min-height: 300px;
}

.home-hero-panel:nth-child(2) {
  animation-delay: 0.4s;
}

.home-hero-panel:nth-child(3) {
  animation-delay: 0.8s;
}

.home-hero-panel:nth-child(4) {
  animation-delay: 1.2s;
}

.home-hero-panel:nth-child(5) {
  animation-delay: 1.6s;
}

.home-hero-panel img,
.home-industries-media img,
.home-gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-hero-panel-caption,
.home-gallery-card-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(12, 29, 51, 0.76);
  color: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
}

.home-hero-panel-caption,
.home-gallery-card-caption span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.home-metric {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.home-metric-value,
.home-growth-copy h3,
.home-proof-item h3,
.home-convert-card h3,
.home-gallery-card-caption strong {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--navy);
}

.home-metric-value {
  font-size: clamp(2.9rem, 4.8vw, 4.2rem);
  line-height: 0.88;
}

.home-growth-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 18px;
}

.home-growth-pill {
  border: 1px solid rgba(16, 38, 64, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
}

.home-growth-pill--active {
  background: linear-gradient(135deg, rgba(255, 209, 75, 0.28), rgba(255, 255, 255, 0.92));
  border-color: rgba(241, 182, 43, 0.42);
}

.home-growth-rows {
  border-top: 1px solid var(--line);
}

.home-growth-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.86fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px 24px;
  border-bottom: 1px solid var(--line);
  border-radius: 22px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.home-growth-row:hover {
  background: rgba(246, 248, 252, 0.6);
  box-shadow: 0 16px 32px rgba(0, 50, 120, 0.04);
  border-bottom-color: transparent;
}

.home-growth-copy {
  display: grid;
  gap: 10px;
}

.home-paths,
.home-proof,
.home-gallery,
.home-convert,
.home-audit {
  content-visibility: auto;
  contain-intrinsic-size: 840px;
}

.home-proof-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 34px;
  align-items: center;
}

.home-proof-copy {
  display: grid;
  gap: 20px;
}

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

.home-proof-item,
.home-convert-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.home-proof-item {
  align-content: start;
  min-height: 100%;
}

.home-proof-industries,
.home-convert-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-proof-industries span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(16, 38, 64, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.home-proof-media,
.home-gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-proof-media {
  min-height: 100%;
  aspect-ratio: 3584 / 1184;
}

.home-proof-media picture,
.home-gallery-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-proof-media img,
.home-gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-proof-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(12, 29, 51, 0.76);
  color: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
}

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

.home-gallery-grid--curated .home-gallery-card {
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 10;
}

.home-convert-shell {
  display: grid;
  gap: 24px;
}

.home-convert-head {
  max-width: 70ch;
}

.home-convert-grid,
.home-audit-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

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

.home-gallery-card {
  height: 310px;
  min-height: 310px;
}

.home-gallery-card--wide {
  grid-column: span 2;
  height: 380px;
  min-height: 380px;
}

.home-gallery-card-caption strong {
  font-size: 1.04rem;
  color: rgba(255,255,255,0.94);
}

.home-convert-card--dark {
  background: linear-gradient(160deg, #102640 0%, #183a62 48%, #234a77 100%);
  border-color: transparent;
}

.home-convert-card--dark .home-kicker,
.home-convert-card--dark h3,
.home-convert-card--dark p,
.home-convert-card--dark .meta-chip {
  color: rgba(255,255,255,0.92);
}

.home-convert-card--dark .home-kicker {
  color: rgba(255,255,255,0.64);
}

.home-convert-card--dark .meta-chip {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
}

.home-convert-card--dark .button-ghost {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.94);
}

.home-audit-shell {
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
}

.home-audit-copy {
  align-content: start;
  padding-top: 10px;
}

.home-audit-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-audit-card {
  display: grid;
  gap: 18px;
}

.form-grid--audit-core {
  margin-top: 18px;
}

.audit-form-intro {
  display: grid;
  gap: 10px;
}

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

.audit-step-indicator {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(16, 38, 64, 0.1);
  background: rgba(247, 250, 253, 0.94);
  color: var(--muted);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.audit-step-indicator span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.audit-step-indicator strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.audit-step-indicator.is-active {
  border-color: rgba(241, 182, 43, 0.48);
  background: linear-gradient(180deg, rgba(255, 248, 224, 0.96), rgba(255, 255, 255, 0.98));
  color: var(--navy);
  transform: translateY(-1px);
}

.audit-feedback {
  min-height: 1.3rem;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.audit-feedback[hidden] {
  display: none;
}

.audit-feedback[data-state="error"] {
  color: #b53434;
}

.audit-feedback[data-state="loading"] {
  color: var(--navy);
}

.audit-step-shell {
  display: grid;
  gap: 16px;
}

.has-js .audit-step-shell.is-active {
  animation: sectionFadeUp 260ms ease;
}

.audit-step-label {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.audit-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audit-step-actions {
  align-items: center;
  justify-content: flex-start;
}

.audit-success-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(241, 182, 43, 0.32);
  background: linear-gradient(180deg, rgba(255, 250, 236, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 24px 48px rgba(14, 35, 59, 0.08);
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes sectionFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-process-media {
  display: grid;
  height: 420px;
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}

.home-process-media img {
  object-fit: contain;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(238,244,251,0.9));
}

.page-hero {
  padding: 64px 0 52px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(247, 162, 32, 0.78), transparent 34%),
    radial-gradient(circle at 10% 88%, rgba(247, 162, 32, 0.36), transparent 28%),
    linear-gradient(135deg, #0a356d 0%, #031a3d 100%);
}

.page-hero::before {
  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: 84px 84px;
}

.page-hero .hero-copy {
  gap: 24px;
}

.page-hero .logo-badge {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 48px rgba(2, 19, 43, 0.28);
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.page-hero .brand-name,
.page-hero .display-title {
  color: #fff;
}

.page-hero .hero-copy p,
.page-hero .section-copy {
  color: rgba(255, 255, 255, 0.84);
}

.page-hero .page-pill {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
}

.page-hero .hero-stage,
.page-hero .image-card {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 64px rgba(3, 19, 43, 0.28);
}

.page-hero .image-card {
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.page-hero .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .button-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.page-hero .button-ghost:hover,
.page-hero .button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.page-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(241, 182, 43, 0.26);
  background: rgba(255,255,255,0.82);
}

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

.preview-switch {
  margin-bottom: 18px;
}

.preview-switch button[aria-pressed="true"] {
  background: linear-gradient(135deg, #ffd14b, var(--gold));
  color: var(--navy);
  border-color: transparent;
}

.preview-panel {
  display: none;
  padding: 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.preview-panel.is-active {
  display: grid;
  gap: 18px;
  opacity: 1;
  transform: none;
}

.preview-panel--warm {
  background: linear-gradient(180deg, #fffdf7 0%, #faf1de 100%);
  border-color: rgba(241, 182, 43, 0.22);
}

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

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

.contact-card {
  padding: 28px;
}

.contact-card h3 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
}

.contact-card .section-label {
  margin-bottom: 10px;
}

.form-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.form-card h3,
.preview-panel h3 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--navy);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.94);
  color: var(--ink);
}

.field textarea {
  min-height: 152px;
  padding: 16px 18px;
  resize: vertical;
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  color: rgba(11, 29, 51, 0.56);
  background: rgba(237, 243, 250, 0.92);
}

.field--check {
  gap: 0;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.6;
  color: var(--ink);
}

.check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--gold);
}

.check-row a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea,
.field.has-error .check-row {
  border-color: rgba(181, 52, 52, 0.46);
  box-shadow: 0 0 0 3px rgba(181, 52, 52, 0.08);
}

.field-error {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #b53434;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.button:focus-visible,
.site-nav a:focus-visible,
.nav-dropdown > summary:focus-visible {
  outline: 2px solid rgba(241, 182, 43, 0.8);
  outline-offset: 2px;
}

.form-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.84);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

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

.thanks-main,
.legal-main {
  position: relative;
  padding: 42px 0 0;
}

.thanks-main::before,
.legal-main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 320px;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 16%, rgba(241, 182, 43, 0.2), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(49, 82, 121, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 100%);
}

.thanks-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 52px), 980px);
  margin: 0 auto;
}

.thanks-card,
.legal-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.thanks-card::before,
.legal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #ffd14b 0%, #f1b62b 50%, #315279 100%);
}

.legal-card {
  display: grid;
  gap: 18px;
}

.legal-card > * {
  max-width: 74ch;
}

.legal-card section {
  display: grid;
  gap: 12px;
}

.legal-card section + section {
  padding-top: 18px;
  border-top: 1px solid rgba(16, 38, 64, 0.08);
}

.legal-card h1 {
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 0.94;
}

.legal-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.05;
}

.legal-card h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.legal-lead {
  margin: 0;
  color: var(--navy);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.78;
}

.legal-card ul,
.legal-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.legal-card li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.legal-card a {
  color: var(--navy);
}

.legal-card a:hover,
.legal-card a:focus-visible {
  color: #0e3555;
}

.legal-card code {
  padding: 0.14rem 0.34rem;
  border-radius: 0.42rem;
  background: rgba(12, 33, 52, 0.08);
  color: var(--navy);
  font-size: 0.92em;
}

.legal-card .payment-meta {
  margin-top: 4px;
}

.payment-card {
  display: grid;
  gap: 18px;
}

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

.payment-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
}

.payment-warning {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(241, 182, 43, 0.3);
  background: linear-gradient(180deg, #fffdf7 0%, #faf1de 100%);
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.5;
}

.thanks-card .button-row,
.legal-card .button-row {
  margin-top: 22px;
}

.site-footer {
  padding: 34px 0 44px;
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-copy,
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--navy);
}

.portal-legal-note {
  margin: 4px 0 0;
}

@media (max-width: 1180px) {
  .header-shell {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  }

  .header-cta {
    display: none;
  }

  .hero-shell,
  .split-layout,
  .preview-layout,
  .form-layout,
  .proof-layout,
  .page-link-grid,
  .contact-grid,
  .comparison-grid,
  .stack-grid,
  .stage-grid,
  .stage-rail {
    grid-template-columns: 1fr;
  }

  .image-card--trust img {
    aspect-ratio: 16 / 10;
  }

  .browser-status {
    display: none;
  }

  .nav-dropdown-menu {
    left: 0;
    transform: translateX(0);
    width: min(640px, calc(100vw - 72px));
  }

  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .circular-cta {
    position: static;
    right: auto;
    bottom: auto;
    margin-top: 20px;
  }

  .nav-dropdown-grid,
  .home-paths-grid,
  .home-metrics,
  .home-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .home-growth-row,
  .home-proof-shell,
  .home-convert-grid,
  .home-audit-shell {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .site-shell,
  .thanks-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header {
    position: sticky;
    backdrop-filter: blur(12px);
  }

  .header-shell {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    min-height: auto;
    padding: 12px 0;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-icon {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .legal-card section + section {
    padding-top: 16px;
  }

  .site-nav a,
  .nav-dropdown > summary {
    min-height: 44px;
    padding: 10px 2px 8px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .nav-dropdown {
    width: auto;
  }

  .nav-dropdown > summary {
    width: auto;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 12px;
    transform: none;
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr;
  }

  .brand-tag {
    display: none;
  }

  .hero,
  .page-hero {
    padding-top: 12px;
  }

  .page-hero {
    padding-bottom: 34px;
  }

  .hero-shell,
  .split-layout,
  .preview-layout,
  .form-layout,
  .proof-layout {
    gap: 26px;
  }

  .logo-badge {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .display-title {
    font-size: clamp(2.55rem, 12vw, 4rem);
    max-width: 12ch;
  }

  .section-title,
  .proof-card .section-title,
  .form-copy .section-title,
  .split-copy .section-title {
    font-size: clamp(2rem, 8.8vw, 3rem);
  }

  .button,
  .button-wide {
    width: 100%;
  }

  .button-row,
  .split-actions,
  .surface-actions,
  .form-actions,
  .preview-switch {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-brandline {
    align-items: flex-start;
  }

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

  .browser-bar,
  .code-bar {
    min-height: 46px;
    padding: 0 14px;
  }

  .hero-stage-body,
  .surface-card,
  .proof-card,
  .page-link-card,
  .comparison-card,
  .stack-card,
  .contact-card,
  .preview-panel,
  .form-card,
  .thanks-card,
  .legal-card {
    padding: 20px 18px;
  }

  .hero::before {
    background-size: 54px 54px;
  }

  .home-promo-shell {
    justify-content: flex-start;
    border-radius: 24px;
    padding: 16px;
  }

  .new-hero-layout {
    min-height: auto;
    padding: 36px 0 28px;
  }

  .hero-main-shell {
    gap: 18px;
  }

  .hero-primary-headline {
    margin: 0;
    max-width: 9ch;
    font-size: clamp(2.45rem, 14vw, 3.7rem);
    line-height: 0.92;
    letter-spacing: 0.03em;
    text-align: left;
  }

  .hero-content-grid {
    gap: 18px;
  }

  .hero-pricing-block {
    align-items: flex-start;
    gap: 10px;
    text-align: left;
  }

  .hero-product-title {
    font-size: clamp(2.55rem, 14vw, 3.7rem);
    line-height: 0.92;
  }

  .hero-product-desc {
    max-width: 27ch;
    font-size: 0.96rem;
  }

  .hero-price {
    margin: 4px 0 0;
  }

  .hero-price strong {
    font-size: clamp(3.1rem, 18vw, 4.1rem);
  }

  .hero-price span {
    font-size: 1rem;
  }

  .hero-mobile-actions {
    display: grid;
    margin-top: 6px;
  }

  .hero-pricing-block > .circular-cta {
    display: none;
  }

  .hero-glass-panel {
    padding: 20px 18px;
    border-radius: 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .panel-heading {
    margin-bottom: 14px;
    font-size: 1.12rem;
  }

  .panel-features-list {
    gap: 12px;
  }

  .panel-features-list li {
    align-items: flex-start;
    gap: 12px;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .ops-hero {
    padding: 32px 0 28px;
  }

  .page-hero .hero-copy p,
  .page-hero .section-copy {
    font-size: 0.98rem;
  }

  .ops-headline {
    max-width: 7.8ch;
    text-align: left;
  }

  .ops-pricing-block {
    align-items: flex-start;
    gap: 14px;
    text-align: left;
  }

  .ops-hero-actions {
    display: grid;
    gap: 10px;
    justify-content: stretch;
    width: 100%;
  }

  .ops-circular-cta {
    width: 100%;
    min-height: 56px;
    height: auto;
    margin-top: 0;
    padding: 0 18px;
    border-radius: 20px;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.78rem;
  }

  .ops-circular-cta .cta-text {
    text-align: left;
  }

  .ops-mini-grid {
    grid-template-columns: 1fr;
  }

  .ops-surface,
  .ops-payment-card {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .home-promo {
    padding: 16px 0 0;
  }

  .home-section-title {
    max-width: 10.5ch;
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .home-section-head,
  .home-paths-head,
  .home-proof-copy,
  .home-audit-copy {
    gap: 14px;
  }

  .home-growth-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 18px 0 14px;
  }

  .home-growth-pill {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    letter-spacing: 0.1em;
  }

  .home-hero-reel,
  .home-metrics,
  .home-paths-grid,
  .home-gallery-grid,
  .home-convert-grid,
  .home-proof-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-panel,
  .home-hero-panel--feature,
  .home-hero-panel--short,
  .home-hero-panel--tall,
  .home-gallery-card,
  .home-proof-media {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .home-hero-panel-caption,
  .home-gallery-card-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .home-convert-meta,
  .home-audit-points {
    gap: 10px;
  }

  .home-convert-meta .meta-chip,
  .home-audit-points .meta-chip {
    width: 100%;
    justify-content: center;
  }

  .home-growth-row {
    gap: 10px;
    padding: 20px 0;
  }

  .home-proof-item,
  .home-path-card,
  .home-convert-card,
  .home-audit-card {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .home-gallery-card-caption strong {
    font-size: 0.98rem;
  }

  .home-path-card h3 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .home-proof-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .home-audit-shell {
    gap: 18px;
  }

  .audit-stepper {
    grid-template-columns: 1fr;
  }

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

  .form-grid--audit-core {
    margin-top: 14px;
  }

  .field {
    gap: 6px;
  }

  .field label {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .check-row {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .audit-step-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .form-meta .meta-chip {
    justify-content: center;
    width: 100%;
  }

  .site-footer {
    padding: 28px 0 36px;
  }

  .footer-shell {
    justify-content: flex-start;
  }
}

.portal-main,
.admin-main {
  gap: 0;
}

.portal-hero {
  position: relative;
  overflow: clip;
  padding: 44px 0 20px;
}

.portal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(241, 182, 43, 0.24), transparent 18%),
    radial-gradient(circle at 16% 0%, rgba(49, 82, 121, 0.18), transparent 24%);
  pointer-events: none;
}

.portal-hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 24px;
  align-items: end;
}

.portal-copy {
  padding: 38px 38px 26px;
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(13, 37, 69, 0.96), rgba(30, 65, 109, 0.93));
  color: #f4f7fb;
  box-shadow: var(--shadow);
}

.portal-copy .section-label,
.portal-copy .display-title,
.portal-copy .section-copy {
  color: inherit;
}

.portal-copy .section-label {
  color: rgba(255, 255, 255, 0.68);
}

.portal-copy .section-copy {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.82);
}

.portal-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.portal-code-shell,
.portal-auth-card,
.portal-preview-pane,
.portal-cart-pane,
.admin-auth,
.admin-builder,
.admin-list-item {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.portal-code-shell,
.admin-auth,
.admin-builder {
  padding: 28px;
}

.portal-code-shell {
  display: grid;
  gap: 18px;
}

.portal-auth-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 249, 238, 0.92), rgba(255, 255, 255, 0.98));
  color: var(--navy);
}

.portal-auth-card .section-label,
.portal-auth-card .panel-title,
.portal-auth-card p,
.portal-auth-card .field-note,
.portal-auth-card .field-label,
.portal-auth-card .portal-feedback {
  color: var(--navy);
}

.portal-auth-summary {
  font-weight: 700;
}

.portal-auth-card--stacked {
  gap: 16px;
}

.portal-status-banner {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(241, 182, 43, 0.26);
  background: linear-gradient(180deg, rgba(255, 243, 214, 0.88), rgba(255, 255, 255, 0.96));
}

.portal-status-banner p {
  margin: 0;
}

.portal-status-banner--success {
  border-color: rgba(28, 103, 71, 0.18);
  background: linear-gradient(180deg, rgba(225, 247, 238, 0.92), rgba(255, 255, 255, 0.96));
}

.portal-auth-methods,
.portal-auth-form {
  display: grid;
  gap: 14px;
}

.portal-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-auth-divider::before,
.portal-auth-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(49, 82, 121, 0.14);
}

.portal-auth-form--inline {
  padding-top: 4px;
  border-top: 1px solid rgba(49, 82, 121, 0.12);
}

.portal-code-form,
.admin-form {
  display: grid;
  gap: 18px;
}

.portal-legacy-shell {
  border-radius: 24px;
  border: 1px solid rgba(49, 82, 121, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.portal-legacy-shell summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.portal-legacy-shell summary::-webkit-details-marker {
  display: none;
}

.portal-legacy-shell[open] summary {
  border-bottom: 1px solid rgba(49, 82, 121, 0.12);
}

.portal-code-row {
  display: flex;
  gap: 12px;
}

.portal-code-input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: white;
  letter-spacing: 0.18em;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
}

.portal-workspace,
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.portal-workspace-shell {
  display: grid;
  gap: 20px;
}

.portal-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-tab {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(49, 82, 121, 0.16);
  background: rgba(255, 255, 255, 0.84);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color var(--ease), border-color var(--ease), transform var(--ease), color var(--ease);
}

.portal-tab:hover,
.portal-tab:focus-visible {
  border-color: rgba(241, 182, 43, 0.5);
  transform: translateY(-1px);
}

.portal-tab.is-active {
  background: linear-gradient(135deg, rgba(241, 182, 43, 0.96), rgba(255, 210, 93, 0.98));
  border-color: rgba(241, 182, 43, 0.68);
  box-shadow: 0 14px 28px rgba(225, 171, 43, 0.18);
}

.portal-tab-panel {
  display: grid;
  gap: 20px;
}

.portal-referral-banner {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(241, 182, 43, 0.22);
  background: linear-gradient(180deg, rgba(255, 248, 229, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

.portal-referral-banner p {
  margin: 0;
  color: var(--navy);
}

.portal-referral-banner strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}

.admin-grid {
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
}

.portal-preview-pane,
.portal-cart-pane {
  padding: 28px;
}

.portal-preview-pane {
  background: rgba(255, 255, 255, 0.95);
}

.portal-cart-pane {
  background: linear-gradient(160deg, #102640 0%, #183a62 48%, #234a77 100%);
  border-color: transparent;
}

.portal-cart-pane .section-label,
.portal-cart-pane .section-title,
.portal-cart-pane .field label,
.portal-cart-pane .portal-feedback {
  color: rgba(255, 255, 255, 0.92);
}

.portal-cart-pane .section-label,
.portal-cart-pane .portal-feedback {
  color: rgba(255, 255, 255, 0.68);
}

.portal-cart-pane .portal-check {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.portal-cart-pane .portal-check-copy strong,
.portal-cart-pane .portal-check-copy span,
.portal-cart-pane .portal-check-copy small,
.portal-cart-pane .portal-check-price {
  color: rgba(255, 255, 255, 0.92);
}

.portal-cart-pane .portal-cart-card,
.portal-cart-pane .portal-summary-note,
.portal-cart-pane .admin-items-block {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.portal-cart-pane .field input,
.portal-cart-pane .field textarea,
.portal-cart-pane .field select {
  background: rgba(255, 255, 255, 0.96);
}

.portal-pane-head,
.admin-list-head,
.portal-group-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.portal-preview-frame-shell {
  margin-top: 20px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 37, 69, 0.04), rgba(13, 37, 69, 0.08));
}

.preview-open-hint {
  margin: 14px 0 0;
  color: var(--navy-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

.portal-preview-launch {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #102b4a 0%, #1a58b7 52%, #67d4ff 100%);
  color: #f8fbff;
  border-color: rgba(19, 44, 76, 0.16);
  box-shadow: 0 20px 46px rgba(17, 66, 141, 0.24);
}

.portal-preview-launch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.18) 48%, transparent 72%);
  transform: translateX(-120%);
  animation: previewLaunchSweep 3.8s ease-in-out infinite;
}

.portal-preview-launch:hover,
.portal-preview-launch:focus-visible {
  box-shadow: 0 24px 54px rgba(17, 66, 141, 0.32);
}

.portal-preview-frame {
  display: block;
  width: 100%;
  min-height: 780px;
  border: 0;
  background: white;
}

.portal-feature-form,
.portal-feature-groups,
.portal-group,
.portal-group-items {
  display: grid;
  gap: 16px;
}

.portal-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.portal-check input {
  margin-top: 5px;
}

.portal-check-copy {
  display: grid;
  gap: 6px;
}

.portal-check-copy strong {
  font-size: 1rem;
  color: var(--navy);
}

.portal-check-copy span,
.portal-check-copy small {
  color: var(--muted);
}

.portal-check-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-check-price {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--navy);
}

.portal-cart-card,
.portal-summary-note,
.admin-items-block {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 249, 238, 0.92), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(241, 182, 43, 0.22);
}

.portal-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  color: var(--navy);
}

.portal-feedback {
  min-height: 1.3em;
  margin: 0;
  color: var(--navy-soft);
}

.portal-settings-panel {
  padding: 0;
}

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

.portal-settings-card {
  min-height: 100%;
}

.portal-settings-card--wide {
  grid-column: 1 / -1;
}

.portal-settings-code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.portal-settings-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.portal-settings-list div {
  display: grid;
  gap: 4px;
}

.portal-settings-list dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.portal-settings-list dd {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.checkout-loading-panel {
  display: grid;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(6, 22, 41, 0.44), rgba(15, 52, 95, 0.6));
  border: 1px solid rgba(132, 202, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px rgba(8, 24, 45, 0.2);
}

.checkout-loading-panel[hidden] {
  display: none !important;
}

.checkout-loading-copy {
  display: grid;
  gap: 6px;
}

.checkout-loading-copy h3,
.checkout-loading-copy p,
.checkout-loading-copy .section-label {
  margin: 0;
  color: rgba(244, 249, 255, 0.96);
}

.checkout-loading-copy .section-label {
  color: rgba(176, 218, 255, 0.72);
}

.checkout-loading-copy h3 {
  font-size: 1.08rem;
  line-height: 1.2;
}

.checkout-loading-copy p {
  color: rgba(230, 241, 255, 0.84);
  line-height: 1.65;
}

.checkout-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #fff;
  border-radius: 50%;
  animation: checkoutSpinnerSpin 0.8s linear infinite;
  margin-bottom: 8px;
}

@keyframes checkoutSpinnerSpin {
  to {
    transform: rotate(360deg);
  }
}

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

.request-summary-list p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.request-summary-list strong {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.preview-empty-state {
  margin-top: 20px;
  padding: 30px 24px;
  border-radius: 24px;
  border: 1px dashed rgba(49, 82, 121, 0.24);
  background: linear-gradient(180deg, rgba(13, 37, 69, 0.03), rgba(13, 37, 69, 0.06));
  color: var(--navy-soft);
  font-weight: 600;
}

.admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.admin-list-item {
  padding: 22px;
}

.admin-list-item p {
  margin: 10px 0 0;
}

@media (max-width: 1180px) {
  .ops-intro-grid,
  .portal-hero-shell,
  .portal-workspace,
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .portal-code-row {
    flex-direction: column;
  }

  .portal-settings-grid {
    grid-template-columns: 1fr;
  }

  .portal-pane-head,
  .admin-list-head,
  .portal-group-head {
    flex-direction: column;
    align-items: stretch;
  }

  .portal-preview-pane,
  .portal-cart-pane,
  .portal-code-shell,
  .portal-auth-card,
  .admin-auth,
  .admin-builder {
    padding: 22px;
  }

  .ops-payment-shell {
    width: min(calc(100% - 30px), 980px);
  }

  .portal-preview-launch {
    width: 100%;
    justify-content: center;
  }

  .preview-open-hint {
    font-size: 0.9rem;
  }

  .checkout-loading-panel {
    padding: 16px 18px;
    border-radius: 22px;
  }

  .portal-preview-frame {
    min-height: 560px;
  }
}

@media (max-width: 480px) {
  .site-shell,
  .thanks-shell {
    width: min(calc(100% - 22px), var(--shell));
  }

  .header-shell {
    gap: 8px;
    padding: 10px 0;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a,
  .nav-dropdown > summary {
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }

  .new-hero-layout {
    padding: 24px 0 22px;
  }

  .page-hero {
    padding: 28px 0 24px;
  }

  .hero-primary-headline {
    font-size: clamp(2rem, 14vw, 2.8rem);
  }

  .hero-product-title {
    font-size: clamp(2.35rem, 14vw, 3.2rem);
  }

  .hero-price strong {
    font-size: clamp(2.85rem, 18vw, 3.6rem);
  }

  .hero-product-desc,
  .ops-price-note {
    font-size: 0.93rem;
  }

  .hero-glass-panel,
  .preview-panel,
  .form-card,
  .ops-surface,
  .ops-payment-card {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .panel-features-list li {
    font-size: 0.9rem;
  }

  .home-promo-shell {
    border-radius: 22px;
  }

  .home-paths-grid {
    gap: 14px;
  }

  .home-path-card,
  .audit-success-card {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .home-section-title {
    max-width: 9ch;
    font-size: clamp(1.8rem, 10vw, 2.35rem);
  }

  .home-gallery-grid--curated .home-gallery-card:last-child {
    display: none;
  }

  .portal-preview-frame-shell {
    margin-top: 16px;
    border-radius: 20px;
  }

  .portal-preview-frame {
    min-height: 420px;
  }

  .portal-summary-row {
    align-items: baseline;
  }

  .portal-check-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .portal-tab {
    width: 100%;
    justify-content: center;
  }

}

@keyframes buttonSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes previewLaunchSweep {
  0%,
  40% {
    transform: translateX(-120%);
  }

  65%,
  100% {
    transform: translateX(140%);
  }
}



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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
