/* ==========================================================================
   DeepLarynx — deeplarynx.replica.health
   "Classical" design system: ground #f3f2f2, single gold accent, color as
   stroke (never fill), Cormorant Garamond display + Lora body, 4px radius.
   ========================================================================== */

:root {
  --ground: #f3f2f2;
  --surface: #eae9e9;
  --text: #201f1d;
  --divider: rgba(32, 31, 29, 0.16);
  --accent: #b68235;
  --accent-100: #fff3e4;
  --accent-600: #a06f24;
  --accent-700: #7d5411;
  --neutral-600: #7d7979;
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Lora", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--ground);
}

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

a {
  color: var(--accent-600);
  text-decoration: none;
}

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

.container {
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

/* ---------- type ---------- */

.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: 56px; }
h2 { font-size: 38px; margin-bottom: 16px; }
h3 { font-size: 24px; font-weight: 600; }

@media (max-width: 600px) {
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
}

.lede {
  font-size: 19px;
  max-width: 38rem;
  color: var(--text);
  margin-top: 20px;
}

.muted {
  color: var(--neutral-600);
}

.numeral {
  font-feature-settings: "tnum";
}

/* ---------- buttons: outlined, color as stroke ---------- */

.button {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--accent-700);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 14px 28px;
  min-height: 54px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.button:hover {
  background-color: var(--accent-100);
  color: var(--accent-700);
}

.button--ghost {
  border-color: transparent;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--divider);
  background-color: var(--ground);
}

.site-header .container {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 15px;
}

.program-link {
  font-size: 13px;
  color: var(--neutral-600);
}

/* ---------- hero ---------- */

.hero {
  padding-top: 104px;
  text-align: center;
}

.hero .lede {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- live CSS MacBook ---------- */

.macbook {
  max-width: 880px;
  margin: 0 auto;
}

.macbook-lid {
  background: #0e0f11;
  border: 1px solid #313438;
  border-bottom: none;
  border-radius: 2.6% / 4.2%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding: 1.9%;
}

.macbook-screen {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3024 / 1890;   /* source minus the menu-bar band */
  container-type: inline-size;
}

.macbook-screen img {
  width: 100%;
  margin-top: -2.4471%;        /* crops the 74px menu-bar band */
}

/* covers a notification captured in the corner; color matches the app ground */
.macbook-screen .patch {
  position: absolute;
  left: 74%;
  right: 0;
  top: 0;
  height: 9.4%;
  background: #f3f2f2;
}

.macbook-screen .patch-label {
  position: absolute;
  left: 74.2%;
  top: 4.1%;
  font-family: var(--font-body);
  font-size: 0.675cqw;
  letter-spacing: 0.16em;
  color: var(--neutral-600);
}

.macbook-base {
  width: 119%;
  margin-left: -9.5%;
  height: clamp(10px, 2.6vw, 24px);
  background: linear-gradient(#eceded 0%, #d4d6d8 55%, #9fa3a7 100%);
  border-radius: 3px 3px 16px 16px;
  position: relative;
}

.macbook-base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 15%;
  height: 40%;
  background: linear-gradient(#b3b7bb, #d7d9db);
  border-radius: 0 0 10px 10px;
}

.device-caption {
  text-align: center;
  font-size: 15px;
  color: var(--neutral-600);
  max-width: 40rem;
  margin: 28px auto 0;
}

/* ---------- steps ---------- */

.steps {
  border-top: 1px solid var(--divider);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 960px) {
  .step-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .step-list { grid-template-columns: 1fr; }
}

.step {
  border-top: 1px solid var(--divider);
  padding-top: 20px;
}

.step .n {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--accent-600);
  font-feature-settings: "tnum";
}

.step h3 {
  margin: 10px 0 8px;
}

/* ---------- phones ---------- */

.phones {
  border-top: 1px solid var(--divider);
}

.phone-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.phone {
  width: 250px;
  text-align: center;
}

.iphone {
  background: #17181a;
  border: 1px solid #313438;
  border-radius: 42px;
  padding: 9px;
}

.iphone img {
  border-radius: 34px;
}

.phone figcaption {
  margin-top: 20px;
  font-size: 15px;
  color: var(--neutral-600);
}

.phone figcaption strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- quote / voice bank ---------- */

.voicebank {
  border-top: 1px solid var(--divider);
  text-align: center;
}

.voicebank blockquote {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.3;
  max-width: 42rem;
  margin: 0 auto;
}

.voicebank .attribution {
  margin-top: 18px;
  font-size: 15px;
  color: var(--neutral-600);
}

/* ---------- privacy + access ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  border-top: 1px solid var(--divider);
  padding-top: 0;
}

.two-col > div {
  padding-top: 88px;
}

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col > div { padding-top: 44px; }
}

.access-list {
  list-style: none;
  margin-top: 16px;
}

.access-list li {
  border-top: 1px solid var(--divider);
  padding: 12px 0;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--divider);
  padding: 40px 0 56px;
  font-size: 14px;
  color: var(--neutral-600);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 12px 32px;
  flex-wrap: wrap;
}
