/* Matches the app palette in src/theme/variables.scss. */
:root {
  color-scheme: light dark;
  --ink: #151a19;
  --muted: #5d6a63;
  --paper: #f2f4f0;
  --surface: #ffffff;
  --link: #1f7a3b;
  --note-deep: #14552a;
  --line: #dde3dc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e7ece8;
    --muted: #93a199;
    --paper: #0d1110;
    --surface: #161c1a;
    --link: #3fae5e;
    --note-deep: #17622f;
    --line: #26302c;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
a { color: var(--link); text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
.wrap { width: min(70rem, calc(100% - 2rem)); margin-inline: auto; }
.bar, .footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; padding-block: 1.2rem; }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; }
nav a, .brand { text-decoration: none; font-weight: 650; }
nav a:hover, [aria-current="page"] { text-decoration: underline; }
.brand { color: var(--ink); font-size: 1.4rem; letter-spacing: -.06em; }
.brand span { color: var(--link); }
.hero { margin-block: 1rem 2rem; border-radius: 2rem; background: var(--note-deep); color: white; padding: clamp(1.5rem, 6vw, 5rem); display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 2rem; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.065em; line-height: 1.02; margin-bottom: 1.25rem; }
.hero p { max-width: 37ch; color: #e3f1e5; }
.button { display: inline-block; background: #e3f1e5; color: #151a19; padding: .65rem 1rem; border-radius: .75rem; text-decoration: none; font-weight: 750; }
.button:focus-visible { outline-color: #e3f1e5; }
.button:hover { text-decoration: underline; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.flow li { padding: .9rem 1rem; margin: 0; border: 1px solid #77ac86; border-radius: .85rem; background: #1f7a3b; }
.flow strong { display: block; color: #e3f1e5; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.card, article { background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; padding: clamp(1.25rem, 4vw, 3rem); }
.card p { margin-bottom: 0; color: var(--muted); }
article { max-width: 49rem; margin: 1rem auto 2rem; overflow-wrap: anywhere; }
article h1 { font-size: clamp(2.25rem, 5vw, 3.65rem); }
article h2 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
li + li { margin-top: .35rem; }
.footer { border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 42rem) {
  .hero, .features { grid-template-columns: 1fr; }
  .hero { border-radius: 1.25rem; }
}
