:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #291921;
  --muted: #59454f;
  --accent: #79283f;
  --accent-hover: #5c1a30;
  --blush: #faf3f5;
  --line: #e8d9e0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; text-align: center; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 2 * clamp(18px, 6vw, 64px), 1040px); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; padding: 8px 12px; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid transparent; }
.header-inner { display: flex; flex-direction: column; align-items: center; padding-bottom: 4px; }
.brand { display: inline-flex; }
.brand img { display: block; width: 104px; height: 78px; object-fit: contain; }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 20px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.hero {
  --hero-inset: clamp(30px, 5vw, 52px);
  padding-block: var(--hero-inset);
  background-color: #241317;
  background-image:
    linear-gradient(
      to bottom,
      var(--paper),
      transparent var(--hero-inset),
      transparent calc(100% - clamp(48px, 8vw, 84px)),
      var(--paper)
    ),
    linear-gradient(180deg, rgb(25 12 16 / 78%), rgb(25 12 16 / 58%) 46%, rgb(25 12 16 / 24%)),
    url("assets/homepage-lounge.jpg");
  background-position: center, center, 65% center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-inner { display: grid; justify-items: center; gap: 26px; }
.hero h1 { color: #fff8f3; max-width: 19ch; margin-inline: auto; font-weight: 700; font-size: clamp(40px, 6.3vw, 70px); line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.lead { max-width: 44ch; margin: 16px auto 0; color: #fff0e8; font-size: clamp(17px, 2.5vw, 20px); }
.primary { display: inline-flex; align-items: center; min-height: 46px; margin-top: 20px; padding: 8px 20px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 650; text-decoration: none; }
.primary:hover { background: var(--accent-hover); }
.hero .primary:focus-visible { outline-color: #fff8f3; }
.preview-note { margin-top: 9px; font-size: 13px; color: #fff0e8; }
.sample-post { width: min(100%, 520px); background: var(--blush); border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px, 3vw, 24px); }
.sample-header { display: grid; gap: 7px; justify-items: center; margin-bottom: 12px; }
.sample-header strong, .sample-header div span { display: block; }
.sample-header div span { color: var(--muted); font-size: 13px; }
.sample-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #efdee6; color: var(--accent); font-weight: 700; }
.sample-post h2 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 7px; }
.sample-post > p { font-size: 15px; }
.sample-post .sample-boundaries { color: var(--muted); border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; font-size: 13px; }
.sample-boundaries strong { display: block; font-weight: 650; }
.sample-link { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; font-size: 14px; font-weight: 650; }
.page-content { border-top: 1px solid transparent; padding-bottom: 24px; }
.content-section { display: grid; justify-items: center; gap: 14px; padding: clamp(24px, 5vw, 42px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 18px; }
.content-section h2 { font-size: clamp(23px, 3vw, 30px); line-height: 1.22; letter-spacing: -.025em; }
.content-section p { color: var(--muted); max-width: 65ch; margin-inline: auto; }
.content-section p + p { margin-top: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { counter-increment: steps; padding: clamp(14px, 2.5vw, 22px); border: 1px solid var(--line); border-radius: 14px; background: var(--blush); }
.steps h3::before { content: counter(steps) ". "; color: var(--accent); }
.steps h3 { font-size: 16px; margin-bottom: 4px; }
.content-section:last-child { border-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); background: var(--blush); }
.footer-inner { padding-block: 12px 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font-size: 14px; font-weight: 600; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { color: var(--muted); font-size: 13px; }
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .steps p { max-width: 42ch; }
  .brand img { width: 85px; height: 64px; }
  .site-header nav { column-gap: 12px; }
}
