:root {
  --paper: #f4f8f7;
  --paper-strong: #eaf3f1;
  --surface: #ffffff;
  --surface-glass: rgba(250, 254, 253, 0.78);
  --ink: #081d27;
  --muted: #587078;
  --soft: #799097;
  --teal: #078f9e;
  --teal-deep: #066271;
  --teal-dark: #073b48;
  --teal-pale: #d7eded;
  --aqua: #58b9bf;
  --amber: #d99642;
  --green: #5b8c50;
  --blue: #267bae;
  --line: rgba(20, 72, 82, 0.14);
  --line-strong: rgba(20, 72, 82, 0.24);
  --shadow-sm: 0 10px 28px rgba(16, 60, 68, 0.09);
  --shadow-md: 0 22px 55px rgba(16, 60, 68, 0.13);
  --shadow-lg: 0 40px 90px rgba(3, 42, 52, 0.2);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shell: 1400px;
  --gutter: clamp(20px, 5vw, 80px);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

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

button {
  border: 0;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

::selection {
  color: white;
  background: var(--teal);
}

:focus-visible {
  outline: 3px solid rgba(7, 143, 158, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  color: white;
  background: var(--ink);
  border-radius: 10px;
  text-decoration: none;
}

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

.shell {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  min-height: 88px;
  transition: min-height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 72px;
  background: rgba(244, 248, 247, 0.84);
  box-shadow: 0 1px 0 rgba(8, 29, 39, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
}

.nav-shell {
  display: grid;
  width: min(1480px, calc(100% - var(--gutter) * 2));
  min-height: inherit;
  margin-inline: auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 32px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
}

.site-nav a,
.site-footer nav a {
  position: relative;
  color: var(--ink);
  font-size: 15px;
  font-weight: 680;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  background: var(--teal);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-download {
  justify-self: end;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.015em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-actions .button-primary svg,
.download-actions .button-primary svg {
  fill: currentColor;
  stroke: none;
}

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

.button-small {
  min-height: 46px;
  padding-inline: 18px;
  font-size: 14px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0aa4b0, var(--teal));
  box-shadow: 0 14px 32px rgba(7, 143, 158, 0.24);
}

.button-primary:hover {
  box-shadow: 0 18px 40px rgba(7, 143, 158, 0.32);
}

.button-secondary {
  color: var(--teal-deep);
  background: rgba(255, 255, 255, 0.58);
  border-color: var(--teal);
}

.button-secondary:hover {
  background: #fff;
}

.hero {
  position: relative;
  min-height: 1024px;
  padding-top: 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(199, 231, 230, 0.54), transparent 26%),
    linear-gradient(125deg, #f9fbfa 0%, var(--paper) 65%, #ecf5f3 100%);
}

.hero-waves {
  position: absolute;
  right: 0;
  bottom: 70px;
  left: 0;
  width: 100%;
  height: 76%;
  opacity: 0.74;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 780px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
}

.hero-copy {
  padding-bottom: 42px;
}

.hero h1,
.section h2,
.download-section h2,
.legal-hero h1 {
  margin: 0;
  color: var(--ink);
  font-weight: 860;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(54px, 6.2vw, 100px);
  line-height: 1.02;
}

.hero-copy > p:not(.trust-line) {
  max-width: 670px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

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

.trust-line {
  display: flex;
  margin: 34px 0 0;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
}

.trust-line span:not(:last-child)::after {
  width: 4px;
  height: 4px;
  margin-inline: 12px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
}

.hero-product {
  position: relative;
  display: grid;
  min-height: 720px;
  place-items: center;
}

.phone-aura {
  position: absolute;
  width: 540px;
  max-width: 100%;
  height: 540px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(130, 203, 202, 0.2) 48%, transparent 72%);
  border-radius: 50%;
  filter: blur(2px);
}

.phone-frame,
.small-phone-frame {
  position: relative;
  overflow: hidden;
  background: #111;
  border: 8px solid #131819;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.66),
    0 32px 70px rgba(2, 38, 47, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  border-radius: 58px;
}

.phone-frame {
  width: min(380px, 30vw);
  aspect-ratio: 0.485;
  transform: rotate(1.1deg);
}

.phone-frame img,
.small-phone-frame img,
.tablet-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 50%;
  width: 38%;
  height: 26px;
  transform: translateX(-50%);
  background: #050707;
  border-radius: 999px;
}

.hero-state-preview {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: -1px;
  left: 0;
  display: grid;
  min-height: 164px;
  padding: 30px clamp(24px, 4vw, 64px);
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 34px;
  background: rgba(255, 255, 255, 0.77);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -10px 45px rgba(5, 65, 74, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.hero-state-preview strong {
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.preview-icons {
  display: grid;
  grid-template-columns: repeat(8, minmax(74px, 1fr));
  gap: 10px;
}

.preview-icons span {
  display: grid;
  min-height: 70px;
  place-items: center;
  color: var(--teal-deep);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 720;
}

.section {
  position: relative;
  padding: clamp(96px, 10vw, 160px) 0;
}

.experience {
  padding-top: 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 30%, rgba(199, 232, 231, 0.5), transparent 28%),
    linear-gradient(180deg, #f7fbfa, #eef6f5 70%, #f8fbfa);
}

.wave-ribbon {
  position: absolute;
  right: 0;
  left: 0;
  height: 180px;
  opacity: 0.36;
  background: repeating-radial-gradient(ellipse at 50% 130%, transparent 0 86px, rgba(74, 168, 175, 0.16) 88px 114px, transparent 116px 150px);
  pointer-events: none;
}

.wave-ribbon-top {
  top: -95px;
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section h2 {
  max-width: 920px;
  font-size: clamp(42px, 4.4vw, 70px);
  line-height: 1.12;
}

.section-intro p:not(.section-index),
.privacy-copy > p:not(.section-index) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 540;
}

.section-index {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.state-rail {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(8, minmax(96px, 1fr));
  gap: 10px;
}

.state-button {
  position: relative;
  display: flex;
  min-height: 108px;
  padding: 14px 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--teal-deep);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 740;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.state-button svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.state-button:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.state-button.is-active {
  color: #fff;
  background: linear-gradient(145deg, #10a9b5, #067988);
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(7, 128, 143, 0.25);
}

.state-button.is-active::after {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 19px;
  height: 19px;
  content: "✓";
  place-items: center;
  color: var(--teal);
  background: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.experience-layout {
  display: grid;
  margin-top: 28px;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: stretch;
  gap: clamp(28px, 4vw, 62px);
}

.listen-console {
  padding: clamp(22px, 2.4vw, 38px);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 72, 82, 0.15);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.console-main {
  display: grid;
  min-height: 220px;
  grid-template-columns: 170px minmax(210px, 0.72fr) minmax(330px, 1.35fr);
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
}

.transport {
  position: relative;
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 32% 26%, #62d1d5, #098c9b 58%, #07505e 100%);
  border: 0;
  border-radius: 50%;
  box-shadow:
    0 20px 36px rgba(2, 78, 90, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.45),
    inset 0 -12px 22px rgba(0, 44, 57, 0.17);
  cursor: pointer;
}

.transport-arc {
  position: absolute;
  z-index: 1;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  overflow: visible;
  pointer-events: none;
  transform: rotate(-7deg);
  transform-origin: 50% 50%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 4.2;
  stroke-dasharray: 34 66;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.transport-rings {
  position: absolute;
  inset: -20px;
  border: 1px dashed rgba(7, 143, 158, 0.25);
  border-radius: 50%;
}

.transport-rings::after {
  position: absolute;
  inset: -13px;
  content: "";
  border: 1px solid rgba(7, 143, 158, 0.12);
  border-radius: 50%;
}

.transport > .play-icon,
.transport > .pause-icon {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.transport .pause-icon {
  display: none;
  fill: none;
}

.listen-console.is-playing .transport .play-icon {
  display: none;
}

.listen-console.is-playing .transport .pause-icon {
  display: block;
}

.listen-console.is-playing .transport-rings {
  animation: slow-spin 14s linear infinite;
}

.soundscape-copy .console-label {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.soundscape-copy h3 {
  margin: 0;
  font-size: clamp(26px, 2.1vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.soundscape-copy p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 540;
  line-height: 1.7;
}

.level-meter {
  min-width: 0;
}

.level-bars {
  display: flex;
  height: 82px;
  align-items: center;
  gap: clamp(5px, 0.8vw, 11px);
}

.level-bar {
  width: 10px;
  min-width: 6px;
  height: 26%;
  background: rgba(76, 166, 172, 0.58);
  border-radius: 999px;
  transition: height 120ms ease, background 120ms ease;
}

.level-bar:nth-last-child(-n + 3) {
  background: rgba(217, 150, 66, 0.64);
}

.listen-console.is-playing .level-bar {
  animation: level-bounce 900ms ease-in-out infinite alternate;
}

.level-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.console-controls {
  display: grid;
  min-height: 90px;
  padding-top: 22px;
  grid-template-columns: auto minmax(280px, 1fr) 170px;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.play-label {
  min-width: 165px;
}

.play-label svg {
  fill: #fff;
  stroke: #fff;
}

.intensity-control {
  display: grid;
  grid-template-columns: auto 1fr 48px;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.intensity-control input {
  width: 100%;
  accent-color: var(--teal);
}

.intensity-control output {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.timer-control {
  display: flex;
  min-height: 48px;
  padding: 0 14px;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.timer-control svg {
  width: 18px;
  fill: none;
  stroke: var(--teal-deep);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timer-control select {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
  font-weight: 700;
}

.console-status {
  margin: 8px 0 -8px;
  color: var(--muted);
  font-size: 12px;
}

.how-list {
  display: flex;
  margin: 0;
  padding: 18px 0;
  flex-direction: column;
  justify-content: space-around;
  list-style: none;
}

.how-list li {
  position: relative;
  display: grid;
  padding: 18px 0;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.how-list li:not(:last-child)::after {
  position: absolute;
  bottom: -13px;
  left: 20px;
  height: 32px;
  content: "";
  border-left: 1px dashed rgba(7, 143, 158, 0.32);
}

.how-list li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--teal-deep);
  background: var(--teal-pale);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.how-list h3 {
  margin: 1px 0 5px;
  color: var(--teal-deep);
  font-size: 17px;
}

.how-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.sound-library {
  background: #f8fbfa;
}

.library-console {
  margin-top: 48px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.77);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.library-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.library-tabs button {
  min-height: 74px;
  padding: 12px 18px;
  color: var(--muted);
  background: transparent;
  border-right: 1px solid var(--line);
  cursor: pointer;
  font-size: 15px;
  font-weight: 780;
  text-align: left;
}

.library-tabs button:last-child {
  border-right: 0;
}

.library-tabs button span {
  float: right;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.library-tabs button[aria-selected="true"] {
  color: var(--teal-deep);
  background: rgba(217, 240, 239, 0.5);
  box-shadow: inset 0 -3px 0 var(--teal);
}

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

.track-row {
  display: grid;
  min-height: 94px;
  padding: 17px 20px;
  grid-template-columns: 36px minmax(90px, 0.7fr) minmax(100px, 1fr);
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.track-row:nth-child(3n) {
  border-right: 0;
}

.track-row:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.track-play {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--teal-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(11, 66, 76, 0.08);
}

.track-play svg {
  width: 15px;
  fill: currentColor;
}

.track-play .track-pause {
  display: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.track-row.is-playing .track-play {
  color: white;
  background: var(--teal);
}

.track-row.is-playing .track-play .track-triangle {
  display: none;
}

.track-row.is-playing .track-play .track-pause {
  display: block;
}

.track-meta {
  min-width: 0;
}

.track-meta strong,
.track-meta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-meta strong {
  font-size: 14px;
}

.track-meta small {
  color: var(--muted);
  font-size: 11px;
}

.track-wave {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 2px;
}

.track-wave i {
  width: 2px;
  height: 20%;
  background: var(--teal);
  border-radius: 2px;
  opacity: 0.52;
}

.track-row.is-playing .track-wave i {
  animation: track-wave 720ms ease-in-out infinite alternate;
  opacity: 0.9;
}

.library-footer {
  display: flex;
  min-height: 64px;
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  background: rgba(222, 241, 240, 0.28);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.text-action,
.text-link {
  color: var(--teal-deep);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 780;
  text-decoration: none;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  align-items: center;
  gap: 8px;
}

.feature-strip {
  display: grid;
  margin-top: 38px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-strip article {
  position: relative;
  display: grid;
  min-height: 158px;
  padding: 34px 28px;
  grid-template-columns: 40px 1fr;
  align-items: start;
  gap: 16px;
  border-right: 1px solid var(--line);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip article > span {
  position: absolute;
  top: 12px;
  right: 14px;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.feature-strip svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--teal-deep);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-strip h3 {
  margin: 0 0 7px;
  font-size: 15px;
}

.feature-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.privacy-section {
  padding-bottom: 130px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbfa, #eef6f5);
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
}

.privacy-points {
  display: flex;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 24px;
}

.privacy-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 720;
}

.privacy-points svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.privacy-visual {
  position: relative;
  min-height: 470px;
}

.privacy-waves {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: 100%;
  height: 100%;
  opacity: 0.76;
}

.device-outline {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 230px;
  height: 390px;
  transform: translateX(-50%);
  border: 9px solid rgba(7, 143, 158, 0.3);
  border-radius: 44px;
  box-shadow: inset 0 0 50px rgba(89, 185, 191, 0.12), 0 24px 50px rgba(6, 98, 113, 0.08);
}

.local-folder {
  position: absolute;
  top: 110px;
  left: 50%;
  display: grid;
  width: 124px;
  height: 94px;
  transform: translateX(-50%);
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #a5d9d9, #49a5ad);
  border: 7px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(7, 93, 107, 0.18);
}

.local-folder svg,
.privacy-lock svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-lock {
  position: absolute;
  right: -38px;
  bottom: 52px;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  color: var(--teal-deep);
  background: rgba(255, 255, 255, 0.89);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.privacy-lock svg {
  width: 42px;
  height: 42px;
}

.download-section {
  position: relative;
  min-height: 720px;
  padding: 110px 0 70px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 75% 40%, rgba(18, 151, 164, 0.22), transparent 34%),
    linear-gradient(140deg, #041d29, #062f3b 52%, #04212d);
}

.download-glow {
  position: absolute;
  right: 0;
  bottom: -40%;
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(55, 181, 190, 0.23), transparent 64%);
  pointer-events: none;
}

.download-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(430px, 1.15fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 23px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.download-section h2 {
  margin-top: 30px;
  color: #fff;
  font-size: clamp(42px, 4.4vw, 68px);
  line-height: 1.12;
}

.download-copy > p:not(.availability-note) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(17px, 1.4vw, 21px);
}

.button-on-dark {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.74);
}

.button-on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

.availability-note {
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

.download-devices {
  position: relative;
  min-height: 510px;
}

.tablet-frame {
  position: absolute;
  top: 10px;
  left: 0;
  width: min(520px, 43vw);
  height: 430px;
  padding: 14px;
  overflow: hidden;
  background: #111819;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.tablet-frame img {
  object-position: center 8%;
  border-radius: 17px;
}

.small-phone-frame {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 190px;
  aspect-ratio: 0.49;
  border-width: 6px;
  border-radius: 36px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.68);
  background: #031720;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  min-height: 120px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 42px;
}

.brand-light {
  color: #fff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.site-footer nav a:hover {
  color: white;
}

.site-footer p {
  margin: 0;
  font-size: 11px;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100% - 48px));
  padding: 13px 17px;
  transform: translateY(120px);
  color: #fff;
  background: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  font-size: 13px;
  transition: transform 220ms ease, opacity 220ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1), opacity 700ms ease;
}

.reveal-late {
  transition-delay: 120ms;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.hero .reveal {
  transform: none;
  opacity: 1;
  transition: none;
}

/* Supporting content pages */
.legal-body {
  background: linear-gradient(180deg, #f7faf9, var(--paper));
}

.legal-header {
  position: static;
  background: rgba(244, 248, 247, 0.92);
  border-bottom: 1px solid var(--line);
}

.legal-header .nav-shell {
  grid-template-columns: 1fr auto;
}

.legal-header .site-nav {
  justify-content: flex-end;
}

.legal-main {
  min-height: 75vh;
}

.legal-hero {
  padding: 110px 0 62px;
  background:
    radial-gradient(circle at 78% 30%, rgba(164, 216, 215, 0.35), transparent 30%),
    linear-gradient(135deg, #f9fbfa, #eaf4f2);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1.08;
}

.legal-hero p {
  max-width: 730px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.legal-content {
  display: grid;
  padding: 72px 0 110px;
  grid-template-columns: 210px minmax(0, 780px);
  align-items: start;
  justify-content: center;
  gap: 70px;
}

.legal-toc {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 10px;
}

.legal-toc a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--teal-deep);
}

.prose section + section {
  margin-top: 52px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.prose h2 {
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.prose h3 {
  margin: 28px 0 12px;
  font-size: 18px;
}

.prose p,
.prose li {
  color: #425d65;
  font-size: 15px;
  line-height: 1.9;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose a {
  color: var(--teal-deep);
}

.notice {
  padding: 18px 20px;
  color: #6c512d;
  background: #fff7e9;
  border: 1px solid rgba(217, 150, 66, 0.3);
  border-radius: 12px;
  font-size: 13px;
}

.sound-groups {
  display: grid;
  gap: 38px;
}

.sound-group-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  list-style: none;
}

.sound-group-list li {
  padding: 14px 16px;
  background: white;
}

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

@keyframes level-bounce {
  0% { height: 22%; }
  100% { height: 86%; }
}

@keyframes track-wave {
  0% { height: 16%; }
  100% { height: 78%; }
}

@media (max-width: 1180px) {
  .nav-shell {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    gap: 26px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 30px;
  }

  .phone-frame {
    width: 350px;
  }

  .hero-state-preview {
    grid-template-columns: 230px 1fr;
  }

  .preview-icons span:nth-last-child(-n + 2) {
    display: none;
  }

  .preview-icons {
    grid-template-columns: repeat(6, 1fr);
  }

  .state-rail {
    grid-template-columns: repeat(4, 1fr);
  }

  .console-main {
    grid-template-columns: 150px minmax(190px, 0.8fr) minmax(250px, 1.2fr);
  }

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

  .track-row:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .track-row:nth-child(2n) {
    border-right: 0;
  }

  .track-row:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .track-row:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-strip article:nth-child(2) {
    border-right: 0;
  }

  .feature-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 24px;
  }

  .site-header,
  .site-header.is-scrolled {
    min-height: 72px;
  }

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

  .brand {
    font-size: 23px;
  }

  .brand img {
    width: 42px;
    height: 28px;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 12px;
    place-items: center;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .menu-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-toggle span:first-child { transform: translateY(-4px); }
  .menu-toggle span:last-child { transform: translateY(4px); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

  .site-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: flex;
    padding: 120px 34px 40px;
    transform: translateY(-105%);
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    background: rgba(244, 248, 247, 0.98);
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav a {
    font-size: 30px;
    font-weight: 820;
    letter-spacing: -0.04em;
  }

  .header-download {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1,
  .hero-copy > p:not(.trust-line) {
    margin-inline: auto;
  }

  .hero-actions,
  .trust-line {
    justify-content: center;
  }

  .hero-product {
    min-height: 660px;
  }

  .phone-frame {
    width: min(360px, 72vw);
  }

  .hero-waves {
    bottom: 110px;
    height: 52%;
  }

  .hero-state-preview {
    position: relative;
    min-height: auto;
    padding: 30px 24px;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .preview-icons {
    grid-template-columns: repeat(3, 1fr);
  }

  .experience {
    padding-top: 100px;
  }

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

  .console-main {
    grid-template-columns: 150px 1fr;
  }

  .level-meter {
    grid-column: 1 / -1;
  }

  .console-controls {
    grid-template-columns: auto 1fr;
  }

  .timer-control {
    grid-column: 1 / -1;
  }

  .how-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .how-list li {
    grid-template-columns: 1fr;
  }

  .how-list li:not(:last-child)::after {
    display: none;
  }

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

  .privacy-visual {
    min-height: 420px;
  }

  .download-copy {
    text-align: center;
  }

  .app-icon {
    margin-inline: auto;
  }

  .download-actions {
    justify-content: center;
  }

  .download-devices {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .tablet-frame {
    width: min(520px, 78vw);
  }

  .footer-grid {
    padding: 34px 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
    text-align: center;
  }

  .legal-header .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .legal-header .site-nav {
    display: none;
  }

  .legal-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-toc {
    position: static;
    display: flex;
    overflow-x: auto;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 18px;
  }

  .hero {
    padding-top: 106px;
  }

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

  .hero-copy > p:not(.trust-line) {
    font-size: 18px;
  }

  .hero-copy > p br {
    display: none;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .download-actions .button {
    width: 100%;
  }

  .trust-line {
    font-size: 11px;
  }

  .trust-line span:not(:last-child)::after {
    margin-inline: 7px;
  }

  .hero-product {
    min-height: 580px;
  }

  .phone-frame {
    width: min(330px, 82vw);
    border-width: 6px;
    border-radius: 48px;
  }

  .preview-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-icons span:nth-last-child(-n + 2) {
    display: grid;
  }

  .section {
    padding: 88px 0;
  }

  .section-intro {
    display: block;
  }

  .section h2,
  .download-section h2 {
    font-size: 40px;
  }

  .section-index {
    margin-top: 16px;
  }

  .state-rail {
    margin-top: 36px;
    grid-template-columns: repeat(2, 1fr);
  }

  .state-button {
    min-height: 92px;
  }

  .listen-console {
    padding: 22px 16px;
  }

  .console-main {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .level-meter {
    width: 100%;
  }

  .console-controls {
    grid-template-columns: 1fr;
  }

  .play-label {
    width: 100%;
  }

  .timer-control {
    grid-column: auto;
  }

  .intensity-control {
    grid-template-columns: auto 1fr 44px;
  }

  .how-list {
    grid-template-columns: 1fr;
  }

  .how-list li {
    grid-template-columns: 42px 1fr;
  }

  .library-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .library-tabs button:nth-child(2) {
    border-right: 0;
  }

  .library-tabs button:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .track-list {
    grid-template-columns: 1fr;
  }

  .track-row,
  .track-row:nth-child(2n),
  .track-row:nth-child(3n),
  .track-row:nth-last-child(-n + 2),
  .track-row:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .track-row:last-child {
    border-bottom: 0;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-strip article,
  .feature-strip article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-strip article:last-child {
    border-bottom: 0;
  }

  .privacy-points {
    display: grid;
    gap: 12px;
  }

  .privacy-visual {
    min-height: 390px;
  }

  .device-outline {
    width: 200px;
    height: 340px;
  }

  .download-section {
    min-height: auto;
    padding: 90px 0 60px;
  }

  .download-devices {
    min-height: 390px;
  }

  .tablet-frame {
    width: 88vw;
    height: 330px;
  }

  .small-phone-frame {
    width: 150px;
  }

  .site-footer nav {
    justify-content: center;
    gap: 18px;
  }

  .legal-hero {
    padding: 72px 0 46px;
  }

  .legal-hero h1 {
    font-size: 44px;
  }

  .legal-content {
    padding-top: 50px;
  }

  .sound-group-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}
