@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f2ee;
  --ink: #0e0e10;
  --muted: #5c5c60;
  --line: #d9d7d0;
  --mark: #fff3b0;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e0e10;
    --ink: #f5f5f2;
    --muted: #9a9a9e;
    --line: #2a2a2e;
    --mark: #4a4220;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* Header */
.site-header { padding: 2.5rem 0 0; }
.site-header a { display: inline-block; }
.logo { display: block; height: 2rem; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}

/* Home */
.hero { padding: 7rem 0 5rem; }
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 1.5rem;
  max-width: 16ch;
}
.hero p { color: var(--muted); font-size: 1.1875rem; max-width: 34rem; margin: 0; }

.section { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; }
.label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-weight: 500;
}
.product h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
.product h2 a { text-decoration: none; }
.product h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.product h2 .arrow { font-size: 0.75em; margin-left: 0.25em; color: var(--muted); }
.product p { margin: 0 0 1rem; max-width: 34rem; }
.status { color: var(--muted); font-size: 0.9375rem; }
.contact a { font-size: 1.25rem; font-weight: 500; }

/* Legal pages */
.legal { padding: 4rem 0 3rem; }
.legal h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 2rem; }
.legal h2 { font-size: 1.125rem; font-weight: 600; margin: 2.25rem 0 0.5rem; }
.legal p, .legal ul { margin: 0 0 1rem; }
.legal ul { padding-left: 1.25rem; }
.legal address { font-style: normal; margin: 0 0 1rem; }
.todo { background: var(--mark); padding: 0 0.2em; border-radius: 2px; }
.notice {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0 0 2.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 3rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--ink); }
