:root {
  --night: #121628;
  --violet: #7d6cf2;
  --ice: #e8f0f5;
  --lime: #cbe864;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ice);
  color: var(--night);
  font:
    17px/1.6 Arial,
    sans-serif;
}
a {
  color: inherit;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 6;
  width: 15rem;
  padding: 2rem 1.5rem;
  background: var(--night);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rail-logo {
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
}
.rail nav {
  display: grid;
  gap: 1rem;
}
.rail nav a {
  text-decoration: none;
}
.rail small {
  color: #b9c5d0;
}
.page {
  margin-left: 15rem;
}
.sound-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 720px;
}
.sound-copy {
  padding: 6rem 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wave-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}
.wave-label::before {
  content: "∿∿∿";
  color: var(--violet);
  letter-spacing: -0.2em;
  font-size: 1.5rem;
}
h1,
h2 {
  margin: 0.8rem 0 1.3rem;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
h1 {
  max-width: 900px;
  font-size: clamp(3.5rem, 7vw, 7.8rem);
}
h2 {
  font-size: clamp(2.3rem, 5vw, 5rem);
}
.sound-copy p {
  max-width: 42rem;
  font-size: 1.18rem;
}
.frequency-button {
  width: fit-content;
  margin-top: 1rem;
  padding: 0.85rem 1.2rem;
  background: var(--lime);
  border-radius: 50% 1rem 50% 1rem;
  text-decoration: none;
  font-weight: 900;
}
.sound-image {
  position: relative;
}
.sound-image img {
  height: 100%;
}
.sound-image figcaption {
  position: absolute;
  left: 0;
  bottom: 2rem;
  padding: 0.8rem 1rem;
  background: var(--violet);
  color: white;
}
.symptoms {
  padding: 5rem 6vw;
  background: white;
}
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--night);
  border: 1px solid var(--night);
}
.symptom-grid article {
  min-height: 220px;
  padding: 2rem;
  background: white;
}
.symptom-grid article:nth-child(3) {
  background: var(--lime);
}
.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.process-copy {
  padding: 6rem 6vw;
  background: var(--violet);
  color: white;
}
.process ol {
  padding-left: 1.2rem;
}
.process li {
  margin-bottom: 1rem;
}
.process img {
  height: 100%;
  min-height: 620px;
}
.point-of-view {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 6rem 6vw;
  gap: 6vw;
  align-items: center;
}
.point-of-view img {
  height: 520px;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
.acoustic-brief {
  margin: 0 4vw 4rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border: 2px solid var(--night);
}
.brief-copy {
  padding: 3rem;
  background: var(--night);
  color: white;
}
.acoustic-brief form {
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: white;
}
label {
  display: grid;
  gap: 0.3rem;
  font-weight: 800;
}
.full {
  grid-column: 1 / -1;
}
input,
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--night);
  background: var(--ice);
  font: inherit;
}
textarea {
  min-height: 120px;
}
button {
  width: fit-content;
  padding: 0.8rem 1.1rem;
  border: 0;
  background: var(--violet);
  color: white;
  font-weight: 900;
  cursor: pointer;
}
.sound-footer {
  margin-left: 15rem;
  padding: 2.5rem 4vw;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  background: var(--night);
  color: white;
}
.sound-footer nav {
  display: flex;
  gap: 1rem;
}
.consent-dock {
  position: fixed;
  z-index: 10;
  right: 1rem;
  bottom: 1rem;
  width: min(440px, calc(100% - 2rem));
  padding: 1.2rem;
  background: var(--ice);
  border: 2px solid var(--night);
  border-radius: 1.5rem 0 1.5rem 0;
}
.consent-dock header {
  display: flex;
  justify-content: space-between;
}
.consent-dock .choices {
  display: flex;
  gap: 0.7rem;
}
.sub-hero {
  padding: 5rem 6vw;
  background: var(--night);
  color: white;
}
.sub-hero h1 {
  font-size: clamp(3rem, 6vw, 6.5rem);
}
.report {
  padding: 4rem 6vw 7rem;
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 6vw;
}
.report aside {
  border-top: 8px solid var(--violet);
  padding-top: 1rem;
}
@media (max-width: 850px) {
  .rail {
    position: static;
    width: 100%;
    min-height: 0;
    gap: 1rem;
  }
  .rail nav {
    grid-template-columns: repeat(2, auto);
  }
  .page,
  .sound-footer {
    margin-left: 0;
  }
  .sound-hero,
  .process,
  .point-of-view,
  .acoustic-brief,
  .report {
    grid-template-columns: 1fr;
  }
  .symptom-grid {
    grid-template-columns: 1fr;
  }
  .acoustic-brief form {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .sound-footer {
    flex-direction: column;
  }
}
