/* Isofall website. Palette taken from the game's Palette (Isofall/ContentView.swift). */
:root {
  color-scheme: dark;
  --bg: #080e1a;
  --bg-raise: #0c1424;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef3f8;
  --text-soft: #c3cedb;
  --muted: #8c9cb3;
  --mint: #68e1c3;
  --mint-bright: #86ecd3;
  --mint-ink: #05231b;
  --mint-wash: rgba(104, 225, 195, 0.1);
  --coral: #fc8978;
  --lavender: #ac9dff;
  --gold: #ffe2a2;
  --blue: #6abeff;
  --rose: #e9a2cc;
  --danger: #ff9d8f;
  --radius: 22px;
  --radius-sm: 12px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 11vw, 136px);
  --font-display: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
strong { color: var(--text); font-weight: 600; }
h1, h2, h3 { color: var(--text); margin: 0; font-weight: 500; text-wrap: balance; }
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5.4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
h3 { font-size: 18px; line-height: 1.35; }
p { margin: 0; text-wrap: pretty; }
::selection { background: rgba(104, 225, 195, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
:target { scroll-margin-top: 84px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(760px + 2 * var(--gutter)); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--mint); color: var(--mint-ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.label {
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 16px;
}
.lede { font-size: clamp(18px, 2.1vw, 20px); line-height: 1.55; color: var(--text-soft); }
.fineprint { font-size: 13px; color: var(--muted); }
.text-link { color: var(--mint); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { color: var(--mint-bright); }

/* Color tokens shared by cubes, swatches and the diagram */
.c-mint { --c: var(--mint); }
.c-coral { --c: var(--coral); }
.c-lavender { --c: var(--lavender); }
.c-gold { --c: var(--gold); }
.c-blue { --c: var(--blue); }
.c-rose { --c: var(--rose); }

/* A tiny isometric cube: a hexagon split into three shaded faces */
.cube-dot, .swatches li::before {
  display: inline-block;
  flex: none;
  width: 13px;
  height: 15px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--c, var(--mint));
  background: conic-gradient(from -60deg, var(--c, var(--mint)) 0 120deg, color-mix(in srgb, var(--c, var(--mint)) 58%, #000) 0 240deg, color-mix(in srgb, var(--c, var(--mint)) 78%, #000) 0);
  vertical-align: -2px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 14, 26, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
}
.page-home .site-header { border-bottom-color: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); border-radius: 10px; }
.brand-icon { border-radius: 22.5%; box-shadow: 0 0 0 1px var(--line); }
.brand-name { font: 300 25px/1 var(--font-display); letter-spacing: -0.05em; padding-bottom: 2px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a, .footer-nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 10px;
}
.site-nav a:hover, .footer-nav a:hover { color: var(--text); background: var(--panel-strong); }
.site-nav a[aria-current="page"], .footer-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--mint); border-radius: 10px 10px 0 0; }

/* Isometric floor-grid motif */
.iso-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(30deg, rgba(140, 156, 179, 0.075) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(150deg, rgba(140, 156, 179, 0.075) 0 1px, transparent 1px 38px);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 70% 45%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at 70% 45%, #000 10%, transparent 72%);
}

/* Store call to action */
.store-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; }
.store-badge, .store-button {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  min-height: 60px; padding: 10px 22px 10px 18px; border-radius: 16px;
  text-decoration: none;
}
.store-badge { border: 1px solid rgba(104, 225, 195, 0.42); background: var(--mint-wash); color: var(--text); }
.store-button {
  background: var(--mint); color: var(--mint-ink);
  box-shadow: 0 10px 30px -10px rgba(104, 225, 195, 0.6);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.store-button:hover { background: var(--mint-bright); }
.store-button:active { transform: translateY(1px); }
.store-glyph { width: 24px; height: 24px; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-kicker { font-size: 12px; letter-spacing: 0.01em; opacity: 0.8; }
.store-name { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.store-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(104, 225, 195, 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .store-pulse { animation: pulse 2.4s ease-out infinite; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(104, 225, 195, 0.55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(104, 225, 195, 0); }
}
.store-price {
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 13px;
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 14px;
  background: var(--mint); color: var(--mint-ink);
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.button:hover { background: var(--mint-bright); }
.button[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero { position: relative; overflow: clip; padding: clamp(28px, 6vw, 72px) 0 var(--section); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
.app-icon { width: 96px; height: 96px; border-radius: 22.5%; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(0, 0, 0, 0.9); margin-bottom: 28px; }
.hero-title { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.wordmark {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(64px, 14vw, 112px); line-height: 0.95; letter-spacing: -0.055em;
  color: var(--text);
}
.tagline {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(24px, 4.2vw, 34px); line-height: 1.15; letter-spacing: -0.015em;
  color: var(--mint);
}
.hero .lede { max-width: 34em; }
.fact-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 14px; }
.fact-chips li {
  font-size: 13px; color: var(--text-soft); padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel);
}
.hero-media { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-media::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 45%; width: 130%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(104, 225, 195, 0.16), rgba(106, 190, 255, 0.06) 55%, transparent);
}
figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.video-toggle {
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-soft); background: var(--panel-strong); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 9px 14px; cursor: pointer;
}
.video-toggle:hover { color: var(--text); border-color: rgba(104, 225, 195, 0.5); }

/* Device frame (proportions match a 6.9-inch iPhone screen) */
.device {
  --device-w: 280px;
  position: relative;
  width: min(100%, var(--device-w));
  padding: 3%;
  border-radius: 15% / 7.15%;
  background: linear-gradient(150deg, #2a3242 0%, #0d121c 38%, #0a0e16 62%, #222a38 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 50px 90px -40px rgba(0, 0, 0, 0.95),
    0 30px 60px -30px rgba(104, 225, 195, 0.12);
}
.device--hero { --device-w: min(76vw, 320px); }
.device--small { --device-w: 220px; }
.screen {
  position: relative; overflow: hidden;
  aspect-ratio: 886 / 1920;
  border-radius: 12.5% / 5.77%;
  background: var(--bg);
  isolation: isolate;
}
.screen > img, .screen > video { width: 100%; height: 100%; object-fit: cover; }

/* Feature sections */
.feature { padding: var(--section) 0; border-top: 1px solid var(--line); }
.feature-grid { display: grid; gap: 48px; align-items: center; }
.feature-copy > p { margin-top: 20px; max-width: 34em; }
.feature-copy h2 { max-width: 13em; }
.feature-media { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.control-list { margin: 30px 0 0; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.control-list div { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.control-list dt { font: 600 12px/1.6 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); padding-top: 2px; }
.control-list dd { margin: 0; font-size: 16px; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p:not(.label) { margin-top: 20px; }
.section-note { margin-top: 32px; color: var(--muted); font-size: 15px; }

/* Specials */
.specials { padding: var(--section) 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(12, 20, 36, 0.8), rgba(8, 14, 26, 0)); }
.special-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 300px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  padding-bottom: 8px; scrollbar-width: thin;
}
.special-card {
  scroll-snap-align: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 10px;
}
.special-card .device { margin: 0 auto 18px; }
.special-card h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.special-card p { font-size: 16px; }
.swatches { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.swatches li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.swatches li::before { content: ""; }

/* Layers */
.stat-list { list-style: none; padding: 0; margin: 28px 0 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-list li { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.stat { font: 400 clamp(24px, 3.6vw, 30px)/1 var(--font-display); letter-spacing: -0.03em; color: var(--text); }
.feature-media--diagram { width: 100%; }
.iso-diagram { width: min(100%, 440px); height: auto; overflow: visible; }
.iso-well { stroke: rgba(140, 156, 179, 0.35); stroke-width: 0.8; }
.iso-well-top { stroke-dasharray: 3 4; }
.iso-diagram [class^="c-"] { fill: var(--c); stroke: rgba(8, 14, 26, 0.55); stroke-width: 0.6; stroke-linejoin: round; }
.iso-diagram .side-l { fill: color-mix(in srgb, var(--c) 78%, #000); }
.iso-diagram .side-r { fill: color-mix(in srgb, var(--c) 58%, #000); }
.iso-glow { stroke: var(--mint); stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(104, 225, 195, 0.6)); }
.iso-guide { stroke: rgba(233, 162, 204, 0.75); stroke-width: 0.9; stroke-dasharray: 2 2; }

/* Calm */
.calm { padding: var(--section) 0; border-top: 1px solid var(--line); }
.calm-grid { display: grid; gap: 40px; align-items: start; }
.calm-copy p:not(.label) { margin-top: 20px; max-width: 34em; }
.calm-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.calm-list li { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.calm-list h3 { font-size: 17px; margin-bottom: 6px; }
.calm-list p { font-size: 15px; color: var(--muted); }

/* Privacy promise */
.promise { padding: 0 0 var(--section); }
.promise-card {
  position: relative; border-radius: 28px; padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(104, 225, 195, 0.13), transparent 55%),
    var(--bg-raise);
  border: 1px solid rgba(104, 225, 195, 0.22);
}
.promise-list { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.promise-list li {
  display: inline-flex; align-items: center; gap: 10px; color: var(--text);
  padding: 10px 16px 10px 14px; border-radius: 999px; background: rgba(8, 14, 26, 0.6); border: 1px solid var(--line-strong);
  font-size: 15px;
}

/* Gallery */
.gallery { padding: var(--section) 0; border-top: 1px solid var(--line); }
.gallery .section-head { margin-bottom: 32px; }
.gallery-track {
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin;
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  scroll-padding-inline: var(--edge);
  border-radius: 4px;
}
.gallery-list { list-style: none; margin: 0; padding: 4px var(--edge) 14px; display: flex; gap: 16px; width: max-content; }
.gallery-list li { scroll-snap-align: start; width: clamp(200px, 60vw, 252px); flex: none; }
.gallery-list img { width: 100%; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-raise); }

/* Highlight reel */
.reel { padding: var(--section) 0; border-top: 1px solid var(--line); }
.reel-grid { display: grid; gap: 44px; align-items: center; }
.reel-media { margin: 0; display: flex; justify-content: center; }
.reel-frame {
  width: min(100%, 340px); aspect-ratio: 1080 / 1920; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--line-strong); background: #060a12;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 30px 60px -30px rgba(104, 225, 195, 0.14);
}
.reel-frame video { width: 100%; height: 100%; object-fit: contain; }
.reel-copy > p:not(.label) { margin-top: 20px; max-width: 34em; }
.reel-copy .fineprint { margin-top: 18px; }
.reel-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.reel-steps li { display: flex; gap: 14px; align-items: baseline; color: var(--text); }
.reel-steps span { font: 500 13px/1 var(--font-mono); color: var(--mint); min-width: 3.2em; }

/* Closing */
.closing { position: relative; overflow: clip; padding: var(--section) 0; border-top: 1px solid var(--line); text-align: center; }
.closing .iso-grid {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 5%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 5%, transparent 70%);
}
.closing-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.closing h2 { max-width: 14em; }
.closing p { margin-top: 18px; }
.closing .app-icon { margin-bottom: 28px; }
.closing .store-cta { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 calc(40px + env(safe-area-inset-bottom)); background: #060b15; }
.footer-inner { display: grid; gap: 24px; }
.footer-line { margin-top: 10px; font-size: 14px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-left: -12px; }
.footer-legal { font-size: 13px; color: var(--muted); max-width: 60em; }

/* Inner pages */
.page-hero { position: relative; overflow: clip; padding: clamp(48px, 9vw, 104px) 0 clamp(40px, 6vw, 64px); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-title { font: 400 clamp(38px, 7vw, 64px)/1.04 var(--font-display); letter-spacing: -0.03em; margin-bottom: 18px; }
.meta-line { font-size: 14px; color: var(--muted); }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump-links a {
  font-size: 14px; color: var(--text); text-decoration: none; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--panel);
}
.jump-links a:hover { border-color: rgba(104, 225, 195, 0.5); }
.doc-section { padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--line); }
.doc-section h2 { font-size: clamp(28px, 4.4vw, 40px); margin-bottom: 18px; }
.doc-section > .wrap > p { margin-top: 14px; }
.sub-head { font-size: 21px; margin: 44px 0 14px; }

.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.step-num { font: 500 14px/1.5 var(--font-mono); color: var(--mint); padding-top: 1px; }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 16px; }

.def-list { margin: 0 0 18px; display: grid; gap: 10px; }
.def-list div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.def-list dt { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.def-list dd { margin: 0; font-size: 16px; }
.plain-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.plain-list li::marker { color: var(--mint); }

.faq { display: grid; gap: 10px; margin-top: 26px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  color: var(--text); font-weight: 500; border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font: 300 24px/1 var(--font-display); color: var(--mint);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 20px; font-size: 16px; }

.prose h2 { margin: 52px 0 16px; font-size: clamp(26px, 3.6vw, 32px); }
.prose h3 { margin: 30px 0 10px; font-size: 18px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.prose li::marker { color: var(--mint); }
.prose ul + p { margin-top: 14px; }
.summary-card { border: 1px solid rgba(104, 225, 195, 0.25); background: var(--mint-wash); border-radius: 20px; padding: 24px 24px 26px; }
.summary-card h2 { margin: 0 0 6px; font-size: 22px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

/* Contact form */
.contact-section { background: linear-gradient(180deg, rgba(12, 20, 36, 0.7), transparent); }
.contact-form { margin-top: 30px; display: grid; gap: 20px; position: relative; }
.field { display: grid; gap: 8px; }
.field label { color: var(--text); font-weight: 500; font-size: 15px; }
.req, .opt { color: var(--muted); font-weight: 400; font-size: 13px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: 400 16px/1.5 var(--font-body); color: var(--text);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.contact-form select option { background: var(--bg-raise); color: var(--text); }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(104, 225, 195, 0.25);
}
.contact-form [aria-invalid="true"] { border-color: var(--danger); }
.contact-form [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 157, 143, 0.25); border-color: var(--danger); }
.field-hint { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.field-error { font-size: 14px; color: var(--danger); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; gap: 14px; justify-items: start; }
.form-privacy { font-size: 13px; color: var(--muted); }
.form-status { border-radius: 16px; padding: 16px 18px; font-size: 16px; border: 1px solid; }
.form-status:focus { outline: none; }
.form-status:empty { padding: 0; border: 0; }
.form-status.is-success { border-color: rgba(104, 225, 195, 0.45); background: var(--mint-wash); color: var(--text); }
.form-status.is-error { border-color: rgba(255, 157, 143, 0.45); background: rgba(255, 157, 143, 0.08); color: var(--text); }
.form-status.is-pending { border-color: var(--line-strong); background: var(--panel); color: var(--text-soft); }

.result-ok { color: var(--text); }
.result-errors { margin: 18px 0 0; padding-left: 20px; color: var(--danger); display: grid; gap: 6px; }
.result-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* Larger screens */
@media (min-width: 560px) {
  .calm-list { grid-template-columns: 1fr 1fr; }
  .form-actions { grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
}
@media (min-width: 760px) {
  .special-cards {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible;
    margin-inline: 0; padding-inline: 0;
  }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-legal { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .app-icon { width: 112px; height: 112px; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 40px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .feature--flip .feature-media { order: -1; }
  .device { --device-w: 300px; }
  .device--small { --device-w: 220px; }
  .device--hero { --device-w: 330px; }
  .reel-frame { width: 340px; }
  .calm-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; }
  .reel-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; }
}
@media (max-width: 420px) {
  .hero { padding-top: 20px; }
  .app-icon { width: 76px; height: 76px; margin-bottom: 20px; }
  .hero-grid { gap: 44px; }
  .fact-chips { margin-top: 22px; }
  .control-list div { grid-template-columns: 88px 1fr; gap: 12px; }
  .stat-list { gap: 8px; }
  .stat-list li { padding: 14px 10px; }
  .store-badge, .store-button { padding: 10px 18px 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
@media (forced-colors: active) {
  .cube-dot, .swatches li::before { forced-color-adjust: none; }
}
