/* BEMER Nordic - Cyber Weeks 2026 - customer pages - version 2
   Follows BEMER Nordic UX & UI Design Standard 1.1 and BEMER Corporate Design V26.1.
   All colour, size and radius values live in the tokens below. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Barlow-Regular.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Barlow-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Barlow-Bold.woff2") format("woff2"); }

:root {
  /* colour */
  --orange: #eb5a23;
  --orange-hover: #d44d1d;
  --orange-pressed: #b8421a;
  --orange-deep: #ab3f0f;
  --anthracite: #4b4a50;
  --grey-65: #6f6d73;
  --grey-20: #d8cfcb;
  --hairline: #ebebeb;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-subtle: #f5f5f5;
  --surface-tint: #fdeee6;
  --surface-warm: #ece3dc;
  --surface-dark: #4b4a50;
  --petrol: #00587b;
  --green: #a1a332;
  --green-bright: #c1c339;
  /* product line (set per line below) */
  --line: var(--orange);          /* identity colour: bands, panels, tiles */
  --line-text: var(--white);      /* text on --line */
  --badge: var(--orange);         /* offer badge fill */
  --badge-text: var(--white);
  /* type */
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.375rem;
  --display: clamp(1.75rem, 1.1rem + 3.2vw, 3.25rem);   /* page headline: 28 px on a small phone, 52 px on a desktop */
  --section: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);    /* the one section heading on the front page */
  /* space */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem;
  /* shape: only the top-right corner is rounded */
  --corner-sm: 0 0.5rem 0 0;
  --corner-md: 0 0.75rem 0 0;
  --corner-lg: 0 1rem 0 0;
  --gutter: 1.25rem;
  --page: 68.75rem;
  --cta-space: 4.75rem;           /* room kept free for the shop button at the bottom of a phone screen */
}

/* Line colours. Pairings follow section 7.2 of the standard:
   white on orange only at 20 px bold or larger; white on petrol at any size;
   anthracite on beige and on light green at any size;
   anthracite on BEMER green only as large bold text (recorded in the README). */
.line-human  { --line: var(--orange);       --line-text: var(--white);      --badge: var(--orange);       --badge-text: var(--white); }
.line-livaty { --line: var(--surface-warm); --line-text: var(--anthracite); --badge: var(--surface-warm); --badge-text: var(--anthracite); }
.line-horse  { --line: var(--petrol);       --line-text: var(--white);      --badge: var(--petrol);       --badge-text: var(--white); }
.line-dog    { --line: var(--green);        --line-text: var(--anthracite); --badge: var(--green-bright); --badge-text: var(--anthracite); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-bottom: 5.5rem; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: var(--text-base); line-height: 1.5; color: var(--anthracite); background: var(--surface); overflow-x: clip; }
::selection { background: var(--surface-warm); color: var(--anthracite); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
/* headings break between words only, never inside a word */
h1, h2, h3 { line-height: 1.2; font-weight: 700; overflow-wrap: break-word; hyphens: manual; text-wrap: balance; }
p, li { text-wrap: pretty; overflow-wrap: break-word; }
a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 0.15em; overflow-wrap: anywhere; }
a:hover { color: var(--anthracite); }
:focus-visible { outline: 3px solid var(--anthracite); outline-offset: 2px; }
strong { font-weight: 600; }

.wrap { max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: var(--s2); top: -4rem; z-index: 10; padding: var(--s3) var(--s4); background: var(--surface); color: var(--anthracite); font-weight: 600; }
.skip:focus { top: var(--s2); }

/* ---------- state switches: shown or hidden by the attributes on <html> ---------- */
html[data-state="before"] [data-when]:not([data-when~="before"]),
html[data-state="running"] [data-when]:not([data-when~="running"]),
html[data-state="ended"] [data-when]:not([data-when~="ended"]),
html[data-partner-state="none"] [data-partner]:not([data-partner~="none"]),
html[data-partner-state="code"] [data-partner]:not([data-partner~="code"]),
html[data-partner-state="named"] [data-partner]:not([data-partner~="named"]) { display: none !important; }

/* ---------- page frame ---------- */
.site-header { border-bottom: 1px solid var(--hairline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 3.75rem; padding-left: calc(var(--gutter) - 0.5rem); }
.site-header__logo { display: flex; align-items: center; min-height: 2.75rem; }
.site-header__logo img { height: 2.75rem; width: auto; }
.site-header__back { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }

/* who sent the page: the most personal line, so it is set at reading size with the name in bold */
.partner-strip { background: var(--surface-tint); }
.partner-strip .wrap { padding-block: 0.875rem; }
.partner-strip p { font-size: var(--text-md); line-height: 1.35; }
.partner-strip strong { font-weight: 700; }

.help { background: var(--surface-warm); }
.help .wrap { padding-block: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }
.help h2 { font-size: var(--text-lg); }
.help__links { list-style: none; padding: 0; display: flex; flex-direction: column; }
.help__links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }

.site-footer { background: var(--surface-dark); color: var(--white); }
.site-footer .wrap { padding-block: var(--s5); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s5); }
.site-footer img { height: 2.25rem; width: auto; margin-left: -0.5rem; }
.site-footer a { color: var(--white); display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer a:hover { color: var(--white); text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: var(--white); }

/* ---------- shared pieces ---------- */
.lead { font-size: var(--text-md); line-height: 1.55; max-width: 38rem; }
.dates { font-size: var(--text-lg); font-weight: 700; }

.btn-primary { display: flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: var(--s2) var(--s4); background: var(--orange); color: var(--white); font-size: var(--text-lg); font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; border-radius: var(--corner-md); }
.btn-primary:hover { background: var(--orange-hover); color: var(--white); }
.btn-primary:active { background: var(--orange-pressed); }
.btn-secondary { display: flex; align-items: center; justify-content: center; min-height: 3rem; padding: var(--s2) var(--s4); background: var(--surface); color: var(--anthracite); border: 1px solid var(--grey-65); border-radius: var(--corner-md); font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; }
.btn-secondary:hover { background: var(--surface-subtle); color: var(--anthracite); }

.notice { background: var(--surface); border: 1px solid var(--grey-65); border-radius: var(--corner-lg); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); max-width: 38rem; }
.notice h2 { font-size: var(--text-lg); }
.notice .btn-secondary { align-self: flex-start; }

/* offer badges: the discount is the largest thing in an offer */
.badge { flex: none; display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-width: min(5.75rem, 100%); min-height: 3rem; padding: var(--s1) var(--s3); background: var(--badge); color: var(--badge-text); font-size: var(--text-xl); font-weight: 700; line-height: 1.1; white-space: nowrap; border-radius: var(--corner-sm); }
.badge--big { min-width: min(6.5rem, 100%); min-height: 4rem; font-size: 2rem; border-radius: var(--corner-md); }
/* a badge with words instead of a figure; used on the Dog line only (anthracite on light green) */
.badge--word { width: 5.75rem; font-size: var(--text-base); white-space: normal; text-align: center; }
.badge--word.badge--big { width: 6.5rem; font-size: var(--text-lg); }

/* where each photograph is cropped from */
.focus-human img { object-position: 42% 38%; }
.focus-livaty img { object-position: 50% 30%; }
.focus-horse img { object-position: 50% 72%; }
.focus-dog img { object-position: 50% 30%; }

/* ---------- front page: campaign opening ---------- */
.opening { background: var(--surface-warm); display: grid; grid-template-columns: minmax(0, 1fr); }
.opening__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-dark); }
.opening__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.opening__body { padding: var(--s5) var(--gutter) var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.opening__logo { width: 12.5rem; height: auto; margin-bottom: var(--s2); }
.opening h1 { font-size: var(--display); line-height: 1.1; letter-spacing: -0.01em; }
.opening .notice { margin-top: var(--s2); }

.choose { padding-block: var(--s6) 0; }
.choose > h2 { font-size: var(--section); margin-bottom: var(--s5); }
.choices { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.choice { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--grey-20); border-radius: var(--corner-lg); overflow: hidden; background: var(--surface); color: var(--anthracite); text-decoration: none; }
.choice:hover { border-color: var(--grey-65); color: var(--anthracite); }
.choice__photo { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--surface-warm); }
.choice__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the Human card shows a closer part of the campaign photograph, so it does not repeat the opening picture */
.choice.line-human .choice__photo img { transform: scale(2); transform-origin: 84% 10%; }
.choice__band { background: var(--line); color: var(--line-text); padding: 0.625rem var(--s4); }
.choice__band h3 { font-size: var(--text-xl); line-height: 1.2; }
.choice__body { flex: 1; display: flex; flex-direction: column; padding: var(--s4); }
.choice__mood { font-size: var(--text-lg); line-height: 1.3; margin-bottom: var(--s3); }
.choice__offers { list-style: none; padding: 0; margin-bottom: var(--s4); }
.choice__offers li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); padding-block: var(--s3); border-top: 1px solid var(--hairline); }
.choice__offers li:last-child { border-bottom: 1px solid var(--hairline); }
/* the whole card is the link; this is its visible button */
.choice__cue { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 3rem; padding: var(--s2) var(--s4); border: 1px solid var(--grey-65); border-radius: var(--corner-md); font-size: var(--text-md); font-weight: 600; text-align: center; }
.choice:hover .choice__cue { background: var(--surface-subtle); }

.front-extra { display: grid; padding-bottom: var(--s7); }
.front-extra > * { margin-top: var(--s7); }

/* ---------- product-line pages ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--line); color: var(--line-text); }
.hero__photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-warm); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__inner { padding: var(--s5) var(--gutter); display: flex; flex-direction: column; gap: var(--s4); }
.hero h1 { font-size: var(--display); line-height: 1.1; letter-spacing: -0.01em; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); font-size: var(--text-lg); font-weight: 700; line-height: 1.2; }
.hero__meta > * { min-width: 0; overflow-wrap: anywhere; }
.tag { display: inline-flex; align-items: center; min-height: 2.25rem; padding: var(--s1) var(--s3); background: var(--white); color: var(--anthracite); border-radius: var(--corner-sm); }

.line { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); padding-block: var(--s5) var(--s7); }
.line__intro { display: flex; flex-direction: column; gap: var(--s3); }
.line__intro:empty { display: none; }
.mood { font-size: var(--text-xl); line-height: 1.25; font-weight: 400; text-wrap: balance; }

.line__buy { display: flex; flex-direction: column; gap: var(--s4); }
.line__offers { display: flex; flex-direction: column; gap: var(--s5); }

.offer { border: 1px solid var(--grey-20); border-radius: var(--corner-lg); background: var(--surface); }
.offer__head { padding: var(--s4); display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s3) var(--s4); }
.offer__title { flex: 1 1 14rem; min-width: 0; display: flex; flex-direction: column; gap: var(--s1); }
.offer__title h2 { font-size: var(--text-xl); }
.offer__rows, .offer__items { list-style: none; padding: 0; }
.offer__rows li, .offer__items li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); padding: var(--s3) var(--s4); border-top: 1px solid var(--hairline); }
.offer__items li { min-height: 3rem; }
.offer__item { flex: 1 1 8rem; min-width: 0; }
/* a row with HQ's product picture: picture on the left, the offer and its price beside it */
.offer__rows li.with-thumb, .offer__items li.with-thumb { display: grid; grid-template-columns: 7rem minmax(0, 1fr); align-items: start; gap: var(--s3); }
.offer__thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-subtle); border-radius: var(--corner-sm); }
.offer__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); }
.offer__body .offer__item { flex: none; }
.offer__body .badge { min-height: 2.5rem; font-size: var(--text-lg); }
.offer__body .badge--word { font-size: var(--text-base); }
.prices { display: flex; flex-direction: column; gap: 0.125rem; }
.price { display: block; line-height: 1.35; }
.price strong { font-size: var(--text-md); font-weight: 700; }
.offer__title .prices { margin-top: var(--s2); }

/* the shop button: fixed to the bottom of the screen on phones, so the shop is always one tap away */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--surface); border-top: 1px solid var(--hairline); padding: var(--s2) var(--gutter) calc(var(--s2) + env(safe-area-inset-bottom, 0px)); }
html[data-state="before"] .has-cta .site-footer,
html[data-state="running"] .has-cta .site-footer { padding-bottom: calc(var(--cta-space) + env(safe-area-inset-bottom, 0px)); }

.how { display: flex; flex-direction: column; gap: var(--s2); padding-top: var(--s2); }
.how h2 { font-size: var(--text-lg); }

.line__more { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-content: start; }
.block { display: flex; flex-direction: column; gap: var(--s2); padding-top: var(--s5); border-top: 1px solid var(--grey-20); }
.block h2 { font-size: var(--text-lg); }
.block p, .block li { max-width: 38rem; }
.front-extra .block { border-top: 0; padding-top: 0; }
.steps, .plain { padding-left: 1.375rem; display: flex; flex-direction: column; gap: var(--s2); }
.steps li::marker { font-weight: 700; }

.others { background: var(--surface-subtle); padding-block: var(--s6); }
.others h2 { font-size: var(--text-lg); margin-bottom: var(--s4); }
.others ul { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.other { display: grid; grid-template-columns: 30% minmax(0, 1fr); min-height: 5.5rem; border-radius: var(--corner-lg); overflow: hidden; background: var(--line); color: var(--line-text); text-decoration: none; }
.other:hover { color: var(--line-text); }
.other__photo { position: relative; overflow: hidden; background: var(--surface-warm); }
.other__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.other__label { display: flex; align-items: center; min-width: 0; overflow-wrap: anywhere; padding: var(--s3) var(--s4); font-size: var(--text-lg); font-weight: 700; line-height: 1.25; }
.other__label > span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.other:hover .other__label > span { text-decoration-thickness: 2px; }

/* ---------- wider screens ---------- */
@media (min-width: 44rem) {
  :root { --gutter: 2rem; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice__photo { aspect-ratio: 16 / 9; }
  .opening__photo, .hero__photo { aspect-ratio: 2 / 1; }
  .front-extra { grid-template-columns: minmax(0, 40rem); }
  .mood { font-size: var(--text-2xl); }
  .others ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
  .other { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .other__photo { aspect-ratio: 16 / 9; }
  .other__label { padding: var(--s4); min-height: 4.5rem; }
  .help .wrap { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s7); }
  .help__links { flex-direction: row; flex-wrap: wrap; gap: 0 var(--s6); }
  .badge--big { font-size: 2.25rem; }
  .offer__rows li.with-thumb, .offer__items li.with-thumb { grid-template-columns: 8.5rem minmax(0, 1fr); }
}

@media (min-width: 56.25rem) {
  /* opening: text on the left, the campaign photograph filling the right half up to the edge of the screen */
  .opening, .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(23rem, 32vw, 33rem); }
  .opening__photo, .hero__photo { order: 2; aspect-ratio: auto; }
  .opening__body, .hero__inner { width: 100%; max-width: calc(var(--page) / 2); margin-left: auto; padding: var(--s7) var(--s7) var(--s7) var(--gutter); justify-content: center; }
  .opening__logo { width: 17rem; margin-bottom: var(--s3); }
  .hero__panel { display: flex; }
  .hero__inner { gap: var(--s5); }

  .line { grid-template-columns: minmax(0, 1fr) 27rem; grid-template-rows: auto 1fr; column-gap: var(--s8); row-gap: var(--s6); padding-block: var(--s7) var(--s8); }
  .line__intro { grid-column: 1; grid-row: 1; }
  .line__buy { grid-column: 2; grid-row: 1 / span 2; }
  .line__more { grid-column: 1; grid-row: 2; }
  /* the shop button stays in view at the bottom of the offer column while the offer is being read */
  .cta-bar { position: sticky; left: auto; right: auto; border-top: 0; padding: var(--s3) 0; margin-block: calc(var(--s3) * -1); }
  html[data-state="before"] .has-cta .site-footer,
  html[data-state="running"] .has-cta .site-footer { padding-bottom: 0; }
}

@media (min-width: 60rem) {
  /* front page: all four product lines side by side from a laptop-width window up (was 1100 px, which left a 2 x 2 grid of big photos on most laptops) */
  .choices { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
  .choice__photo { aspect-ratio: 4 / 3; }
  .choice__offers .badge { min-width: 4.5rem; }
}

/* Desktop density (16 Nov 2026): on a computer screen the page is read from closer up than a phone held at arm's length,
   so headings, badges and labels step down one size from 900 px up. Phones are unchanged. */
@media (min-width: 56.25rem) {
  :root {
    --display: clamp(2.25rem, 1rem + 2.2vw, 2.75rem);   /* page headline: 36-44 px on a computer (was up to 52 px) */
    --section: 1.75rem;                                  /* "Mika sinua kiinnostaa?" 28 px (was up to 36 px) */
  }
  .opening, .hero { min-height: clamp(21rem, 28vw, 28rem); }
  .opening__logo { width: 14rem; }
  .lead { font-size: var(--text-base); }
  .dates { font-size: var(--text-md); }
  .hero__meta { font-size: var(--text-md); }
  .mood { font-size: var(--text-xl); }
  .choose > h2 { margin-bottom: var(--s4); }
  .choice__band { padding: var(--s2) var(--s4); }
  .choice__band h3 { font-size: var(--text-lg); }
  .choice__mood { font-size: var(--text-md); }
  .choice__offers .badge { min-height: 2.5rem; font-size: var(--text-lg); }
  .choice__offers .badge--word { font-size: var(--text-sm); }
  .choice__offers .offer__item { font-size: 0.9375rem; }
  .choice__cue { min-height: 2.75rem; font-size: var(--text-base); }
  .badge--big { min-height: 3.5rem; font-size: 1.75rem; }
  .badge--word.badge--big { font-size: var(--text-md); }
  .offer__title h2 { font-size: var(--text-lg); }
  .btn-primary { min-height: 3.25rem; font-size: var(--text-md); }
  .partner-strip p { font-size: var(--text-base); }
  .other__label { font-size: var(--text-md); }
}

@media (prefers-reduced-motion: no-preference) {
  .btn-primary, .btn-secondary, .choice, .choice__cue { transition: background-color 0.15s ease, border-color 0.15s ease; }
}

/* ---------- partner page (kumppani.html, 16 Nov 2026) ----------
   Own class names (p-...), so nothing here changes the customer pages. */
.p-chip { display: inline-flex; align-items: center; min-height: 2.25rem; padding: var(--s1) var(--s3); background: var(--surface-dark); color: var(--white); font-weight: 600; border-radius: var(--corner-sm); }
/* partner-only material is labelled apart from customer material */
.p-audience { background: var(--surface-dark); color: var(--white); }
.p-audience .wrap { padding-block: var(--s3); }
.p-audience p { font-weight: 600; }

.p-opening { background: var(--surface-warm); }
.p-opening .wrap { padding-block: var(--s5) var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.p-opening h1 { font-size: var(--display); line-height: 1.1; letter-spacing: -0.01em; }
.p-opening .notice { margin-top: var(--s2); }
.p-toc { margin-top: var(--s3); }
.p-toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.p-toc a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }

.p-h2 { font-size: var(--section); margin-bottom: var(--s4); }
.p-h3 { font-size: var(--text-lg); }
.p-intro { max-width: 44rem; margin-bottom: var(--s5); }
.p-section { padding-block: var(--s7); }
.p-section--tint { background: var(--surface-subtle); }

/* the generator */
.p-gen { padding-block: var(--s6) var(--s7); }
.p-gen__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
.p-gen__main { max-width: 40rem; }
.p-form { display: flex; flex-direction: column; gap: var(--s5); }
.p-field { display: flex; flex-direction: column; gap: var(--s2); border: 0; margin: 0; padding: 0; min-width: 0; }
.p-field > label, .p-field > legend, .p-label { font-size: var(--text-md); font-weight: 700; padding: 0; }
.p-hint { color: var(--anthracite); max-width: 38rem; }
.p-error { color: #b3261e; font-weight: 600; padding-left: var(--s3); border-left: 3px solid #b3261e; }
.p-form input[type="text"], .p-result input[type="text"], .p-result textarea { width: 100%; min-height: 3rem; padding: var(--s3); font: inherit; font-size: var(--text-base); color: var(--anthracite); background: var(--surface); border: 1px solid var(--grey-65); border-radius: var(--corner-sm); }
.p-form input[aria-invalid="true"] { border: 2px solid #b3261e; }
.p-result textarea { min-height: 9rem; line-height: 1.45; resize: vertical; }
.p-result input[readonly] { background: var(--surface-subtle); font-weight: 600; }
.p-radios { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s1); }
.p-radio { display: flex; align-items: center; gap: var(--s3); min-height: 2.75rem; cursor: pointer; }
.p-radio input { width: 1.375rem; height: 1.375rem; margin: 0; accent-color: var(--anthracite); flex: none; }
.p-radio__hint { color: var(--grey-65); }
.p-create { align-self: stretch; }

.p-result { margin-top: var(--s6); padding: var(--s5) var(--s4); border: 2px solid var(--anthracite); border-radius: var(--corner-lg); display: flex; flex-direction: column; gap: var(--s3); }
.p-result h3 { font-size: var(--text-lg); margin-top: var(--s4); }
.p-result h3:first-child { margin-top: 0; font-size: var(--text-xl); }
.p-result h3:focus { outline: none; }
.p-result h3:focus-visible { outline: 3px solid var(--anthracite); outline-offset: 2px; }
.p-actions { display: flex; flex-direction: column; gap: var(--s2); }
.p-actions .btn-primary, .p-actions .btn-secondary { width: 100%; }
.p-actions button { font: inherit; cursor: pointer; }
.p-actions .btn-primary { border: 0; font-size: var(--text-lg); font-weight: 700; }
.p-actions .btn-secondary { font-size: var(--text-base); }
.p-status { min-height: 1.5rem; font-weight: 600; }
.p-status:empty { min-height: 0; }
.p-small { font-size: var(--text-sm); }
.p-textbtn { font: inherit; font-size: var(--text-sm); color: var(--orange-deep); background: none; border: 0; padding: var(--s2) 0; min-height: 2.75rem; text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; }
.p-textbtn:hover { color: var(--anthracite); }
.p-warn { padding: var(--s3) var(--s4); background: var(--surface-tint); border-left: 3px solid var(--orange-deep); font-weight: 600; }

.p-gen__side { display: flex; flex-direction: column; gap: var(--s3); }
.p-gen__side .p-h3 + * { margin-bottom: var(--s4); }

/* offers in short, one card per product line */
.p-lines { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.p-line { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--grey-20); border-radius: var(--corner-lg); overflow: hidden; }
.p-line__band { background: var(--line); color: var(--line-text); padding: 0.625rem var(--s4); }
.p-line__band h3 { font-size: var(--text-xl); }
.p-line__body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.p-line__offer { font-size: var(--text-lg); font-weight: 700; line-height: 1.25; }
.p-offer { border-top: 1px solid var(--hairline); padding-top: var(--s3); }
.p-offer__head { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); font-size: var(--text-md); margin-bottom: var(--s2); }
.p-offer__head .badge, .p-offer__item .badge { min-height: 2.25rem; min-width: 4rem; font-size: var(--text-md); }
.p-offer__head .badge--word, .p-offer__item .badge--word { width: auto; font-size: var(--text-sm); }
.p-offer__list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.p-offer__list > li { padding-block: var(--s2); border-top: 1px solid var(--hairline); }
.p-offer__list > li:first-child { border-top: 0; }
.p-offer__item { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.p-prices { list-style: none; padding: 0; margin-top: var(--s1); display: flex; flex-direction: column; gap: 0.125rem; }
.p-prices li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--s3); }
.p-psvp { color: var(--anthracite); font-weight: 600; white-space: nowrap; }
.p-cond { font-size: var(--text-sm); }
.p-line__open { margin-top: auto; padding-top: var(--s2); }
.p-line__open a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }

/* sales material */
.p-tools { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.p-tool { display: flex; flex-direction: column; gap: var(--s1); padding-top: var(--s4); border-top: 1px solid var(--grey-20); }
.p-tool__main { font-size: var(--text-md); font-weight: 700; display: inline-flex; align-items: center; min-height: 2.75rem; }
.p-tool__also { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* timeline */
.p-plan { list-style: none; padding: 0; display: flex; flex-direction: column; margin-bottom: var(--s5); max-width: 50rem; }
.p-plan li { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s1); padding-block: var(--s3); border-top: 1px solid var(--grey-20); }
.p-plan li:last-child { border-bottom: 1px solid var(--grey-20); }
.p-plan__when { font-weight: 700; }

/* questions and answers: all visible, nothing hidden behind a click */
.p-faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); max-width: 50rem; }
.p-faq__item h3 { font-size: var(--text-md); margin-bottom: var(--s1); }

@media (min-width: 44rem) {
  .p-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); }
  .p-plan li { grid-template-columns: 13rem minmax(0, 1fr); gap: var(--s5); }
  .p-actions--share { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-actions .btn-primary { width: auto; align-self: flex-start; padding-inline: var(--s6); }
  .p-create { align-self: flex-start; padding-inline: var(--s6); }
}
@media (min-width: 56.25rem) {
  .p-opening .wrap { padding-block: var(--s6); }
  .p-gen__grid { grid-template-columns: minmax(0, 1fr) 22rem; column-gap: var(--s8); }
  .p-gen__side { padding-top: calc(var(--section) + var(--s4)); }
  .p-line__band h3 { font-size: var(--text-lg); }
}
.p-create { border: 0; font: inherit; font-size: var(--text-lg); font-weight: 700; cursor: pointer; }
@media (min-width: 56.25rem) { .p-create { font-size: var(--text-md); } }
.p-result[hidden], .p-error[hidden], #share-native[hidden] { display: none; }
/* phones: a smaller campaign logo, so the first field of the generator is on the first screen */
.p-opening .opening__logo { width: 8.5rem; margin-bottom: 0; }
.p-opening .wrap { gap: var(--s2); padding-block: var(--s4) var(--s5); }
.p-opening .lead { font-size: var(--text-base); }
.p-toc { margin-top: var(--s1); }
.p-toc ul { gap: 0 var(--s4); }
.p-gen { padding-top: var(--s5); }
@media (min-width: 56.25rem) {
  .p-opening .opening__logo { width: 12rem; }
  .p-opening .wrap { gap: var(--s3); padding-block: var(--s6); }
}
.p-prices li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: var(--s3); }
.p-cond { list-style: disc; }
/* the campaign photograph fills the right half of the opening on computer screens only */
.p-opening__photo { display: none; }
@media (min-width: 56.25rem) {
  .p-opening { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .p-opening__photo { display: block; order: 2; position: relative; overflow: hidden; background: var(--surface-dark); }
  .p-opening__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .p-opening .wrap { width: 100%; max-width: calc(var(--page) / 2); margin-left: auto; margin-right: 0; padding-right: var(--s7); justify-content: center; }
}
/* the finished link is shown whole, broken across lines where needed, never cut off */
.p-result #res-link { width: 100%; min-height: 0; padding: var(--s3); font: inherit; font-weight: 600; color: var(--anthracite); background: var(--surface-subtle); border: 1px solid var(--grey-65); border-radius: var(--corner-sm); resize: none; word-break: break-all; overflow-wrap: anywhere; line-height: 1.4; }
.p-actions .btn-secondary { font-weight: 600; }
/* white on orange only at 20 px bold or larger (standard 7.2) */
.p-offer__head .badge, .p-offer__item .badge { font-size: var(--text-lg); }
.p-offer__head .badge--word, .p-offer__item .badge--word { font-size: var(--text-sm); }
@media (min-width: 56.25rem) { .p-create, .p-actions .btn-primary { font-size: var(--text-lg); } }

/* Before the start (17 Nov 2026): the shop button's place holds a highlighted box saying when ordering opens,
   with a countdown. Tinted fill and an orange frame so it stands out, but no solid orange fill, so it does not look like a button. */
.countdown { font-weight: 600; font-variant-numeric: tabular-nums; }
.notice .countdown { color: var(--orange-deep); font-size: var(--text-md); font-weight: 700; }
.soon-box { display: flex; align-items: center; gap: var(--s3); min-height: 3.5rem; padding: var(--s3) var(--s4); background: var(--surface-tint); border: 2px solid var(--orange); border-radius: var(--corner-md); color: var(--anthracite); }
.soon-box__icon { flex: none; color: var(--orange-deep); }
.soon-box__body { display: flex; flex-direction: column; gap: 0.125rem; }
.soon-box p { margin: 0; }
.soon-box__text { font-size: var(--text-md); font-weight: 700; line-height: 1.3; }
.soon-box__count { color: var(--orange-deep); font-size: var(--text-lg); font-weight: 700; line-height: 1.25; }
@media (max-width: 56.24rem) {
  html[data-state="before"] .has-cta .site-footer { padding-bottom: calc(var(--cta-space) + 2.5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 47.99rem) {
  .soon-box { padding: var(--s2) var(--s3); }
  .soon-box__text { font-size: var(--text-base); }
  .soon-box__count { font-size: var(--text-md); }
}

/* 17 Nov 2026: shown only without a partner link, for a partner who opened the plain campaign link */
.partner-strip--hint { background: var(--surface-subtle); }
.partner-strip--hint p { font-size: var(--text-base); }
.partner-strip--hint a { color: var(--orange-deep); font-weight: 700; }
