/* White Rock Works: cool limestone, lake water, one shoreline drawing. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --stone: #e8eae3;
  --surface: #f6f7f3;
  --ink: #1b2a2f;
  --ink-soft: #4a5a5e;
  --lake: #2d6470;
  --reed: #6e7f4e;
  --line: #c9cec3;
  --rock: #fbfcf9;
  --measure: 66ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --stone: #13232a;
    --surface: #182b33;
    --ink: #e3e7e0;
    --ink-soft: #a9b5b3;
    --lake: #7fb3bc;
    --reed: #a3b57e;
    --line: #2c434c;
    --rock: #d9ddd4;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --stone: #13232a;
  --surface: #182b33;
  --ink: #e3e7e0;
  --ink-soft: #a9b5b3;
  --lake: #7fb3bc;
  --reed: #a3b57e;
  --line: #2c434c;
  --rock: #d9ddd4;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: var(--lake); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lake); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 32px, 960px); margin-inline: auto; }

/* Header */
.site-head { padding-block: 22px; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 22px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

/* Hero: the name is the page */
.hero { padding-block: 72px 0; }
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 11vw, 8.25rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 9ch;
}
.hero p { margin: 28px 0 0; max-width: 34ch; font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--ink-soft); line-height: 1.45; }

/* The shoreline drawing: rock on the water, full bleed */
.shore { display: block; width: 100%; height: auto; margin-top: 56px; }
.shore .water { stroke: var(--lake); }
.shore .rock { fill: var(--rock); stroke: var(--ink); }
.shore .ripple { stroke: var(--lake); opacity: 0.55; }
.shore .reeds { stroke: var(--reed); }

/* Sections */
main section { padding-block: 64px 8px; }
h2 { font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 20px; font-weight: 700; }
h3 { font-size: 1.15rem; margin: 32px 0 6px; letter-spacing: -0.01em; }
p, li { max-width: var(--measure); }

.makes { margin: 0; display: grid; grid-template-columns: 9rem 1fr; border-top: 1px solid var(--line); }
.makes dt, .makes dd { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.makes dt { font-weight: 700; }
.makes dd { color: var(--ink-soft); }
@media (max-width: 560px) {
  .makes { grid-template-columns: 1fr; }
  .makes dt { padding-bottom: 0; border-bottom: 0; }
  .makes dd { padding-top: 4px; }
}


/* Document pages (privacy, support) */
.doc { padding-block: 48px 24px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 10px; }
.doc .updated { color: var(--ink-soft); margin: 0 0 36px; }
.doc h2 { margin-top: 44px; font-size: 1.3rem; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.note { background: var(--surface); border-left: 3px solid var(--lake); padding: 14px 18px; max-width: var(--measure); }

/* Footer */
.site-foot { margin-top: 80px; padding-block: 28px 40px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.95rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.site-foot nav { display: flex; gap: 20px; }
.site-foot a { color: var(--ink-soft); }

@media (prefers-reduced-motion: no-preference) {
  .shore .ripple { animation: drift 9s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: translateX(-6px); } to { transform: translateX(6px); } }
}
