/* Wood Care Guide landing. Palette "Lichen and clay" and the growth-ring motif come from the app and its store graphics. */

@font-face { font-family: "Familjen Grotesk"; src: url("/assets/fonts/FamiljenGrotesk_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Familjen Grotesk"; src: url("/assets/fonts/FamiljenGrotesk_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Familjen Grotesk"; src: url("/assets/fonts/FamiljenGrotesk_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Familjen Grotesk"; src: url("/assets/fonts/FamiljenGrotesk_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ground: #eef0ea;
  --surface: #ffffff;
  --ink: #1e231c;
  --muted: #555d4e;
  --line: #cbd1c0;
  --moss: #566422;
  --moss-deep: #3f4a1f;
  --moss-tint: #dfe6c8;
  --ring-a: #dce3c6;
  --ring-b: #e4e9d6;
  --clay: #bf5b34;
  --clay-text: #a34a27;
  --clay-bright: #e0714a;
  --ochre: #8a6a12;
  --brick: #a1302a;
  --gutter: 20px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Familjen Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

a { color: var(--moss-deep); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { color: var(--clay-text); }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 20; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 6px; }
.skip:focus { top: 12px; color: #fff; }

.label, .eyebrow, .minor {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.label { margin-bottom: 18px; }
.label--light { color: var(--moss-tint); }
.minor { margin: 40px 0 14px; color: var(--muted); }

.intro { margin-top: 20px; max-width: 38rem; font-size: 1.1875rem; line-height: 1.5; color: var(--muted); }

.textlink { display: inline-block; padding: 10px 0; font-weight: 600; }
.textlink::after { content: " \2192"; }

.caveat {
  margin-top: 28px;
  padding: 14px 18px;
  max-width: 44rem;
  border-left: 5px solid var(--clay);
  background: var(--surface);
  font-size: 1rem;
}

/* Header */

.top { position: relative; z-index: 5; background: var(--ground); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }

.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.brand:hover { color: var(--moss-deep); }
.brand--light, .brand--light:hover { color: #fff; }

.top__nav ul { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0 -10px; }
.top__nav a { display: block; padding: 11px 10px; color: var(--ink); font-weight: 500; font-size: 1rem; text-decoration: none; }
.top__nav a:hover { color: var(--moss-deep); text-decoration: underline; }
.top__nav a[aria-current="page"] { color: var(--moss-deep); font-weight: 700; box-shadow: inset 0 -3px 0 var(--clay); }

/* Google Play button */

.play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 2px solid var(--moss-deep);
  border-radius: 8px;
  background: var(--moss-deep);
  color: #fff;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
}
a.play:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.play--pending { background: transparent; border-style: dashed; color: var(--moss-deep); cursor: default; }

/* Rings motif */

.rings { position: absolute; z-index: 0; max-width: none; pointer-events: none; }
.rings__r { stroke: var(--ring-a); }
.rings__r:nth-of-type(even) { stroke: var(--ring-b); }
.rings__pith { fill: var(--moss); }

.state { width: 100%; height: auto; }
.state__track { stroke: var(--ring-a); }
.state--ok .state__arc { stroke: var(--moss); }
.state--soon .state__arc { stroke: var(--ochre); }
.state--due .state__arc { stroke: var(--clay); }
.state--over .state__arc { stroke: var(--brick); }

/* App screens: real screenshots, ink outline, no phone frame */

.screen { position: relative; z-index: 1; }
.screen__glass { overflow: hidden; border: 3px solid var(--ink); border-radius: 30px; background: var(--ground); }
.screen__glass img { width: 100%; }
.screen figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--muted); }
.screen--crop .screen__glass { aspect-ratio: 720 / 1150; }
.screen--crop img { height: 100%; object-fit: cover; object-position: top; }

/* Hero */

.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.rings--hero { width: 760px; height: 760px; right: -380px; top: -350px; }
.rings--hero .rings__r--1 { stroke: var(--clay); }
.hero__in { position: relative; z-index: 1; padding-top: 40px; }
.hero .eyebrow { max-width: 14rem; }
.hero h1 { margin-top: 28px; font-size: clamp(2.5rem, 10.5vw, 4.6rem); }
.hero__lead { margin-top: 22px; max-width: 34rem; font-size: 1.1875rem; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 28px; }
.hero__note { margin-top: 10px; max-width: 30rem; font-size: 0.9375rem; color: var(--muted); }
.hero__tasks { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; }
.hero__tasks li { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss-deep); }
.hero__tasks .state { width: 30px; }
.screen--hero { margin: 44px auto 0; max-width: 400px; }
.screen--hero .screen__glass { aspect-ratio: 720 / 1040; border-bottom: 0; border-radius: 30px 30px 0 0; }
.screen--hero img { height: 100%; object-fit: cover; object-position: top; }
.screen--hero figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Facts strip */

.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts__in { display: grid; grid-template-columns: repeat(2, 1fr); }
.facts__in > div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.facts__in > div:nth-last-child(-n + 2) { border-bottom: 0; }
.facts dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin-top: 2px; font-weight: 600; line-height: 1.3; }

/* Sections */

/* Grid children may shrink below their content, so wide tables scroll inside their own box. */
.plan__in > *, .states__in > *, .due__in > *, .problem__in > *, .calc__in > *, .library__in > *, .also__in > *, .private__in > *, .doc__in > *, .hero__in > * { min-width: 0; }

.plan, .states, .problem, .calc, .library, .also, .private { padding: 72px 0; }

.plan__in { display: grid; gap: 36px; }
.plan__shot { max-width: 320px; margin: 0 auto; width: 100%; }

.tasks { border-top: 2px solid var(--ink); }
.tasks li { display: grid; grid-template-columns: 3rem 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tasks__n { grid-row: span 2; font-weight: 700; font-size: 1.125rem; color: var(--clay-text); }
.tasks p { grid-column: 2; color: var(--muted); }

.intervals { margin-top: 48px; }
.intervals__note { margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }
.intervals__scroll { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.intervals table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.intervals th, .intervals td { padding: 11px 7px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.intervals tr:last-child th, .intervals tr:last-child td { border-bottom: 0; }
.intervals thead th { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); vertical-align: bottom; line-height: 1.3; }
.intervals th:first-child { text-align: left; padding-left: 12px; }
.intervals th:last-child, .intervals td:last-child { padding-right: 12px; }
.intervals tbody th { font-weight: 600; line-height: 1.25; }
.intervals td { font-weight: 500; }

.points { display: grid; gap: 28px; margin-top: 48px; }
.points h3 { padding-top: 14px; border-top: 2px solid var(--ink); }
.points p { margin-top: 8px; color: var(--muted); font-size: 1rem; }

.states { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.states__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 20px; margin-top: 44px; }
.states__item .state { width: 96px; margin-bottom: 18px; }
.states__item h3 { font-size: 1.375rem; font-weight: 700; }
.states__item--ok h3 { color: var(--moss-deep); }
.states__item--soon h3 { color: var(--ochre); }
.states__item--due h3 { color: var(--clay-text); }
.states__item--over h3 { color: var(--brick); }
.states__item p { margin-top: 6px; color: var(--muted); font-size: 1rem; }

.due { position: relative; overflow: hidden; padding: 72px 0; background: var(--moss-deep); color: #f4f6ee; }
.rings--due { width: 1500px; height: 1500px; right: -750px; top: -500px; }
.rings--due .rings__r, .rings--due .rings__r:nth-of-type(even) { stroke: #4a5626; }
.rings--due .rings__pith { fill: #4a5626; }
.due__in { position: relative; z-index: 1; display: grid; gap: 44px; }
.due .intro { color: #dde3cd; }
.due__places { margin-top: 32px; border-top: 1px solid #6b7648; }
.due__places li { padding: 16px 0; border-bottom: 1px solid #6b7648; }
.due__places h3 { color: #fff; }
.due__places p { margin-top: 4px; color: #dde3cd; font-size: 1rem; }
.due__shots { display: flex; gap: 16px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
.due__shots .screen { flex: 0 0 64%; max-width: 280px; scroll-snap-align: center; }
.due__shots .screen__glass { border-color: #14180f; }
.due__shots figcaption { color: #dde3cd; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8125rem; }

.problem__in { display: grid; gap: 40px; }
.problem__shot { max-width: 320px; margin: 0 auto; width: 100%; }
.damage { counter-reset: damage; border-top: 2px solid var(--ink); }
.damage li { counter-increment: damage; display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.damage li::before { content: counter(damage, decimal-leading-zero); flex: 0 0 1.75rem; color: var(--clay-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.verdicts { display: grid; gap: 8px; }
.verdicts__v { padding: 10px 16px; border-left: 5px solid var(--moss); background: var(--surface); font-weight: 600; }
.verdicts__v--soon { border-color: var(--ochre); }
.verdicts__v--over { border-color: var(--brick); }
.keeps { padding: 24px; background: var(--moss-tint); border-radius: 10px; }
.keeps h3 { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss-deep); }
.keeps ul { margin-top: 12px; display: grid; gap: 12px; }
.keeps li { position: relative; padding-left: 26px; }
.keeps li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 12px; height: 12px; border: 3px solid var(--clay); border-radius: 50%; }

.calc { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc__in { display: grid; gap: 40px; }
.calc__work .minor { margin-top: 0; }
.calc__inputs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.calc__inputs > div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.calc__inputs dt, .calc__result dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.calc__inputs dd { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
.calc__sum { margin: 28px 0; padding-left: 18px; border-left: 8px solid var(--clay); font-size: clamp(1.5rem, 6.4vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc__result { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; padding: 24px; background: var(--moss-deep); border-radius: 12px; color: #fff; }
.calc__result dt { color: var(--moss-tint); }
.calc__result dd { margin-top: 2px; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.calc__range { margin-top: 20px; max-width: 44rem; }
.calc .caveat { background: var(--ground); margin-top: 18px; }
.calc__more { margin-top: 18px; max-width: 44rem; color: var(--muted); font-size: 1rem; }
.calc__shot { max-width: 320px; margin: 0 auto; width: 100%; }

.shelf { margin-top: 40px; border-top: 2px solid var(--ink); }
.shelf li { display: grid; grid-template-columns: 5.5rem 1fr; align-items: baseline; gap: 6px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.shelf__n { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; color: var(--moss); }
.shelf h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.shelf p { grid-column: 1 / -1; color: var(--muted); }

.also { padding-top: 0; }
.also__in { display: grid; gap: 32px; }
.also__list { border-top: 2px solid var(--ink); }
.also__list > div { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.also__list dt { font-weight: 700; }
.also__list dd { color: var(--muted); }

.private { background: var(--moss-tint); }
.private__in { display: grid; gap: 32px; }
.private header .textlink { margin-top: 12px; }
.private__points { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.private__points li { padding: 14px 0; border-bottom: 1px solid #b9c39c; font-weight: 500; }
.warning { padding: 22px 24px; background: var(--surface); border-left: 6px solid var(--brick); border-radius: 0 10px 10px 0; align-self: start; }
.warning h3 { color: var(--brick); font-size: 1.25rem; font-weight: 700; }
.warning p { margin-top: 8px; }

.closing { position: relative; overflow: hidden; padding: 88px 0 96px; text-align: center; }
.rings--closing { width: 1400px; height: 1400px; left: 50%; top: 58%; margin-left: -700px; }
.rings--closing .rings__pith { display: none; }
.closing__in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; }
.closing h2 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
.closing p { max-width: 30rem; font-size: 1.1875rem; }
.closing .play { margin-top: 10px; background-color: var(--moss-deep); }
.closing .play--pending { background: var(--ground); }
.closing__mail { font-size: 1rem !important; }

/* Footer */

.foot { background: var(--ink); color: #d9dece; padding: 56px 0 40px; font-size: 1rem; }
.foot a { color: #fff; }
.foot a:hover { color: var(--moss-tint); }
.foot__in { display: grid; gap: 32px; }
.foot__brand p { margin-top: 12px; max-width: 22rem; }
.foot__ver { color: #aab19b; font-size: 0.9375rem; }
.foot__col h2 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #aab19b; margin-bottom: 10px; }
.foot__col li a { display: inline-block; padding: 9px 0; }
.foot__col p { max-width: 22rem; }
.foot__mail { display: inline-block; padding: 10px 0; font-weight: 600; overflow-wrap: anywhere; }
.foot__small { padding-top: 20px; border-top: 1px solid #3c4337; color: #aab19b; font-size: 0.9375rem; max-width: none; }
.foot__legal { padding-top: 0; border-top: 0; }

/* Document pages: privacy, support, changelog */

.doc__head { position: relative; overflow: hidden; padding: 48px 0 44px; border-bottom: 2px solid var(--ink); }
.doc__head .wrap { position: relative; z-index: 1; }
.rings--doc { width: 620px; height: 620px; right: -310px; top: -300px; }
.rings--doc .rings__r--1 { stroke: var(--clay); }
.doc__head .label { max-width: 14rem; }
.doc__head h1 { font-size: clamp(2.5rem, 7vw, 4.25rem); }
.doc__lead { margin-top: 18px; max-width: 40rem; font-size: 1.1875rem; line-height: 1.5; color: var(--muted); }

.doc__in { display: grid; gap: 40px; padding-top: 44px; padding-bottom: 80px; }
.doc__body { min-width: 0; }

.brief { padding: 22px 24px; background: var(--moss-deep); color: #fff; border-radius: 12px; }
.brief h2 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss-tint); line-height: 1.4; }
.brief ul { margin-top: 12px; display: grid; gap: 10px; }
.brief li { position: relative; padding-left: 24px; }
.brief li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 11px; height: 11px; border: 3px solid var(--clay-bright); border-radius: 50%; }
.brief p { margin-top: 12px; }
.brief .mail { color: #fff; font-size: 1.1875rem; font-weight: 700; overflow-wrap: anywhere; display: inline-block; padding: 6px 0; }
.brief__note { color: #dde3cd; font-size: 0.9375rem; }
.brief dl { margin-top: 18px; padding-top: 14px; border-top: 1px solid #6b7648; }
.brief dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss-tint); }
.brief dd { font-size: 1.5rem; font-weight: 700; }

.toc { margin-top: 28px; }
.toc h2 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.toc ol { margin-top: 8px; counter-reset: toc; border-top: 1px solid var(--line); }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.toc a { display: flex; gap: 12px; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.toc a::before { content: counter(toc); flex: 0 0 1.25rem; color: var(--clay-text); font-weight: 700; }
.toc a:hover { color: var(--moss-deep); text-decoration: underline; }

.clause { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.clause:first-child { padding-top: 0; border-top: 0; }
.clause h2 { display: flex; gap: 14px; align-items: baseline; font-size: 1.625rem; letter-spacing: -0.02em; line-height: 1.15; }
.clause__n { flex: 0 0 auto; min-width: 1.5rem; color: var(--clay-text); }
.clause p, .clause ul, .clause table { margin-top: 14px; max-width: 44rem; }
.clause ul { display: grid; gap: 10px; }
.clause li { position: relative; padding-left: 24px; }
.clause li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 3px; background: var(--moss); }
.mail { font-weight: 700; font-size: 1.125rem; overflow-wrap: anywhere; }
.clause .mail { display: inline-block; padding: 8px 0; }

.clause__table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); font-size: 1rem; }
.clause__table thead { display: none; }
.clause__table tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.clause__table tr:last-child { border-bottom: 0; }
.clause__table td { display: block; padding: 3px 0; }
.clause__table td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.clause__table td:first-child { font-weight: 600; }
.clause__table td:first-child::before { display: none; }

.faq { padding-bottom: 36px; }
.faq h2 { font-size: 1.625rem; letter-spacing: -0.02em; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 16px 40px 16px 0; font-weight: 600; font-size: 1.125rem; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 1.3rem; width: 16px; height: 16px; border: 4px solid var(--moss); border-radius: 50%; }
.faq details[open] summary::after { border-color: var(--clay); border-right-color: transparent; transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; max-width: 44rem; display: grid; gap: 10px; color: var(--muted); }

.log { padding-top: 48px; padding-bottom: 88px; }
.log__release { display: grid; gap: 24px; }
.log__ver { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; align-items: center; align-content: start; align-self: start; }
.log__ver .state { grid-row: span 2; }
.log__ver h2 { font-size: 2.5rem; }
.log__ver p { color: var(--muted); }
.log__release ul { border-top: 2px solid var(--ink); max-width: 44rem; }
.log__release li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }

.lost { position: relative; overflow: hidden; padding: 96px 0 120px; }
.rings--lost { width: 620px; height: 620px; right: -310px; top: -300px; }
.rings--lost .rings__r--1 { stroke: var(--clay); }
.lost__in { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; }
.lost .label { margin: 0; font-size: 1rem; color: var(--clay-text); }
.lost h1 { font-size: clamp(2.5rem, 7vw, 4.25rem); max-width: 14ch; }
.lost p { max-width: 30rem; }

/* Wider screens */

@media (min-width: 620px) {
  :root { --gutter: 32px; }
  .facts__in { grid-template-columns: repeat(3, 1fr); }
  .facts__in > div:nth-last-child(-n + 3) { border-bottom: 0; }
  .states__list { grid-template-columns: repeat(4, 1fr); }
  .points { grid-template-columns: repeat(3, 1fr); }
  .intervals table { font-size: 1rem; }
  .intervals th, .intervals td { padding: 11px 12px; }
  .intervals thead th { font-size: 0.75rem; letter-spacing: 0.08em; }
  .intervals tbody th { white-space: nowrap; }
  .damage { columns: 2; column-gap: 32px; }
  .damage li { break-inside: avoid; }
  .calc__inputs { grid-template-columns: repeat(4, 1fr); }
  .also__list > div { grid-template-columns: 13rem 1fr; }
  .shelf li { grid-template-columns: 6.5rem 12rem 1fr; }
  .shelf p { grid-column: auto; }
  .foot__in { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .foot__small { grid-column: 1 / -1; }
  .due__shots .screen { flex-basis: 40%; }
  .clause__table thead { display: table-header-group; }
  .clause__table tr { display: table-row; padding: 0; }
  .clause__table td, .clause__table th { display: table-cell; padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
  .clause__table tr:last-child td { border-bottom: 0; }
  .clause__table th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
  .clause__table td::before { display: none; }
  .log__release { grid-template-columns: 16rem 1fr; }
}

@media (min-width: 960px) {
  .plan, .states, .problem, .calc, .library, .private, .due { padding: 112px 0; }
  .also { padding: 0 0 112px; }

  .rings--hero { width: 1700px; height: 1700px; right: -850px; top: -820px; }
  .rings--hero .rings__r--1 { stroke: var(--ring-a); }
  .rings--hero .rings__r--4 { stroke: var(--clay); }
  .hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: end; padding-top: 72px; }
  .hero__text { padding-bottom: 72px; }
  .hero .eyebrow { max-width: none; }
  .hero h1 { font-size: clamp(3rem, 5.1vw, 4.6rem); }
  .hero h1 span { display: block; }
  .hero__lead { font-size: 1.3125rem; }
  .hero__tasks { margin-top: 56px; }
  .screen--hero { margin: 0; max-width: none; }
  .screen--hero .screen__glass { aspect-ratio: 720 / 1230; }

  .facts__in { grid-template-columns: repeat(6, 1fr); }
  .facts__in > div { padding: 20px 16px; border-bottom: 0; border-left: 1px solid var(--line); }
  .facts__in > div:first-child { padding-left: 0; border-left: 0; }

  .plan__in { grid-template-columns: 340px minmax(0, 1fr); gap: 56px 88px; }
  .plan__head { grid-column: 1 / -1; max-width: 52rem; }
  .plan__shot { position: sticky; top: 24px; align-self: start; max-width: none; }

  .states__in { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .states__list { margin-top: 8px; gap: 24px; }
  .states__item .state { width: 112px; }

  .due__in { gap: 72px; }
  .due__text { display: grid; grid-template-columns: 5fr 6fr; column-gap: 88px; align-items: start; }
  .due__text > * { grid-column: 1; }
  .due__places { grid-column: 2; grid-row: 1 / span 3; margin-top: 8px; }
  .due__shots { margin: 0; padding: 0; overflow: visible; gap: 40px; align-items: flex-start; }
  .due__shots .screen { flex: 1 1 0; max-width: none; }
  .due__shots .screen:nth-child(2) { margin-top: 48px; }
  .due__shots .screen:nth-child(3) { margin-top: 96px; }

  .problem__in { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px 88px; align-items: start; }
  .problem__shot { grid-row: span 2; max-width: none; }

  .calc__in { grid-template-columns: 340px minmax(0, 1fr); gap: 56px 88px; }
  .calc__head { grid-column: 1 / -1; max-width: 52rem; }
  .calc__shot { order: -1; grid-row: 2; max-width: none; }
  .calc__work { grid-row: 2; }
  .calc__result { grid-template-columns: repeat(4, auto); justify-content: space-between; padding: 28px 32px; }

  .library__in { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
  .shelf { margin-top: 0; }
  .shelf__n { font-size: 4.5rem; }

  .also__in { grid-template-columns: 4fr 8fr; gap: 64px; }
  .also h2 { font-size: 2.25rem; }

  .private__in { grid-template-columns: 4fr 4fr 4fr; gap: 48px; align-items: start; }
  .private h2 { font-size: 2.5rem; }

  .closing { padding: 136px 0 150px; }

  .rings--doc { width: 1100px; height: 1100px; right: -480px; top: -520px; }
  .rings--doc .rings__r--1 { stroke: var(--ring-a); }
  .rings--doc .rings__r--2 { stroke: var(--clay); }
  .rings--lost { width: 1100px; height: 1100px; right: -480px; top: -420px; }
  .rings--lost .rings__r--1 { stroke: var(--ring-a); }
  .rings--lost .rings__r--2 { stroke: var(--clay); }
  .doc__head { padding: 80px 0 64px; }
  .doc__head .label { max-width: none; }
  .doc__in { grid-template-columns: 320px minmax(0, 1fr); gap: 88px; padding-top: 64px; padding-bottom: 120px; }
  .doc__in--flip { grid-template-columns: minmax(0, 1fr) 340px; }
  .doc__side { position: sticky; top: 24px; align-self: start; }
  .log__release { grid-template-columns: 20rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
