/* Echorie website: shared styles for every page except construction.html. */

:root {
  --bg: #140e11;
  --bg-raised: #1d1418;
  --bg-card: #221820;
  --line: rgba(255, 232, 220, 0.1);
  --line-strong: rgba(255, 232, 220, 0.18);
  --text: #f8eee8;
  --muted: #c4b1ab;
  --cream: #fff1e3;
  --ink: #1a0f12;
  --orange: #ff9440;
  --red: #ec3b4f;
  --magenta: #d43c92;
  --purple: #9248d8;
  --brand: linear-gradient(120deg, #ff9a3d 0%, #ec3b4f 42%, #cf3a97 78%, #9248d8 100%);
  --glow: 0 30px 80px -30px rgba(236, 59, 79, 0.55);
  --radius: 22px;
  --radius-small: 12px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

/* The overscroll (rubber-band) area matches the page. */
html {
  background: #140e11;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Grid and flex children may shrink below their content's width (large images, long words). */
.hero .container > *, .brand-panel > *, .benefit > *, .contact-layout > *, .roadmap-intro > *, .phase-head > *, .about-grid > *, .feature-grid > * { min-width: 0; }

a { color: #ffb27a; text-underline-offset: 3px; }
a:hover { color: #ffd2ae; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--cream);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.gradient-text {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.8em;
}

.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 40em; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 14, 17, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.35rem;
}
.brand:hover { color: #fff; }
.brand img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 6px 18px -6px rgba(236, 59, 79, 0.7); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
  content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.site-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block;
  padding: 10px 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
}
.site-nav a:hover { color: var(--cream); background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] { color: var(--cream); }
.site-nav .btn { margin-left: 8px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(20, 14, 17, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; }
  .site-nav a { display: block; padding: 12px 14px; }
  .site-nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons. Every state keeps strong contrast, including visited links. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-store, .btn-store:link, .btn-store:visited {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(255, 148, 64, 0.8);
}
.btn-store:hover { background: #ffffff; color: var(--ink); box-shadow: 0 14px 34px -12px rgba(255, 148, 64, 0.95); }
.btn-store:focus-visible { background: #ffffff; color: var(--ink); outline: 3px solid var(--orange); outline-offset: 3px; }
.btn-store:active { background: #f3dfcc; color: var(--ink); }
.btn-store svg { width: 20px; height: 20px; flex: none; }
.btn-store .store-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.btn-store .store-text small { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em; }
.btn-store .store-text strong { font-size: 1.05rem; }
.btn-store.btn-large { padding: 14px 26px 14px 22px; }

.btn-ghost, .btn-ghost:link, .btn-ghost:visited {
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-ghost:active { background: rgba(255, 255, 255, 0.14); color: #fff; }

.btn-primary, .btn-primary:link, .btn-primary:visited {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(236, 59, 79, 0.9);
}
.btn-primary:hover { background: #f4505f; color: #fff; }
.btn-primary:active { background: #d02f43; color: #fff; }
.btn-primary[disabled] { opacity: 0.6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Sections */

.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-raised) 18%, var(--bg-raised) 82%, var(--bg) 100%); }

/* Hero */

.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  background:
    radial-gradient(40% 50% at 75% 40%, rgba(236, 59, 79, 0.28), transparent 70%),
    radial-gradient(35% 45% at 20% 20%, rgba(255, 148, 64, 0.16), transparent 70%),
    radial-gradient(40% 40% at 60% 70%, rgba(146, 72, 216, 0.18), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent 92%);
  mask-image: linear-gradient(#000 55%, transparent 92%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
/* Two lines at most: one per sentence, sized so the longer one fits its column. */
.hero h1 { margin-bottom: 0.35em; font-size: clamp(1.7rem, 3.3vw, 2.4rem); }
.hero h1 .line { display: block; }
@media (max-width: 900px) { .hero h1 { font-size: clamp(1.05rem, 5.6vw, 2.4rem); } }
.hero .lead { margin-bottom: 1.6em; }
.hero-art { position: relative; }
.hero-art img { width: 100%; filter: drop-shadow(0 30px 60px rgba(236, 59, 79, 0.35)); animation: float 9s ease-in-out infinite; }
.hero-meta { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 560px; margin: 0 auto; }
}

/* Branding */

.brand-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(255, 148, 64, 0.16), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(146, 72, 216, 0.18), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--glow);
}
.brand-panel .icon { width: clamp(120px, 18vw, 200px); border-radius: 22%; box-shadow: 0 24px 60px -20px rgba(236, 59, 79, 0.8); }
.brand-panel .wordmark { width: min(100%, 520px); margin-bottom: 18px; }
.brand-panel p { color: var(--muted); max-width: 36em; }
@media (max-width: 700px) {
  .brand-panel { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* Listen */

.listen-section { padding-top: 0; }
.listen {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(70% 120% at 0% 50%, rgba(236, 59, 79, 0.2), transparent 65%),
    var(--bg-card);
  border: 1px solid var(--line);
}
.listen > * { min-width: 0; }
.listen-cover { width: clamp(88px, 14vw, 132px); border-radius: 22%; box-shadow: 0 18px 44px -18px rgba(236, 59, 79, 0.85); }
.listen h2 { margin-bottom: 14px; }
.listen .eyebrow { margin-bottom: 4px; }
.listen-native { width: 100%; }
.listen-player { display: flex; align-items: center; gap: 18px; }
.listen-player[hidden] { display: none; }
.listen-play {
  flex: none;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 30px -12px rgba(236, 59, 79, 0.9);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.listen-play:hover { background: #f4505f; }
.listen-play:active { transform: scale(0.96); }
.listen-play svg { width: 26px; height: 26px; }
.listen-play .icon-pause, .listen-play.is-playing .icon-play { display: none; }
.listen-play.is-playing .icon-pause { display: block; }
.listen-track { flex: 1; min-width: 0; }
.listen-times { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }

/* The seek bar: played part in the brand gradient, the rest a faint line. --progress is set by site.js. */
.listen-seek {
  --progress: 0%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.listen-seek::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ff9a3d, #ec3b4f, #cf3a97) 0 / var(--progress) 100% no-repeat, rgba(255, 232, 220, 0.16);
}
.listen-seek::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 232, 220, 0.16); }
.listen-seek::-moz-range-progress { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #ff9a3d, #ec3b4f, #cf3a97); }
.listen-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.listen-seek::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--cream); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
/* Not a text field: undo the form fields' box, which the contact page's input styles would give it. */
.listen .listen-seek, .listen .listen-seek:hover, .listen .listen-seek:focus { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.listen .listen-seek:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 560px) {
  .listen { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .listen-body { width: 100%; }
}

/* About */

.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font);
  font-weight: 800;
  margin-bottom: 14px;
}
.step p { color: var(--muted); margin: 0; }
@media (max-width: 960px) { .about-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .about-grid { grid-template-columns: 1fr; } }

/* Features */

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--glow); }
.feature figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  display: block;
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: radial-gradient(70% 70% at 50% 50%, rgba(236, 59, 79, 0.16), transparent 70%);
}
.feature figure img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; }
.feature .body { padding: 4px 22px 24px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 1040px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Screenshots */

.shots-platform { margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
}
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 620px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 26px;
  scrollbar-color: var(--red) transparent;
}
.shot { scroll-snap-align: start; margin: 0; }
.mac-window {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #2d2e2e;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), var(--glow);
}
.mac-window .chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  background: linear-gradient(#a6a6a6, #9d9d9d);
}
.mac-window .chrome i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mac-window .chrome i:nth-child(2) { background: #febc2e; }
.mac-window .chrome i:nth-child(3) { background: #28c840; }
.mac-window .screen {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: #b9b2ae;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 48px),
    linear-gradient(180deg, #333333 0 12%, #2d2e2e 12%);
}
.mac-window .screen strong { display: block; font-family: var(--font); color: var(--cream); font-size: 1.15rem; margin-bottom: 4px; }
.mac-window .screen span { font-size: 0.85rem; }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.shots-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
}
.shots-tab {
  font: inherit;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.shots-tab:hover { color: var(--cream); }
.shots-tab[aria-selected="true"] { color: var(--cream); background: linear-gradient(120deg, #ec3b4f, #cf3a97); }
.shots-tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.shots-panel[hidden] { display: none; }
.shots-duo { grid-auto-columns: auto; align-items: start; }
.shots-duo .shot-wide { width: min(78vw, 620px); }
.shots-duo .shot-tall { width: min(62vw, 300px); }
.shot-img-duo-open { border-radius: 26px; border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8); }
.shot-img-duo-closed { border-radius: 30px; border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8); }
.shot-img { display: block; width: 100%; height: auto; }
.shot-img-mac { border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), var(--glow); }
.shot-img-phone { border-radius: 34px; border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8); }
.shot-img-pad { border-radius: 22px; border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8); }
.shots-phone { grid-auto-columns: min(62%, 260px); }
.shots-pad { grid-auto-columns: min(78%, 400px); }

/* Benefits */

.benefits { display: grid; gap: clamp(40px, 6vw, 72px); }
.benefit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.benefit:nth-child(even) .benefit-art { order: 2; }
.benefit-art img { width: min(100%, 420px); margin: 0 auto; filter: drop-shadow(0 24px 50px rgba(236, 59, 79, 0.35)); }
.benefit ul { padding-left: 1.2em; color: var(--muted); }
.benefit li { margin-bottom: 0.4em; }
.benefit li::marker { color: var(--orange); }
@media (max-width: 800px) {
  .benefit { grid-template-columns: 1fr; }
  .benefit:nth-child(even) .benefit-art { order: 0; }
  .benefit-art img { width: min(70%, 320px); }
}

/* Call to action */

.cta {
  text-align: center;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px);
  border-radius: calc(var(--radius) + 10px);
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(236, 59, 79, 0.35), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.cta .lead { margin: 0 auto 1.6em; }
.cta .btn-row { justify-content: center; }
.cta-ribbon { width: min(100%, 760px); margin: 0 auto 8px; opacity: 0.95; }

.requirements { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }

/* Page header for inner pages */

.page-hero { padding: clamp(48px, 8vw, 88px) 0 clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 140%;
  background: radial-gradient(40% 50% at 70% 30%, rgba(236, 59, 79, 0.22), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }

/* Long-form text (privacy, terms) */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: #e3d4cd; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--orange); }
.prose .updated { color: var(--muted); font-size: 0.95rem; }
.note {
  padding: 18px 22px;
  border-radius: var(--radius-small);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
}

/* Contact */

.contact-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.contact-aside img { width: 100%; filter: drop-shadow(0 24px 50px rgba(236, 59, 79, 0.35)); margin-bottom: 18px; }
.contact-aside p { color: var(--muted); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } .contact-aside { order: -1; } }

.form-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--line); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
label { font-weight: 600; color: var(--cream); font-size: 0.95rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #170f13;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input::placeholder, textarea::placeholder { color: #8f7f7a; }
input:hover, select:hover, textarea:hover { border-color: rgba(255, 232, 220, 0.3); }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 148, 64, 0.25); outline: none; }
textarea { min-height: 170px; resize: vertical; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; min-height: 1.5em; color: #ffb2a0; }
.form-note { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }

/* Thank you */

.thanks { text-align: center; padding: clamp(56px, 10vw, 120px) 0; }
.thanks img { width: min(60%, 300px); margin: 0 auto 24px; filter: drop-shadow(0 24px 50px rgba(236, 59, 79, 0.45)); animation: float 7s ease-in-out infinite; }
.thanks .lead { margin: 0 auto 1.6em; }
.thanks .lead .line { display: block; }
/* Two buttons of one size: two equal columns as wide as the longer label, stacked full width on a phone. */
.thanks .btn-row { display: inline-grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
@media (max-width: 480px) { .thanks .btn-row { display: grid; grid-template-columns: 1fr; } }

/* Roadmap */

.roadmap-intro { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.roadmap-intro img { width: clamp(140px, 22vw, 240px); filter: drop-shadow(0 24px 50px rgba(236, 59, 79, 0.4)); }
@media (max-width: 700px) { .roadmap-intro { grid-template-columns: 1fr; } .roadmap-intro img { order: -1; } }

.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.tag-now { color: var(--ink); background: var(--cream); border-color: var(--cream); }
.tag-next { color: #ffd2ae; border-color: rgba(255, 148, 64, 0.6); }

.phase { margin-top: clamp(48px, 7vw, 88px); }
.phase-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: radial-gradient(70% 120% at 0% 0%, rgba(236, 59, 79, 0.22), transparent 70%), var(--bg-card);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.phase-number {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
}
.phase-head p { color: var(--muted); margin: 0; }
.phase-head h2 { margin-bottom: 0.3em; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--orange), var(--red), var(--magenta), var(--purple));
  border-radius: 2px;
}
.release { position: relative; padding: 0 0 26px 18px; }
.release::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--red);
}
.release-card { padding: 20px 22px; border-radius: var(--radius-small); background: var(--bg-card); border: 1px solid var(--line); }
.release-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-bottom: 8px; }
.release-title h3 { margin: 0; }
.version { font-family: var(--font); font-weight: 800; color: var(--orange); font-size: 1.05rem; }
.release p { color: var(--muted); margin-bottom: 0.6em; }
.release ul { margin: 0; padding-left: 1.2em; color: #e3d4cd; }
.release li { margin-bottom: 0.35em; }
.release li::marker { color: var(--orange); }

/* Footer */

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: clamp(40px, 8vw, 80px); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); font-family: var(--font); font-weight: 800; text-decoration: none; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--cream); }
.copyright { width: 100%; color: var(--muted); font-size: 0.9rem; margin: 6px 0 0; }
.copyright a { color: var(--cream); }
.copyright a:hover { color: #ffd2ae; }

/* Reveal on scroll (only when JavaScript has marked the page as ready). */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Inner page spacing */

.legal-section, #contact-section { padding-top: 16px; }
.h3 { font-size: 1.3rem; }
.brand-panel h2 { margin: 0; }
@media (max-width: 560px) { .feature figure { aspect-ratio: 16 / 9; } }

/* Help */

.help-toc { padding: 18px 22px; margin: 24px 0 8px; border-radius: var(--radius-small); background: var(--bg-card); border: 1px solid var(--line); }
.help-toc ol { margin: 8px 0 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .help-toc ol { columns: 1; } }
.prose h2[id] { scroll-margin-top: 96px; }
.prose .shot { margin: 24px 0 32px; }
.shot-frame {
  display: grid;
  gap: 6px;
  place-content: center;
  text-align: center;
  min-height: 220px;
  padding: 24px;
  border-radius: var(--radius-small);
  border: 2px dashed var(--line-strong);
  background: repeating-linear-gradient(135deg, var(--bg-card) 0 14px, var(--bg-raised) 14px 28px);
  color: var(--muted);
}
.shot-frame strong { color: var(--cream); font-size: 1.05rem; }
.shot-tag { justify-self: center; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); }
.keys { border-collapse: collapse; width: 100%; margin: 12px 0; }
.keys th, .keys td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.keys th { white-space: nowrap; color: var(--cream); font-family: var(--font); width: 34%; }
.tag-premium {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--cream);
  background: linear-gradient(120deg, #ec3b4f, #cf3a97);
}
.prose ul.columns { columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .prose ul.columns { columns: 1; } }
.prose h3 + .keys { margin-top: 4px; }
.shot-image { text-align: center; }
.shot-image img { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: var(--radius-small); border: 1px solid var(--line-strong); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8); }
.shot-image.narrow img { max-width: 520px; }
.shot-image.sidebar img { max-width: 240px; }
.shot-image a { display: block; cursor: zoom-in; }
.shot-image.phone img { max-width: 300px; border-radius: 28px; }
.shot-image.phones img { max-width: 620px; border-radius: 20px; }
.shot-image figcaption { margin-top: 10px; color: var(--muted); font-size: 0.9rem; }
