:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --paper-deep: #ece7de;
  --ink: #281c20;
  --muted: #65595a;
  --accent: #6e2034;
  --line: rgba(40, 28, 32, .18);
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

.skip-link {
  position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 16px;
  color: var(--paper); background: var(--accent); border-radius: 3px;
  transform: translateY(-160%); transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: absolute; z-index: 3; top: 0; left: 0; width: 100%; min-height: 76px;
  padding: 0 max(32px, calc((100vw - 1280px) / 2)); display: flex; align-items: center;
  justify-content: space-between; color: #fffaf6;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 650; letter-spacing: .01em; }
.brand img { display: block; border-radius: 8px; }
.site-header .brand img { background: var(--paper); }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.site-header nav a, .site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: 13px; }
.site-header nav a { color: rgba(255,250,246,.9); }
.site-header nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero {
  position: relative; min-height: min(760px, 100svh); min-height: min(760px, 100vh);
  display: flex; align-items: center; overflow: hidden; color: #fffaf6; background: #39232a;
}
.hero__image {
  position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(36, 17, 25, .86) 0%, rgba(53, 26, 35, .68) 39%, rgba(53, 26, 35, .06) 100%), linear-gradient(0deg, rgba(31, 17, 22, .22), transparent 48%), url("morning.webp");
  background-size: cover; background-position: center 52%; transform: scale(1.015);
}
.hero__content { position: relative; z-index: 1; padding-top: 64px; animation: hero-arrive 220ms ease-out both; }
.hero h1 { max-width: 720px; margin: 0; font-family: var(--sans); font-size: clamp(64px, 8vw, 96px); line-height: .99; font-weight: 600; letter-spacing: -.035em; }
.hero__benefit { max-width: 650px; margin: 12px 0 0; font-family: var(--serif); font-size: clamp(30px, 3.3vw, 40px); line-height: 1.12; font-weight: 400; letter-spacing: -.015em; }
.hero__intro { max-width: 470px; margin: 24px 0 26px; color: rgba(255,250,246,.88); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; }
.text-link { display: inline-flex; min-height: 48px; align-items: center; gap: 14px; text-decoration: none; font-size: 14px; font-weight: 650; }
.text-link span { display: inline-block; font-size: 19px; transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, 3px); }
.hero__link { border-bottom: 1px solid rgba(255,250,246,.65); }
.hero__caption { position: absolute; z-index: 1; right: max(32px, calc((100vw - 1280px) / 2)); bottom: 23px; margin: 0; color: rgba(255,250,246,.78); font-size: 11px; letter-spacing: .04em; }

.section { padding-block: clamp(84px, 11vw, 148px); }
.section h2 { max-width: 580px; margin: 0; font-family: var(--serif); font-size: clamp(38px, 5vw, 62px); font-weight: 400; line-height: 1.07; letter-spacing: -.02em; }
.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.lead { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 27px); line-height: 1.42; }
.overview { display: grid; grid-template-columns: 1.05fr .75fr; gap: clamp(48px, 10vw, 140px); align-items: start; }
.overview__body { max-width: 460px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.overview__body .lead { margin: 0 0 18px; color: var(--ink); }
.overview__body p:last-child { margin: 0; }

.heart { padding-bottom: 90px; background: var(--paper-deep); }
.heart__layout { display: grid; grid-template-columns: 1fr .7fr; gap: clamp(44px, 10vw, 140px); align-items: end; }
.heart__layout .lead { max-width: 570px; margin: 24px 0 0; }
.heart__details { max-width: 430px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.heart__details p { margin: 0 0 18px; }
.heart__details p:last-child { margin-bottom: 0; }
.metric-line, .journal__measurements { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--line); color: #59494e; font-size: 12px; letter-spacing: .025em; }

.activity { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(48px, 9vw, 128px); align-items: center; }
.activity__copy { max-width: 490px; }
.activity__copy .lead { margin: 24px 0 20px; }
.activity__copy > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.8; }
figure { margin: 0; }
.activity__image img, .trends__figure img { display: block; width: 100%; height: auto; }
.activity__image img { aspect-ratio: 1.25; object-fit: cover; }
figcaption { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.journal { background: #e9e2d8; }
.journal__layout { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(48px, 10vw, 140px); align-items: start; }
.journal__copy { max-width: 440px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.journal__copy .lead { margin: 0 0 18px; color: var(--ink); }
.journal__copy p:last-child { margin-bottom: 0; }
.journal__measurements { margin-top: 66px; }

.trends { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(48px, 9vw, 128px); align-items: center; }
.trends__copy { max-width: 460px; }
.trends__copy .lead { margin: 24px 0 18px; }
.trends__copy > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.8; }
.trends__figure img { max-height: 420px; object-fit: contain; }

.requirements { padding-block: 42px; background: var(--accent); color: #fffaf6; }
.requirements__inner { display: grid; grid-template-columns: .5fr 1fr; gap: 32px; align-items: baseline; }
.requirements .eyebrow { margin: 0; color: rgba(255,250,246,.7); }
.requirements__inner > p:last-child { max-width: 690px; margin: 0; font-size: 14px; line-height: 1.7; }
.site-footer { min-height: 102px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand--footer { font-size: 13px; }
.brand--footer img { background: var(--accent); }
.copyright { color: var(--muted); font-size: 11px; }
.site-footer nav { gap: 22px; }
.site-footer nav a { color: var(--muted); font-size: 12px; }

:focus-visible { outline: 3px solid #ba6a55; outline-offset: 4px; border-radius: 2px; }
[data-reveal] { opacity: 1; transform: none; }
.js-ready [data-reveal] { transition: opacity 420ms ease, transform 420ms ease; }
.js-ready [data-reveal].reveal-pending { opacity: 0; transform: translateY(12px); }
.js-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .container { width: min(100% - 40px, 540px); }
  .site-header { min-height: 68px; padding-inline: 20px; align-items: flex-start; padding-top: 14px; }
  .site-header .brand { gap: 8px; font-size: 13px; }
  .site-header .brand img { width: 30px; height: 30px; }
  .site-header nav { gap: 5px; }
  .site-header nav a { min-height: 38px; padding: 0 7px; font-size: 11px; }
  .site-header nav a:nth-child(2), .site-header nav a:nth-child(4) { display: none; }
  .hero { min-height: min(720px, 100svh); min-height: min(720px, 100vh); align-items: flex-end; }
  .hero__image { background-position: 59% center; background-image: linear-gradient(90deg, rgba(36, 17, 25, .74) 0%, rgba(53, 26, 35, .34) 70%, rgba(53, 26, 35, .14) 100%), linear-gradient(0deg, rgba(31, 17, 22, .68) 0%, rgba(31,17,22,.18) 76%, rgba(31,17,22,.12) 100%), url("morning.webp"); }
  .hero__content { padding-top: 100px; padding-bottom: 76px; }
  .hero h1 { font-size: clamp(53px, 13vw, 70px); }
  .hero__benefit { margin-top: 10px; font-size: clamp(29px, 8vw, 36px); }
  .hero__intro { max-width: 390px; margin-block: 19px 18px; font-size: 15px; line-height: 1.55; }
  .hero__caption { right: 20px; bottom: 14px; font-size: 9px; }
  .section { padding-block: 78px; }
  .overview, .heart__layout, .activity, .journal__layout, .trends { grid-template-columns: 1fr; gap: 30px; }
  .section h2 { font-size: clamp(39px, 10vw, 52px); }
  .overview__body { max-width: 540px; }
  .heart { padding-bottom: 66px; }
  .heart__layout { gap: 28px; }
  .metric-line, .journal__measurements { gap: 12px 18px; margin-top: 48px; font-size: 11px; }
  .activity { gap: 36px; }
  .activity__image img { aspect-ratio: 1.15; }
  .journal__layout { gap: 26px; }
  .trends { gap: 32px; }
  .trends__figure img { max-height: 320px; }
  .requirements { padding-block: 32px; }
  .requirements__inner { grid-template-columns: 1fr; gap: 12px; }
  .site-footer { width: calc(100% - 40px); min-height: 0; padding-block: 22px 28px; flex-wrap: wrap; gap: 8px 18px; }
  .site-footer nav { order: 3; width: 100%; justify-content: space-between; }
  .site-footer nav a { min-height: 44px; }
}
@media (max-width: 380px) {
  .site-header { padding-inline: 14px; }
  .site-header nav { gap: 0; }
  .site-header nav a { padding-inline: 5px; font-size: 10px; }
  .site-header .brand { font-size: 12px; }
  .container { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
