:root {
  --bg: #060706;
  --bg-raised: #0d1110;
  --panel: rgba(12, 15, 14, 0.74);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --text: #f5f7f5;
  --muted: #b7c0b9;
  --quiet: #7f8b84;
  --line: rgba(245, 247, 245, 0.16);
  --line-strong: rgba(245, 247, 245, 0.28);
  --ice: #a8efff;
  --navy: #174a7c;
  --navy-bright: #2d6caa;
  --pine: #63c79d;
  --ember: #f2a13b;
  --danger: #ff7e6d;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --font-display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

@view-transition {
  navigation: auto;
}

@keyframes site-fade-out {
  to { opacity: 0; transform: scale(0.995); }
}

@keyframes site-fade-in {
  from { opacity: 0; transform: scale(1.005); }
}

::view-transition-old(root) {
  animation: site-fade-out 140ms ease-out both;
}

::view-transition-new(root) {
  animation: site-fade-in 220ms ease-out both;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, transparent, black 28%, black 72%, transparent);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  color: #060706;
  background: var(--ice);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

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

.site-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 32px;
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
  border-bottom: 1px solid transparent;
}

@keyframes page-progress {
  to { transform: scaleX(1); }
}

@supports (animation-timeline: scroll()) {
  .site-nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--navy-bright), var(--ice), var(--pine));
    box-shadow: 0 0 14px rgba(168, 239, 255, 0.42);
    transform: scaleX(0);
    transform-origin: left center;
    animation: page-progress linear both;
    animation-timeline: scroll(root block);
  }
}

.site-nav.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(6, 7, 6, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 740;
  letter-spacing: 0;
  view-transition-name: snowshack-brand;
}

.brand picture,
.brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand picture {
  display: block;
}

.heritage-mark {
  border-radius: 50%;
  object-fit: cover;
  background: #eef6f7;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: rgba(245, 247, 245, 0.78);
  text-decoration: none;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: 0;
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
}

/* Product pages nest under Products (founder 2026-07-18). CSS-only
   disclosure: hover for pointers, :focus-within for keyboards; below 980px
   the group flattens into the collapse panel (rules in the media block). */
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-group-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-caret {
  width: 13px;
  height: 13px;
  opacity: 0.65;
  transition: transform 180ms ease;
}

.nav-caret path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 981px) {
  .nav-group:hover .nav-caret,
  .nav-group:focus-within .nav-caret {
    transform: rotate(180deg);
  }

  .nav-sub {
    position: absolute;
    /* Above .site-nav::after (the scroll-progress line), which is painted
       later in tree order and otherwise draws across the open panel. */
    z-index: 1;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .nav-group:hover .nav-sub,
  .nav-group:focus-within .nav-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-sub-panel {
    display: grid;
    gap: 2px;
    min-width: 200px;
    padding: 10px;
    background: rgba(8, 10, 9, 0.96);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-sub-panel a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 6px;
  }

  .nav-sub-panel a:hover,
  .nav-sub-panel a:focus-visible,
  .nav-sub-panel a[aria-current="page"] {
    color: var(--text);
    background: rgba(168, 239, 255, 0.08);
  }
}

/* Exact complement of the desktop block above: a fractional-width viewport
   (e.g. 980.5px under zoom/DPR scaling) must never match neither block, or
   the sub-panel renders unstyled in flow. */
@media not all and (min-width: 981px) {
  .nav-group,
  .nav-sub,
  .nav-sub-panel {
    display: contents;
  }

  .nav-caret {
    display: none;
  }

  /* Sub-links sit indented directly in the collapse panel. Extra selector
     weight so the generic mobile .nav-links a padding cannot override it. */
  .nav-links .nav-sub-panel a {
    padding-left: 30px;
  }
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.nav-toggle .menu-line {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav.nav-open .menu-line-top {
  transform: translateY(4px) rotate(45deg);
}

.site-nav.nav-open .menu-line-middle {
  opacity: 0;
}

.site-nav.nav-open .menu-line-bottom {
  transform: translateY(-4px) rotate(-45deg);
}

.icon-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.icon-link:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.1);
}

.icon-link svg,
.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  --hero-base-x: 50%;
  --hero-pointer-x: 34%;
  --hero-pointer-y: 42%;
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  min-height: 82svh;
  display: grid;
  align-items: center;
  padding: 112px 32px 52px;
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(6, 7, 6, 0.76), rgba(6, 7, 6, 0.38) 41%, rgba(6, 7, 6, 0.04) 74%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 7, 6, 0) 26%),
    url("../assets/snowshack-hero.png");
  background-image:
    linear-gradient(90deg, rgba(6, 7, 6, 0.76), rgba(6, 7, 6, 0.38) 41%, rgba(6, 7, 6, 0.04) 74%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 7, 6, 0) 26%),
    image-set(
      url("../assets/snowshack-hero.avif") type("image/avif"),
      url("../assets/snowshack-hero.webp") type("image/webp"),
      url("../assets/snowshack-hero.png") type("image/png")
    );
  background-size: cover;
  background-position:
    calc(var(--hero-base-x) + var(--hero-shift-x)) calc(50% + var(--hero-shift-y));
  transition: background-position 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), rgba(168, 239, 255, 0.1), transparent 25%),
    radial-gradient(circle at 82% 40%, rgba(242, 161, 59, 0.08), transparent 21%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 500ms ease;
}

.hero.hero-cinematic::before {
  opacity: 1;
}

.hero-atmosphere {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.58;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.6) 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.6) 68%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(720px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.hero h1,
.section-heading h2,
.studio-copy h2,
.contact-inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 700px;
  font-size: 82px;
  text-wrap: balance;
}

.hero p {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(245, 247, 245, 0.82);
  font-size: 22px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 740;
  letter-spacing: 0;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button svg {
  transition: transform 180ms ease;
}

.button:hover svg {
  transform: translateX(3px);
}

.button-primary {
  background: linear-gradient(180deg, var(--navy-bright), var(--navy));
  color: var(--text);
  border-color: rgba(245, 247, 245, 0.18);
  box-shadow: 0 18px 44px rgba(23, 74, 124, 0.34);
}

.button-secondary {
  border-color: rgba(245, 247, 245, 0.52);
  color: var(--text);
  background: rgba(8, 10, 9, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: rgba(245, 247, 245, 0.76);
  background: rgba(245, 247, 245, 0.08);
}

.section {
  padding: 108px 32px;
}

.section-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.products-section {
  padding-top: 72px;
  background:
    linear-gradient(180deg, rgba(6, 7, 6, 0), rgba(13, 17, 16, 0.92) 14%, #0d1110 100%);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 46px;
}

.section-heading h2,
.studio-copy h2,
.contact-inner h2 {
  font-size: 50px;
}

.section-heading p {
  width: min(360px, 100%);
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 18px;
}

.products-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.96fr) minmax(440px, 1.04fr);
  gap: 52px;
  align-items: center;
}

.constellation {
  --constellation-x: 50%;
  --constellation-y: 50%;
  --constellation-far-x: 0px;
  --constellation-far-y: 0px;
  --constellation-near-x: 0px;
  --constellation-near-y: 0px;
  position: relative;
  min-height: 570px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(168, 239, 255, 0.08), transparent 38%),
    linear-gradient(315deg, rgba(99, 199, 157, 0.08), transparent 46%),
    #080a09;
  box-shadow: var(--shadow);
}

.constellation::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--constellation-x) var(--constellation-y), rgba(168, 239, 255, 0.15), transparent 24%),
    linear-gradient(118deg, transparent 30%, rgba(255, 255, 255, 0.045) 49%, transparent 67%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 240ms ease;
}

.constellation.constellation-cinematic::after {
  opacity: 1;
}

.terrain-lines,
.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 180ms ease-out;
  will-change: transform;
}

.constellation-cinematic .terrain-lines {
  transform: translate3d(var(--constellation-far-x), var(--constellation-far-y), 0) scale(1.025);
}

.constellation-cinematic .network-lines {
  transform: translate3d(var(--constellation-near-x), var(--constellation-near-y), 0) scale(1.012);
}

.terrain-lines {
  opacity: 0.2;
}

.terrain-lines path {
  fill: none;
  stroke: rgba(245, 247, 245, 0.32);
  stroke-width: 1;
}

.network-lines {
  opacity: 0.95;
}

.network-lines circle {
  fill: none;
  stroke: rgba(245, 247, 245, 0.16);
  stroke-dasharray: 6 9;
}

.network-lines .line {
  fill: none;
  stroke: rgba(245, 247, 245, 0.24);
  stroke-width: 2;
  stroke-dasharray: 7 8;
  transition: stroke 180ms ease, stroke-width 180ms ease;
}

.network-lines .line.active-line {
  stroke: var(--navy-bright);
  stroke-width: 3;
  filter: drop-shadow(0 0 5px rgba(168, 239, 255, 0.38));
  animation: signal-flow 2.6s linear infinite;
}

.network-lines .line-spell.active-line {
  stroke: var(--ember);
}

@keyframes signal-flow {
  to { stroke-dashoffset: -60; }
}

.orbit-node {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 10px;
  width: 118px;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  letter-spacing: 0;
}

.orbit-node::before {
  content: "";
  width: 92px;
  height: 92px;
  grid-area: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(245, 247, 245, 0.24);
  background: rgba(8, 10, 9, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.orbit-node picture,
.orbit-node img,
.future-mark {
  grid-area: 1 / 1;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.orbit-node picture {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
}

.orbit-node span:last-child {
  font-size: 13px;
  font-weight: 740;
  color: rgba(245, 247, 245, 0.76);
}

.orbit-node.active::before,
.orbit-node:hover::before {
  transform: scale(1.04);
  border-color: var(--ice);
  box-shadow: 0 0 34px rgba(168, 239, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.company-node {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: default;
}

.company-node::before {
  width: 152px;
  height: 152px;
  border-color: rgba(168, 239, 255, 0.64);
}

.company-node img {
  width: 118px;
  height: 118px;
  border: 1px solid rgba(245, 247, 245, 0.24);
}

.company-node picture {
  width: 118px;
  height: 118px;
}

.alpenkeep-node {
  top: 54px;
  right: 44px;
}

.spell-node {
  top: 164px;
  left: 18px;
}

.ampledger-node {
  right: 14px;
  bottom: 34px;
}

.future-node {
  left: 44px;
  bottom: 22px;
}

.future-mark {
  display: grid;
  place-items: center;
  color: var(--text);
  background: linear-gradient(180deg, var(--navy-bright), var(--navy));
  font-size: 38px;
  line-height: 1;
  font-weight: 500;
}

.constellation-copy {
  position: absolute;
  left: 28px;
  top: 28px;
  right: 210px;
  display: grid;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.constellation-copy strong {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
}

.constellation-copy span {
  color: var(--muted);
  font-size: 15px;
}

.product-list {
  display: grid;
  gap: 0;
}

.product-row {
  width: 100%;
  display: grid;
  grid-template-columns: 126px 1fr 20px;
  gap: 24px;
  align-items: center;
  min-height: 170px;
  padding: 28px;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-row:focus-visible {
  outline-offset: 6px;
}

.product-row picture,
.future-thumbnail {
  width: 126px;
  height: 126px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid rgba(245, 247, 245, 0.18);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.product-row picture {
  display: block;
  overflow: hidden;
}

.product-row img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  object-fit: cover;
  box-shadow: none;
  transition: transform 260ms ease, filter 260ms ease;
}

.product-row:hover img,
.product-row.active img {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.02);
}

.future-thumbnail {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(168, 239, 255, 0.12), rgba(99, 199, 157, 0.1)), #0b0e0d;
}

.future-thumbnail svg {
  width: 70px;
  height: 70px;
  fill: none;
  stroke: var(--ice);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.future-thumbnail circle {
  fill: var(--navy-bright);
  stroke: none;
}

.product-text {
  display: grid;
  gap: 5px;
}

.product-type {
  width: fit-content;
  margin-bottom: 5px;
  padding: 3px 8px;
  color: var(--ice);
  border: 1px solid rgba(168, 239, 255, 0.32);
  border-radius: 999px;
  background: rgba(168, 239, 255, 0.08);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.1;
  text-transform: uppercase;
}

.game-type {
  color: #ffd69a;
  border-color: rgba(242, 161, 59, 0.36);
  background: rgba(242, 161, 59, 0.1);
}

.product-text strong {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.05;
}

.product-text span {
  color: rgba(245, 247, 245, 0.82);
  font-size: 19px;
}

.product-text small {
  max-width: 460px;
  color: var(--quiet);
  font-size: 14px;
  line-height: 1.45;
}

.status-badge {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.1;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.status-badge-launching {
  color: var(--ice);
  border: 1px solid rgba(168, 239, 255, 0.4);
  background: rgba(168, 239, 255, 0.1);
}

.status-badge-launching .status-dot {
  animation: status-pulse 2s ease-in-out infinite;
}

/* Distinct "playable right now" signal (task #505) — reuses Spellshooter 2's
   own accent green so the homepage card previews the product's palette. */
.status-badge-live {
  color: #3dff7a;
  border: 1px solid rgba(61, 255, 122, 0.4);
  background: rgba(61, 255, 122, 0.12);
}

.status-badge-live .status-dot {
  animation: status-pulse 2s ease-in-out infinite;
}

.status-badge-dev {
  color: var(--pine);
  border: 1px solid rgba(99, 199, 157, 0.4);
  background: rgba(99, 199, 157, 0.1);
}

.status-badge-exploring {
  color: var(--quiet);
  border: 1px dashed rgba(127, 139, 132, 0.5);
  background: transparent;
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

.status-ring {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(245, 247, 245, 0.28);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.product-row.active .status-ring,
.product-row:hover .status-ring {
  border-color: var(--navy-bright);
  background: var(--navy-bright);
  box-shadow: 0 0 20px rgba(45, 108, 170, 0.42);
}

.studio-section {
  background: #060706;
  border-top: 1px solid rgba(245, 247, 245, 0.08);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 62px;
  align-items: center;
}

.studio-copy p {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
}

.studio-copy .studio-meta {
  margin-top: 18px;
  padding-left: 14px;
  color: rgba(245, 247, 245, 0.82);
  border-left: 2px solid var(--pine);
  font-size: 15px;
  font-weight: 680;
}

.principles {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.principles article {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.principles strong {
  color: var(--ice);
  font-family: var(--font-display);
  font-size: 18px;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.studio-image {
  margin: 0;
  position: relative;
}

.studio-image::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(245, 247, 245, 0.14);
  border-radius: var(--radius);
  pointer-events: none;
}

.studio-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.studio-image picture {
  display: block;
}

.contact-section {
  padding: 0 32px 72px;
  background: #060706;
}

.contact-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
  padding: 46px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-inner img {
  width: 58px;
  height: 58px;
}

.contact-inner > picture {
  display: block;
  width: 58px;
  height: 58px;
}

.contact-inner h2 {
  font-size: 36px;
  margin-bottom: 8px;
}

.contact-inner a {
  color: var(--ice);
  font-size: 24px;
  font-weight: 720;
  text-decoration: none;
  word-break: break-word;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px 34px;
  color: var(--quiet);
  border-top: 1px solid rgba(245, 247, 245, 0.08);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}

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

.compact-nav {
  background: rgba(6, 7, 6, 0.86);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-main {
  min-height: 72svh;
  padding-top: 84px;
  background:
    linear-gradient(180deg, rgba(13, 17, 16, 0.86), #060706 34%),
    #060706;
}

.page-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}

.page-hero {
  padding: 96px 32px 52px;
  border-bottom: 1px solid rgba(245, 247, 245, 0.08);
}

.page-kicker {
  margin: 0 0 18px;
  color: var(--ice);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 62px;
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

.page-hero a,
.legal-copy a {
  color: var(--ice);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.page-section {
  padding: 58px 32px 92px;
}

.page-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-grid article {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.page-grid h2,
.legal-copy h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.page-grid p,
.legal-copy p {
  margin: 0;
  color: var(--muted);
}

.legal-copy {
  color: var(--muted);
}

.legal-copy h2 {
  margin-top: 42px;
  margin-bottom: 12px;
}

.legal-copy p + p {
  margin-top: 16px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-ready .reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-nav {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    min-height: 82svh;
    padding-left: 22px;
    padding-right: 22px;
    --hero-base-x: 62%;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero p {
    font-size: 19px;
  }

  .section {
    padding: 86px 22px;
  }

  .products-section {
    padding-top: 62px;
  }

  .section-heading {
    display: grid;
    gap: 14px;
  }

  .section-heading h2,
  .studio-copy h2,
  .page-hero h1 {
    font-size: 42px;
  }

  .products-layout,
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .constellation {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    gap: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-ready .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 2px;
    padding: 10px;
    background: rgba(8, 10, 9, 0.96);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transform-origin: top center;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .nav-ready .nav-links {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.985);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 12px;
    border-radius: 6px;
    font-size: 16px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a[aria-current="page"] {
    color: var(--text);
    background: rgba(168, 239, 255, 0.08);
  }

  .nav-ready .site-nav.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .brand span {
    font-size: 16px;
  }

  .brand picture,
  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 74svh;
    padding-top: 112px;
    padding-bottom: 42px;
    --hero-base-x: 68%;
  }

  .hero h1 {
    max-width: 430px;
    font-size: 46px;
  }

  .hero p {
    max-width: 390px;
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .section-heading h2,
  .studio-copy h2,
  .page-hero h1 {
    font-size: 36px;
  }

  .section-heading p,
  .studio-copy p {
    font-size: 17px;
  }

  .constellation {
    display: none;
  }

  .company-node::before {
    width: 116px;
    height: 116px;
  }

  .company-node img {
    width: 88px;
    height: 88px;
  }

  .orbit-node {
    width: 94px;
  }

  .orbit-node::before {
    width: 72px;
    height: 72px;
  }

  .orbit-node img,
  .future-mark {
    width: 60px;
    height: 60px;
  }

  .alpenkeep-node {
    top: 36px;
    right: 12px;
  }

  .spell-node {
    top: 126px;
    left: 8px;
  }

  .ampledger-node {
    right: 8px;
    bottom: 26px;
  }

  .future-node {
    left: 18px;
    bottom: 18px;
  }

  .constellation-copy {
    left: 18px;
    top: 18px;
    right: 112px;
  }

  .product-row {
    grid-template-columns: 92px 1fr;
    min-height: auto;
    gap: 16px;
    padding: 22px 18px;
  }

  .product-row picture,
  .future-thumbnail {
    width: 92px;
    height: 92px;
  }

  .product-text strong {
    font-size: 26px;
  }

  .product-type {
    font-size: 10px;
  }

  .product-text span {
    font-size: 16px;
  }

  .status-ring {
    display: none;
  }

  .principles article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-inner h2 {
    font-size: 30px;
  }

  .contact-inner a {
    font-size: 19px;
  }

  .footer {
    display: grid;
    padding-left: 22px;
    padding-right: 22px;
  }

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

  .page-main {
    padding-top: 76px;
  }

  .page-hero,
  .page-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .page-hero {
    padding-top: 72px;
  }

  .page-hero p {
    font-size: 18px;
  }

  .page-grid article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

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

  .hero p {
    font-size: 16px;
  }

  .brand span {
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .constellation {
    min-height: 380px;
  }
}

@media (max-width: 340px) {
  .brand span {
    display: none;
  }
}

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

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

  .reveal,
  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .site-nav::after {
    display: none;
  }

  .network-lines .line.active-line,
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }

  .hero-atmosphere {
    display: none;
  }

  .hero::before {
    opacity: 0 !important;
  }

  .constellation::after {
    opacity: 0 !important;
  }

  .hero,
  .constellation .terrain-lines,
  .constellation .network-lines {
    transform: none !important;
    transition: none !important;
  }

  .status-badge-launching .status-dot {
    animation: none !important;
  }
}

/* --- Product cards + waitlist page (task #48; secondary CTA button
   retired in task #421 — the whole .product-item card, via .product-row,
   is now the sole click target for every card) --- */

.product-item {
  display: block;
  margin-bottom: 20px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-item:last-child {
  margin-bottom: 0;
}

.product-item:hover,
.product-item:focus-within {
  transform: translateY(-4px);
  border-color: var(--ice);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(168, 239, 255, 0.16);
}

.product-item:active {
  transform: translateY(-1px);
}

/* Waitlist capture form -- lives on its own page (waitlist.html), styled as a
   card within the shared .page-section/.page-shell system used by the legal
   pages, so it needs no modal/overlay chrome of its own. */
.waitlist-card {
  width: min(440px, 100%);
  padding: 32px 30px 26px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  box-shadow: var(--shadow);
}

.waitlist-field {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}

.waitlist-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-body);
}

.waitlist-input:focus {
  outline: 2px solid var(--ice);
  outline-offset: 1px;
}

.waitlist-input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 126, 109, 0.12);
}

/* Honeypot: invisible to real visitors, present in the DOM for bots that
   fill every field. Not display:none, so unsophisticated scrapers that skip
   hidden fields still see a "normal" field to fill. */
.waitlist-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-submit {
  width: 100%;
  justify-content: center;
  display: flex;
}

.waitlist-submit.is-loading {
  opacity: 0.7;
  cursor: progress;
}

.waitlist-status {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 14px;
}

.waitlist-status-success {
  color: var(--pine);
}

.waitlist-status-error {
  color: var(--danger);
}

.waitlist-fineprint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--quiet);
}

.waitlist-fineprint a {
  color: var(--quiet);
}

.waitlist-textarea {
  resize: vertical;
  min-height: 84px;
  font-family: var(--font-body);
}

.waitlist-charcount {
  margin: -10px 0 16px;
  text-align: right;
  font-size: 12px;
  color: var(--quiet);
}

.waitlist-confirm h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.waitlist-confirm p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .waitlist-card {
    padding: 26px 22px 22px;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #d2d9d4;
    --quiet: #aeb8b1;
    --line: rgba(245, 247, 245, 0.34);
    --line-strong: rgba(245, 247, 245, 0.58);
  }
}

@media (forced-colors: active) {
  .heritage-mark,
  .product-row img,
  .studio-image img {
    forced-color-adjust: none;
  }

  .button,
  .icon-link,
  .nav-toggle,
  .waitlist-input,
  .constellation {
    border: 1px solid ButtonText;
  }
}

/* --- Spellshooter 2 landing page (task #279) ---
   New page, existing system: reuses .page-hero/.page-section/.page-grid/
   .waitlist-card and the token set above. Only additions are the hero
   atmosphere treatment, the screenshot gallery, and the pricing-card
   checklist, all built from the same tokens/components. */

.page-section-heading {
  margin: 0 0 28px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
}

/* --- Spellshooter 2 brand restatement (task #279/#303) ---
   Marketing's restated spec (Drive doc 168a_LayBbkV5lSBz2nksr87iIxkv4A51HYnZBWXgjOk)
   directs this one product page to read as a continuation of the live game
   rather than the generic site wrapper: the game's own tile-logo lockup
   leads the hero, and its neon/nebula palette drives color, gradients,
   glows, and accent motifs across the page. Every hex/rgba value below is
   ported verbatim from the shipped game
   (/Users/snowshack/Spellshooter2.0(claude)/www/style.css) — not re-derived
   from the mockup image. Everything here is scoped under .ss2-page (the
   <main> element on this page only): the sitewide :root token block above
   is untouched, and Ampledger/Alpenkeep keep their own palettes. */

.ss2-page {
  --ss2-bg0: #04060f;
  --ss2-cyan: #22e6ff;
  --ss2-indigo: #6b5bff;
  --ss2-magenta: #ff3ddb;
  --ss2-green: #3dff7a;
  --ss2-gold: #ffc93d;
  --ss2-ink: #eaf6ff;
  background: linear-gradient(180deg, rgba(4, 6, 15, 0.97), var(--ss2-bg0) 42%), var(--ss2-bg0);
}

/* Hero: game's own nebula backdrop (www/style.css body::before, lines 28-36),
   ported as a hero-only background — not a sitewide change. */
.ss2-hero {
  position: relative;
  overflow: hidden;
  background: var(--ss2-bg0);
}

.ss2-hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 35% at 20% 25%, rgba(107, 91, 255, 0.28), transparent 70%),
    radial-gradient(40% 40% at 80% 20%, rgba(34, 230, 255, 0.16), transparent 70%),
    radial-gradient(50% 45% at 70% 85%, rgba(255, 61, 219, 0.14), transparent 70%),
    radial-gradient(35% 30% at 15% 80%, rgba(61, 255, 122, 0.10), transparent 70%);
  animation: ss2Drift 26s ease-in-out infinite alternate;
  filter: saturate(1.15);
}

.ss2-hero > .page-shell {
  position: relative;
  z-index: 1;
  color: var(--ss2-ink);
}

.ss2-hero p {
  color: rgba(234, 246, 255, 0.72);
}

@keyframes ss2Drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.06); }
}

/* Hero logo lockup — reuses the live game's own main-menu markup/values
   verbatim (www/index.html lines 50-58, www/style.css lines 159-180),
   namespaced under ss2- so it can't collide with any future embed of the
   real game on this page. Leads the hero: it is the first element in
   .page-shell, above the kicker/eyebrow and the <h1>. */
.ss2-logo {
  margin-bottom: 20px;
}

.ss2-logo-row {
  display: flex;
  gap: 7px;
  margin-bottom: 8px;
}

.ss2-ltile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-family: 'Orbitron', var(--font-display);
  font-weight: 900;
  font-size: 24px;
  color: #081226;
  animation: ss2Bob 3.2s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(4, 6, 20, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ss2-logo-row-2 .ss2-ltile {
  width: 38px;
  height: 38px;
  font-size: 20px;
  border-radius: 10px;
}

.ss2-ltile.t1 { background: linear-gradient(150deg, #8ef4ff, #22c8e8); box-shadow: 0 4px 14px rgba(34, 230, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.42); }
.ss2-ltile.t2 { background: linear-gradient(150deg, #9d8cff, #6b5bff); color: #eef; box-shadow: 0 4px 14px rgba(107, 91, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.34); }
.ss2-ltile.t3 { background: linear-gradient(150deg, #7dff9f, #22d964); box-shadow: 0 4px 14px rgba(61, 255, 122, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.42); }
.ss2-ltile.sup {
  width: 24px;
  height: 24px;
  font-size: 14px;
  border-radius: 8px;
  align-self: flex-start;
  background: linear-gradient(150deg, #ffe27a, #f5a623);
  box-shadow: 0 4px 12px rgba(255, 201, 61, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.ss2-logo-row .ss2-ltile:nth-child(1) { animation-delay: 0s; }
.ss2-logo-row .ss2-ltile:nth-child(2) { animation-delay: .15s; }
.ss2-logo-row .ss2-ltile:nth-child(3) { animation-delay: .3s; }
.ss2-logo-row .ss2-ltile:nth-child(4) { animation-delay: .45s; }
.ss2-logo-row .ss2-ltile:nth-child(5) { animation-delay: .6s; }
.ss2-logo-row-2 .ss2-ltile:nth-child(6) { animation-delay: .75s; }
.ss2-logo-row-2 .ss2-ltile:nth-child(7) { animation-delay: .9s; }
.ss2-logo-row-2 .ss2-ltile:nth-child(8) { animation-delay: 1.05s; }

@keyframes ss2Bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(1.5deg); }
}

.ss2-tagline {
  margin: 0 0 18px;
  font-family: 'Orbitron', var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .35em;
  color: var(--ss2-cyan);
  text-shadow: 0 0 14px rgba(34, 230, 255, .8);
  text-transform: uppercase;
}

@media (min-width: 1100px) {
  .ss2-ltile { width: 60px; height: 60px; font-size: 34px; border-radius: 14px; }
  .ss2-logo-row-2 .ss2-ltile { width: 53px; height: 53px; font-size: 30px; }
  .ss2-ltile.sup { width: 32px; height: 32px; font-size: 18px; }
}

@media (max-width: 480px) {
  .ss2-ltile { width: 36px; height: 36px; font-size: 19px; border-radius: 10px; }
  .ss2-logo-row-2 .ss2-ltile { width: 31px; height: 31px; font-size: 16px; }
  .ss2-ltile.sup { width: 20px; height: 20px; font-size: 12px; }
  .ss2-tagline { font-size: 10px; letter-spacing: .22em; }
}

@media (prefers-reduced-motion: reduce) {
  .ss2-hero::before { animation: none; }
  .ss2-ltile { animation: none !important; transform: none !important; }
}

/* Typography: Orbitron for headlines/kickers/buttons, Rajdhani for body —
   the same two families the game itself loads (www/index.html line 17). */
.ss2-page {
  font-family: 'Rajdhani', var(--font-body);
}

.ss2-page h1,
.ss2-page .page-section-heading,
.ss2-page .page-kicker,
.ss2-page .button {
  font-family: 'Orbitron', var(--font-display);
}

.ss2-page .page-kicker {
  color: var(--ss2-cyan);
  letter-spacing: .12em;
}

/* Gradient-clipped section headings + Deluxe/free accent cues, ported from
   the game's .mode-name / .paywall-panel h2 treatment (www/style.css lines
   239-240, 391) — applied to section heads, not body copy. */
.ss2-page .page-section-heading {
  display: inline-block;
  background: linear-gradient(90deg, var(--ss2-cyan), var(--ss2-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(34, 230, 255, .3));
}

.ss2-page .ss2-accent-green {
  color: var(--ss2-green);
}

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

/* Primary CTA: filled cyan→indigo gradient pill with a colored glow,
   matching .play-hero/.bigbtn (www/style.css lines 193-198). */
.ss2-page .button-primary {
  background: linear-gradient(140deg, var(--ss2-cyan), var(--ss2-indigo));
  border-color: transparent;
  color: #04121e;
  box-shadow: 0 0 26px rgba(34, 230, 255, .35), 0 8px 22px rgba(0, 0, 0, .4);
}

.ss2-page .button-primary:hover {
  box-shadow: 0 0 40px rgba(34, 230, 255, .55), 0 10px 26px rgba(0, 0, 0, .45);
}

.ss2-page .button-secondary {
  border-color: rgba(234, 246, 255, .34);
  color: var(--ss2-ink);
}

.ss2-page .button-secondary:hover {
  border-color: var(--ss2-cyan);
  box-shadow: 0 0 22px rgba(34, 230, 255, .25);
}

/* Feature/FAQ grid: subtle colored accent on hover — same visible-feedback
   pattern as the game's .mode-card:hover glow, without changing the
   sitewide .page-grid layout. */
.ss2-page .page-grid article {
  border-left: 2px solid transparent;
  padding-left: 18px;
  margin-left: -18px;
  transition: border-color 200ms ease, background 200ms ease;
}

.ss2-page .page-grid article:hover {
  border-left-color: var(--ss2-cyan);
  background: rgba(34, 230, 255, .04);
}

.ss2-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ss2-kicker-row .page-kicker {
  margin: 0;
}

.ss2-kicker-row img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.ss2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* "Play in your browser" is the star CTA (task #505): a soft pulse on top of
   the existing .ss2-page .button-primary glow so it reads as the one action
   that needs no waiting, next to the waitlist buttons that do. */
.ss2-play-cta {
  position: relative;
  animation: ss2-play-pulse 2.6s ease-in-out infinite;
}

.ss2-play-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

@keyframes ss2-play-pulse {
  0%, 100% { box-shadow: 0 0 26px rgba(34, 230, 255, .35), 0 8px 22px rgba(0, 0, 0, .4); }
  50% { box-shadow: 0 0 44px rgba(34, 230, 255, .65), 0 8px 22px rgba(0, 0, 0, .4); }
}

@media (prefers-reduced-motion: reduce) {
  .ss2-play-cta { animation: none; }
}

.ss2-hero-jumplink {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(234, 246, 255, .3);
}

.ss2-hero-jumplink:hover {
  color: var(--ss2-ink);
  text-decoration-color: var(--ss2-cyan);
}

.ss2-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ss2-gallery-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ss2-gallery-item:hover,
.ss2-gallery-item:focus-within {
  transform: translateY(-6px);
  border-color: var(--ice);
  box-shadow: 0 0 34px rgba(168, 239, 255, 0.22), var(--shadow);
}

.ss2-gallery-chrome {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}

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

.ss2-gallery-visual {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(168, 239, 255, 0.12), transparent 60%), var(--bg-raised);
}

.ss2-gallery-visual svg {
  width: 62%;
  height: 62%;
  color: var(--ice);
}

.ss2-gallery-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss2-gallery-visual svg path,
.ss2-gallery-visual svg circle,
.ss2-gallery-visual svg rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ss2-gallery-visual svg .ss2-fill {
  fill: currentColor;
  stroke: none;
}

.ss2-gallery-caption {
  margin: 0;
  padding: 14px 16px 20px;
  color: var(--muted);
  font-size: 15px;
}

/* Task #457: the chrome+visual pair is now wrapped in a role="button"
   trigger that opens the lightbox. It's a plain reset div (not a native
   <button>, since <button> can't validly contain the existing flow-content
   chrome/visual <div>s) styled and keyboard-activated to behave like one. */
.ss2-gallery-trigger {
  display: block;
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

/* .ss2-gallery-item clips overflow for its rounded corners, which would
   clip the sitewide focus-visible outline's default offset -- pull it
   inward instead of switching away from the shared outline treatment. */
.ss2-gallery-trigger:focus-visible {
  outline-offset: -3px;
}

/* Per-card accent glow, keyed to the palette (cyan default/core-loop,
   green free-forever, gold Deluxe/Daily) instead of one reused ember
   accent — same idea as the game's per-mode --world-accent glow. */
.ss2-page .ss2-gallery-item:hover,
.ss2-page .ss2-gallery-item:focus-within {
  border-color: var(--ss2-cyan);
  box-shadow: 0 0 34px rgba(34, 230, 255, 0.28), var(--shadow);
}

.ss2-page .ss2-gallery-visual svg {
  color: var(--ss2-cyan);
}

.ss2-page .ss2-gallery-green:hover,
.ss2-page .ss2-gallery-green:focus-within {
  border-color: var(--ss2-green);
  box-shadow: 0 0 34px rgba(61, 255, 122, 0.28), var(--shadow);
}

.ss2-page .ss2-gallery-green .ss2-gallery-visual svg {
  color: var(--ss2-green);
}

.ss2-page .ss2-gallery-gold:hover,
.ss2-page .ss2-gallery-gold:focus-within {
  border-color: var(--ss2-gold);
  box-shadow: 0 0 34px rgba(255, 201, 61, 0.3), var(--shadow);
}

.ss2-page .ss2-gallery-gold .ss2-gallery-visual svg {
  color: var(--ss2-gold);
}

@media (max-width: 980px) {
  .ss2-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ss2-gallery {
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    gap: 16px;
    margin: 0 -22px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .ss2-gallery-item {
    scroll-snap-align: center;
  }
}

/* Task #457: screenshot lightbox carousel -- sleek/modern overlay reusing
   the page's own cyan/indigo/green/gold accent palette and bg-raised/line
   tokens rather than introducing new colors. Uses the sitewide [hidden]
   convention (see .waitlist-confirm) for open/close, toggled from
   js/ss2-gallery.js. */
.ss2-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 6, 15, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ss2-lightbox:not([hidden]) {
  display: flex;
  animation: ss2-lightbox-fade-in 220ms ease;
}

@keyframes ss2-lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.ss2-lightbox-open {
  overflow: hidden;
}

.ss2-lightbox-frame {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(34, 230, 255, 0.35);
  background: linear-gradient(180deg, rgba(13, 17, 16, 0.97), var(--ss2-bg0) 65%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(34, 230, 255, 0.16);
  overflow: hidden;
  animation: ss2-lightbox-scale-in 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ss2-lightbox-scale-in {
  from { transform: scale(0.94) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.ss2-lightbox-media {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 40px;
  min-height: 0;
  background: radial-gradient(120% 140% at 50% 0%, rgba(168, 239, 255, 0.14), transparent 60%), var(--ss2-bg0);
}

.ss2-lightbox-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: contain;
}

.ss2-lightbox-media svg {
  width: min(46%, 200px);
  height: min(46%, 200px);
  color: var(--ss2-cyan);
}

.ss2-lightbox-media svg path,
.ss2-lightbox-media svg circle,
.ss2-lightbox-media svg rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ss2-lightbox-media svg .ss2-fill {
  fill: currentColor;
  stroke: none;
}

.ss2-lightbox-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px 20px;
  border-top: 1px solid var(--line);
}

.ss2-lightbox-caption {
  margin: 0;
  color: var(--ss2-ink);
  font-size: 15px;
}

.ss2-lightbox-counter {
  margin: 0;
  flex: none;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.ss2-lightbox-close,
.ss2-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(4, 6, 15, 0.55);
  color: var(--ss2-ink);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ss2-lightbox-close svg,
.ss2-lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.ss2-lightbox-close svg path,
.ss2-lightbox-nav svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ss2-lightbox-close:hover,
.ss2-lightbox-close:focus-visible,
.ss2-lightbox-nav:hover,
.ss2-lightbox-nav:focus-visible {
  border-color: var(--ss2-cyan);
  background: rgba(34, 230, 255, 0.16);
  box-shadow: 0 0 24px rgba(34, 230, 255, 0.32);
}

.ss2-lightbox-close {
  top: 14px;
  right: 14px;
}

.ss2-lightbox-close:hover,
.ss2-lightbox-close:focus-visible {
  transform: scale(1.08);
}

.ss2-lightbox-prev {
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
}

.ss2-lightbox-prev:hover,
.ss2-lightbox-prev:focus-visible {
  transform: translateY(-50%) scale(1.08);
}

.ss2-lightbox-next {
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

.ss2-lightbox-next:hover,
.ss2-lightbox-next:focus-visible {
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 640px) {
  .ss2-lightbox {
    padding: 12px;
  }

  .ss2-lightbox-frame {
    max-height: 92vh;
  }

  .ss2-lightbox-media {
    padding: 22px;
  }

  .ss2-lightbox-close,
  .ss2-lightbox-nav {
    width: 38px;
    height: 38px;
  }

  .ss2-lightbox-prev { left: 8px; }
  .ss2-lightbox-next { right: 8px; }
  .ss2-lightbox-close { top: 8px; right: 8px; }

  .ss2-lightbox-footer {
    padding: 12px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ss2-lightbox:not([hidden]),
  .ss2-lightbox-frame {
    animation: none;
  }
}

.ss2-pricing-card {
  width: min(560px, 100%);
  padding: 36px 34px 30px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  box-shadow: var(--shadow);
}

.ss2-pricing-card > p {
  margin: 0 0 22px;
  color: var(--muted);
}

.ss2-pricing-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 13px;
}

.ss2-pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
}

.ss2-pricing-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--pine);
}

/* Gold pricing-card glow + free/Deluxe checkmark accents (www/style.css
   .paywall-panel, lines 390-393): green for the free-forever/no-strings
   bullets, gold for the Deluxe one-time-unlock bullet. */
.ss2-page .ss2-pricing-card {
  border-color: rgba(255, 201, 61, 0.32);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 201, 61, 0.12);
}

.ss2-page .ss2-pricing-list svg {
  color: var(--ss2-green);
}

.ss2-page .ss2-pricing-list li:nth-child(3) svg {
  color: var(--ss2-gold);
}

.ss2-pricing-list svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 480px) {
  .ss2-pricing-card {
    padding: 26px 22px 22px;
  }
}

.ss2-origin-copy {
  display: grid;
  gap: 18px;
  max-width: 68ch;
}

.ss2-origin-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.ss2-origin-copy p:first-child {
  color: var(--text);
}

/* --- Ampledger brand restatement (task #414) ---
   Founder feedback: the Ampledger page read as the generic site wrapper and
   felt flat next to the Spellshooter 2 page. This block gives Ampledger its
   own themed treatment, scoped entirely under .amp-page (this product page's
   <main> only) — the sitewide :root tokens and every other page are untouched.
   Palette is ported verbatim from Ampledger's own app theme
   (/Users/snowshack/CodexApps/Breakerly/src/theme/index.tsx): teal accent
   #6EC4C8 / deep teal #0F6B72, amber #E2A63B, success #75B98A, warm ink
   #F6F1E7 on a near-black teal ground #091114 / card #101A1D. */

.amp-page {
  --amp-bg0: #091114;
  --amp-teal: #6ec4c8;
  --amp-teal-deep: #0f6b72;
  --amp-amber: #e2a63b;
  --amp-green: #75b98a;
  --amp-ink: #f6f1e7;
  --amp-muted: #a1afbc;
  --amp-card: #101a1d;
  --amp-surface: #17272a;
  --amp-line: rgba(110, 196, 200, 0.22);
  font-family: 'Space Grotesk', var(--font-body);
  background: linear-gradient(180deg, rgba(9, 17, 20, 0.97), var(--amp-bg0) 42%), var(--amp-bg0);
}

.amp-page h1,
.amp-page .page-section-heading,
.amp-page .button {
  font-family: 'Space Grotesk', var(--font-display);
  letter-spacing: -0.01em;
}

.amp-page .page-kicker {
  color: var(--amp-teal);
  letter-spacing: .16em;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

/* Hero — Ampledger's own teal/amber glow backdrop, hero-scoped only. */
.amp-hero {
  position: relative;
  overflow: hidden;
  background: var(--amp-bg0);
}

.amp-hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 36% at 18% 22%, rgba(110, 196, 200, 0.26), transparent 70%),
    radial-gradient(38% 40% at 82% 18%, rgba(15, 107, 114, 0.36), transparent 72%),
    radial-gradient(46% 42% at 72% 90%, rgba(226, 166, 59, 0.12), transparent 70%);
  animation: ampDrift 26s ease-in-out infinite alternate;
  filter: saturate(1.1);
}

@keyframes ampDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.05); }
}

.amp-hero > .page-shell {
  position: relative;
  z-index: 1;
  color: var(--amp-ink);
}

.amp-hero p {
  color: rgba(246, 241, 231, 0.74);
}

.amp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .amp-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.amp-tagline {
  margin: 0 0 18px;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--amp-teal);
  text-shadow: 0 0 16px rgba(110, 196, 200, .5);
  text-transform: uppercase;
}

.amp-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.amp-kicker-row .page-kicker {
  margin: 0;
}

.amp-kicker-row img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.amp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Section headings: teal→amber gradient clip. */
.amp-page .page-section-heading {
  display: inline-block;
  background: linear-gradient(90deg, var(--amp-teal), var(--amp-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(110, 196, 200, .22));
}

/* CTAs */
.amp-page .button-primary {
  background: linear-gradient(140deg, var(--amp-teal), var(--amp-teal-deep));
  border-color: transparent;
  color: #04181a;
  box-shadow: 0 0 26px rgba(110, 196, 200, .3), 0 8px 22px rgba(0, 0, 0, .4);
}

.amp-page .button-primary:hover {
  box-shadow: 0 0 40px rgba(110, 196, 200, .5), 0 10px 26px rgba(0, 0, 0, .45);
}

.amp-page .button-secondary {
  border-color: rgba(246, 241, 231, .3);
  color: var(--amp-ink);
}

.amp-page .button-secondary:hover {
  border-color: var(--amp-teal);
  box-shadow: 0 0 22px rgba(110, 196, 200, .24);
}

/* Grids on this page read as modern cards (not the base label|body rows):
   How it works, What you get, and the FAQ all become a responsive 2-up card
   grid with each card stacking its contents vertically. */
.amp-page .page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: none;
  margin-top: 26px;
}

.amp-page .page-grid article {
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: start;
  margin-left: 0;
  padding: 24px 22px;
  border: 1px solid var(--amp-line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--amp-card), rgba(11, 20, 23, 0.55));
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.amp-page .page-grid article:hover {
  border-color: var(--amp-teal);
  background: linear-gradient(180deg, var(--amp-surface), var(--amp-card));
  transform: translateY(-3px);
}

.amp-page .page-grid h2 {
  color: var(--amp-ink);
}

.amp-page .page-grid p {
  color: var(--amp-muted);
}

@media (max-width: 720px) {
  .amp-page .page-grid {
    grid-template-columns: 1fr;
  }
}

/* "What you get" feature icons. */
.amp-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(150deg, rgba(110, 196, 200, .2), rgba(15, 107, 114, .1));
  border: 1px solid var(--amp-line);
}

.amp-feature-icon svg {
  width: 21px;
  height: 21px;
  color: var(--amp-teal);
}

.amp-feature-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* "How it works" — numbered step cards. The badge is a normal grid item
   (first child), so heading and body stack cleanly beneath it. */
.amp-steps {
  counter-reset: amp-step;
}

.amp-page .amp-steps article {
  counter-increment: amp-step;
}

.amp-page .amp-steps article::before {
  content: counter(amp-step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 700;
  font-size: 16px;
  color: #04181a;
  background: linear-gradient(150deg, var(--amp-teal), var(--amp-teal-deep));
  box-shadow: 0 4px 14px rgba(110, 196, 200, .28);
}

/* Hero centerpiece: a live "search the panel" visual, built from the app's
   own surface tokens — the core loop (search instead of flip) made visible. */
.amp-panel-frame {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.amp-panel-caption {
  margin: 0 2px;
  font-size: 12px;
  color: rgba(246, 241, 231, 0.5);
  text-align: right;
}

.amp-panel {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--amp-line);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(110, 196, 200, 0.12), transparent 60%),
    linear-gradient(180deg, var(--amp-card), #0b1417);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .04);
  padding: 20px;
  overflow: hidden;
}

.amp-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(110, 196, 200, 0.1), transparent);
  animation: ampScan 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ampScan {
  0%, 100% { transform: translateY(-10%); opacity: 0; }
  35% { opacity: 1; }
  60% { transform: translateY(170%); opacity: 0; }
}

.amp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.amp-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amp-muted);
}

.amp-panel-title svg {
  width: 16px;
  height: 16px;
  color: var(--amp-teal);
}

.amp-panel-badge {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--amp-green);
  border: 1px solid rgba(117, 185, 138, .4);
  border-radius: 999px;
  padding: 3px 10px;
}

.amp-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0b1417;
  border: 1px solid var(--amp-line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.amp-search svg {
  width: 18px;
  height: 18px;
  color: var(--amp-teal);
  flex: none;
}

.amp-search-text {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 15px;
  color: var(--amp-ink);
}

.amp-search-caret {
  width: 2px;
  height: 18px;
  background: var(--amp-teal);
  animation: ampBlink 1.1s step-end infinite;
}

@keyframes ampBlink {
  50% { opacity: 0; }
}

.amp-breakers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.amp-breaker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .02);
}

.amp-breaker i {
  width: 10px;
  height: 20px;
  border-radius: 3px;
  background: #2a3a3e;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.amp-breaker b {
  font-weight: 600;
  font-size: 13px;
  color: var(--amp-muted);
}

.amp-breaker em {
  margin-left: auto;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--amp-muted);
  font-style: normal;
}

.amp-breaker-hit {
  grid-column: 1 / -1;
  border-color: var(--amp-teal);
  background: linear-gradient(120deg, rgba(110, 196, 200, .16), rgba(15, 107, 114, .08));
  box-shadow: 0 0 0 1px rgba(110, 196, 200, .4), 0 8px 22px rgba(110, 196, 200, .18);
}

.amp-breaker-hit i {
  background: linear-gradient(180deg, var(--amp-teal), var(--amp-teal-deep));
  box-shadow: 0 0 12px rgba(110, 196, 200, .7);
}

.amp-breaker-hit b {
  color: var(--amp-ink);
}

.amp-breaker-hit em {
  color: var(--amp-teal);
}

.amp-breaker-check {
  width: 16px;
  height: 16px;
  color: var(--amp-green);
  flex: none;
  margin-left: 2px;
}

.amp-breaker-check path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amp-panel-title svg *,
.amp-search svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amp-panel-foot {
  margin: 15px 2px 2px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--amp-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.amp-panel-foot .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amp-green);
  box-shadow: 0 0 8px var(--amp-green);
}

@media (max-width: 900px) {
  .amp-panel {
    max-width: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .amp-hero::before,
  .amp-panel::after,
  .amp-search-caret {
    animation: none;
  }
}

/* --- Alpenkeep V2 refined product page (task #684) --- */
.akv2-body {
  --akv2-bg: #020912;
  --akv2-bg-soft: #04111d;
  --akv2-panel: #071522;
  --akv2-panel-light: #0a1c2a;
  --akv2-line: rgba(131, 187, 222, .2);
  --akv2-text: #f5f7fa;
  --akv2-muted: #a9b3bf;
  --akv2-cyan: #1edcff;
  --akv2-blue: #248eff;
  --akv2-violet: #8b49ff;
  margin: 0;
  color: var(--akv2-text);
  background: var(--akv2-bg);
}

.akv2-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(20, 80, 118, .14), transparent 46%),
    linear-gradient(180deg, #020912, #020812 55%, #030a13);
}

.akv2-body main {
  overflow: hidden;
}

.akv2-shell {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.akv2-nav {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 50;
  width: min(1240px, calc(100% - 44px));
  height: 104px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.akv2-nav.scrolled {
  position: absolute;
  top: 0;
}

.akv2-lockup {
  display: block;
  flex: 0 1 245px;
  min-width: 172px;
}

.akv2-lockup img {
  display: block;
  width: 100%;
  height: auto;
}

.akv2-nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.akv2-byline {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d9e2ea;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.akv2-byline img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.akv2-nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
}

.akv2-nav-links > a,
.akv2-nav-links .nav-group-trigger {
  color: #e6eaf0;
  font-size: 14px;
  text-decoration: none;
}

.akv2-nav-links > a:hover,
.akv2-nav-links > a:focus-visible,
.akv2-nav-links .nav-group-trigger:hover,
.akv2-nav-links .nav-group-trigger:focus-visible {
  color: var(--akv2-cyan);
}

.akv2-nav .nav-toggle {
  display: none;
}

.akv2-hero {
  position: relative;
  min-height: 900px;
  padding: 164px 0 74px;
  border-bottom: 1px solid var(--akv2-line);
  background:
    linear-gradient(180deg, rgba(2, 8, 15, .08), rgba(2, 9, 18, .68) 72%, #020912 100%);
}

.akv2-hero::after,
.akv2-process::after,
.akv2-keep::before,
.akv2-privacy::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  pointer-events: none;
  opacity: .26;
  background-image:
    repeating-radial-gradient(ellipse at 0 100%, transparent 0 14px, rgba(20, 178, 230, .24) 15px 16px, transparent 17px 25px);
  mask-image: linear-gradient(90deg, #000, transparent 35%);
}

.akv2-hero-mountains {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 760px;
  background:
    linear-gradient(180deg, rgba(0, 6, 13, .05), rgba(1, 8, 16, .2) 55%, #020912 100%),
    url("../assets/alpenkeep/mountain-panorama.webp") center 12% / cover no-repeat;
  filter: saturate(.92) contrast(1.04);
}

.akv2-hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(650px, 1.28fr);
  gap: 26px;
  align-items: center;
}

.akv2-hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 36px;
}

.akv2-eyebrow {
  margin: 0 0 20px;
  color: var(--akv2-cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.akv2-hero h1 {
  max-width: 540px;
  margin: 0;
  color: var(--akv2-text);
  font-family: var(--font-display);
  font-size: clamp(52px, 5.35vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
}

.akv2-hero h1 span {
  display: inline;
  color: var(--akv2-cyan);
}

.akv2-lede {
  max-width: 440px;
  margin: 25px 0 0;
  color: #b6bec8;
  font-size: 20px;
  line-height: 1.45;
}

.akv2-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  margin-top: 31px;
}

.akv2-button {
  min-width: 280px;
  min-height: 54px;
  padding: 15px 25px;
  border: 1px solid rgba(79, 226, 255, .56);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(29, 130, 255, .22);
}

.akv2-button-primary {
  background: linear-gradient(104deg, #22cdf5 0%, #268bff 52%, #7c42ff 100%);
}

.akv2-button:hover,
.akv2-button:focus-visible {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(47, 119, 255, .34);
}

.akv2-text-link {
  color: var(--akv2-cyan);
  font-weight: 700;
  text-decoration: none;
}

.akv2-text-link span {
  padding-left: 7px;
  font-size: 22px;
}

.akv2-hero-product {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: 160px 26px 220px 220px;
  gap: 14px;
  align-items: end;
}

.akv2-scan-stage,
.akv2-process-scan {
  position: relative;
}

.akv2-scan-stage {
  height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.akv2-scan-stage img {
  width: 145px;
  height: 532px;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .5));
}

.akv2-scan-corner {
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-color: var(--akv2-cyan);
  filter: drop-shadow(0 0 7px rgba(28, 217, 255, .62));
}

.akv2-corner-tl { top: 0; left: 0; border-top: 4px solid; border-left: 4px solid; border-radius: 9px 0 0; }
.akv2-corner-tr { top: 0; right: 0; border-top: 4px solid; border-right: 4px solid; border-radius: 0 9px 0 0; }
.akv2-corner-bl { bottom: 0; left: 0; border-bottom: 4px solid var(--akv2-violet); border-left: 4px solid var(--akv2-violet); border-radius: 0 0 0 9px; }
.akv2-corner-br { bottom: 0; right: 0; border-bottom: 4px solid var(--akv2-violet); border-right: 4px solid var(--akv2-violet); border-radius: 0 0 9px; }

.akv2-product-arrow {
  align-self: center;
  color: var(--akv2-cyan);
  font-size: 38px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(30, 220, 255, .7);
}

.akv2-phone,
.akv2-mini-record {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: #eaf2f8;
  border: 3px solid #3a3a38;
  border-radius: 28px;
  background: linear-gradient(180deg, #07131e, #040d16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 26px 50px rgba(0, 0, 0, .52);
}

.akv2-phone {
  height: 540px;
  padding: 18px 13px 14px;
}

.akv2-phone-bar {
  display: flex;
  justify-content: space-between;
  color: #cfd8e0;
  font-size: 9px;
}

.akv2-phone-tabs {
  height: 30px;
  margin-top: 19px;
  padding: 3px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  text-align: center;
  color: #81909e;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 6px;
  background: #0a1825;
  font-size: 9px;
}

.akv2-phone-tabs b {
  height: 22px;
  padding-top: 5px;
  color: #03111a;
  border-radius: 4px;
  background: linear-gradient(90deg, #1edcf4, #45aefb);
}

.akv2-screen-label {
  margin: 11px 2px 7px;
  color: var(--akv2-cyan);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.akv2-question {
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
}

.akv2-question strong,
.akv2-question small {
  display: block;
}

.akv2-question strong {
  font-size: 9px;
}

.akv2-question small {
  margin-top: 3px;
  color: #7e8d99;
  font-size: 7px;
  line-height: 1.35;
}

.akv2-pair-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.akv2-pair-list li {
  min-width: 0;
  height: 82px;
  padding: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 7px;
  background: rgba(6, 20, 31, .86);
}

.akv2-pair-list img {
  width: 24px;
  height: 63px;
  object-fit: contain;
}

.akv2-pair-list span,
.akv2-pair-list b,
.akv2-pair-list small {
  min-width: 0;
  display: block;
}

.akv2-pair-list b {
  font-size: 7px;
  line-height: 1.2;
}

.akv2-pair-list small {
  margin-top: 4px;
  color: #6f808c;
  font-size: 6px;
}

.akv2-phone-dock {
  position: absolute;
  inset: auto 12px 13px;
  display: flex;
  justify-content: space-around;
  color: #657786;
  font-size: 7px;
}

.akv2-phone-dock b {
  color: var(--akv2-cyan);
}

.akv2-phone-record h2 {
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.1;
}

.akv2-record-status {
  color: #36cfcf;
  font-size: 7px;
}

.akv2-record-ski {
  display: block;
  width: 132px;
  height: 118px;
  margin: 8px auto 0;
  object-fit: contain;
  transform: rotate(90deg);
}

.akv2-record-specs,
.akv2-mini-record dl {
  margin: 6px 0 0;
}

.akv2-record-specs div,
.akv2-mini-record dl div {
  padding: 8px 1px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 8px;
}

.akv2-record-specs dt,
.akv2-mini-record dt {
  color: #778896;
}

.akv2-record-specs dd,
.akv2-mini-record dd {
  margin: 0;
  color: #cbd5dc;
}

.akv2-record-specs div:last-child dd,
.akv2-mini-record div:last-child dd {
  color: var(--akv2-cyan);
}

.akv2-process,
.akv2-keep,
.akv2-stories,
.akv2-privacy,
.akv2-closing {
  position: relative;
  border-bottom: 1px solid var(--akv2-line);
}

.akv2-process {
  padding: 38px 0 58px;
  background: linear-gradient(180deg, #03101b, #020912);
}

.akv2-process h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -.035em;
}

.akv2-process-grid {
  display: grid;
  grid-template-columns: 155px 160px 150px 176px 190px;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.akv2-process-scan {
  height: 350px;
  padding: 6px 12px;
}

.akv2-process-scan img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.akv2-process .akv2-scan-corner {
  width: 28px;
  height: 28px;
  border-width: 3px;
}

.akv2-step {
  position: relative;
  display: flex;
  gap: 11px;
  align-items: center;
}

.akv2-step::before {
  content: "";
  position: absolute;
  right: calc(100% + 10px);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--akv2-cyan), var(--akv2-blue));
  box-shadow: 0 0 9px rgba(30, 220, 255, .5);
}

.akv2-step-record::before {
  background: linear-gradient(90deg, var(--akv2-blue), var(--akv2-violet));
}

.akv2-step > span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  flex: none;
  place-items: center;
  color: #02101a;
  background: linear-gradient(135deg, var(--akv2-cyan), var(--akv2-blue));
  font-weight: 900;
}

.akv2-step-record > span {
  background: linear-gradient(135deg, var(--akv2-violet), #b568ff);
}

.akv2-step h3 {
  margin: 0;
  color: var(--akv2-cyan);
  font-size: 17px;
}

.akv2-step-record h3 {
  color: #9b62ff;
}

.akv2-step p {
  margin: 4px 0 0;
  color: var(--akv2-muted);
  font-size: 12px;
  line-height: 1.45;
}

.akv2-process-pair {
  height: 330px;
  display: flex;
  justify-content: center;
}

.akv2-process-pair img {
  width: 71px;
  height: 330px;
  object-fit: contain;
}

.akv2-process-pair img:last-child {
  margin-left: -17px;
  filter: brightness(.58) saturate(.9);
}

.akv2-mini-record {
  height: 350px;
  padding: 14px 12px;
  border-radius: 12px;
}

.akv2-mini-record h3 {
  margin: 0;
  font-size: 11px;
}

.akv2-mini-record img {
  display: block;
  width: 105px;
  height: 145px;
  margin: 2px auto;
  object-fit: contain;
  transform: rotate(90deg);
}

.akv2-keep {
  padding: 56px 0 62px;
  background: #020912;
}

.akv2-keep-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
  align-items: start;
}

.akv2-keep-copy {
  padding-top: 8px;
}

.akv2-keep-copy h2 {
  margin: 0 0 17px;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.akv2-keep-copy p {
  margin: 6px 0;
  color: var(--akv2-muted);
  font-size: 14px;
}

.akv2-ski-wall {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(95px, 1fr));
  gap: 9px;
}

.akv2-ski-card {
  position: relative;
  min-width: 0;
  height: 430px;
  padding: 12px 10px 10px;
  overflow: hidden;
  border: 1px solid rgba(132, 184, 217, .19);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(9, 25, 39, .68), rgba(3, 12, 21, .9));
}

.akv2-ski-card i {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--akv2-cyan);
  box-shadow: 0 0 8px currentColor;
}

.akv2-ski-card:nth-child(2) i,
.akv2-ski-card:nth-child(7) i { background: #8358ff; }
.akv2-ski-card:nth-child(3) i { background: #ff4f5f; }
.akv2-ski-card:nth-child(4) i { background: #4bdeed; }
.akv2-ski-card:nth-child(5) i { background: #77dce5; }
.akv2-ski-card:nth-child(6) i { background: #258cff; }

.akv2-ski-card img {
  display: block;
  width: 100%;
  height: 335px;
  object-fit: contain;
}

.akv2-ski-card h3,
.akv2-ski-card p,
.akv2-ski-card small {
  margin: 0;
  display: block;
  white-space: nowrap;
}

.akv2-ski-card h3 {
  font-size: 14px;
}

.akv2-ski-card p,
.akv2-ski-card small {
  margin-top: 4px;
  color: #9caab5;
  font-size: 9px;
}

.akv2-wall-hint {
  grid-column: 2;
  margin: -3px 0 0;
  color: #81909d;
  text-align: center;
  font-size: 12px;
}

.akv2-stories {
  padding: 18px 0;
  background: #020912;
}

.akv2-stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  overflow: hidden;
  border: 1px solid;
  border-color: var(--akv2-cyan) var(--akv2-violet) var(--akv2-violet) var(--akv2-cyan);
  border-radius: 11px;
}

.akv2-story {
  position: relative;
  min-height: 420px;
  padding: 40px 38px;
  background-position: center;
  background-size: cover;
}

.akv2-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(2, 10, 17, .86) 0%, rgba(2, 10, 17, .4) 51%, rgba(2, 10, 17, .1));
}

.akv2-story-service {
  border-right: 1px solid rgba(63, 155, 219, .45);
  background-image: url("../assets/alpenkeep/service-tuning.webp");
}

.akv2-story-record {
  background-image: url("../assets/alpenkeep/mountain-panorama.webp");
  background-position: 56% center;
}

.akv2-story > div {
  position: relative;
  z-index: 1;
  max-width: 310px;
}

.akv2-story h2 {
  margin: 0 0 16px;
  font-size: 27px;
  letter-spacing: -.035em;
}

.akv2-story p {
  margin: 0;
  color: #b3bec8;
  font-size: 16px;
  line-height: 1.55;
}

.akv2-privacy {
  padding: 26px 0;
  background: linear-gradient(90deg, #030b14, #061526 52%, #020912);
}

.akv2-privacy-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.akv2-lock {
  position: relative;
  width: 70px;
  height: 70px;
  flex: none;
  border: 2px solid white;
  border-radius: 50%;
}

.akv2-lock img {
  position: absolute;
  inset: 0;
  width: 35px;
  height: 35px;
  margin: auto;
  filter: invert(1);
}

.akv2-privacy h2 {
  margin: 0 0 5px;
  font-size: 19px;
}

.akv2-privacy p {
  margin: 0;
  color: #aeb9c3;
  font-size: 13px;
}

.akv2-closing {
  min-height: 275px;
  padding: 38px 0 30px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(2, 10, 18, .42), #030912 100%),
    url("../assets/alpenkeep/mountain-panorama.webp") center 54% / cover no-repeat;
}

.akv2-closing h2 {
  margin: 0;
  color: var(--akv2-cyan);
  font-size: clamp(42px, 5vw, 63px);
  line-height: 1;
  letter-spacing: -.05em;
  background: linear-gradient(90deg, #1edcff, #208cff 52%, #9b51ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.akv2-closing p {
  margin: 9px 0 13px;
  color: #b8c3cc;
  font-size: 17px;
}

.akv2-closing .akv2-button {
  min-width: 280px;
  min-height: 50px;
}

.akv2-closing small {
  display: block;
  margin-top: 8px;
  color: #82909d;
}

.akv2-footer {
  min-height: 120px;
  padding: 27px max(32px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  color: #8795a0;
  background: #020811;
  font-size: 12px;
}

.akv2-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.akv2-footer-brand img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.akv2-footer-brand strong,
.akv2-footer-brand span {
  display: block;
}

.akv2-footer-brand strong {
  color: #d8e0e6;
}

.akv2-footer-brand span {
  margin-top: 3px;
  font-size: 10px;
}

.akv2-footer nav {
  display: flex;
  gap: 25px;
}

.akv2-footer a {
  color: #a9b4bd;
  text-decoration: none;
}

.akv2-footer > span {
  text-align: right;
}

@media (max-width: 1100px) {
  .akv2-nav-right { gap: 18px; }
  .akv2-byline { display: none; }
  .akv2-hero { min-height: auto; }
  .akv2-hero-grid { grid-template-columns: .7fr 1.3fr; }
  .akv2-hero-product {
    transform: scale(.84);
    transform-origin: center right;
    margin-left: -74px;
    margin-right: -52px;
  }
  .akv2-process-grid {
    grid-template-columns: 135px 145px 130px 155px 170px;
    gap: 20px;
  }
  .akv2-ski-wall {
    grid-template-columns: repeat(7, minmax(76px, 1fr));
  }
  .akv2-ski-card { height: 390px; }
  .akv2-ski-card img { height: 300px; }
}

@media (min-width: 701px) and (max-width: 900px) {
  .akv2-shell {
    width: calc(100% - 52px);
  }
  .akv2-nav {
    width: calc(100% - 40px);
    height: 82px;
  }
  .akv2-lockup {
    flex-basis: 188px;
  }
  .akv2-nav-right {
    gap: 15px;
  }
  .akv2-byline {
    display: flex;
    font-size: 8px;
  }
  .akv2-nav-links {
    gap: 17px;
  }
  .akv2-nav-links > a,
  .akv2-nav-links .nav-group-trigger {
    font-size: 11px;
  }
  .akv2-hero {
    min-height: 590px;
    padding: 112px 0 28px;
  }
  .akv2-hero-mountains {
    height: 545px;
  }
  .akv2-hero-grid {
    height: 450px;
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 8px;
  }
  .akv2-hero-copy {
    padding-top: 0;
  }
  .akv2-eyebrow {
    margin-bottom: 13px;
    font-size: 9px;
  }
  .akv2-hero h1 {
    font-size: 42px;
  }
  .akv2-lede {
    margin-top: 16px;
    font-size: 14px;
  }
  .akv2-actions {
    gap: 11px;
    margin-top: 19px;
  }
  .akv2-button {
    min-width: 194px;
    min-height: 42px;
    padding: 10px 18px;
    font-size: 12px;
  }
  .akv2-text-link {
    font-size: 11px;
  }
  .akv2-hero-product {
    width: 720px;
    min-height: 620px;
    margin: 32px -270px -170px -14px;
    transform: scale(.64);
    transform-origin: left center;
  }
  .akv2-process {
    padding: 22px 0 28px;
  }
  .akv2-process h2 {
    margin-bottom: 12px;
    font-size: 19px;
  }
  .akv2-process-grid {
    grid-template-columns: 92px 104px 94px 112px 116px;
    gap: 17px;
  }
  .akv2-process-scan,
  .akv2-process-pair,
  .akv2-mini-record {
    height: 250px;
  }
  .akv2-process-pair img {
    width: 49px;
    height: 250px;
  }
  .akv2-process .akv2-scan-corner {
    width: 20px;
    height: 20px;
  }
  .akv2-step {
    gap: 7px;
  }
  .akv2-step::before {
    right: calc(100% + 5px);
    width: 43px;
  }
  .akv2-step > span {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .akv2-step h3 {
    font-size: 12px;
  }
  .akv2-step p {
    font-size: 8px;
  }
  .akv2-mini-record {
    padding: 10px 8px;
  }
  .akv2-mini-record h3 {
    font-size: 8px;
  }
  .akv2-mini-record img {
    width: 72px;
    height: 94px;
  }
  .akv2-mini-record dl div {
    padding: 5px 0;
    font-size: 6px;
  }
  .akv2-keep {
    padding: 33px 0 32px;
  }
  .akv2-keep-layout {
    grid-template-columns: 175px 1fr;
    gap: 14px;
  }
  .akv2-keep-copy h2 {
    margin-bottom: 12px;
    font-size: 31px;
  }
  .akv2-keep-copy p {
    font-size: 9px;
  }
  .akv2-ski-wall {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
  }
  .akv2-ski-card {
    height: 280px;
    padding: 8px 5px 6px;
  }
  .akv2-ski-card img {
    height: 223px;
  }
  .akv2-ski-card i {
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
  }
  .akv2-ski-card h3 {
    font-size: 9px;
  }
  .akv2-ski-card p,
  .akv2-ski-card small {
    margin-top: 2px;
    font-size: 6px;
  }
  .akv2-wall-hint {
    font-size: 8px;
  }
  .akv2-stories {
    padding: 13px 0;
  }
  .akv2-story {
    min-height: 285px;
    padding: 27px 24px;
  }
  .akv2-story > div {
    max-width: 240px;
  }
  .akv2-story h2 {
    margin-bottom: 10px;
    font-size: 18px;
  }
  .akv2-story p {
    font-size: 11px;
  }
  .akv2-privacy {
    padding: 17px 0;
  }
  .akv2-lock {
    width: 49px;
    height: 49px;
  }
  .akv2-lock img {
    width: 27px;
    height: 27px;
  }
  .akv2-privacy h2 {
    font-size: 13px;
  }
  .akv2-privacy p {
    font-size: 9px;
  }
  .akv2-closing {
    min-height: 190px;
    padding: 25px 0 20px;
  }
  .akv2-closing h2 {
    font-size: 39px;
  }
  .akv2-closing p {
    margin: 6px 0 9px;
    font-size: 11px;
  }
  .akv2-closing .akv2-button {
    min-width: 194px;
    min-height: 40px;
  }
  .akv2-closing small {
    margin-top: 5px;
    font-size: 8px;
  }
  .akv2-footer {
    min-height: 88px;
    padding: 18px 28px;
    gap: 20px;
    font-size: 8px;
  }
  .akv2-footer-brand img {
    width: 31px;
    height: 31px;
  }
  .akv2-footer-brand span {
    font-size: 7px;
  }
  .akv2-footer nav {
    gap: 17px;
  }
}

@media (max-width: 700px) {
  .akv2-shell {
    width: min(100% - 34px, 680px);
  }
  .akv2-hero-grid {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .akv2-hero-copy {
    min-width: 0;
    width: 100%;
  }
  .akv2-hero h1 {
    width: 100%;
    max-width: 100%;
  }
  .akv2-nav {
    width: calc(100% - 28px);
    height: 84px;
  }
  .akv2-nav.scrolled {
    top: 8px;
    height: 62px;
  }
  .akv2-lockup { flex-basis: 196px; }
  .akv2-nav .nav-toggle {
    position: relative;
    z-index: 3;
    display: grid;
  }
  .akv2-nav-links {
    position: absolute;
    top: calc(100% - 7px);
    right: 0;
    width: min(300px, calc(100vw - 28px));
    padding: 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--akv2-line);
    border-radius: 13px;
    background: rgba(3, 13, 23, .97);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .5);
  }
  .akv2-nav.nav-open .akv2-nav-links {
    display: flex;
  }
  .akv2-nav-links > a,
  .akv2-nav-links .nav-group-trigger {
    display: block;
    padding: 12px;
  }
  .akv2-nav-links .nav-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .akv2-nav-links .nav-sub-panel {
    margin: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, .025);
  }
  .akv2-hero {
    padding-top: 125px;
  }
  .akv2-hero-grid {
    grid-template-columns: 1fr;
  }
  .akv2-hero-copy {
    max-width: 560px;
    padding-top: 0;
  }
  .akv2-hero h1 {
    max-width: 600px;
  }
  .akv2-hero h1 span {
    display: inline;
  }
  .akv2-hero-product {
    width: 720px;
    margin: 10px 0 0 -24px;
    transform: scale(.88);
    transform-origin: left top;
  }
  .akv2-process-grid {
    grid-template-columns: 135px 1fr 135px 1fr;
    gap: 18px;
  }
  .akv2-mini-record {
    display: none;
  }
  .akv2-keep-layout {
    grid-template-columns: 1fr;
  }
  .akv2-keep-copy h2 br { display: none; }
  .akv2-wall-hint { grid-column: 1; }
  .akv2-story { min-height: 360px; padding: 30px 25px; }
  .akv2-footer {
    grid-template-columns: 1fr auto;
  }
  .akv2-footer > span {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .akv2-shell { width: calc(100% - 28px); }
  .akv2-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .akv2-hero-copy,
  .akv2-hero h1 {
    width: 100%;
    max-width: 100%;
  }
  .akv2-lockup { flex-basis: 172px; min-width: 154px; }
  .akv2-hero {
    min-height: 990px;
    padding: 116px 0 34px;
  }
  .akv2-hero-mountains {
    height: 670px;
    background-position: 56% top;
  }
  .akv2-eyebrow {
    margin-bottom: 15px;
    font-size: 10px;
  }
  .akv2-hero h1 {
    font-size: 50px;
  }
  .akv2-hero h1 span {
    display: block;
  }
  .akv2-lede {
    margin-top: 18px;
    font-size: 16px;
  }
  .akv2-actions {
    margin-top: 23px;
  }
  .akv2-button {
    width: 100%;
    min-width: 0;
  }
  .akv2-hero-product {
    width: 720px;
    min-height: 610px;
    margin: -6px 0 -218px -29px;
    transform: scale(.56);
  }
  .akv2-process {
    padding-top: 32px;
  }
  .akv2-process h2 {
    margin-bottom: 26px;
    text-align: left;
  }
  .akv2-process-grid {
    grid-template-columns: 120px 1fr;
    gap: 22px 18px;
  }
  .akv2-process-scan { height: 285px; }
  .akv2-process-pair { height: 285px; }
  .akv2-process-pair img { height: 285px; width: 60px; }
  .akv2-step::before { display: none; }
  .akv2-mini-record {
    display: block;
    height: 285px;
  }
  .akv2-mini-record img { height: 115px; }
  .akv2-keep {
    padding-top: 42px;
  }
  .akv2-keep-copy h2 {
    font-size: 39px;
  }
  .akv2-ski-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .akv2-ski-card {
    height: 420px;
  }
  .akv2-ski-card img {
    height: 330px;
  }
  .akv2-stories-grid {
    grid-template-columns: 1fr;
  }
  .akv2-story {
    min-height: 340px;
  }
  .akv2-story-service {
    border-right: 0;
    border-bottom: 1px solid rgba(63, 155, 219, .45);
  }
  .akv2-privacy-inner {
    align-items: flex-start;
    gap: 18px;
  }
  .akv2-lock {
    width: 54px;
    height: 54px;
  }
  .akv2-lock img {
    width: 25px;
    height: 25px;
  }
  .akv2-privacy h2 {
    font-size: 16px;
  }
  .akv2-privacy p {
    font-size: 11px;
  }
  .akv2-closing h2 {
    font-size: 43px;
  }
  .akv2-footer {
    padding: 28px 20px;
    grid-template-columns: 1fr;
  }
  .akv2-footer nav {
    flex-wrap: wrap;
    gap: 14px 23px;
  }
  .akv2-footer > span {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .akv2-button,
  .akv2-nav,
  .akv2-scan-corner {
    transition: none;
  }
}
