:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0d1b2a;
  --panel-2: #13263a;
  --text: #f5f7fb;
  --muted: #b7c2d0;
  --accent: #7ed6df;
  --accent-strong: #f0c36a;
  --border: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(126, 214, 223, 0.15), transparent 32rem),
    linear-gradient(180deg, #07111f 0%, #091726 60%, #07111f 100%);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent);
}

a:hover,
a:focus-visible {
  color: #b6f4f8;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(7, 17, 31, 0.9);
}

.nav,
.main,
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.2rem;
  font-size: 0.96rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.main {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 8vw, 5.9rem);
  letter-spacing: -0.055em;
}

.page-title {
  max-width: 19ch;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

p,
ul {
  margin-top: 0;
}

.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent);
  color: #06111c;
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: #b6f4f8;
  color: #06111c;
}

.button.secondary {
  background: transparent;
  color: var(--text);
}

.app-store-badge {
  margin: 1.5rem 0 0;
}

.app-store-badge img {
  display: block;
  width: 160px;
  height: auto;
}

.sound-card {
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: linear-gradient(145deg, #132b42, #0b1827);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.sound-card:hover,
.sound-card:focus-visible {
  border-color: var(--accent);
}

.phone-preview {
  display: block;
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 337 / 727;
  overflow: hidden;
  border-radius: 12% / 5.5%;
  background: transparent;
}

.phone-preview img {
  display: block;
  position: absolute;
  top: -4.81%;
  left: -8.61%;
  width: 120.48%;
  max-width: none;
  height: 108.12%;
}

.app-preview-inline {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.phone-preview--compact {
  width: 150px;
}

.section {
  padding-top: clamp(4rem, 8vw, 7rem);
}

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

.card,
.content-panel {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: rgba(13, 27, 42, 0.86);
}

.card {
  padding: 1.4rem;
}

.card p,
.muted {
  color: var(--muted);
}

.content-wrap {
  max-width: 820px;
}

.content-panel {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.content-panel section + section {
  margin-top: 2.3rem;
  padding-top: 2.3rem;
  border-top: 1px solid var(--border);
}

.meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent-strong);
  border-radius: 0.5rem;
  background: rgba(240, 195, 106, 0.09);
}

.checklist {
  padding-left: 1.2rem;
}

.checklist li + li {
  margin-top: 0.45rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }

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

  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .sound-card {
    min-height: 270px;
  }
}

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

/* Align support/privacy app preview with the marketing-page hero preview. */
.content-wrap:has(.app-preview-inline) {
  max-width: none;
  position: relative;
}

.content-wrap:has(.app-preview-inline)::before {
  float: right;
  width: min(34vw, 340px);
  height: 700px;
  margin-left: clamp(2rem, 6vw, 5rem);
  content: "";
}

.content-wrap:has(.app-preview-inline)::after {
  display: table;
  clear: both;
  content: "";
}

.content-wrap:has(.app-preview-inline) .content-panel {
  display: flow-root;
  clear: none;
  width: calc(100% - min(34vw, 340px) - clamp(2rem, 6vw, 5rem));
  max-width: 820px;
}

.content-wrap .app-preview-inline {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  align-items: center;
  justify-content: center;
  width: min(34vw, 340px);
  min-height: 340px;
  margin: 0 0 2rem;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: linear-gradient(145deg, #132b42, #0b1827);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.content-wrap .app-preview-inline:hover,
.content-wrap .app-preview-inline:focus-visible {
  border-color: var(--accent);
}

.content-wrap .phone-preview--compact {
  width: min(100%, 300px);
}

@media (max-width: 900px) {
  .content-wrap:has(.app-preview-inline) {
    max-width: 820px;
  }

  .content-wrap:has(.app-preview-inline)::before {
    display: none;
  }

  .content-wrap:has(.app-preview-inline) .content-panel {
    width: 100%;
  }

  .content-wrap .app-preview-inline {
    position: static;
    width: 100%;
    min-height: 270px;
    margin: 2rem 0 0;
  }
}
