:root {
  --coral: #ff4d2d;
  --ink: #1a1412;
  --canvas: #f6f4f2;
  --card: #ffffff;
  --text: #1a1412;
  --muted: #5f554f;
  --line: #e6dfdb;
  --wash: #fff0ec;
  --track: #f0e6e2;
  --shadow: 0 1px 0 rgba(26, 20, 18, 0.04);
  --header: rgba(246, 244, 242, 0.88);
  color-scheme: light;
  font-family: "Figtree", "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--text);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #12100f;
    --card: #1c1917;
    --text: #f7f3f0;
    --muted: #c4b8b2;
    --line: #3a332f;
    --wash: #2c1814;
    --track: #3a2a26;
    --shadow: none;
    --header: rgba(18, 16, 15, 0.88);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --canvas: #12100f;
  --card: #1c1917;
  --text: #f7f3f0;
  --muted: #c4b8b2;
  --line: #3a332f;
  --wash: #2c1814;
  --track: #3a2a26;
  --shadow: none;
  --header: rgba(18, 16, 15, 0.88);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --canvas: #f6f4f2;
  --card: #ffffff;
  --text: #1a1412;
  --muted: #5f554f;
  --line: #e6dfdb;
  --wash: #fff0ec;
  --track: #f0e6e2;
  --shadow: 0 1px 0 rgba(26, 20, 18, 0.04);
  --header: rgba(246, 244, 242, 0.88);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--coral);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  flex: none;
}

.mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  flex: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 18px;
  min-height: 40px;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--coral);
}

.hero {
  padding: 72px 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--text);
  background: var(--wash);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.85rem;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  max-width: 12ch;
}

.lede {
  max-width: 42rem;
  margin: 18px 0 0;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 600;
}

.tagline {
  margin: 22px 0 0;
  font-weight: 800;
  font-size: 1.05rem;
}

section {
  padding: 28px 0;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.section-intro {
  margin: 0 0 18px;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 14px;
}

.strengths {
  grid-template-columns: 1fr 1fr;
}

.card,
.format,
.device,
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
}

.card h3,
.format h3,
.device h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p,
.device p,
.format p,
.who p,
.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.devices {
  grid-template-columns: 1fr 1fr;
}

.device {
  padding: 22px;
}

.device.tablet {
  background: var(--wash);
}

.device .label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
}

.who {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}

.who ul {
  margin: 0;
  padding: 18px 18px 18px 36px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  padding: 18px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--coral);
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.step strong {
  display: block;
  margin-bottom: 4px;
}

.formats {
  display: grid;
  gap: 14px;
}

.format {
  padding: 22px 22px 8px;
  border-top: 6px solid var(--accent, var(--coral));
}

.format header p {
  margin-top: 8px;
  max-width: 46rem;
}

.format dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 16px;
  margin: 16px 0 14px;
}

.format dt {
  font-weight: 800;
  font-size: 0.92rem;
}

.format dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.format ul {
  margin: 0;
  padding-left: 1.1rem;
}

.format li + li {
  margin-top: 4px;
}

.site-footer {
  padding: 36px 20px 48px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 10px 0 0;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.legal {
  padding: 48px 0 12px;
}

.legal h1 {
  margin: 0 0 8px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.legal h1 + .updated {
  margin-bottom: 28px;
}

.legal h1.follows {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.legal .updated {
  margin: 0 0 28px;
  color: var(--muted);
}

.legal h2 {
  margin: 32px 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.legal p,
.legal li {
  max-width: 42rem;
  line-height: 1.55;
}

.legal ul {
  margin: 8px 0 0;
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 6px;
}

@media (max-width: 860px) {
  .site-header .wrap {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .strengths,
  .devices,
  .who,
  .steps {
    grid-template-columns: 1fr;
  }

  .format dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .format dl div,
  .format dl {
    display: block;
  }

  .format dt {
    margin-top: 12px;
  }
}
