:root {
  font-family: 'DM Sans', sans-serif;
  color: #1a1917;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #2563a8;
  outline-offset: 4px;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
.site-header,
.hero,
.how-it-works,
.modes,
.closing,
.site-footer {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 72px);
}
.site-header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e8e6e0;
}
.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.brand-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 29px;
  letter-spacing: -0.1em;
  line-height: 1;
}
.brand-mark span {
  color: #2563a8;
}
.header-link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.header-link span {
  margin-left: 8px;
  color: #2563a8;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding-top: clamp(70px, 9vw, 126px);
  padding-bottom: clamp(82px, 10vw, 142px);
}
.eyebrow,
.step-label,
.preview-heading,
.step-number,
.mode-direction,
.action-note {
  font-family: 'DM Mono', monospace;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563a8;
  font-weight: 500;
}
.hero h1 {
  max-width: 690px;
  margin-top: 23px;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(46px, 5.5vw, 75px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 400;
}
.intro {
  max-width: 570px;
  margin-top: 31px;
  font-size: 17px;
  line-height: 1.8;
  color: #585650;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 37px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: #1a1917;
  color: #fff;
}
.button-primary:hover {
  background: #33312d;
}
.action-note {
  font-size: 11px;
  color: #77746e;
}
.exercise-preview {
  position: relative;
  padding: 27px 28px 21px;
  background: #fff;
  box-shadow:
    -12px 0 32px -22px rgba(26, 25, 23, 0.5),
    0 20px 55px rgba(26, 25, 23, 0.07);
  border-radius: 9px;
}
.exercise-preview:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #2563a8;
  border-radius: 9px 0 0 9px;
}
.preview-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 27px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #77746e;
}
.preview-step {
  padding: 18px 0 24px;
  border-top: 1px solid #e8e6e0;
}
.step-label {
  display: block;
  margin-bottom: 13px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #77746e;
}
.preview-step p {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  line-height: 1.35;
}
.answer-step p {
  color: #8b8882;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-style: italic;
}
.exercise-preview details {
  border-top: 1px solid #e8e6e0;
  padding-top: 18px;
}
.exercise-preview summary {
  cursor: pointer;
  list-style: none;
  color: #2563a8;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.exercise-preview summary::-webkit-details-marker {
  display: none;
}
.exercise-preview details[open] summary span {
  transform: rotate(180deg);
}
.exercise-preview details p {
  margin-top: 19px;
  font-family: 'DM Serif Display', serif;
  font-size: 23px;
  line-height: 1.4;
}
.how-it-works,
.modes {
  padding-top: 78px;
  padding-bottom: 94px;
  border-top: 1px solid #e8e6e0;
}
.section-intro h2 {
  max-width: 720px;
  margin-top: 17px;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  margin-top: 55px;
}
.steps > div {
  padding-top: 16px;
  border-top: 1px solid #d9d7d1;
}
.step-number {
  color: #2563a8;
  font-size: 11px;
}
.steps h3,
.mode-card h3 {
  margin-top: 25px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.steps p,
.mode-card p {
  margin-top: 13px;
  font-size: 14px;
  line-height: 1.75;
  color: #625f59;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}
.mode-card {
  padding: 34px 36px 31px;
  border: 1px solid #e4e2dc;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mode-direction {
  font-size: 12px;
  color: #2563a8;
}
.mode-direction span {
  margin-inline: 9px;
  color: #9c9a90;
}
.mode-card h3 {
  margin-top: 31px;
  font-family: 'DM Serif Display', serif;
  font-size: 29px;
  font-weight: 400;
}
.mode-card p {
  max-width: 400px;
  flex: 1;
}
.mode-card a {
  margin-top: 30px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #2563a8;
}
.mode-card a span {
  margin-left: 8px;
}
.mode-card a:hover {
  text-decoration: underline;
}
.closing {
  margin-top: 2px;
  margin-bottom: 70px;
  padding-top: 42px;
  padding-bottom: 45px;
  background: #1a1917;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.closing .eyebrow {
  color: #a4c8ee;
}
.closing h2 {
  max-width: 620px;
  margin-top: 13px;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
}
.button-light {
  background: #fff;
  color: #1a1917;
  white-space: nowrap;
}
.button-light:hover {
  background: #e9eef3;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 27px;
  padding-bottom: 40px;
  border-top: 1px solid #e8e6e0;
  font-size: 12px;
  color: #77746e;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .exercise-preview {
    max-width: 620px;
  }
  .steps {
    gap: 22px;
  }
  .closing {
    margin-inline: 24px;
  }
}
@media (max-width: 640px) {
  .site-header {
    height: 72px;
  }
  .brand {
    font-size: 13px;
  }
  .brand-mark {
    font-size: 25px;
  }
  .header-link {
    font-size: 12px;
  }
  .hero {
    padding-top: 66px;
    padding-bottom: 82px;
  }
  .hero h1 {
    font-size: clamp(43px, 11vw, 58px);
  }
  .intro {
    font-size: 15px;
  }
  .how-it-works,
  .modes {
    padding-top: 66px;
    padding-bottom: 72px;
  }
  .steps,
  .mode-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 30px;
    margin-top: 43px;
  }
  .mode-grid {
    margin-top: 36px;
  }
  .mode-card {
    padding: 28px;
  }
  .closing {
    display: block;
    margin-bottom: 46px;
    padding: 34px 28px;
  }
  .closing .button {
    margin-top: 30px;
  }
  .site-footer {
    padding-bottom: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}
