/* zorgopslag.nl — one family (Atkinson Hyperlegible, OFL), Delft blue on cool white.
   No inline styles anywhere: the CSP is default-src 'self'. */
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #1B2633;
  --ink-soft: #4A5868;
  --paper: #FFFFFF;
  --ground: #F4F6F8;
  --line: #D5DCE3;
  --delft: #1F3A93;
  --delft-dark: #162B70;
  --marigold: #E3B341;
  --sage: #86B5A2;
  --rose: #D99A9A;
  --measure: 66ch;
  --step--1: 0.889rem;
  --step-0: 1.125rem;
  --step-1: 1.333rem;
  --step-2: 1.777rem;
  --step-3: 2.369rem;
  --step-4: 3.157rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: "Atkinson", system-ui, sans-serif; font-size: var(--step-0); line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--delft); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .5rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

.wrap { width: min(72rem, 100% - 2rem); margin-inline: auto; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; padding-block: .9rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--step-1); letter-spacing: -0.01em; }
.brand img { width: 2.1rem; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; padding-block: .3rem; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--delft); }
.site-header .order { margin-left: auto; }

/* buttons */
.button { display: inline-block; background: var(--delft); color: #fff; text-decoration: none; font-weight: 700;
  padding: .7rem 1.25rem; border-radius: .4rem; border: 2px solid var(--delft); }
.button:hover { background: var(--delft-dark); border-color: var(--delft-dark); }
.button.quiet { background: transparent; color: var(--delft); }
.button.quiet:hover { background: var(--paper); }

/* type */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(var(--step-3), 5vw, var(--step-4)); max-width: 18ch; }
h2 { font-size: var(--step-3); max-width: 24ch; }
h3 { font-size: var(--step-1); }
p, ul, ol, dl, table { margin: 0 0 1.1em; }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 40ch; }
.prose { max-width: var(--measure); }
small, .note { font-size: var(--step--1); color: var(--ink-soft); }

main section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
main section + section { border-top: 1px solid var(--line); }
.page-head { padding-block: clamp(2.5rem, 6vw, 4rem) 1rem; }

/* hero: the product itself — a drive window with task folders */
.hero { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .hero { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.drive { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; }
.drive-bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: var(--step--1); }
.drive-bar strong { color: var(--ink); }
.drive ul { list-style: none; margin: 0; padding: .4rem 0; }
.drive li { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .9rem; padding: .75rem 1rem; align-items: center; }
.drive li + li { border-top: 1px solid var(--ground); }
.folder { width: 2.6rem; height: 2rem; border-radius: .25rem; position: relative; background: var(--c, var(--delft)); }
.folder::before { content: ""; position: absolute; left: 0; top: -.32rem; width: 1.1rem; height: .5rem; border-radius: .2rem .2rem 0 0; background: var(--c, var(--delft)); }
.folder.marigold { --c: var(--marigold); }
.folder.sage { --c: var(--sage); }
.folder.rose { --c: var(--rose); }
.folder.blue { --c: var(--delft); }
.drive .name { font-weight: 700; }
.drive .who { grid-column: 2; font-size: var(--step--1); color: var(--ink-soft); }
.drive-foot { padding: .7rem 1rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-soft); }

/* reasons: a plain definition list, not cards */
.reasons { display: grid; gap: 1.6rem 3rem; max-width: 60rem; }
@media (min-width: 48rem) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons dt { font-weight: 700; font-size: var(--step-1); margin-bottom: .2rem; }
.reasons dd { margin: 0; color: var(--ink-soft); max-width: 46ch; }

/* steps (a real sequence) */
.steps { counter-reset: s; list-style: none; padding: 0; max-width: var(--measure); }
.steps li { counter-increment: s; position: relative; padding-left: 3rem; margin-bottom: 1.4rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--delft); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: var(--step--1); }

/* prices */
.price-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; }
.price-big { font-size: var(--step-4); font-weight: 700; color: var(--delft); line-height: 1; }
table { border-collapse: collapse; width: 100%; max-width: 44rem; background: var(--paper); border: 1px solid var(--line); }
caption { text-align: left; font-weight: 700; padding-bottom: .5rem; }
th, td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
thead th { font-size: var(--step--1); color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }
.included { columns: 2 16rem; padding-left: 1.2rem; max-width: 52rem; }

/* footer */
.site-footer { background: var(--ink); color: #DDE3EA; padding-block: 2.5rem; font-size: var(--step--1); }
.site-footer a { color: #fff; }
.site-footer .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer p { margin: 0 0 .5rem; }

.draft { background: #FFF6DB; border: 1px solid var(--marigold); border-radius: .4rem; padding: .8rem 1rem; max-width: var(--measure); }

@media (prefers-reduced-motion: no-preference) {
  .button, .site-nav a { transition: background-color .15s, border-color .15s; }
}

.table-scroll + .table-scroll { margin-top: 2.2rem; }
/* small screens: logo and login on one row, menu below */
@media (max-width: 47.99rem) {
  .site-nav { order: 3; width: 100%; }
}
