@font-face { font-family: "Overpass"; font-weight: 800; font-display: swap; src: url("/huisarts-finder/fonts/Overpass_800ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Overpass"; font-weight: 700; font-display: swap; src: url("/huisarts-finder/fonts/Overpass_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Overpass"; font-weight: 400; font-display: swap; src: url("/huisarts-finder/fonts/Overpass_400Regular.ttf") format("truetype"); }

:root {
  --delft: #1B3A8C; --enamel: #F6F3EA; --ink: #11203F; --night: #0B1430; --open: #1E7F4F; --closed: #C23B2A; --unknown: #7C8494;
  --screw: #B9B3A0; --panel: #FFFFFF; --rule: #D5D0C0; --soft: #5A6680; --pale: #C9D3EE;
  --shade: rgb(0 0 0 / 0.28);
  --side: clamp(20px, 6vw, 88px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--enamel); color: var(--ink); font: 400 1.0625rem/1.5 "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--closed); outline-offset: 3px; }
h1, h2 { margin: 0; font-weight: 800; line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--side); background: var(--delft); color: var(--enamel); border-bottom: 2px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: clamp(1.25rem, 5.2vw, 1.625rem); line-height: 1; text-decoration: none; white-space: nowrap; }
.mark { display: block; border: 2px solid var(--enamel); }
nav { display: flex; gap: 6px; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1em; }
nav a, nav span { padding: 8px 11px 6px; border: 2px solid var(--enamel); text-decoration: none; }
nav a:hover { background: var(--ink); }
nav span { background: var(--enamel); color: var(--delft); }

/* A status sign of the app. */
.sign { display: inline-block; padding: 9px 16px 6px; font-weight: 700; font-size: 0.8125rem; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.sign.open { background: var(--open); }
.sign.closed { background: var(--closed); }
.sign.unknown { padding: 7px 26px 4px; border: 2px solid var(--unknown); color: var(--unknown); }
.sign.plain { background: var(--delft); }
.signs { display: flex; flex-wrap: wrap; gap: 10px; }
.signs .sign { box-shadow: 5px 5px 0 var(--shade); }

/* The nameplate: enamel, four screws and a hard shadow. */
.plate { display: inline-block; max-width: 100%; padding: clamp(30px, 4vw, 52px) clamp(30px, 4.4vw, 60px) clamp(26px, 3.4vw, 44px); background: radial-gradient(circle at 18px 18px, var(--screw) 5px, transparent calc(5px + 0.5px)), radial-gradient(circle at 18px calc(100% - 18px), var(--screw) 5px, transparent calc(5px + 0.5px)), radial-gradient(circle at calc(100% - 18px) 18px, var(--screw) 5px, transparent calc(5px + 0.5px)), radial-gradient(circle at calc(100% - 18px) calc(100% - 18px), var(--screw) 5px, transparent calc(5px + 0.5px)), var(--enamel); color: var(--delft); box-shadow: 10px 10px 0 var(--shade); }
.plate .name { font-weight: 700; font-size: clamp(0.8125rem, 1.3vw, 1.0625rem); letter-spacing: 0.16em; text-transform: uppercase; }

.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); column-gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(40px, 6vw, 88px) var(--side) 0; background: var(--delft); color: var(--enamel); overflow: hidden; }
.lead { padding-bottom: clamp(44px, 6vw, 88px); }
h1 { margin-top: 14px; font-size: clamp(2.5rem, 5.6vw, 5.75rem); }
h1 span { display: block; }
.hero .signs { margin: 22px 0 0 clamp(30px, 4.4vw, 60px); }
.hero .signs .unknown, .closing .signs .unknown { border-color: var(--enamel); color: var(--enamel); }
.lede { max-width: 31em; margin-top: 30px; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); }
.show { align-self: end; }
.show .phone { margin-bottom: -14%; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-block; padding: 16px 22px 13px; border: 2px solid currentColor; font-weight: 700; line-height: 1.1; text-decoration: none; }
.button.solid { background: var(--enamel); border-color: var(--enamel); color: var(--delft); }
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--enamel); }
.note { margin-top: 18px; font-size: 0.9375rem; color: var(--pale); }

.phone { margin: 0 auto; width: min(100%, 330px); }
.phone img { display: block; width: 100%; height: auto; border: 9px solid var(--ink); border-radius: 13% / 6%; background: var(--ink); box-shadow: 12px 12px 0 var(--shade); }

/* The numbers stand in boxes like the buttons for 1, 2 and 3 km in the app. */
.strip { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--panel); }
.strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0 var(--side); list-style: none; }
.strip li { padding: clamp(22px, 3vw, 36px) clamp(12px, 2vw, 28px); border-left: 1px solid var(--rule); }
.strip li:first-child { border-left: 0; padding-left: 0; }
.strip strong { display: block; font-weight: 800; font-size: clamp(2.25rem, 5.2vw, 4.25rem); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; color: var(--delft); }
.strip span { display: block; margin-top: 8px; font-weight: 700; font-size: 0.8125rem; line-height: 1.3; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }

.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(44px, 7vw, 104px) var(--side); }
.feature + .feature { border-top: 1px solid var(--rule); }
.feature.flip .words { order: 2; }
.feature h2 { margin-top: 18px; font-size: clamp(2rem, 4.2vw, 3.75rem); color: var(--delft); }
.feature .words > p:not(.sign) { max-width: 30em; margin-top: 18px; font-size: 1.125rem; color: var(--soft); }
.feature ul { max-width: 30em; margin: 22px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding: 13px 0 10px 28px; border-top: 1px solid var(--rule); font-weight: 700; }
.feature li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 12px; background: var(--open); }

/* A stage is a plate on the wall: a flat ground with four screws. The phone stands in front of it. */
.stage { overflow: hidden; padding-top: clamp(32px, 4vw, 56px); background: radial-gradient(circle at 20px 20px, var(--screw) 6px, transparent calc(6px + 0.5px)), radial-gradient(circle at 20px calc(100% - 20px), var(--screw) 6px, transparent calc(6px + 0.5px)), radial-gradient(circle at calc(100% - 20px) 20px, var(--screw) 6px, transparent calc(6px + 0.5px)), radial-gradient(circle at calc(100% - 20px) calc(100% - 20px), var(--screw) 6px, transparent calc(6px + 0.5px)), var(--delft); }
.stage.pale { background: radial-gradient(circle at 20px 20px, var(--screw) 6px, transparent calc(6px + 0.5px)), radial-gradient(circle at 20px calc(100% - 20px), var(--screw) 6px, transparent calc(6px + 0.5px)), radial-gradient(circle at calc(100% - 20px) 20px, var(--screw) 6px, transparent calc(6px + 0.5px)), radial-gradient(circle at calc(100% - 20px) calc(100% - 20px), var(--screw) 6px, transparent calc(6px + 0.5px)), var(--rule); }
.stage.dark { background: radial-gradient(circle at 20px 20px, var(--screw) 6px, transparent calc(6px + 0.5px)), radial-gradient(circle at 20px calc(100% - 20px), var(--screw) 6px, transparent calc(6px + 0.5px)), radial-gradient(circle at calc(100% - 20px) 20px, var(--screw) 6px, transparent calc(6px + 0.5px)), radial-gradient(circle at calc(100% - 20px) calc(100% - 20px), var(--screw) 6px, transparent calc(6px + 0.5px)), var(--night); }
.stage .phone { width: min(64%, 330px); margin-bottom: -24%; }
.stage.dark .phone img { border-color: var(--enamel); }

.questions { padding: clamp(44px, 7vw, 104px) var(--side); background: var(--panel); border-top: 2px solid var(--ink); }
.questions h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); color: var(--delft); }
.questions dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); margin: clamp(20px, 3vw, 36px) 0 0; }
.questions div { padding: 20px 0; border-top: 1px solid var(--rule); }
dt { font-weight: 700; font-size: clamp(1.1875rem, 1.8vw, 1.375rem); line-height: 1.2; }
dd { margin: 8px 0 0; color: var(--soft); }

.closing { padding: clamp(56px, 8vw, 112px) var(--side); background: var(--delft); color: var(--enamel); }
.closing h2 { margin-top: 14px; font-size: clamp(2.25rem, 5vw, 4.75rem); }
.closing .signs { margin: 22px 0 0 clamp(30px, 4.4vw, 60px); }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px var(--side) 40px; background: var(--ink); font-size: 0.9375rem; color: var(--pale); }

@media (max-width: 820px) {
  .top { gap: 10px; }
  .brand { gap: 9px; font-size: 1.125rem; }
  .mark { width: 34px; height: 34px; }
  nav { gap: 4px; font-size: 0.8125rem; }
  nav a, nav span { padding: 7px 8px 5px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .lead { padding-bottom: 40px; }
  .show .phone { width: min(66%, 290px); }
  h1 { font-size: clamp(2.125rem, 10.5vw, 4.5rem); }
  .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .strip li, .strip li:first-child { padding-left: var(--side); border-top: 1px solid var(--rule); }
  .strip li:nth-child(odd) { border-left: 0; }
  .strip li:nth-child(-n + 2) { border-top: 0; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .words { order: 0; }
  .questions dl { grid-template-columns: minmax(0, 1fr); }
}
