/* Hallmark · shape: Workbench · genre: modern-minimal · theme: custom (after thehubs.gg, the user's reference: pale blue-white, Manrope over DM Sans, blue glow buttons, two-tone heads) · job: try · draw: ea94ad
 * hero: Stage · nav: edge-aligned · footer: index columns · imagery: screenshots 18 (the app's own screenshot tests) · signature: the app's screens stacked as floating panels with a glow, the phone changing weather by itself
 * axes: dark by default, light by choice/grotesk/blue · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H5 E4 S3 R4 V4 · weakest: S, the user asked for the reference's look on purpose; the specificity comes from the app's own screens, notifications and numbers */
/* Hallmark · waive 29 · two soft radial glows behind the hero, fixed and never animated · the user picked thehubs.gg and its glow is part of the look they asked for */
/* Hallmark · waive 38iii · the second line of each head in a dimmer ink, the reference site's signature · requested by the user as part of the thehubs.gg language for variant C */
/* Hallmark · waive 77 · the models section is a centred two-line statement at the section size with one line under it · the reference site parts its pages with exactly these centred statements */
/* Hallmark · waive 59 · the models band sits 56px under the hero, the hero's closing line rather than a new section · the user asked for the models statement to belong with the top of the page */
/* Hallmark · dismissed 40 · white on the blue button is 4.6:1 or better across its gradient; the low reading comes from the blue glow shadow outside the label */
/* Hallmark · answered F4 · C has a filled blue primary and a pale ghost button beside it, as in the reference; only the blue one is filled */
@import url("./site.css");

@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dmsans-latin.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dmsans-latin-ext.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  /* dark is the default; the light theme is the visitor's choice in the menu (html[data-theme="light"]).
     The dark values follow what Chromium's own dark mode made of the light page, which the user liked:
     a blue-grey ground, cards a step darker, the blue glows left light so they shine on the dark */
  color-scheme: dark;
  --c-bg: oklch(26.3% 0.013 258); --c-bg-2: oklch(29% 0.015 252);
  --c-ink: oklch(97% 0.004 255); --c-ink-2: oklch(82.6% 0.015 264); --c-dim: oklch(73.4% 0.014 267);
  --c-blue: oklch(56% 0.17 252); --c-blue-2: oklch(50% 0.16 254); --c-on-blue: oklch(99.3% 0.003 255);
  --c-link: oklch(68.2% 0.165 256); --c-link-2: oklch(77.9% 0.112 262);
  --c-card: oklch(23.1% 0.004 264); --c-line: oklch(32.4% 0.012 258); --c-line-strong: oklch(62% 0.018 258);
  --c-action-bg: oklch(21% 0.012 262); --c-action-bg-hover: oklch(31% 0.014 260); --c-action-ink: oklch(97% 0.004 255);
  --c-ghost-bg: oklch(21.5% 0.004 264 / 0.9); --c-ghost-bg-hover: oklch(30% 0.012 258); --c-ghost-ring: oklch(100% 0 0 / 0.1); --c-ghost-shadow: oklch(0% 0 0 / 0.25);
  --c-theme-bg: oklch(21.5% 0.006 264); --c-theme-on: oklch(36% 0.014 258);
  --c-glow-blue: oklch(86% 0.08 240 / 0.7); --c-glow-peach: oklch(32% 0.047 46 / 0.6);
  --c-halo: oklch(80% 0.1 245 / 0.55); --c-halo-2: oklch(84% 0.08 245 / 0.5);
  --c-blue-glow: oklch(56% 0.17 252 / 0.55); --c-blue-glow-hover: oklch(56% 0.17 252 / 0.65); --c-blue-shine: oklch(100% 0 0 / 0.16);
  --c-orbit-ring: oklch(56% 0.17 252 / 0.18); --c-orbit-glow: oklch(50% 0.15 252 / 0.45); --c-sat-shadow: oklch(10% 0.02 255 / 0.4);
  --c-action-shadow: oklch(0% 0 0 / 0.5);
  --c-drop: oklch(0% 0 0 / 0.45); --c-drop-near: oklch(0% 0 0 / 0.5); --c-drop-soft: oklch(0% 0 0 / 0.4);
  --c-shadow: 0 0 0 1px oklch(100% 0 0 / 0.06), 0 24px 60px -24px oklch(0% 0 0 / 0.6);
  --radius-c: 16px; --radius-c-lg: 24px;
  --n-surface: oklch(97.5% 0.006 255); --n-ink: oklch(24% 0.012 265); --n-dim: oklch(45% 0.012 265); --n-accent: oklch(56% 0.15 257);
  --n-surface-dark: oklch(26% 0.014 265); --n-ink-dark: oklch(94% 0.006 265); --n-dim-dark: oklch(76% 0.012 265);
  --n-chart-bg: oklch(32% 0.05 272); --n-chart-ink: oklch(95% 0.008 70 / 0.67); --n-chart-rule: oklch(95% 0.008 70 / 0.12); --n-bar: oklch(77% 0.11 256 / 0.95); --n-bar-light: oklch(77% 0.11 256 / 0.55);
  --color-focus: oklch(68% 0.165 256); --color-rule: var(--c-line);
}
/* the light theme: the page as it was built, pale blue-white */
:root[data-theme="light"] {
  color-scheme: light;
  --c-bg: oklch(96% 0.011 255); --c-bg-2: oklch(93.5% 0.016 255);
  --c-ink: oklch(22% 0.015 265); --c-ink-2: oklch(40% 0.015 265); --c-dim: oklch(49% 0.014 265);
  --c-link: oklch(56% 0.17 252); --c-link-2: oklch(45% 0.16 254);
  --c-card: oklch(99.3% 0.003 255); --c-line: oklch(90% 0.012 255); --c-line-strong: oklch(78% 0.02 255);
  --c-action-bg: oklch(22% 0.015 265); --c-action-bg-hover: oklch(40% 0.015 265); --c-action-ink: oklch(99.3% 0.003 255);
  --c-ghost-bg: oklch(100% 0 0 / 0.75); --c-ghost-bg-hover: oklch(99.3% 0.003 255); --c-ghost-ring: oklch(22% 0.03 265 / 0.1); --c-ghost-shadow: oklch(22% 0.03 265 / 0.06);
  --c-theme-bg: oklch(99.3% 0.003 255); --c-theme-on: oklch(91% 0.016 255);
  --c-glow-peach: oklch(91% 0.05 45 / 0.6);
  --c-sat-shadow: oklch(30% 0.08 255 / 0.25);
  --c-action-shadow: oklch(22% 0.015 265 / 0.6);
  --c-drop: oklch(30% 0.08 255 / 0.3); --c-drop-near: oklch(15% 0.04 265 / 0.45); --c-drop-soft: oklch(30% 0.08 255 / 0.2);
  --c-shadow: 0 0 0 1px oklch(22% 0.03 265 / 0.08), 0 24px 60px -24px oklch(30% 0.08 255 / 0.35);
  --color-focus: oklch(56% 0.17 252);
}

body { background: var(--c-bg); color: var(--c-ink); font-family: var(--font-body); font-size: 1rem; }
h1, h2, h3 { color: var(--c-ink); font-family: var(--font-display); font-weight: 800; }
a { color: var(--c-link); }
a:hover { color: var(--c-ink); }
.c-dim { color: var(--c-dim); }
.c-lead { margin-top: var(--space-md); font-size: 1.1875rem; line-height: 1.55; color: var(--c-ink-2); max-width: 46ch; }

/* ---------- nav: the logo and links, a dark action ---------- */
.nav { background: transparent; position: relative; z-index: var(--z-raised); }
.wordmark { color: var(--c-ink); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.wordmark:hover { color: var(--c-ink); }
.wordmark img { width: 34px; height: 34px; border-radius: 10px; box-shadow: none; }
.nav__links > a:not(.btn) { color: var(--c-ink-2); font-weight: 400; font-family: var(--font-body); font-size: 0.9375rem; }
.nav__links > a:not(.btn):hover { color: var(--c-ink); text-decoration: none; }
.nav a:focus-visible { outline-color: var(--color-focus); }
.nav__action.btn { min-height: 40px; padding: 0 var(--space-md); border-radius: 12px; background: var(--c-action-bg); color: var(--c-action-ink); box-shadow: 0 8px 20px -10px var(--c-action-shadow), inset 0 0 0 1px var(--c-ghost-ring); font-family: var(--font-body); font-weight: 700; font-size: 0.9375rem; }
.nav__action.btn:hover { --edge: 0px; background: var(--c-action-bg-hover); color: var(--c-action-ink); translate: 0 -1px; }
.nav__action.btn:active { translate: 0 1px; }
.nav__coffee.btn { gap: 6px; padding-left: 12px; background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ghost-ring); }
.nav__coffee.btn:hover { background: var(--c-ghost-bg-hover); color: var(--c-ink); }
.nav__coffee.btn, .nav__coffee.btn:hover { color: #fff; box-shadow: none; }
.nav__coffee.btn { background: #4865ee; }
.nav__coffee.btn:hover { background: #3f5ce5; }

/* light or dark: a pill of two icon buttons in the menu (in the footer on a phone, where the menu is full);
   the page is dark until the visitor picks light, and without scripts the pill is not shown */
.theme { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--c-theme-bg); box-shadow: inset 0 0 0 1px var(--c-line); }
.theme__opt { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--c-dim); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.theme__opt:hover { color: var(--c-ink); }
.theme__opt:active { translate: 0 1px; }
.theme__opt[aria-pressed="true"] { background: var(--c-theme-on); color: var(--c-ink); cursor: default; }
.theme__opt:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot .theme { display: none; margin-top: var(--space-lg); }
html:not(.js) .theme { display: none; }
@media (max-width: 40rem) { .nav .theme { display: none; } .foot .theme { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { .theme__opt { transition: none; } .theme__opt:active { translate: none; } }

/* ---------- buttons ---------- */
.c-actions { margin-top: var(--space-xl); display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.c-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-c); font: 700 1rem/1 var(--font-body); white-space: nowrap; text-decoration: none; transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.c-btn > svg { margin-right: var(--space-xs); flex: none; }
.c-btn--primary { color: var(--c-on-blue); background: linear-gradient(160deg, var(--c-blue), var(--c-blue-2)); box-shadow: 0 12px 30px -8px var(--c-blue-glow), inset 0 1px 0 var(--c-blue-shine); }
.c-btn--primary:hover { color: var(--c-on-blue); translate: 0 -1px; box-shadow: 0 16px 34px -8px var(--c-blue-glow-hover), inset 0 1px 0 var(--c-blue-shine); }
/* Kaffeknappen i Buy Me a Coffees blå (deras knapp: #5f7fff), så att den känns igen
 * (2026-11-14). Lite djupare, #4865ee, så att den vita texten klarar 4,5:1 (4,8:1;
 * #5f7fff ger 3,5:1). Samma i ljust och mörkt tema. Vår egen kopp och text, inget
 * laddas från dem. */
.c-btn--coffee { color: #fff; background: #4865ee; box-shadow: 0 12px 30px -10px rgb(72 101 238 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.25); }
.c-btn--coffee:hover { color: #fff; background: #3f5ce5; translate: 0 -1px; box-shadow: 0 16px 34px -10px rgb(72 101 238 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.25); }
.c-btn--ghost { color: var(--c-ink); font-weight: 700; background: var(--c-ghost-bg); box-shadow: inset 0 0 0 1px var(--c-ghost-ring), 0 8px 20px var(--c-ghost-shadow); }
.c-btn--ghost:hover { color: var(--c-ink); background: var(--c-ghost-bg-hover); }
.c-btn:active { translate: 0 1px; }
/* coming to Google Play: a status beside the action, not a second button, so it has no hover and no focus */
.c-soon { display: inline-flex; align-items: center; min-height: 52px; padding: 0 var(--space-lg); border: 1.5px dashed var(--c-line-strong); border-radius: var(--radius-c); font: 700 1rem/1 var(--font-body); color: var(--c-ink-2); white-space: nowrap; }
.c-btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.c-btn:disabled, .c-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* ---------- hero: text left, the app's screens floating right ---------- */
.c-hero { position: relative; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); background: radial-gradient(48% 60% at 8% 0%, var(--c-glow-blue), transparent 70%), radial-gradient(40% 55% at 96% 4%, var(--c-glow-peach), transparent 70%), var(--c-bg); }
.c-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; min-height: min(calc(100svh - var(--nav-h)), 820px); padding-block: var(--space-md) var(--space-xl); }
.c-hero h1 { font-size: clamp(2.5rem, 3vw + 1rem, 3.875rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 18ch; }
.c-note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--c-ink-2); }
/* the stage: the app first, right after the text; beside it, never over its screen, a column of what the app
   sends and shows. The notification and the widget share one left edge, the warning sits a step to the right and
   is the only card that tilts; the gaps are even and the column stays inside the phone's height */
.c-show { margin: 0; min-width: 0; }
.c-stage { position: relative; display: grid; grid-template-columns: min(330px, 46%) minmax(0, 1fr); column-gap: var(--space-md); padding-block: var(--space-lg) var(--space-md); }
.c-stage::before { content: ""; position: absolute; inset: 8% 4% 4% 0; border-radius: 50%; background: radial-gradient(closest-side, var(--c-halo), transparent); filter: blur(30px); }
.c-phone { position: relative; z-index: 2; align-self: center; margin: 0; display: grid; aspect-ratio: 824 / 1830; border-radius: 34px; overflow: hidden; box-shadow: var(--c-shadow); background: var(--c-bg-2); }
.c-phone > img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
.c-stage__side { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: var(--space-lg); }
.c-stage__side > * { margin: 0; }
.c-stage__note { width: 100%; }
.c-stage__note--evening { width: 92%; margin-left: 8%; rotate: 2deg; }
/* the warning box from the start screen, with "Read more" (the whole warning is further down the page) */
.c-warn { width: 76%; margin-left: 9%; display: grid; justify-items: center; rotate: -2deg; filter: drop-shadow(0 22px 24px var(--c-drop)); }
.c-warn img { width: 100%; height: auto; }
.c-warn .c-warn__box { width: 93.2%; }
/* the pollen sheet the pollen tile opens, on its own and tilted the other way, so it doesn't read as the warning's */
.c-pollen { width: 70%; margin-left: 18%; rotate: 1.5deg; filter: drop-shadow(0 22px 24px var(--c-drop)); }
.c-pollen img { display: block; width: 100%; height: auto; }
/* English wraps more lines in the box; a little narrower so it is as tall as the Swedish one */
html[lang="en"] .c-warn { width: 72%; }
.c-widget { width: 74%; border-radius: 22px; overflow: hidden; box-shadow: var(--c-shadow); background: var(--c-bg-2); }
.c-widget img { width: 100%; height: auto; }
.c-caption { margin-top: var(--space-xs); text-align: center; font-size: 0.8125rem; color: var(--c-dim); }

/* the notifications on the page are pictures of the .n below (notiser.mjs draws them), so browsers that darken pages
   leave them as the phone shows them; the shadow is the page's */
.n-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 22px var(--c-drop-soft)); }
/* a notification as Android shows it: the drop in a blue circle, the app's name and the time, the text, the rain chart */
.n { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: start; gap: var(--space-sm); padding: 14px 16px 16px 14px; border-radius: 26px; background: var(--n-surface); box-shadow: var(--c-shadow); text-align: left; font-family: var(--font-body); color: var(--n-ink); }
/* the same notification as the phone shows it in dark theme */
.n--dark { --n-surface: var(--n-surface-dark); --n-ink: var(--n-ink-dark); --n-dim: var(--n-dim-dark); }
.n__icon { width: 38px; height: 38px; border-radius: 50%; }
/* an everyday tip as the app's tips tile shows it: the tip's symbol and the text on the tile's soft green, no app icon or time (tips live in the app, they are not notifications) */
.n--tip { grid-template-columns: 44px minmax(0, 1fr); align-items: center; --n-surface: oklch(95% 0.045 135); }
.n--tip.n--dark { --n-surface: var(--n-surface-dark); }
.n__glyph { width: 44px; height: 44px; }
.n__tip { margin-top: 2px; font-size: 0.9375rem; line-height: 1.4; font-weight: 700; color: var(--n-ink); text-wrap: pretty; }
.n__large { width: 52px; height: 52px; margin-top: 2px; }
.n__main { min-width: 0; }
.n__head { font-size: 0.75rem; line-height: 1.3; color: var(--n-dim); }
.n__title { margin-top: 2px; font-size: 0.9375rem; line-height: 1.35; font-weight: 700; color: var(--n-ink); }
.n__text { margin-top: 2px; font-size: 0.875rem; line-height: 1.4; color: var(--n-dim); text-wrap: pretty; }
.n__pic { margin-top: var(--space-sm); }
.n-chart { display: block; width: 100%; height: auto; }
.n-chart__bg { fill: var(--n-chart-bg); }
.n-chart__rule { stroke: var(--n-chart-rule); stroke-width: 3; }
.n-chart__label { fill: var(--n-chart-ink); font: 700 32px var(--font-body); }
.n-chart__bar { fill: var(--n-bar); }
.n-chart__bar--light { fill: var(--n-bar-light); }

/* ---------- the models, as the hero's closing line ---------- */
.c-models-band { background: var(--c-bg); }
.c-hero__models { display: grid; justify-items: center; text-align: center; padding-block: var(--space-md) var(--space-2xl); }
.c-hero__models h2 { font-size: clamp(2rem, 2.2vw + 1rem, 3rem); line-height: 1.06; letter-spacing: -0.035em; max-width: 26ch; }
.c-hero__models .c-lead { max-width: 52ch; }

/* ---------- centred statement ---------- */
.c-center { padding-block: var(--section-gap) var(--section-gap-s); }
.c-center__inner { display: grid; justify-items: center; text-align: center; }
.c-center h2, .c-skies h2 { font-size: clamp(2.25rem, 2.8vw + 1rem, 3.625rem); line-height: 1.04; letter-spacing: -0.04em; max-width: 24ch; }
.c-center .c-lead, .c-skies .c-lead, .c-close .c-lead { max-width: 52ch; }
.c-models { margin-top: var(--space-lg); max-width: 60ch; font-size: var(--text-sm); color: var(--c-dim); }

/* ---------- rows: text left, the thing right ---------- */
.c-row { padding-block: var(--space-3xl); }
.c-row h2 { font-size: clamp(2.25rem, 2.8vw + 1rem, 3.625rem); line-height: 1.04; letter-spacing: -0.04em; max-width: 16ch; }
.c-row__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.c-row__visual { position: relative; display: grid; justify-items: center; align-content: center; min-height: 380px; padding-block: var(--space-xl); }
.c-row__visual::before { content: ""; position: absolute; inset: 0 10%; border-radius: 50%; background: radial-gradient(closest-side, var(--c-halo-2), transparent); filter: blur(24px); }
.c-notes { position: relative; display: grid; gap: var(--space-md); width: min(400px, 100%); }
/* the notifications on an arc around the text: the first and the last nearest it, the two in the middle a step out */
.c-notes { translate: -20px 0; }
.c-notes > :nth-child(2), .c-notes > :nth-child(3) { translate: 40px 0; }
/* tips and notifications: the text in the middle, the app's tips on its left and the notifications on its right;
   wide enough for three columns only on large screens, so the text goes on top first and then everything stacks */
.c-trio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 1fr); grid-template-areas: "tips text notes"; gap: var(--space-xl); align-items: center; }
.c-trio__text { grid-area: text; text-align: center; }
.c-trio__text h2 { margin-inline: auto; font-size: clamp(2rem, 1.6vw + 1rem, 3rem); max-width: 12ch; }
.c-trio__text .c-lead { margin-inline: auto; }
.c-trio__tips { grid-area: tips; }
.c-trio__notes { grid-area: notes; }
/* the tips mirror the notifications: the two in the middle a step out to the left */
.c-notes--tips { translate: 20px 0; }
.c-notes--tips > :nth-child(2), .c-notes--tips > :nth-child(3) { translate: -40px 0; }
@media (max-width: 85rem) {
  .c-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "text text" "tips notes"; }
  .c-trio__text h2 { max-width: 20ch; }
}
@media (max-width: 60rem) {
  .c-trio { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "tips" "notes"; }
  .c-trio__text { text-align: left; }
  .c-trio__text h2, .c-trio__text .c-lead { margin-inline: 0; }
  .c-trio__notes { padding-top: 0; }
}
.c-row__grid--figs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.c-figs { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--radius-c-lg); background: var(--c-card); box-shadow: var(--c-shadow); }
.c-figs > div { padding: var(--space-lg) var(--space-lg) var(--space-xl); border-left: 1px solid var(--c-line); }
.c-figs > div:first-child { border-left: 0; }
.c-figs dt { font: 800 3rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.c-figs dd { margin: var(--space-sm) 0 0; font-size: var(--text-sm); color: var(--c-ink-2); max-width: 16ch; }
.c-shots { margin-top: var(--space-2xl); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); align-items: stretch; }
.c-card--tiles { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column; }
.c-card--tiles img { flex: 1 1 0; min-height: 0; height: 100%; object-fit: cover; object-position: top; }
.c-card__widgets { display: grid; grid-template-columns: minmax(0, 680fr) minmax(0, 680fr) minmax(0, 320fr); gap: var(--space-md); align-items: end; }
.c-card__widgets img { border-radius: 18px; }
.c-card__cap { font-size: var(--text-sm); color: var(--c-ink-2); }
.c-card__cap b { display: block; margin-bottom: var(--space-2xs); font: 700 1.0625rem/1.3 var(--font-display); color: var(--c-ink); }
.c-card { margin: 0; padding: var(--space-sm); display: flex; flex-direction: column; border-radius: var(--radius-c-lg); background: var(--c-card); box-shadow: var(--c-shadow); }
.c-card img { width: 100%; height: auto; border-radius: 14px; }
.c-card figcaption { padding: var(--space-md) var(--space-sm) var(--space-xs); font-size: var(--text-sm); color: var(--c-ink-2); }
.c-card b { display: block; margin-bottom: var(--space-2xs); font: 700 1.0625rem/1.3 var(--font-display); color: var(--c-ink); }
/* the widgets: two thirds of the row, centred under the cards, the caption under the widgets */
.c-card.c-card--widgets { grid-column: 1 / -1; justify-self: center; width: 66.667%; gap: var(--space-md); align-items: center; padding: var(--space-md) var(--space-md) var(--space-lg); }
.c-card--widgets .c-card__widgets { width: 100%; }
.c-card--widgets .c-card__cap { align-self: stretch; padding: 0 var(--space-sm); }

/* ---------- skies ---------- */
.c-skies { padding-block: var(--space-3xl); }
.c-skygrid { list-style: none; margin: var(--space-2xl) auto 0; padding: 0 var(--gutter); max-width: var(--container); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xl) var(--space-lg); }
.c-skygrid > li { flex: 0 0 calc((100% - 4 * var(--space-lg)) / 5); min-width: 0; }
.c-skygrid figure { margin: 0; }
.c-skygrid img { width: 100%; height: auto; border-radius: var(--radius-c-lg); box-shadow: var(--c-shadow); }
.c-skygrid figcaption { margin-top: var(--space-sm); text-align: center; font: 700 1.0625rem/1.3 var(--font-display); color: var(--c-ink); }
@media (max-width: 75rem) { .c-skygrid > li { flex-basis: calc((100% - 2 * var(--space-lg)) / 3); max-width: 15rem; } }
@media (max-width: 40rem) { .c-skygrid > li { flex-basis: calc((100% - var(--space-md)) / 2); } .c-skygrid { gap: var(--space-lg) var(--space-md); } }

/* ---------- close: the icon in its orbit ---------- */
.c-close { padding-block: var(--space-3xl) var(--section-gap); background: radial-gradient(50% 45% at 50% 30%, var(--c-glow-blue), transparent 70%), var(--c-bg); }
.c-orbit { position: relative; width: 460px; height: 280px; }
.c-orbit::before { content: ""; position: absolute; inset: 24% 2%; border: 1.5px solid var(--c-orbit-ring); border-radius: 50%; rotate: -6deg; }
.c-orbit__icon { position: absolute; left: 50%; top: 50%; width: 176px; translate: -50% -50%; rotate: -8deg; border-radius: 42px; filter: drop-shadow(0 24px 40px var(--c-orbit-glow)); }
.c-orbit__sat { position: absolute; width: 60px; filter: drop-shadow(0 8px 14px var(--c-sat-shadow)); }
.c-orbit__sat--1 { right: 30px; top: 22px; width: 70px; }
.c-orbit__sat--2 { left: 34px; top: 40px; }
.c-orbit__sat--3 { right: 84px; bottom: 18px; width: 50px; }
.c-orbit__sat--4 { left: 70px; bottom: 26px; width: 54px; }
.c-huge { margin-top: var(--space-lg); font-size: clamp(3rem, 5.4vw + 0.5rem, 5.75rem); line-height: 1; letter-spacing: -0.045em; }
.c-close .c-actions { justify-content: center; }
.c-platforms { margin: var(--space-2xl) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; width: 100%; max-width: 77rem; text-align: left; }
.c-platforms > div { flex: 0 1 14.5rem; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-c); background: var(--c-card); box-shadow: var(--c-shadow); }
.c-platforms dt { font-weight: 700; color: var(--c-ink); }
.c-platforms dd { margin: var(--space-2xs) 0 0; font-size: var(--text-sm); color: var(--c-dim); }

/* ---------- footer ---------- */
.foot { background: var(--c-bg); border-top: 1px solid var(--c-line); }
.foot .wordmark { color: var(--c-ink); }
.foot__head { font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); color: var(--c-ink); }
.foot ul a { color: var(--c-ink-2); font-size: var(--text-sm); }
.foot__mark p, .foot__legal { color: var(--c-dim); }

@media (max-width: 85rem) { .c-platforms { max-width: 48rem; margin-inline: auto; } .c-platforms > div { flex-basis: calc((100% - 2 * var(--space-md)) / 3); } }
/* below 72rem the stage goes under the text, at the size it has beside it on a wide screen */
@media (max-width: 72rem) {
  .c-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .c-show { width: 100%; max-width: 46rem; justify-self: center; }
}
@media (max-width: 60rem) {
  .c-row__grid, .c-row__grid--figs { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .c-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-card--tiles { grid-column: auto; grid-row: auto; }
  /* Bilden har extra himmel under pollenrutan för den höga kolumnen; här slutar den vid rutan. */
  .c-card--tiles img { flex: none; height: auto; aspect-ratio: 824 / 1609; object-fit: cover; object-position: top; }
  .c-card.c-card--widgets { width: 100%; }
    .c-platforms { width: 100%; max-width: 24rem; }
    .c-platforms > div { flex-basis: 100%; }
}
@media (max-width: 40rem) {
  .c-shots { grid-template-columns: minmax(0, 1fr); }
  .c-notes, .c-notes > :nth-child(2), .c-notes > :nth-child(3) { translate: none; }
  .c-figs { grid-template-columns: minmax(0, 1fr); }
  .c-figs > div { border-left: 0; border-top: 1px solid var(--c-line); }
  .c-figs > div:first-child { border-top: 0; }
  .c-orbit { width: 300px; height: 200px; }
  .c-orbit__icon { width: 128px; }
}
@media (prefers-reduced-motion: reduce) { .c-btn { transition: none; } .c-btn:hover { translate: none; } }
.foot ul a { color: var(--c-ink-2); }
.foot__legal a { color: var(--c-link-2); }

/* a phone's width: the cards go under the phone, one after another, never over its screen; the warning box without its sheet */
@media (max-width: 34rem) {
  .c-stage { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); justify-items: center; padding-block: var(--space-lg) var(--space-md); }
  .c-phone { width: 72%; aspect-ratio: 824 / 1300; }
  .c-phone > img { object-position: top; }
  .c-stage__side { width: 100%; padding: 0; align-items: center; justify-content: flex-start; }
  .c-stage__note, .c-warn, .c-widget, .c-pollen { width: 92%; margin-left: 0; }
}

/* ---------- a phone: a shorter page ----------
   Testers 2026-11-15: the page is great on a computer but long on a phone (13 screens; 7 on a computer). Everything
   the wide page shows side by side stacks here, so a phone gets fewer pictures: the hero keeps a big phone and the
   cards under it but the pollen sheet, two tips and two notifications, four of the screens, and the skies as one
   phone that changes weather by itself like the hero's. Nothing to swipe (the user: visitors don't browse sideways by themselves).
   site-c-svep.css is the kept alternative, all the pictures in rows you swipe.
   Only below 40rem: the computer page stays exactly as it is. */
.c-skyloop { display: none; }
@keyframes sky-cycle-6 { 0% { opacity: 0; } 3% { opacity: 1; } 20% { opacity: 1; } 23% { opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 40rem) {
  .c-pollen { display: none; }
  .c-row, .c-skies { padding-block: var(--space-2xl); }

  /* tips and notifications: the text, then two of each */
  .c-trio { gap: var(--space-lg); }
  .c-row__visual { display: block; min-height: 0; padding-block: 0; }
  .c-row__visual::before { display: none; }
  .c-notes { width: 100%; }
  .c-notes--tips > :nth-child(n+3), .c-trio__notes .c-notes > :nth-child(even) { display: none; }

  /* the three numbers on one line */
  .c-row__grid--figs { gap: var(--space-xl); }
  .c-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c-figs > div { padding: var(--space-md) var(--space-sm) var(--space-lg); border-top: 0; border-left: 1px solid var(--c-line); }
  .c-figs > div:first-child { border-left: 0; }
  .c-figs dt { font-size: 2.25rem; }
  .c-figs dd { font-size: 0.8125rem; }

  /* the screens: the radar, hour by hour, the tiles (wind, UV, sun …) and a warning */
  .c-shots { margin-top: var(--space-xl); }
  .c-card--roads, .c-shots > .c-card--widgets { display: none; }

  /* the skies: one phone changing weather (site.js), the five in a row only on wider screens */
  .c-skygrid { display: none; }
  .c-skyloop { display: grid; width: 64%; margin: var(--space-xl) auto 0; aspect-ratio: 824 / 1100; border-radius: var(--radius-c-lg); overflow: hidden; box-shadow: var(--c-shadow); background: var(--c-bg-2); }
  .c-skyloop > img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
  /* six skies (spring with its bird only here), three seconds each, a little quicker than the hero (the user
     2026-11-15); each sky stays until the next one has faded in over it, so the change never passes through
     the dark ground */
  .c-skyloop.is-looping .sky-frame { animation-name: sky-cycle-6; animation-duration: 18s; }
  .c-skyloop.is-looping .sky-frame:nth-child(1) { animation-delay: -1s; }
  .c-skyloop.is-looping .sky-frame:nth-child(2) { animation-delay: 2s; }
  .c-skyloop.is-looping .sky-frame:nth-child(3) { animation-delay: 5s; }
  .c-skyloop.is-looping .sky-frame:nth-child(4) { animation-delay: 8s; }
  .c-skyloop.is-looping .sky-frame:nth-child(5) { animation-delay: 11s; }
  .c-skyloop.is-looping .sky-frame:nth-child(6) { animation-delay: 14s; }

  /* close: a smaller orbit, the facts as one list */
  .c-orbit { width: 260px; height: 170px; }
  .c-orbit__icon { width: 108px; border-radius: 28px; }
  .c-orbit__sat--1 { right: 14px; top: 8px; width: 52px; }
  .c-orbit__sat--2 { left: 14px; top: 22px; width: 44px; }
  .c-orbit__sat--3 { right: 44px; bottom: 6px; width: 38px; }
  .c-orbit__sat--4 { left: 40px; bottom: 10px; width: 40px; }
  .c-platforms { display: block; margin-top: var(--space-xl); border-radius: var(--radius-c-lg); background: var(--c-card); box-shadow: var(--c-shadow); }
  .c-platforms > div { padding: var(--space-sm) var(--space-md); border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--c-line); }
  .c-platforms > div:first-child { border-top: 0; }

  /* the footer: the three link lists side by side, not one link per line under each other */
  .foot { padding-block: var(--space-2xl) var(--space-xl); }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--space-md); }
  .foot__mark { grid-column: 1 / -1; }
  .foot__legal { margin-top: var(--space-xl); }
}
/* a phone's width: the app's screen big, nearly the whole width, more of it showing */
@media (max-width: 34rem) {
  .c-phone { width: 88%; aspect-ratio: 824 / 1600; border-radius: 30px; }
}

/* Tester 2026-11-15: the hero's phone came too far down on a phone. The two buttons side by side, as two-line
   store badges ("Ladda ner från" / GitHub), a slightly smaller lead and less air above the phone. */
@media (max-width: 40rem) {
  .c-hero .c-lead { font-size: 1.0625rem; }
  .c-hero .c-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); margin-top: var(--space-lg); }
  .c-hero .c-actions > * { min-width: 0; min-height: 58px; padding: 0 var(--space-sm); justify-content: center; }
  .c-hero .c-btn__txt { display: grid; justify-items: center; gap: 5px; text-align: center; font-size: 1.0625rem; }
  .c-hero .c-btn__pre { font-size: 0.75rem; font-weight: 600; opacity: 0.85; }
  .c-hero .c-note { margin-top: var(--space-sm); }
  .c-hero__grid { gap: var(--space-md); }
  .c-hero .c-stage { padding-top: var(--space-sm); }
}
