
:root {
  --canvas: #f7f6f2;
  --surface: #ffffff;
  --surface-soft: #faf9f6;
  --mist: #eeefe9;
  --warm-neutral: #eee8dc;
  --charcoal: #151813;
  --charcoal-soft: #373c36;
  --muted: #727970;
  --emerald: #063b2c;
  --emerald-2: #0d5a43;
  --emerald-soft: #e7efeb;
  --gold: #c8a33d;
  --gold-bright: #e3c66c;
  --gold-deep: #8d6a11;
  --line: rgba(21, 24, 19, 0.11);
  --line-emerald: rgba(6, 59, 44, 0.18);
  --line-gold: rgba(141, 106, 17, 0.3);
  --header-height: 76px;
  --nstalz-mobile-viewport-height: 100svh;
  --nstalz-mobile-header-height: 68px;
  --nstalz-mobile-hero-row: 292px;
  --nstalz-mobile-phone-row: 292px;
  color: var(--charcoal);
  background: var(--canvas);
  font-family: Inter, Manrope, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--canvas);
}

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

button {
  font: inherit;
}

::selection {
  color: #fff;
  background: var(--emerald);
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

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

.site-header {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  height: calc(var(--header-height) + env(safe-area-inset-top));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: env(safe-area-inset-top);
  padding-right: max(clamp(20px, 4.6vw, 72px), env(safe-area-inset-right));
  padding-bottom: 0;
  padding-left: max(clamp(20px, 4.6vw, 72px), env(safe-area-inset-left));
  border-bottom: 1px solid transparent;
  transition:
    background 0.34s ease,
    border-color 0.34s ease,
    color 0.34s ease,
    box-shadow 0.34s ease,
    backdrop-filter 0.34s ease;
}

.site-header.is-scrolled {
  background: rgba(248, 249, 246, 0.9);
  border-color: var(--line);
  box-shadow: 0 12px 34px rgba(21, 24, 19, 0.045);
  backdrop-filter: blur(16px) saturate(1.06);
}

.site-header.is-story {
  background: rgba(248, 249, 246, 0.97);
  border-color: var(--line);
  box-shadow: 0 12px 34px rgba(21, 24, 19, 0.045);
  backdrop-filter: none;
}

.site-header.is-coda {
  color: #fff;
  background: rgba(6, 59, 44, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(1.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: -0.035em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--emerald-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header.is-coda .brand-copy small {
  color: var(--gold-bright);
}

.header-nav {
  position: relative;
  display: flex;
  align-items: center;
}

.desktop-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-link,
.legal-menu-button {
  position: relative;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.header-link {
  padding: 8px 0;
  text-decoration: none;
  transition: color 0.22s ease;
}

.header-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.26s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.header-link:hover,
.header-link:focus-visible,
.legal-menu-button:hover,
.legal-menu-button:focus-visible {
  color: var(--emerald-2);
}

.header-link:hover::after,
.header-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.legal-menu {
  position: relative;
}

.legal-menu-button,
.mobile-menu-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.legal-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: color 0.22s ease;
}

.legal-menu-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.22s ease;
}

.legal-menu-button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.legal-menu-panel,
.mobile-menu-panel {
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(6, 59, 44, 0.13);
  box-shadow: 0 24px 70px rgba(21, 24, 19, 0.16);
  backdrop-filter: blur(18px) saturate(1.04);
}

.legal-menu-panel {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  width: 232px;
  padding: 8px;
  border-radius: 16px;
}

/* At the untouched hero position, keep the menu above both copy and the 360° drag surface. */
.site-header:not(.is-scrolled) .legal-menu-panel {
  position: fixed;
  top: calc(var(--header-height) + 8px);
  right: auto;
  left: 50%;
  width: min(700px, calc(100vw - 64px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  transform: translateX(-50%);
}

.site-header:not(.is-scrolled) .legal-menu-panel[hidden] {
  display: none;
}

.site-header:not(.is-scrolled) .legal-menu-panel a {
  white-space: nowrap;
  text-align: center;
}

.legal-menu-panel a,
.mobile-menu-panel a {
  display: block;
  border-radius: 10px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.legal-menu-panel a {
  padding: 11px 12px;
}

.legal-menu-panel a:hover,
.legal-menu-panel a:focus-visible,
.mobile-menu-panel a:hover,
.mobile-menu-panel a:focus-visible {
  color: var(--emerald);
  background: var(--emerald-soft);
  transform: translateX(1px);
}

.mobile-menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line-emerald);
  border-radius: 999px;
  color: inherit;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-menu-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.mobile-menu-panel {
  position: fixed;
  z-index: 95;
  top: calc(var(--header-height) + env(safe-area-inset-top) - 2px);
  right: max(18px, env(safe-area-inset-right));
  left: max(18px, env(safe-area-inset-left));
  max-height: calc(100svh - var(--header-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 18px);
  overflow-y: auto;
  padding: 10px;
  border-radius: 18px;
}

.mobile-menu-panel a {
  padding: 11px 12px;
}

.mobile-menu-label {
  display: block;
  margin: 7px 12px 3px;
  color: var(--gold-deep);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-menu-button:focus-visible,
.mobile-menu-button:focus-visible,
.legal-menu-panel a:focus-visible,
.mobile-menu-panel a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.site-header.is-coda .header-link,
.site-header.is-coda .legal-menu-button,
.site-header.is-coda .mobile-menu-button {
  color: #fff;
}

.site-header.is-coda .header-link:hover,
.site-header.is-coda .header-link:focus-visible,
.site-header.is-coda .legal-menu-button:hover,
.site-header.is-coda .legal-menu-button:focus-visible {
  color: #fff;
}

.site-header.is-coda .header-link::after {
  background: var(--gold-bright);
}

.site-header.is-coda .mobile-menu-button {
  border-color: rgba(255, 255, 255, 0.3);
}

.webgl-shell {
  position: fixed;
  z-index: 12;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  will-change: opacity;
}

.webgl-shell canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.experience-loader {
  position: fixed;
  z-index: 140;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: 26px minmax(170px, auto) auto;
  align-items: center;
  gap: 11px;
  min-width: 300px;
  padding: 13px 15px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(141, 106, 17, 0.25);
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(21, 24, 19, 0.13);
  transform: translate(-50%, -50%);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.experience-loader[hidden] {
  display: none;
}

.experience-loader.is-complete {
  opacity: 0;
  transform: translate(-50%, -46%);
}

.loader-ring {
  width: 23px;
  height: 23px;
  border: 2px solid rgba(200, 163, 61, 0.22);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: loader-spin 0.9s linear infinite;
}

.loader-label,
.loader-progress {
  font-size: 11px;
  font-weight: 800;
}

.loader-progress {
  justify-self: end;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

.webgl-fallback {
  position: absolute;
  z-index: 18;
  top: 18%;
  right: 8%;
  width: min(28vw, 310px);
  padding: 10px;
  background: var(--charcoal);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(20, 24, 18, 0.22);
}

.webgl-fallback img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.webgl-fallback p {
  margin: 9px 8px 4px;
  color: #fff;
  font-size: 11px;
  line-height: 1.45;
}

main {
  position: relative;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: clip;
  padding: calc(var(--header-height) + env(safe-area-inset-top) + 42px)
    max(clamp(24px, 6.2vw, 96px), env(safe-area-inset-right))
    50px
    max(clamp(24px, 6.2vw, 96px), env(safe-area-inset-left));
  background:
    radial-gradient(ellipse at 79% 42%, rgba(6, 59, 44, 0.052), transparent 34%),
    radial-gradient(ellipse at 18% 15%, rgba(236, 230, 218, 0.48), transparent 42%),
    radial-gradient(ellipse at 55% 94%, rgba(200, 163, 61, 0.024), transparent 35%),
    linear-gradient(118deg, #ffffff 0%, #f8f7f3 52%, #f0f2ee 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(6, 59, 44, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 59, 44, 0.018) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, rgba(0, 0, 0, 0.46) 42%, transparent 76%);
  mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, rgba(0, 0, 0, 0.46) 42%, transparent 76%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 17%;
  background: linear-gradient(transparent, rgba(247, 246, 242, 0.96));
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: auto;
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
}

.hero-copy {
  position: relative;
  z-index: 30;
  max-width: 760px;
  will-change: transform, opacity;
}

.eyebrow {
  --eyebrow-line-scale: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--emerald-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(var(--eyebrow-line-scale));
  transform-origin: left center;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(50px, 5.45vw, 78px);
  font-weight: 780;
  line-height: 0.94;
  letter-spacing: -0.064em;
}

.hero-title-line {
  display: block;
  overflow: hidden;
  margin-bottom: -0.07em;
  padding-bottom: 0.08em;
}

.hero-title-line > span {
  display: block;
  will-change: transform, opacity, filter;
}

.hero-title-line--highlight > span {
  color: var(--emerald);
}

.hero-subtitle {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--charcoal-soft);
  font-size: clamp(16px, 1.36vw, 19px);
  line-height: 1.62;
  will-change: transform, opacity, filter;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 31px;
}

.store-button {
  text-decoration: none;
  position: relative;
  isolation: isolate;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  padding: 10px 16px;
  color: #fff;
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(20, 24, 17, 0.16);
  cursor: default;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
  will-change: transform;
}

.store-button::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -40%;
  bottom: -40%;
  left: -55%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-18deg) translateX(-180%);
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1);
  pointer-events: none;
}

.store-button svg,
.store-button span {
  position: relative;
  z-index: 1;
}

.store-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  transition: transform 0.22s ease;
}

.store-button span {
  display: grid;
  text-align: left;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.05;
  transition: filter 0.22s ease;
}

.store-button small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.22s ease;
}

.store-button:hover,
.store-button:focus-visible {
  background: #10221b;
  border-color: rgba(200, 163, 61, 0.52);
  box-shadow: 0 16px 36px rgba(6, 59, 44, 0.23), 0 0 0 1px rgba(6, 59, 44, 0.12);
  transform: translateY(-2px);
}

.store-button:hover::after,
.store-button:focus-visible::after {
  transform: skewX(-18deg) translateX(520%);
}

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

.store-button:hover span,
.store-button:focus-visible span {
  filter: brightness(1.08);
}

.store-button:hover small,
.store-button:focus-visible small {
  color: rgba(255, 255, 255, 0.78);
}

.store-button:active {
  box-shadow: 0 10px 24px rgba(20, 24, 17, 0.15);
  transform: translateY(0);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  transition: letter-spacing 0.22s ease, color 0.22s ease;
}

.text-link::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 8px;
  left: 8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.26s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--emerald-2);
  letter-spacing: 0.012em;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.text-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.22s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.text-link:hover svg,
.text-link:focus-visible svg {
  transform: translate(2px, -2px);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: #3f463c;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(6, 59, 44, 0.13);
  border-radius: 999px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 750;
  will-change: transform, opacity, filter;
}

.hero-chips i {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200, 163, 61, 0.13);
}

.hero-product {
  position: relative;
  z-index: auto;
  min-height: min(75vh, 720px);
  isolation: auto;
}

.hero-halo {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(43vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: none;
  background: none;
  transform: translate(-48%, -50%);
}

.hero-orbit {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  width: min(38vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(141, 106, 17, 0.13);
  border-radius: 50%;
  transform: translate(-48%, -50%) rotate(-8deg) scaleY(0.82);
}

.phone-interaction {
  position: absolute;
  z-index: 24;
  inset: 7% 2% 6%;
  border-radius: 38%;
  cursor: grab;
  touch-action: pan-y;
  pointer-events: none;
}

.phone-interaction.is-enabled {
  pointer-events: auto;
}

.phone-interaction.is-dragging {
  cursor: grabbing;
}

.drag-hint {
  position: absolute;
  z-index: 25;
  right: 6%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.drag-hint::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.drag-hint.is-hidden,
.drag-hint.is-unavailable,
html[data-hero-drag="disabled"] .drag-hint {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
}

.mobile-hint {
  display: none;
}

.scroll-cue {
  position: absolute;
  z-index: 30;
  bottom: 25px;
  left: clamp(24px, 6.2vw, 96px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 46px;
  height: 1px;
  overflow: hidden;
  background: rgba(19, 38, 29, 0.18);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 38%;
  background: var(--gold);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  from { transform: translateX(-120%); }
  to { transform: translateX(300%); }
}

.product-story {
  position: relative;
  min-height: 100svh;
  background: var(--canvas);
}

.story-stage {
  --story-progress: 0;
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 14% 17%, rgba(236, 230, 218, 0.3), transparent 36%),
    radial-gradient(ellipse at 86% 82%, rgba(6, 59, 44, 0.03), transparent 38%),
    linear-gradient(180deg, #fbfaf7 0%, var(--canvas) 61%, #f1f2ed 100%);
}

.story-stage::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(6, 59, 44, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 59, 44, 0.03) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42) 64%, transparent 100%);
  pointer-events: none;
}

.story-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 50%;
  background: radial-gradient(ellipse at 50% 47%, rgba(255, 255, 255, 0.76) 0 9%, rgba(236, 230, 218, 0.28) 30%, rgba(6, 59, 44, 0.042) 51%, transparent 72%);
  transition: left 0.68s cubic-bezier(0.2, 0.75, 0.2, 1), opacity 0.32s ease;
  pointer-events: none;
}

.story-stage[data-phone-side="left"]::before {
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.42) 36%, rgba(0, 0, 0, 0.78));
}

.story-stage[data-phone-side="left"]::after {
  left: 0;
}

.story-layout {
  position: relative;
  z-index: 18;
  width: min(1380px, 100%);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  grid-template-areas: "copy phone";
  align-items: center;
  gap: clamp(34px, 5.4vw, 92px);
  padding: calc(var(--header-height) + 24px) clamp(26px, 7vw, 112px) 72px;
}

.story-stage[data-phone-side="left"] .story-layout {
  grid-template-areas: "phone copy";
}

.story-copy-panel {
  position: relative;
  z-index: 30;
  grid-area: copy;
  width: min(100%, 600px);
  max-width: 600px;
  justify-self: center;
  text-align: left;
  will-change: transform, opacity, filter;
}

.story-copy-panel::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  width: 76px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 163, 61, 0));
}

.story-copy-topline {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.story-index {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  color: var(--gold-deep);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  will-change: transform, opacity, filter;
}

.story-eyebrow {
  color: var(--emerald-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
  will-change: transform, opacity, filter;
}

.story-title {
  max-width: 600px;
  margin: 0;
  font-size: clamp(43px, 4.65vw, 69px);
  font-weight: 770;
  line-height: 0.99;
  letter-spacing: -0.056em;
  text-wrap: balance;
}

.story-title-mask {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.21em;
  margin-bottom: -0.08em;
  padding-bottom: 0.09em;
  vertical-align: bottom;
}

.story-title-mask:last-child {
  margin-right: 0;
}

.story-title-word {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.story-body {
  max-width: 545px;
  margin: 25px 0 0;
  color: var(--charcoal-soft);
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.62;
  will-change: transform, opacity, filter;
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  will-change: transform, opacity, filter;
}

.story-meta::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
}

.story-phone-zone {
  position: relative;
  z-index: 10;
  grid-area: phone;
  min-height: 66vh;
  pointer-events: none;
}

.story-progress {
  position: absolute;
  z-index: 32;
  bottom: 28px;
  width: min(260px, 28vw);
  transition: left 0.36s ease, right 0.36s ease, opacity 0.2s ease;
}

.story-stage[data-phone-side="right"] .story-progress {
  right: auto;
  left: clamp(26px, 7vw, 112px);
}

.story-stage[data-phone-side="left"] .story-progress {
  right: clamp(26px, 7vw, 112px);
  left: auto;
}

.story-progress-labels {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.progress-count {
  color: var(--emerald);
  font-size: 11px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.progress-title {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.progress-track {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(6, 59, 44, 0.16);
}

.progress-track i {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0.02);
  transform-origin: left center;
  will-change: transform;
}

.coda {
  --coda-progress: 0;
  position: relative;
  z-index: 14;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: clip;
  padding: calc(var(--header-height) + 80px) clamp(24px, 8vw, 124px) 100px;
  color: #fff;
  background: radial-gradient(circle at 78% 17%, rgba(227, 198, 108, 0.07), transparent 29%), linear-gradient(155deg, #063b2c 0%, #073f2f 58%, #052f24 100%);
}

.coda::before {
  content: "";
  position: absolute;
  top: -28vw;
  right: -18vw;
  width: min(62vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(227, 198, 108, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.035), 0 0 0 140px rgba(255, 255, 255, 0.02);
  transform: scale(calc(0.9 + var(--coda-progress) * 0.1));
}

.coda-content {
  position: relative;
  z-index: 20;
  max-width: 1040px;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(2.5px);
  will-change: transform, opacity, filter;
}

.coda-kicker {
  margin: 0 0 22px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.coda h2 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(52px, 7vw, 102px);
  font-weight: 760;
  line-height: 0.95;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.coda-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.coda-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 780;
}


/* Public-site extension: pricing, marketplace information and footer. */
.section-shell,
.footer-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.pricing-section,
.marketplace-disclaimer,
.site-footer {
  position: relative;
  z-index: 20;
}

.pricing-section {
  scroll-margin-top: calc(var(--header-height) + 16px);
  overflow: hidden;
  padding: clamp(100px, 11vw, 158px) 0 clamp(96px, 10vw, 142px);
  background:
    radial-gradient(circle at 84% 20%, rgba(6, 59, 44, 0.055), transparent 30%),
    radial-gradient(circle at 14% 82%, rgba(200, 163, 61, 0.035), transparent 27%),
    linear-gradient(180deg, #f9f9f6 0%, var(--surface) 48%, var(--surface-soft) 100%);
}

.pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(6, 59, 44, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 59, 44, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.pricing-section::after {
  content: "";
  position: absolute;
  top: 24%;
  right: -18%;
  width: min(64vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 59, 44, 0.045), rgba(6, 59, 44, 0.012) 42%, transparent 70%);
  pointer-events: none;
}

.pricing-section > .section-shell {
  position: relative;
  z-index: 2;
}

.section-heading {
  max-width: 820px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--emerald-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.section-heading h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(46px, 5.3vw, 76px);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--charcoal-soft);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
}

.pricing-intro {
  display: grid;
  grid-template-columns: minmax(0, 820px) auto;
  gap: 30px clamp(28px, 5vw, 74px);
  align-items: end;
}

.pricing-intro-copy {
  max-width: 820px;
}

.pricing-heading-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.035em;
  margin-bottom: -0.035em;
}

.pricing-intro-rule {
  grid-column: 1 / -1;
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 163, 61, 0.36) 32%, rgba(6, 59, 44, 0.12) 72%, transparent);
  transform-origin: left center;
}

.pricing-audience-switch {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 880;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-audience-switch i {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--emerald-2));
}

.pricing-experience {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 2.18fr);
  gap: 18px;
  margin-top: 44px;
  align-items: stretch;
}

.pricing-installer-card,
.builder-pricing-group,
.builder-plan-card,
.enterprise-plan-card {
  position: relative;
  isolation: isolate;
}

.pricing-installer-card {
  min-height: 526px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(30px, 3.1vw, 42px);
  color: #fff;
  border: 1px solid rgba(227, 198, 108, 0.24);
  border-radius: 26px;
  background:
    radial-gradient(circle at 84% 8%, rgba(227, 198, 108, 0.11), transparent 26%),
    linear-gradient(155deg, #073f2f 0%, #052f24 58%, #04271e 100%);
  box-shadow: 0 28px 78px rgba(6, 59, 44, 0.19), inset 0 1px rgba(255, 255, 255, 0.08);
  transition:
    transform 0.26s cubic-bezier(0.2, 0.75, 0.2, 1),
    border-color 0.26s ease,
    box-shadow 0.26s ease;
}

.pricing-installer-card::before,
.builder-plan-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -45%;
  bottom: -45%;
  left: -68%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-18deg);
  transition: left 0.68s cubic-bezier(0.2, 0.75, 0.2, 1);
  pointer-events: none;
}

.pricing-installer-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -34%;
  bottom: -24%;
  width: 92%;
  aspect-ratio: 1;
  border: 1px solid rgba(227, 198, 108, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.025), 0 0 0 84px rgba(255, 255, 255, 0.015);
  pointer-events: none;
}

.pricing-installer-card > *,
.builder-plan-card > * {
  position: relative;
  z-index: 1;
}

.installer-card-topline,
.builder-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.plan-kicker,
.builder-group-eyebrow {
  margin: 0;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plan-kicker {
  color: var(--gold-bright);
}

.installer-card-topline::after {
  content: "";
  flex: 1 1 auto;
  max-width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 198, 108, 0.8), transparent);
}

.pricing-installer-card h3,
.builder-plan-card h4 {
  margin: 0;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.pricing-installer-card h3 {
  margin-top: 46px;
  font-size: 28px;
}

.installer-price {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(58px, 5.7vw, 82px);
  font-weight: 780;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.plan-audience {
  margin: 18px 0 0;
  color: var(--emerald-2);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-installer-card .plan-audience {
  color: rgba(255, 255, 255, 0.72);
}

.plan-detail {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(6, 59, 44, 0.13);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pricing-installer-card .plan-detail {
  border-color: rgba(227, 198, 108, 0.22);
  color: rgba(255, 255, 255, 0.66);
}

.builder-pricing-group {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 59, 44, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 26px 78px rgba(21, 24, 19, 0.075), inset 0 1px rgba(255, 255, 255, 0.96);
}

.builder-group-header {
  padding: 22px 26px 20px;
  border-bottom: 1px solid rgba(6, 59, 44, 0.12);
  background: linear-gradient(90deg, rgba(231, 239, 235, 0.58), rgba(255, 255, 255, 0.82));
}

.builder-group-eyebrow {
  color: var(--emerald-2);
}

.builder-group-header h3 {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.builder-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 452px;
}

.builder-plan-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px 26px 26px;
  background: rgba(255, 255, 255, 0.44);
  transition:
    transform 0.26s cubic-bezier(0.2, 0.75, 0.2, 1),
    background 0.26s ease,
    box-shadow 0.26s ease;
}

.builder-plan-card + .builder-plan-card {
  border-left: 1px solid rgba(6, 59, 44, 0.105);
}

.builder-plan-card--growth {
  background: linear-gradient(180deg, rgba(231, 239, 235, 0.62), rgba(255, 255, 255, 0.5));
}

.builder-plan-card--scale {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(238, 232, 220, 0.38));
  box-shadow: inset 0 0 0 1px rgba(200, 163, 61, 0.34);
}

.plan-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-deep);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.plan-number::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 0.26s ease;
}

.builder-plan-card h4 {
  margin-top: 40px;
  font-size: 27px;
}

.builder-plan-price {
  margin: 17px 0 0;
  color: var(--charcoal-soft);
  font-size: 16px;
  font-weight: 720;
  white-space: nowrap;
  transition: color 0.24s ease;
}

.builder-plan-price span {
  color: var(--charcoal);
  font-size: clamp(39px, 3.25vw, 52px);
  font-weight: 780;
  letter-spacing: -0.055em;
}

.builder-plan-annual {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.builder-plan-annual span {
  margin-right: 3px;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.builder-plan-annual strong {
  color: var(--emerald);
  font-size: 16px;
  font-weight: 820;
}

.plan-market {
  margin: 20px 0 0;
  color: var(--emerald-2);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.plan-audience--description {
  margin-top: 12px;
  color: var(--charcoal-soft);
  font-size: 12.5px;
  font-weight: 620;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

.enterprise-plan-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.78fr) minmax(0, 1.55fr) minmax(168px, auto);
  gap: 24px;
  align-items: center;
  padding: 24px 26px;
  border-top: 1px solid rgba(6, 59, 44, 0.13);
  background: linear-gradient(90deg, rgba(231, 239, 235, 0.58), rgba(255, 255, 255, 0.86) 58%, rgba(238, 232, 220, 0.34));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.92);
  transition: background 0.26s ease, box-shadow 0.26s ease;
}

.enterprise-plan-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.enterprise-plan-main h4 {
  margin: 0;
  color: var(--charcoal);
  font-size: 24px;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.enterprise-plan-price {
  margin: 7px 0 0;
  color: var(--emerald);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.045em;
}

.enterprise-plan-details {
  min-width: 0;
}

.enterprise-plan-details .plan-market {
  margin-top: 0;
}

.enterprise-plan-details .plan-detail {
  margin-top: 12px;
  padding-top: 12px;
}

.enterprise-plan-button {
  width: auto;
  min-width: 168px;
  margin-top: 0;
  color: var(--emerald);
  cursor: pointer;
  text-decoration: none;
}

.plan-button {
  position: relative;
  width: 100%;
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding: 10px 14px;
  overflow: hidden;
  border: 1px solid rgba(6, 59, 44, 0.18);
  border-radius: 14px;
  color: var(--charcoal-soft);
  background: rgba(248, 249, 246, 0.92);
  font: inherit;
  cursor: default;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.plan-button span {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.22s ease;
}

.pricing-installer-card .plan-button {
  color: #fff;
  border-color: rgba(227, 198, 108, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.plan-button:hover,
.plan-button:focus-visible {
  border-color: rgba(200, 163, 61, 0.5);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(21, 24, 19, 0.09);
  transform: translateY(-1px);
}

.pricing-installer-card .plan-button:hover,
.pricing-installer-card .plan-button:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}

.plan-button:hover svg,
.plan-button:focus-visible svg {
  transform: translateX(2px);
}

.pricing-motion-ready [data-pricing-reveal],
.pricing-motion-ready [data-pricing-item] {
  opacity: 0;
  filter: blur(2px);
  translate: 0 24px;
}

.pricing-motion-ready [data-pricing-reveal="line"] {
  translate: 0 0;
  transform: scaleX(0);
  filter: none;
}

.pricing-motion-ready.is-revealed [data-pricing-reveal],
.pricing-motion-ready.is-revealed [data-pricing-item] {
  animation: pricing-enter 0.48s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
  animation-delay: var(--pricing-delay, 0s);
}

.pricing-motion-ready.is-revealed [data-pricing-reveal="line"] {
  animation-name: pricing-line-enter;
}

[data-pricing-reveal="eyebrow"] { --pricing-delay: 0.01s; }
[data-pricing-reveal="line"] { --pricing-delay: 0.025s; }
[data-pricing-reveal="heading-1"] { --pricing-delay: 0.05s; }
[data-pricing-reveal="heading-2"] { --pricing-delay: 0.08s; }
[data-pricing-reveal="copy"] { --pricing-delay: 0.11s; }
[data-pricing-reveal="audiences"] { --pricing-delay: 0.135s; }
[data-pricing-item="installer"] { --pricing-delay: 0.17s; }
[data-pricing-item="starter"] { --pricing-delay: 0.205s; }
[data-pricing-item="growth"] { --pricing-delay: 0.24s; }
[data-pricing-item="scale"] { --pricing-delay: 0.275s; }
[data-pricing-item="enterprise"] { --pricing-delay: 0.31s; }

@keyframes pricing-enter {
  to {
    opacity: 1;
    filter: blur(0);
    translate: 0 0;
  }
}

@keyframes pricing-line-enter {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.marketplace-disclaimer {
  padding: clamp(92px, 9vw, 132px) 0;
  background:
    radial-gradient(circle at 12% 84%, rgba(236, 230, 218, 0.42), transparent 31%),
    var(--surface-soft);
}

.disclaimer-shell {
  display: grid;
  grid-template-columns: 1px minmax(260px, 0.88fr) minmax(340px, 1.12fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.disclaimer-rule {
  width: 1px;
  min-height: 100%;
  background: linear-gradient(180deg, var(--gold), rgba(6, 59, 44, 0.28), transparent);
}

.section-heading--disclaimer h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.02;
}

.disclaimer-copy {
  color: var(--charcoal-soft);
  font-size: 15.5px;
  line-height: 1.72;
}

.disclaimer-copy p {
  margin: 0;
}

.disclaimer-copy p + p {
  margin-top: 18px;
}

.disclaimer-copy a {
  color: var(--emerald);
  font-weight: 800;
  text-decoration-color: rgba(200, 163, 61, 0.72);
  text-underline-offset: 4px;
}

.site-footer {
  color: #fff;
  background: #042c21;
  border-top: 1px solid rgba(227, 198, 108, 0.18);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(360px, 0.8fr);
  gap: clamp(48px, 8vw, 120px);
  padding-block: clamp(72px, 8vw, 112px);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.footer-brand > span {
  display: grid;
  line-height: 1;
}

.footer-brand strong {
  font-size: 19px;
  letter-spacing: -0.035em;
}

.footer-brand small {
  margin-top: 6px;
  color: var(--gold-bright);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand-block > p {
  max-width: 590px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.68;
}

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

.footer-nav > div {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-nav p {
  margin: 0 0 6px;
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 670;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
  transform: translateX(2px);
}




@media (hover: hover) and (pointer: fine) {
  .pricing-installer-card:hover,
  .builder-plan-card:hover,
  .builder-plan-card:focus-within {
    transform: translateY(-4px);
  }

  .pricing-installer-card:hover {
    border-color: rgba(227, 198, 108, 0.48);
    box-shadow: 0 34px 94px rgba(6, 59, 44, 0.24), inset 0 1px rgba(255, 255, 255, 0.1);
  }

  .builder-plan-card:hover,
  .builder-plan-card:focus-within {
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 58px rgba(21, 24, 19, 0.1);
  }

  .builder-plan-card--growth:hover,
  .builder-plan-card--growth:focus-within {
    background: linear-gradient(180deg, rgba(220, 235, 228, 0.9), rgba(255, 255, 255, 0.86));
  }

  .builder-plan-card--scale:hover,
  .builder-plan-card--scale:focus-within {
    box-shadow: inset 0 0 0 1px rgba(200, 163, 61, 0.62), 0 24px 58px rgba(21, 24, 19, 0.1);
  }

  .enterprise-plan-card:hover,
  .enterprise-plan-card:focus-within {
    background: linear-gradient(90deg, rgba(220, 235, 228, 0.72), rgba(255, 255, 255, 0.9) 58%, rgba(238, 232, 220, 0.4));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.94), 0 18px 46px rgba(21, 24, 19, 0.075);
  }

  .pricing-installer-card:hover::before,
  .builder-plan-card:hover::before,
  .builder-plan-card:focus-within::before {
    left: 142%;
  }

  .builder-plan-card:hover .plan-number::after,
  .builder-plan-card:focus-within .plan-number::after {
    width: 38px;
  }

  .builder-plan-card:hover .builder-plan-price,
  .builder-plan-card:focus-within .builder-plan-price {
    color: var(--emerald);
  }
}

@media (max-width: 1100px) {
  .pricing-intro {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .pricing-experience {
    grid-template-columns: 1fr;
  }

  .pricing-installer-card {
    min-height: 410px;
  }

  .disclaimer-shell {
    grid-template-columns: 1px minmax(250px, 0.9fr) minmax(330px, 1.1fr);
  }
}

@media (max-width: 900px) {
  .desktop-navigation {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .pricing-intro {
    grid-template-columns: 1fr;
  }

  .pricing-audience-switch {
    justify-self: start;
  }

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

  .builder-plan-card--scale {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(6, 59, 44, 0.105);
  }

  .builder-plan-card--scale,
  .builder-plan-card--growth {
    border-left: 1px solid rgba(6, 59, 44, 0.105);
  }

  .enterprise-plan-card {
    grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.2fr);
  }

  .enterprise-plan-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 767px), (max-width: 900px) and (orientation: portrait) {
  .desktop-navigation {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    min-height: 44px;
  }

  .section-shell,
  .footer-shell {
    width: min(100% - 36px, 680px);
  }

  .pricing-section {
    padding-block: 76px 30px;
  }

  .section-heading h2 {
    font-size: clamp(39px, 10.5vw, 55px);
  }

  .section-heading > p:last-child {
    margin-top: 21px;
    font-size: 15.5px;
  }

  .pricing-intro {
    gap: 24px;
  }

  .pricing-audience-switch {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 9px;
    white-space: normal;
  }

  .pricing-intro-rule {
    margin-top: 0;
  }

  .pricing-experience {
    gap: 14px;
    margin-top: 30px;
  }

  .pricing-installer-card {
    min-height: 0;
    padding: 26px 24px;
    border-radius: 22px;
  }

  .pricing-installer-card h3 {
    margin-top: 36px;
  }

  .installer-price {
    font-size: clamp(56px, 17vw, 74px);
  }

  .builder-pricing-group {
    border-radius: 22px;
  }

  .builder-group-header {
    display: grid;
    justify-items: start;
    padding: 21px 22px 19px;
  }

  .builder-plan-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .builder-plan-card,
  .builder-plan-card--growth,
  .builder-plan-card--scale {
    grid-column: auto;
    min-height: 0;
    padding: 25px 22px 23px;
    border-left: 0;
  }

  .builder-plan-card + .builder-plan-card,
  .builder-plan-card--scale {
    border-top: 1px solid rgba(6, 59, 44, 0.105);
  }

  .builder-plan-card h4 {
    margin-top: 28px;
  }

  .builder-plan-price span {
    font-size: clamp(42px, 12vw, 54px);
  }

  .enterprise-plan-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 22px;
  }

  .enterprise-plan-button {
    grid-column: auto;
  }

  .marketplace-disclaimer {
    padding-block: 36px 76px;
  }

  .disclaimer-shell {
    grid-template-columns: 1px minmax(0, 1fr);
    gap: 25px 20px;
  }

  .section-heading--disclaimer,
  .disclaimer-copy {
    grid-column: 2;
  }

  .disclaimer-rule {
    grid-row: 1 / span 2;
  }

  .section-heading--disclaimer h2 {
    font-size: clamp(34px, 9.6vw, 48px);
  }

  .disclaimer-copy {
    font-size: 14.5px;
    line-height: 1.68;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 70px;
    padding-bottom: max(70px, calc(48px + env(safe-area-inset-bottom)));
  }

  .footer-nav {
    gap: 26px;
  }

  .footer-nav > div {
    gap: 0;
  }

  .footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 430px) {
  .mobile-menu-panel {
    right: max(12px, env(safe-area-inset-right));
    left: max(12px, env(safe-area-inset-left));
  }

  .pricing-section {
    padding-block: 72px 28px;
  }

  .pricing-installer-card,
  .builder-plan-card {
    padding-inline: 21px;
  }

  .pricing-audience-switch i {
    width: 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .pricing-motion-ready [data-pricing-reveal],
  .pricing-motion-ready [data-pricing-item],
  .pricing-motion-ready.is-revealed [data-pricing-reveal],
  .pricing-motion-ready.is-revealed [data-pricing-item] {
    opacity: 1;
    filter: none;
    translate: 0 0;
    transform: none;
    animation: none;
  }
}

.js:not(.hero-entrance-complete) .hero .eyebrow {
  opacity: 0;
  transform: translateY(8px);
  animation: nstalzHeroFadeUp 0.36s 0s cubic-bezier(.2,.78,.2,1) both;
}

.js:not(.hero-entrance-complete) .hero .eyebrow::before {
  transform: scaleX(0);
  animation: nstalzHeroRule 0.38s 0s cubic-bezier(.2,.78,.2,1) both;
}

.js:not(.hero-entrance-complete) .hero-title-line > span {
  opacity: 0;
  transform: translateY(108%);
  filter: blur(2px);
  animation: nstalzHeroLine 0.54s cubic-bezier(.2,.78,.2,1) both;
}

.js:not(.hero-entrance-complete) .hero-title-line:nth-child(1) > span { animation-delay: 0.04s; }
.js:not(.hero-entrance-complete) .hero-title-line:nth-child(2) > span { animation-delay: 0.10s; }
.js:not(.hero-entrance-complete) .hero-title-line:nth-child(3) > span { animation-delay: 0.18s; }
.js:not(.hero-entrance-complete) .hero-title-line:nth-child(4) > span { animation-delay: 0.24s; }

.js:not(.hero-entrance-complete) .hero-subtitle {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(1.5px);
  animation: nstalzHeroFadeUp 0.40s 0.42s cubic-bezier(.2,.78,.2,1) both;
}

.js:not(.hero-entrance-complete) .hero-actions > * {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(1px);
  animation: nstalzHeroFadeUp 0.34s cubic-bezier(.2,.78,.2,1) both;
}

.js:not(.hero-entrance-complete) .hero-actions > :nth-child(1) { animation-delay: 0.52s; }
.js:not(.hero-entrance-complete) .hero-actions > :nth-child(2) { animation-delay: 0.58s; }
.js:not(.hero-entrance-complete) .hero-actions > :nth-child(3) { animation-delay: 0.64s; }

.js:not(.hero-entrance-complete) .hero-chips > * {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(1px);
  animation: nstalzHeroFadeUp 0.30s cubic-bezier(.2,.78,.2,1) both;
}

.js:not(.hero-entrance-complete) .hero-chips > :nth-child(1) { animation-delay: 0.78s; }
.js:not(.hero-entrance-complete) .hero-chips > :nth-child(2) { animation-delay: 0.84s; }

@keyframes nstalzHeroRule {
  to { transform: scaleX(1); }
}

@keyframes nstalzHeroLine {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes nstalzHeroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(47px, 6.1vw, 68px);
  }

  .hero-product {
    min-height: 68vh;
  }

  .story-layout {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.94fr);
    gap: 24px;
    padding-inline: 4.4vw;
  }

  .story-copy-panel {
    max-width: 500px;
  }

  .story-title {
    font-size: clamp(38px, 5vw, 56px);
  }

  .story-body {
    font-size: 15.5px;
  }

  .story-stage[data-phone-side="right"] .story-progress {
    left: 4.4vw;
  }

  .story-stage[data-phone-side="left"] .story-progress {
    right: 4.4vw;
  }
}

@media (max-width: 767px), (max-width: 900px) and (orientation: portrait) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .experience-loader {
    top: 68%;
    min-width: 270px;
    grid-template-columns: 25px minmax(145px, auto) auto;
  }

  .loader-label,
  .loader-progress {
    font-size: 9px;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 28px);
    padding-right: max(18px, env(safe-area-inset-right));
    padding-bottom: 0;
    padding-left: max(18px, env(safe-area-inset-left));
    background:
      radial-gradient(ellipse at 53% 70%, rgba(6, 59, 44, 0.046), transparent 35%),
      radial-gradient(ellipse at 28% 10%, rgba(236, 230, 218, 0.4), transparent 40%),
      radial-gradient(ellipse at 90% 28%, rgba(200, 163, 61, 0.018), transparent 28%),
      linear-gradient(165deg, #ffffff 0%, #f8f7f3 58%, #f0f2ee 100%);
  }

  .hero::before {
    opacity: 0.2;
    background-size: 52px 52px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 66%, #000 0%, rgba(0, 0, 0, 0.36) 40%, transparent 76%);
    mask-image: radial-gradient(ellipse at 50% 66%, #000 0%, rgba(0, 0, 0, 0.36) 40%, transparent 76%);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto var(--nstalz-mobile-hero-row, 292px);
    gap: 0;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(38px, 10.7vw, 56px);
    line-height: 0.96;
  }

  .hero-subtitle {
    max-width: 690px;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.48;
  }

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

  .store-button {
    min-height: 48px;
    padding: 8px 12px;
    border-radius: 14px;
  }

  .store-button span {
    font-size: 14px;
  }

  .text-link {
    width: 100%;
    padding: 5px 3px;
  }

  .text-link::after {
    right: calc(100% - 151px);
    left: 3px;
  }

  .hero-chips {
    margin-top: 14px;
  }

  .hero-chips span {
    padding: 8px 10px;
    font-size: 9px;
  }

  .hero-product {
    min-height: 0;
    height: var(--nstalz-mobile-hero-row, 292px);
    margin-top: 0;
  }

  .hero-halo {
    width: 94vw;
    transform: translate(-50%, -48%);
  }

  .hero-orbit {
    width: 82vw;
    transform: translate(-50%, -48%) rotate(-8deg) scaleY(0.82);
  }

  .phone-interaction {
    inset: 0 4% 0;
    border-radius: 30%;
  }

  .drag-hint {
    top: 0;
    right: 50%;
    bottom: auto;
    gap: 7px;
    font-size: 9px;
    transform: translateX(50%);
    white-space: nowrap;
    pointer-events: none;
  }

  .drag-hint::before {
    width: 24px;
  }

  .drag-hint.is-hidden,
  .drag-hint.is-unavailable {
    transform: translate(50%, 6px);
  }

  .drag-hint .desktop-hint {
    display: none;
  }

  .drag-hint .mobile-hint {
    display: inline;
  }

  .scroll-cue {
    display: none;
  }

  .story-stage {
    --mobile-story-top: var(--nstalz-mobile-header-height, calc(var(--header-height) + env(safe-area-inset-top)));
    --mobile-phone-row: var(--nstalz-mobile-phone-row, 292px);
    height: var(--nstalz-mobile-viewport-height, 100svh);
    min-height: 0;
  }

  .story-stage::before,
  .story-stage[data-phone-side="left"]::before {
    background-size: 48px 48px;
    mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, 0.5) 54%, transparent 100%);
  }

  .story-stage::after,
  .story-stage[data-phone-side="left"]::after {
    top: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 44%;
    background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.76) 0 8%, rgba(236, 230, 218, 0.24) 29%, rgba(6, 59, 44, 0.038) 49%, transparent 70%);
    transition: opacity 0.3s ease;
  }

  .story-layout,
  .story-stage[data-phone-side="left"] .story-layout {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: var(--mobile-phone-row) minmax(0, 1fr);
    grid-template-areas:
      "phone"
      "copy";
    gap: 0;
    align-items: stretch;
    padding: var(--mobile-story-top)
      max(18px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(18px, env(safe-area-inset-left));
  }

  .story-phone-zone {
    min-height: 0;
  }

  .story-copy-panel {
    align-self: stretch;
    justify-self: stretch;
    display: flex;
    min-height: 0;
    width: 100%;
    max-width: 680px;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 38px;
    padding-bottom: 4px;
    visibility: visible;
  }

  .story-copy-panel::before {
    top: 24px;
    width: 62px;
  }

  .story-copy-topline {
    margin-bottom: 13px;
  }

  .story-index {
    width: 32px;
    height: 32px;
    font-size: 8.5px;
  }

  .story-eyebrow {
    font-size: 8.5px;
  }

  .story-title {
    max-width: 680px;
    font-size: clamp(30px, 8.35vw, 40px);
    line-height: 0.99;
  }

  .story-body {
    max-width: 650px;
    margin-top: 13px;
    font-size: 13.7px;
    line-height: 1.44;
  }

  .story-meta {
    margin-top: 13px;
    font-size: 7.7px;
    line-height: 1.35;
  }

  .story-progress,
  .story-stage[data-phone-side="right"] .story-progress,
  .story-stage[data-phone-side="left"] .story-progress {
    top: calc(var(--mobile-story-top) + var(--mobile-phone-row));
    right: max(18px, env(safe-area-inset-right));
    bottom: auto;
    left: max(18px, env(safe-area-inset-left));
    width: auto;
    padding: 0 0 8px;
    background: linear-gradient(180deg, rgba(248, 249, 246, 0.96), rgba(248, 249, 246, 0.86) 72%, transparent);
  }

  .story-progress-labels {
    margin-bottom: 7px;
  }

  .progress-title {
    flex: 1 1 auto;
    max-width: none;
    text-align: right;
    letter-spacing: 0.055em;
    text-overflow: clip;
  }

  .progress-count {
    font-size: 10px;
  }

  .progress-title {
    font-size: 8px;
  }

  .coda {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 64px);
    padding-right: max(18px, env(safe-area-inset-right));
    padding-bottom: max(78px, calc(54px + env(safe-area-inset-bottom)));
    padding-left: max(18px, env(safe-area-inset-left));
  }

  .coda::before {
    top: -42vw;
    right: -48vw;
    width: 120vw;
  }

  .coda h2 {
    font-size: clamp(46px, 13.4vw, 66px);
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(38px, 10.5vw, 44px);
  }

  .hero-chips {
    gap: 6px;
  }

  .story-layout,
  .story-stage[data-phone-side="left"] .story-layout {
    grid-template-rows: var(--mobile-phone-row) minmax(0, 1fr);
  }

  .story-title {
    font-size: clamp(31px, 8.7vw, 39px);
  }
}

@media (max-width: 767px) and (max-height: 720px) and (orientation: portrait) {
  .story-layout,
  .story-stage[data-phone-side="left"] .story-layout {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .story-copy-panel {
    padding-top: 32px;
    padding-bottom: 2px;
  }

  .story-copy-panel::before {
    top: 20px;
  }

  .story-copy-topline {
    margin-bottom: 9px;
  }

  .story-index {
    width: 30px;
    height: 30px;
    font-size: 8px;
  }

  .story-eyebrow {
    font-size: 8px;
    letter-spacing: 0.145em;
  }

  .story-title {
    font-size: clamp(27px, 7.7vw, 32px);
    line-height: 0.99;
  }

  .story-body {
    margin-top: 10px;
    font-size: 12.7px;
    line-height: 1.38;
  }

  .story-meta {
    margin-top: 10px;
    font-size: 7px;
    line-height: 1.26;
  }

  .story-progress,
  .story-stage[data-phone-side="right"] .story-progress,
  .story-stage[data-phone-side="left"] .story-progress {
    top: calc(var(--mobile-story-top) + var(--mobile-phone-row) + 1px);
    padding-bottom: 6px;
  }
}

@media (orientation: landscape) and (max-height: 500px) and (max-width: 950px) {
  :root {
    --header-height: 60px;
  }

  .site-header {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    margin-top: 4px;
    font-size: 6.5px;
  }

  .mobile-menu-button {
    min-height: 44px;
  }

  .mobile-menu-panel {
    top: calc(var(--header-height) + env(safe-area-inset-top) - 1px);
    right: max(16px, env(safe-area-inset-right));
    left: max(16px, env(safe-area-inset-left));
  }

  .story-stage {
    min-height: 100svh;
  }

  .story-layout,
  .story-stage[data-phone-side="left"] .story-layout {
    grid-template-columns: minmax(0, 0.98fr) minmax(300px, 1.02fr);
    grid-template-rows: 1fr;
    gap: 20px;
    align-items: center;
    padding: calc(var(--header-height) + env(safe-area-inset-top) + 8px)
      max(26px, env(safe-area-inset-right))
      max(26px, env(safe-area-inset-bottom))
      max(26px, env(safe-area-inset-left));
  }

  .story-copy-panel {
    align-self: center;
    max-width: 380px;
    padding-top: 10px;
  }

  .story-copy-panel::before {
    top: -3px;
    width: 54px;
  }

  .story-copy-topline {
    margin-bottom: 9px;
  }

  .story-index {
    width: 30px;
    height: 30px;
    font-size: 8px;
  }

  .story-eyebrow {
    font-size: 8px;
  }

  .story-title {
    font-size: clamp(27px, 4.15vw, 35px);
    line-height: 0.98;
  }

  .story-body {
    margin-top: 11px;
    font-size: 12.5px;
    line-height: 1.38;
  }

  .story-meta {
    margin-top: 10px;
    font-size: 7.5px;
    line-height: 1.3;
  }

  .story-progress,
  .story-stage[data-phone-side="right"] .story-progress,
  .story-stage[data-phone-side="left"] .story-progress {
    top: auto;
    right: 50%;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: auto;
    width: min(176px, 34vw);
    padding: 5px 0;
    background: linear-gradient(90deg, transparent, rgba(248, 249, 246, 0.96) 22%, rgba(248, 249, 246, 0.96) 78%, transparent);
    transform: translateX(50%);
  }

  .progress-count {
    font-size: 9px;
  }

  .progress-title {
    font-size: 7px;
  }

  .coda {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 42px);
    padding-right: max(30px, env(safe-area-inset-right));
    padding-bottom: max(42px, env(safe-area-inset-bottom));
    padding-left: max(30px, env(safe-area-inset-left));
  }

  .coda h2 {
    max-width: 760px;
    font-size: clamp(40px, 7vw, 60px);
  }

  .footer-nav > div {
    gap: 0;
  }

  .footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .phone-interaction,
  .drag-hint {
    display: none;
  }

  .store-button::after {
    display: none;
  }
}


/* Single-file public routes: homepage plus legal and support views. */
.route-view {
  min-width: 0;
}

html.js .route-view {
  display: none;
}

html.js[data-site-route="home"] .route-home,
html.js[data-site-route="privacy"] [data-route-view="privacy"],
html.js[data-site-route="terms"] [data-route-view="terms"],
html.js[data-site-route="support"] [data-route-view="support"],
html.js[data-site-route="delete-account"] [data-route-view="delete-account"] {
  display: block;
}

html.js:not([data-site-route="home"]) .webgl-shell,
html.js:not([data-site-route="home"]) .experience-loader {
  display: none !important;
}

html.js:not([data-site-route="home"]) body {
  background: var(--canvas);
}

html.js:not([data-site-route="home"]) .site-header,
html.js:not([data-site-route="home"]) .site-header.is-scrolled,
html.js:not([data-site-route="home"]) .site-header.is-story,
html.js:not([data-site-route="home"]) .site-header.is-coda {
  color: var(--charcoal);
  background: rgba(248, 249, 246, 0.96);
  border-color: var(--line);
  box-shadow: 0 12px 34px rgba(21, 24, 19, 0.045);
  backdrop-filter: blur(16px) saturate(1.06);
}

html.js:not([data-site-route="home"]) .site-header .brand-copy small {
  color: var(--emerald-2);
}

html.js:not([data-site-route="home"]) .site-header .header-link,
html.js:not([data-site-route="home"]) .site-header .legal-menu-button,
html.js:not([data-site-route="home"]) .site-header .mobile-menu-button {
  color: var(--charcoal);
}

html.js:not([data-site-route="home"]) .site-header .header-link:hover,
html.js:not([data-site-route="home"]) .site-header .header-link:focus-visible,
html.js:not([data-site-route="home"]) .site-header .legal-menu-button:hover,
html.js:not([data-site-route="home"]) .site-header .legal-menu-button:focus-visible {
  color: var(--emerald-2);
}

html.js:not([data-site-route="home"]) .site-header .header-link::after {
  background: var(--gold);
}

html.js:not([data-site-route="home"]) .site-header:not(.is-scrolled) .legal-menu-panel {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  left: auto;
  width: 232px;
  display: block;
  grid-template-columns: none;
  transform: none;
}

html.js:not([data-site-route="home"]) .site-header:not(.is-scrolled) .legal-menu-panel[hidden] {
  display: none;
}

html.js:not([data-site-route="home"]) .site-header:not(.is-scrolled) .legal-menu-panel a {
  text-align: left;
}

.legal-route-view {
  scroll-margin-top: var(--header-height);
  background: var(--canvas);
}

.single-file-legal {
  min-height: 100svh;
  padding-top: calc(var(--header-height) + env(safe-area-inset-top));
  color: var(--charcoal);
  background: var(--canvas);
}

.single-file-legal .legal-hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 28%, rgba(6, 59, 44, 0.055), transparent 29%),
    radial-gradient(circle at 14% 12%, rgba(236, 230, 218, 0.48), transparent 34%),
    linear-gradient(145deg, #fff 0%, #f8f8f5 58%, #f0f2ee 100%);
}

.single-file-legal .legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(6, 59, 44, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 59, 44, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  pointer-events: none;
}

.single-file-legal .legal-hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(62px, 8vw, 108px) 0 clamp(66px, 8vw, 106px);
}

.single-file-legal .legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 780;
  text-decoration: none;
}

.single-file-legal .legal-back-link::before {
  content: "←";
  color: var(--gold-deep);
  transition: transform 0.2s ease;
}

.single-file-legal .legal-back-link:hover::before,
.single-file-legal .legal-back-link:focus-visible::before {
  transform: translateX(-2px);
}

.single-file-legal .legal-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 19px;
  color: var(--emerald-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.single-file-legal .legal-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.single-file-legal .legal-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(45px, 6vw, 76px);
  font-weight: 770;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.single-file-legal .legal-hero-summary {
  max-width: 730px;
  margin: 25px 0 0;
  color: var(--charcoal-soft);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
}

.single-file-legal .legal-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}


.single-file-legal .legal-layout {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 800px);
  justify-content: center;
  gap: clamp(45px, 7vw, 92px);
  padding: clamp(70px, 8vw, 112px) 0 clamp(90px, 10vw, 140px);
}

.single-file-legal .toc {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  max-height: calc(100svh - var(--header-height) - 56px);
  overflow: auto;
  align-self: start;
  padding-right: 12px;
}

.single-file-legal .toc p {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.single-file-legal .toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-toc;
}

.single-file-legal .toc li {
  counter-increment: legal-toc;
}

.single-file-legal .toc a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  text-decoration: none;
}

.single-file-legal .toc a::before {
  content: counter(legal-toc, decimal-leading-zero);
  color: rgba(6, 59, 44, 0.52);
  font-variant-numeric: tabular-nums;
}

.single-file-legal .toc a:hover,
.single-file-legal .toc a:focus-visible {
  color: var(--emerald);
}

.single-file-legal .legal-document {
  min-width: 0;
  color: var(--charcoal-soft);
  font-size: 17px;
  line-height: 1.75;
}

.single-file-legal .legal-document section {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.single-file-legal .legal-document section + section {
  margin-top: 56px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.single-file-legal .legal-document h2 {
  margin: 0 0 20px;
  color: var(--emerald);
  font-size: clamp(26px, 2.6vw, 35px);
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.single-file-legal .legal-document h3 {
  margin: 30px 0 12px;
  color: var(--charcoal);
  font-size: 20px;
  line-height: 1.3;
}

.single-file-legal .legal-document p {
  margin: 0;
}

.single-file-legal .legal-document p + p {
  margin-top: 17px;
}

.single-file-legal .legal-document ul,
.single-file-legal .legal-document ol {
  margin: 17px 0 0;
  padding-left: 1.35em;
}

.single-file-legal .legal-document li + li {
  margin-top: 8px;
}

.single-file-legal .legal-document a {
  color: var(--emerald);
  font-weight: 760;
  text-underline-offset: 4px;
  text-decoration-color: rgba(200, 163, 61, 0.72);
}

.single-file-legal .callout {
  margin: 25px 0 0;
  padding: 21px 23px;
  border-left: 2px solid var(--gold);
  border-radius: 0 15px 15px 0;
  background: var(--surface-soft);
}

.single-file-legal .callout strong {
  color: var(--charcoal);
}

.single-file-legal .marketplace-language {
  padding: 24px;
  border: 1px solid rgba(6, 59, 44, 0.15);
  border-radius: 18px;
  color: var(--charcoal);
  background: linear-gradient(145deg, rgba(231, 239, 235, 0.72), rgba(255, 255, 255, 0.88));
}

.single-file-legal .support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 23px;
}

.single-file-legal .support-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.single-file-legal .support-card h3 {
  margin: 0;
  font-size: 17px;
}

.single-file-legal .support-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.single-file-legal .action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 14px;
  color: #fff !important;
  background: var(--emerald);
  box-shadow: 0 14px 34px rgba(6, 59, 44, 0.19);
  text-decoration: none;
}

.single-file-legal .action-link:hover,
.single-file-legal .action-link:focus-visible {
  background: #0b513d;
}

@media (max-width: 980px) {
  .single-file-legal .legal-layout {
    grid-template-columns: minmax(0, 800px);
  }

  .single-file-legal .toc {
    display: none;
  }
}

@media (max-width: 720px) {
  .single-file-legal .legal-hero-inner,
  .single-file-legal .legal-layout {
    width: calc(100% - 36px);
  }

  .single-file-legal .legal-hero-inner {
    padding-block: 54px 62px;
  }

  .single-file-legal .legal-hero h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .single-file-legal .legal-layout {
    padding-block: 64px 88px;
  }

  .single-file-legal .legal-document {
    font-size: 15.5px;
    line-height: 1.72;
  }

  .single-file-legal .legal-document section + section {
    margin-top: 46px;
    padding-top: 44px;
  }

  .single-file-legal .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .single-file-legal .legal-document h2 {
    font-size: 27px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .webgl-shell,
  .experience-loader,
  .single-file-legal .toc,
  .single-file-legal .legal-back-link {
    display: none !important;
  }

  html.js:not([data-site-route="home"]) .route-home,
  html.js:not([data-site-route="home"]) .legal-route-view:not([style]) {
    display: none;
  }

  html.js[data-site-route="privacy"] [data-route-view="privacy"],
  html.js[data-site-route="terms"] [data-route-view="terms"],
  html.js[data-site-route="support"] [data-route-view="support"],
  html.js[data-site-route="delete-account"] [data-route-view="delete-account"] {
    display: block !important;
  }

  .single-file-legal {
    padding: 0;
    background: #fff;
  }

  .single-file-legal .legal-hero {
    border: 0;
    background: #fff;
  }

  .single-file-legal .legal-hero::after {
    display: none;
  }

  .single-file-legal .legal-hero-inner,
  .single-file-legal .legal-layout {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .single-file-legal .legal-layout {
    display: block;
  }

  .single-file-legal .legal-document {
    color: #000;
    font-size: 11pt;
    line-height: 1.55;
  }
}

