:root {
  color-scheme: light;
  --ink: #143e35;
  --paper: #f7f5ed;
  --line: #d8dacd;
  --mute: #466054;
  --peach: #efac7d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;
  line-height: 1.8;
}
html {
  scroll-behavior: smooth;
}
a {
  color: inherit;
  text-underline-offset: 0.23em;
}
a:hover {
  color: #9a431f;
}
.wrap {
  width: min(1120px, calc(100% - 96px));
  margin: auto;
}
.bar,
.foot,
.foot nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header {
  border-bottom: 1px solid var(--line);
}
.bar {
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 730;
  letter-spacing: -0.045em;
  text-decoration: none;
}
.brand img {
  border-radius: 10px;
}
.bar nav,
.foot nav {
  font-size: 14px;
}
.bar nav a {
  text-decoration: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  padding-block: 55px 64px;
}
.format {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin: 0 0 25px;
}
.hero h1 {
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.35;
  letter-spacing: -0.065em;
  margin: 0;
  font-weight: 750;
}
.hero h1 em {
  font-style: normal;
  border-bottom: 0.09em solid var(--peach);
}
.lead {
  font-size: clamp(16px, 1.45vw, 20px);
  margin: 24px 0 32px;
  line-height: 1.95;
  color: var(--mute);
}
.action {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  border-radius: 28px;
  padding: 11px 24px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
}
.action:hover {
  color: #fff;
  background: #225446;
}
.text-link {
  margin-left: 22px;
  font-size: 14px;
}
.scene {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #b7c4af;
  isolation: isolate;
  overflow: hidden;
  min-height: 510px;
}
.waves {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-radial-gradient(
    ellipse at 98% 52%,
    transparent 0 30px,
    rgba(40, 74, 48, 0.14) 31px 32px,
    transparent 33px 49px
  );
}
figure {
  margin: 28px 0;
  width: min(53%, 237px);
  border: 5px solid #17352f;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 12px 18px 28px #173b3136;
  background: var(--paper);
}
figure img {
  width: 100%;
  display: block;
}
.how {
  padding: 60px 0 66px;
  border-top: 1px solid var(--line);
  background: #eeeee4;
}
.how h2 {
  margin: 0 0 25px;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.05em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.steps article {
  border-top: 2px solid #829380;
  padding: 18px 0 8px;
}
.steps h3 {
  font-size: 19px;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.steps p,
.note {
  margin: 0;
  color: var(--mute);
}
.note {
  font-size: 13px;
  margin: 1.3em 0 0;
}
.reading {
  max-width: 750px;
  padding: 42px 26px 70px;
  margin: auto;
}
.reading h1 {
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: -0.055em;
  margin: 0.3em 0;
}
.reading h2 {
  margin: 2em 0 0.6em;
  font-size: 22px;
  line-height: 1.5;
  border-top: 1px solid var(--line);
  padding-top: 1.3em;
}
.reading p {
  margin: 0.65em 0 1.05em;
}
.crumb,
small {
  font-size: 13px;
}
.foot {
  flex-wrap: wrap;
  padding-block: 30px;
}
.foot small {
  color: var(--mute);
}
.skip {
  position: absolute;
  top: -90px;
  z-index: 5;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 0;
}
:focus-visible {
  outline: 3px solid #be5a30;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 34px;
    gap: 30px;
  }
  .bar {
    min-height: 61px;
  }
  .format {
    margin-bottom: 15px;
  }
  .lead {
    margin: 20px 0 22px;
  }
  .scene {
    min-height: 340px;
    max-height: 460px;
  }
  .scene figure {
    width: 180px;
  }
  .how {
    padding: 35px 0;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .foot {
    align-items: flex-start;
    gap: 14px;
  }
  .foot nav {
    gap: 14px;
    flex-wrap: wrap;
  }
  .desktop {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
