/* Hallmark · shape: Long Document (one column read down, the label pinned beside the middle) · genre: modern-minimal · theme: Dose (deal 2/3, seed etreatment-com-premium-domain-d6c9·6c68b1fc·2026-11-26·r0) · dose: white · job: buy · draw: e95f37
 * hero: Corridor, the offer form in the column · nav: masthead · footer: mast · imagery: none, the label and the plastic are the material · signature: the name as a pharmacy label, stamped open to offers, whose Use line changes as each example service scrolls past
 * axes: light/grotesk-sans/chromatic-green · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · finish-review: subagent · 8 findings · 8 resolved · gap: none */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · weakest: E, the pinned label needs a script to change; it reads complete with the first use when still */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibstedgrotesk700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrumentsans400.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dmmono400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dmmono500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7 .04' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .32 0 0 0 0 .28 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
@media (max-width: 40rem) { :root { --gutter: 16px; } }

body { background-color: var(--color-paper); background-image: var(--fibre); color: var(--color-ink-2); font-size: 1.0625rem; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: var(--tracking-display); line-height: 1.02; color: var(--color-ink); }
a:hover { text-decoration-color: var(--color-accent); }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.dose { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }

/* Masthead: the name centred over a rule. */
.mast__in { display: flex; justify-content: center; align-items: center; min-height: 72px; border-bottom: var(--rule-hair) solid var(--color-rule); }
.mast__mark { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: -0.02em; color: var(--color-ink); text-decoration: none; }
.mast__mark span { color: var(--color-accent); }
.mast__mark:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }

/* Window light across the hero paper. */
.light { position: relative; isolation: isolate; overflow: clip; }
.light::before { content: ""; position: absolute; inset: -10% -20%; z-index: -1; pointer-events: none; background:
  linear-gradient(var(--light), var(--light)) 18% 8% / 16% 46% no-repeat,
  linear-gradient(var(--light), var(--light)) 36% 8% / 16% 46% no-repeat,
  linear-gradient(var(--light), var(--light)) 18% 58% / 16% 34% no-repeat,
  linear-gradient(var(--light), var(--light)) 36% 58% / 16% 34% no-repeat;
  filter: blur(28px); opacity: 0.9; transform: skewX(-18deg); animation: drift 90s var(--ease-in-out) infinite alternate; }
@keyframes drift { from { transform: skewX(-18deg) translateX(0); } to { transform: skewX(-18deg) translateX(14%); } }

/* Hero: one centred column, the offer in a tray. */
.hero { padding-block: var(--space-2xl) var(--space-2xl); }
.corridor { box-sizing: border-box; width: 100%; max-width: calc(44ch + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: var(--space-md); }
.hero h1 { font-size: clamp(2.25rem, 9vw, 4.75rem); max-width: none; }
.hero .lead { color: var(--color-ink-2); }
.tray { margin-top: var(--space-md); }
.label.label--form { transform: none; padding: var(--space-xl); gap: var(--space-md); font-family: var(--font-body); }
.label--form .label__top { font-family: var(--font-outlier); }
.label--form .field input { height: 52px; min-height: 0; line-height: 1; }
.label--form .btn { height: 52px; }
.label--form .stamp { top: calc(-1 * var(--space-md)); }
.tray__fields { display: grid; gap: var(--space-md); }
.field { display: grid; gap: var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.field input { box-sizing: border-box; width: 100%; min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-lg); outline: 2px solid transparent; outline-offset: 2px; }
.field input::placeholder { color: var(--color-muted); opacity: 0.75; }
.field input:hover { border-color: var(--color-ink-2); }
.field input:focus-visible { outline-color: var(--color-focus); }
.field input[aria-invalid="true"] { border-color: var(--color-ink); }
.field input:disabled { opacity: 0.55; cursor: not-allowed; }
.field__money { position: relative; display: block; }
.field__money > span { position: absolute; left: var(--space-md); top: 50%; transform: translateY(-50%); color: var(--color-muted); font-size: var(--text-lg); }
.field__money input { padding-left: var(--space-xl); font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tray__foot { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.tray__note { font-size: var(--text-sm); color: var(--color-muted); }
.tray__note a { color: var(--color-ink-2); }
.tray__status:empty { display: none; }
.tray__status { font-weight: 500; color: var(--color-ink); }
.tray.is-done .tray__fields, .tray.is-done .tray__foot { opacity: 0.55; }

/* Moulded controls. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-xl); border: 0; border-radius: var(--radius-input); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; cursor: pointer; text-decoration: none; transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.btn--primary { background: linear-gradient(var(--color-accent), var(--color-accent-deep)); color: var(--color-accent-ink); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--glint) 40%, transparent), 0 0 0 1px var(--color-accent-deep), 0 3px 0 var(--color-accent-deep); }
.btn--primary:hover { background: var(--color-accent-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 1px var(--color-accent-deep), 0 0 0 var(--color-accent-deep); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }

/* Why: a statement on the ink band. */
.why { padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-paper); }
.why h2 { color: var(--color-paper); font-size: var(--text-display-s); max-width: 20ch; margin-bottom: var(--space-2xl); }
.why__list { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.why__list > div { display: grid; gap: var(--space-xs); padding-top: var(--space-md); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-paper) 30%, transparent); }
.why__list dt { color: var(--color-accent-soft); font-weight: 500; }
.why__list dd { margin: 0; color: var(--color-paper); font-size: var(--text-lg); max-width: 32ch; }

/* The label, pinned while three services scroll past. */
.uses { padding-block: var(--section-gap-s) var(--section-gap); }
.uses__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.uses__pin { position: sticky; top: var(--space-3xl); }
.label { position: relative; display: grid; gap: var(--space-md); padding: var(--space-xl) var(--space-xl) 0; background: var(--color-paper); background-image: var(--fibre); border-radius: var(--radius-input); box-shadow: var(--shadow-lift); font-family: var(--font-outlier); color: var(--color-ink); transform: rotate(-1deg); }
.label__top { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--color-muted); padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.label__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 4vw, 3.5rem); letter-spacing: -0.03em; line-height: 1; overflow-wrap: break-word; min-width: 0; }
.label__rows { margin: 0; display: grid; }
.label__rows > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--rule-hair) dashed var(--color-rule); }
.label__rows dt { color: var(--color-muted); font-size: var(--text-sm); }
.label__rows dd { margin: 0; font-weight: 500; }
.nw { white-space: nowrap; }
.stamp { position: absolute; right: var(--space-lg); top: calc(-1 * var(--space-md)); background: var(--color-paper); margin: 0; padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-accent); border-radius: 8px; outline: 1px solid var(--color-accent); outline-offset: 3px; color: var(--color-accent); font-size: var(--text-sm); font-weight: 500; line-height: 1.25; text-align: center; transform: rotate(-2deg); }
.label__stub { display: flex; justify-content: space-between; margin-inline: calc(-1 * var(--space-xl)); padding: var(--space-md) var(--space-xl); border-top: 2px dashed var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }

.uses__panels { display: grid; gap: var(--space-xl); }
.uses__title { font-size: var(--text-section); margin-bottom: var(--space-2xl); }
.plastic { --t: var(--p-thu); position: relative; border-radius: var(--radius-card); background: linear-gradient(color-mix(in oklab, var(--glint) 32%, transparent), transparent 18%), color-mix(in oklab, var(--t) 62%, transparent); box-shadow: inset 0 1.5px 0 var(--glint), inset 0 -24px 36px -28px color-mix(in oklab, var(--t) 45%, var(--color-ink)); }
.panel { display: grid; align-content: end; gap: var(--space-md); min-height: 220px; padding: var(--space-2xl) var(--space-xl); }
.panel h3 { font-size: var(--text-2xl); }
.panel p { max-width: 42ch; color: var(--color-ink-2); font-size: var(--text-lg); }
.note { font-size: var(--text-sm); color: var(--color-muted); }

/* How the sale goes: a real sequence, timed like a label. */
.terms { padding-block: var(--section-gap-s); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.terms h2 { font-size: var(--text-section); margin-bottom: var(--space-2xl); }
.terms__list { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: var(--space-md); }
.terms__list li { counter-increment: s; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: baseline; padding: var(--space-xl); }
.terms__list li::before { content: counter(s); font-family: var(--font-display); font-weight: 700; font-size: var(--text-section); line-height: 1; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.terms__list h3 { font-size: var(--text-title); }
.terms__list p { font-size: var(--text-lg); }
.terms__act { margin-top: var(--space-2xl); }

/* Mast footer */
.foot { padding-block: var(--space-3xl) var(--space-2xl); }
.foot__mark { margin: 0 0 var(--space-xl); font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 11vw, 9rem); letter-spacing: -0.045em; line-height: 0.9; color: var(--color-ink); overflow-wrap: break-word; min-width: 0; }
.foot__row { display: flex; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.foot a { color: var(--color-ink-2); }

/* Privacy and 404 */
.page { padding-block: var(--section-gap-s) var(--section-gap); }
.prose { display: grid; gap: var(--space-md); }
.prose h1 { font-size: var(--text-display-s); }
.prose h2 { font-size: var(--text-title); margin-top: var(--space-lg); }

@media (max-width: 60rem) {
  .why__list { grid-template-columns: minmax(0, 1fr); }
  .uses__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .uses__pin { position: static; }
  .terms__list li { grid-template-columns: minmax(0, 1fr) minmax(0, 5fr); }
  .terms__list li p { grid-column: 2; }
  .panel { min-height: 240px; }
}
@media (max-width: 40rem) {
  .label { padding: var(--space-lg) var(--space-lg) 0; }
  .label__stub { margin-inline: calc(-1 * var(--space-lg)); padding-inline: var(--space-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .light::before { animation: none; }
  .btn { transition: none; }
  .btn:active { transform: none; }
}
