/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 700;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-500-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 700;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-500-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSans-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSans-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSans-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSans-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSans-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ground: #F3F5F7;
    --paper: #FFFFFF;
    --tint: #E8EDF2;
    --ink: #0F1B2D;
    --muted: #5C6B7A;
    --line: #D3DAE2;
    --accent: #D93B2B;
    --on-accent: #FFFFFF;
    --focus: #1F5FBF;
    --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
    --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    color-scheme: light dark;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --ground: #0E141C; --paper: #161E28; --tint: #1C2632; --ink: #E9EEF3;
      --muted: #9AA7B5; --line: #2A3541; --accent: #FF6A5A; --on-accent: #16100F; --focus: #7FB0FF;
    }
  }
  :root[data-theme="dark"] {
    --ground: #0E141C; --paper: #161E28; --tint: #1C2632; --ink: #E9EEF3;
    --muted: #9AA7B5; --line: #2A3541; --accent: #FF6A5A; --on-accent: #16100F; --focus: #7FB0FF;
  }

  * { box-sizing: border-box; }
  body {
    margin: 0; background: var(--ground); color: var(--ink);
    font-family: var(--body); font-size: 16px; line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3 { font-family: var(--display); font-stretch: 112%; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
  h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.02; font-weight: 700; }
  h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.12; font-weight: 700; }
  h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
  p { margin: 0; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
  .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
  .eyebrow { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
  section { padding: 72px 0; border-top: 1px solid var(--line); }
  .lede { color: var(--muted); max-width: 60ch; margin-top: 12px; font-size: 1.05rem; }

  /* header */
  header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .bar { display: flex; align-items: center; gap: 24px; height: 64px; }
  .brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
  .brand b { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.15rem; }
  .brand span { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }
  nav { display: flex; gap: 22px; margin-left: auto; }
  nav a { text-decoration: none; font-size: 0.93rem; color: var(--muted); }
  nav a:hover { color: var(--ink); }
  .lang { display: inline-flex; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.75rem; }
  .lang button { background: transparent; border: 0; color: var(--muted); padding: 6px 10px; cursor: pointer; font: inherit; }
  .lang button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; font: 500 0.93rem var(--body); text-decoration: none; cursor: pointer; border: 1px solid var(--ink); background: transparent; color: var(--ink); transition: background .15s, color .15s; }
  .btn:hover { background: var(--ink); color: var(--ground); }
  .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
  .btn.primary:hover { filter: brightness(0.92); }
  .btn.small { padding: 7px 12px; font-size: 0.85rem; }

  /* hero */
  .hero { padding: 72px 0 64px; border-top: 0; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
  .hero h1 { margin-top: 14px; }
  .hero .lede { font-size: 1.1rem; }
  .hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

  /* budget panel: the signature */
  .budget { background: var(--paper); border: 1px solid var(--line); padding: 28px 28px 24px; }
  .budget-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .budget-value { font-family: var(--mono); font-size: 2.6rem; font-weight: 500; line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums; }
  .budget-value small { font-size: 0.95rem; color: var(--muted); margin-left: 6px; font-weight: 400; }
  .budget-fit { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); text-align: right; }
  .budget-fit b { color: var(--ink); font-weight: 500; }
  .track { position: relative; margin: 26px 0 8px; }
  input[type="range"] { width: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; height: 32px; cursor: pointer; }
  input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right, var(--ink) var(--fill, 30%), var(--line) var(--fill, 30%)); }
  input[type="range"]::-moz-range-track { height: 3px; background: var(--line); }
  input[type="range"]::-moz-range-progress { height: 3px; background: var(--ink); }
  input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; background: var(--accent); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); }
  input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--accent); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); border-radius: 0; }
  .marks { position: relative; height: 14px; }
  .mark { position: absolute; top: 0; width: 1px; height: 10px; background: var(--muted); transform: translateX(-0.5px); }
  .mark::after { content: attr(data-l); position: absolute; top: 12px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.68rem; color: var(--muted); white-space: nowrap; }
  .thresholds { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 0.86rem; color: var(--muted); }
  .thresholds li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; }
  .thresholds .mono { color: var(--ink); font-size: 0.8rem; }

  /* catalogue */
  .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
  .card { background: var(--paper); border: 1px solid var(--line); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 12px; position: relative; transition: opacity .25s, transform .15s; }
  .card:hover { transform: translateY(-2px); }
  .card.over { opacity: 0.38; }
  .card.over:hover { opacity: 0.7; }
  .card .art { aspect-ratio: 4 / 3; color: var(--ink); display: flex; align-items: center; justify-content: center; background: var(--tint); overflow: hidden; }
  .card .art svg { width: 100%; height: 100%; max-width: 200px; }
  .card .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .card .tier { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .card h3 { margin-top: -2px; }
  .card .blurb { font-size: 0.93rem; color: var(--muted); }
  .specs { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.78rem; line-height: 1.7; color: var(--ink); }
  .specs li::before { content: "·"; color: var(--muted); margin-right: 8px; }
  .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
  .tag { position: relative; display: inline-flex; flex-direction: column; padding: 8px 12px 8px 22px; background: var(--accent); color: var(--on-accent); clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); font-family: var(--mono); line-height: 1.1; }
  .tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; transform: translateY(-50%); background: var(--paper); }
  .tag b { font-size: 1.05rem; font-weight: 500; }
  .tag span { font-size: 0.66rem; opacity: 0.85; margin-top: 2px; }
  .over-note { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); display: none; }
  .card.over .over-note { display: block; }
  .card.on .add { background: var(--ink); color: var(--ground); }

  /* how it works */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; counter-reset: step; }
  .step { border-top: 2px solid var(--ink); padding-top: 16px; }
  .step .n { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
  .step h3 { margin-top: 6px; }
  .step p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
  .deadline { margin-top: 36px; display: inline-flex; gap: 14px; align-items: center; font-family: var(--mono); font-size: 0.85rem; border: 1px solid var(--line); padding: 10px 14px; background: var(--paper); }
  .deadline i { width: 10px; height: 10px; background: var(--accent); display: inline-block; }

  /* why */
  .why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 28px; }
  .why div { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .why h3 { font-size: 1rem; }
  .why p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }

  /* budget table */
  table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 0.95rem; }
  th, td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
  th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
  td.mono { white-space: nowrap; }
  .tbl-wrap { overflow-x: auto; }
  .foot { margin-top: 14px; font-size: 0.82rem; color: var(--muted); max-width: 80ch; }

  /* form */
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 32px; max-width: 760px; }
  .form-grid .full { grid-column: 1 / -1; }
  label { display: grid; gap: 6px; font-size: 0.85rem; color: var(--muted); }
  input, select, textarea { font: 400 0.98rem var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 11px 12px; width: 100%; border-radius: 0; }
  input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; }
  textarea { min-height: 96px; resize: vertical; }
  .shortlist-box { min-height: 48px; border: 1px dashed var(--line); padding: 10px 12px; font-family: var(--mono); font-size: 0.82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { display: inline-flex; align-items: center; gap: 8px; background: var(--tint); color: var(--ink); padding: 4px 8px; }
  .chip button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }
  .done { display: none; margin-top: 32px; border-left: 3px solid var(--accent); padding: 12px 18px; max-width: 60ch; }
  .done.show { display: block; }

  /* faq */
  details { border-bottom: 1px solid var(--line); padding: 14px 0; }
  summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
  details[open] summary::after { content: "–"; }
  details p { margin-top: 8px; color: var(--muted); max-width: 70ch; }

  /* shortlist bar */
  .slbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); color: var(--ground); transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  .slbar.show { transform: translateY(0); visibility: visible; transition: transform .25s; }
  .slbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
  .slbar .btn { border-color: var(--ground); color: var(--ground); }
  .slbar .btn:hover { background: var(--ground); color: var(--ink); }

  footer { border-top: 1px solid var(--line); padding: 40px 0 72px; color: var(--muted); font-size: 0.86rem; }
  footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
  footer .mono { font-size: 0.74rem; }

  @media (max-width: 900px) {
    .hero-grid, .why, .form-grid { grid-template-columns: 1fr; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 20px; }
    nav { display: none; }
    footer .wrap { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .grid { grid-template-columns: 1fr; }
    .hero { padding-top: 40px; }
    .bar { gap: 12px; }
    section { padding: 56px 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .card, .slbar, .btn { transition: none; }
    .card:hover { transform: none; }
  }

  /* cart + checkout */
  body.lock { overflow: hidden; }
  [hidden] { display: none !important; } /* flex/grid containers below set display, which would otherwise beat the hidden attribute */
  .cart-btn { position: relative; }
  .badge { display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px; align-items: center; justify-content: center; background: var(--on-accent); color: var(--accent); font: 500 0.72rem var(--mono); }
  .overlay { position: fixed; inset: 0; background: rgba(15, 27, 45, 0.45); z-index: 40; }
  .drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); border-left: 1px solid var(--line); z-index: 50; display: flex; flex-direction: column; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
  .icon-btn { border: 0; background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 2px 8px; }
  .icon-btn:hover { color: var(--ink); }
  .drawer-body { flex: 1; overflow: auto; padding: 6px 22px; }
  .cart-empty { color: var(--muted); font-size: 0.92rem; padding: 18px 0; }
  .line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .line img { width: 64px; height: 48px; object-fit: cover; background: var(--tint); }
  .line-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
  .line-top b { font-weight: 600; font-size: 0.95rem; }
  .line-meta { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: 4px; line-height: 1.6; }
  .line-ctl { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
  .qty { display: inline-flex; border: 1px solid var(--line); }
  .qty button { border: 0; background: transparent; width: 30px; height: 30px; cursor: pointer; font: 500 1rem var(--body); color: var(--ink); }
  .qty input { width: 60px; height: 30px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; padding: 0; font-family: var(--mono); font-size: 0.85rem; -moz-appearance: textfield; }
  .qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
  .link-btn { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 0.8rem; cursor: pointer; text-decoration: underline; padding: 0; }
  .drawer-foot { padding: 14px 22px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
  .opt { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--ink); }
  .opt input { width: auto; margin-top: 3px; }
  .totals { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; font-size: 0.9rem; }
  .totals dt { color: var(--muted); }
  .totals dd { margin: 0; text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
  .totals .grand { font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; }
  .cart-note { font-size: 0.78rem; color: var(--muted); }
  .warn { color: var(--accent); font-size: 0.82rem; }
  .warn:empty { display: none; }
  .btn:disabled { opacity: 0.45; cursor: not-allowed; }
  .modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow: auto; }
  .modal-card { background: var(--paper); border: 1px solid var(--line); width: min(760px, 100%); }
  .modal-head { display: flex; align-items: center; gap: 18px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
  .modal-head h3 { margin-right: auto; }
  .stepsbar { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .stepsbar li { padding-bottom: 3px; border-bottom: 2px solid transparent; }
  .stepsbar li.on { color: var(--ink); border-bottom-color: var(--accent); }
  .stepsbar li.done { color: var(--ink); }
  .co-step { padding: 22px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .co-step .full { grid-column: 1 / -1; }
  .co-step h4 { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 -4px; font-weight: 500; }
  .hint { font-size: 0.78rem; color: var(--muted); }
  .terms-box { grid-column: 1 / -1; border: 1px solid var(--line); padding: 12px 14px; display: grid; gap: 6px; font-size: 0.88rem; }
  .form-error { grid-column: 1 / -1; color: var(--accent); font-size: 0.88rem; }
  .form-error:empty { display: none; }
  .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .preview-note { margin-top: 16px; background: var(--tint); padding: 10px 14px; max-width: 70ch; font-size: 0.9rem; color: var(--ink); }
  footer nav a { margin-right: 16px; }
  .review { grid-column: 1 / -1; display: grid; gap: 12px; font-size: 0.92rem; }
  .review table { margin: 0; font-size: 0.88rem; }
  .review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 0.9rem; line-height: 1.5; }
  .co-actions { display: flex; justify-content: space-between; gap: 12px; padding: 16px 24px 22px; border-top: 1px solid var(--line); }
  .co-actions .btn.primary { margin-left: auto; }
  .co-done { padding: 28px 24px 32px; display: grid; gap: 14px; }
  .co-done h3 { font-size: 1.4rem; }
  .ordno { font-family: var(--mono); font-size: 1.05rem; }
  @media (max-width: 640px) { .co-step, .review-grid { grid-template-columns: 1fr; } .modal { padding: 12px 8px; } }

  /* Partner PDFs. Two print modes, chosen by URL hash:
     #pdf-en / #pdf-de     = the website as it is, on 1600x1250 px landscape pages (html.pdf-screen)
     #print-en / #print-de = compact A4 plan (html.print-plan) */
  .print-contact { display: none; margin-top: 20px; border-left: 3px solid var(--accent); padding: 10px 16px; max-width: 60ch; }
  .print-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
  @media print {
    :root { --ground: #F3F5F7; --paper: #FFFFFF; --tint: #E8EDF2; --ink: #0F1B2D; --muted: #5C6B7A; --line: #D3DAE2; --accent: #D93B2B; --on-accent: #FFFFFF; }
    * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    header { position: static; backdrop-filter: none; background: var(--ground); }
    .slbar, #done, .over-note, .overlay, .drawer, .modal { display: none !important; }
    .card { opacity: 1 !important; transform: none; }
    summary::after { display: none; }

    /* Website as it is: pin the desktop layout (Chrome evaluates the responsive breakpoints against its
       default paper width when printing), and only avoid cutting blocks at page edges. */
    html.pdf-screen .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
    html.pdf-screen .grid { grid-template-columns: repeat(3, 1fr); }
    html.pdf-screen .why { grid-template-columns: repeat(2, 1fr); }
    html.pdf-screen .form-grid { grid-template-columns: 1fr 1fr; }
    html.pdf-screen .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    html.pdf-screen nav { display: flex; }
    html.pdf-screen footer .wrap { grid-template-columns: 1fr auto; }
    html.pdf-screen .hero { padding: 72px 0 64px; }
    html.pdf-screen .bar { gap: 24px; }
    html.pdf-screen .bar .btn { display: inline-flex; }
    html.pdf-screen section { padding: 72px 0; }
    html.pdf-screen .card, html.pdf-screen .step, html.pdf-screen .why div, html.pdf-screen details,
    html.pdf-screen .budget, html.pdf-screen table, html.pdf-screen .form-grid, html.pdf-screen .deadline { break-inside: avoid; page-break-inside: avoid; }
    html.pdf-screen h2, html.pdf-screen h3, html.pdf-screen .eyebrow, html.pdf-screen .lede { break-after: avoid; page-break-after: avoid; }
    html.pdf-screen h1, html.pdf-screen h2, html.pdf-screen .lede, html.pdf-screen .eyebrow, html.pdf-screen footer { break-inside: avoid; page-break-inside: avoid; }
    html.pdf-screen #how .wrap, html.pdf-screen #why .wrap, html.pdf-screen #budget .wrap, html.pdf-screen #request .wrap, html.pdf-screen #faq .wrap { break-inside: avoid; page-break-inside: avoid; }

    /* Compact A4 plan. */
    html.print-plan { --ground: #FFFFFF; --tint: #F0F3F6; }
    html.print-plan body { font-size: 10.5pt; }
    html.print-plan h1 { font-size: 2.1rem; }
    html.print-plan h2 { font-size: 1.45rem; }
    html.print-plan header { background: #FFFFFF; }
    html.print-plan .bar { height: 44px; }
    html.print-plan nav, html.print-plan .lang, html.print-plan header .btn, html.print-plan .hero-actions, html.print-plan .card .add, html.print-plan #form { display: none !important; }
    html.print-plan .print-contact { display: block; margin-top: 12px; }
    html.print-plan .wrap { max-width: none; padding: 0; }
    html.print-plan section { padding: 18px 0; }
    html.print-plan .lede { margin-top: 8px; font-size: 0.95rem; }
    html.print-plan .hero { padding: 0 0 12px; }
    html.print-plan .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 24px; }
    html.print-plan .hero .lede { font-size: 0.95rem; }
    html.print-plan .budget { padding: 16px 18px 14px; }
    html.print-plan .budget-value { font-size: 2rem; }
    html.print-plan .track { margin: 16px 0 6px; }
    html.print-plan .thresholds { margin-top: 18px; gap: 6px; font-size: 0.78rem; }
    html.print-plan #how { padding: 8px 0 0; }
    html.print-plan .steps { margin-top: 14px; gap: 16px; }
    html.print-plan .step { padding-top: 10px; }
    html.print-plan .step p { margin-top: 4px; font-size: 0.88rem; }
    html.print-plan .deadline { margin-top: 14px; padding: 7px 12px; }
    html.print-plan .grid.print-pages { display: block; margin-top: 12px; }
    html.print-plan .print-grid { gap: 12px; margin-bottom: 0; break-inside: avoid; page-break-inside: avoid; }
    html.print-plan .print-grid:first-child { break-before: avoid; page-break-before: avoid; }
    html.print-plan .print-grid + .print-grid { break-before: page; page-break-before: always; }
    html.print-plan .card { padding: 10px; gap: 6px; }
    html.print-plan .card .art { aspect-ratio: 3 / 2; }
    html.print-plan .card h3 { font-size: 0.92rem; }
    html.print-plan .card .blurb { font-size: 0.78rem; }
    html.print-plan .specs { font-size: 0.66rem; line-height: 1.55; padding-top: 6px; }
    html.print-plan .tag { padding: 6px 10px 6px 20px; }
    html.print-plan .tag b { font-size: 0.9rem; }
    html.print-plan .why { grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 14px; }
    html.print-plan .why div { padding: 12px 0; }
    html.print-plan .why p { font-size: 0.88rem; margin-top: 4px; }
    html.print-plan table { margin-top: 14px; font-size: 0.9rem; }
    html.print-plan th, html.print-plan td { padding: 8px 8px 8px 0; }
    html.print-plan .foot { margin-top: 10px; font-size: 0.76rem; }
    html.print-plan .step, html.print-plan .why div, html.print-plan details, html.print-plan .budget, html.print-plan table, html.print-plan .print-contact, html.print-plan .deadline, html.print-plan #request { break-inside: avoid; page-break-inside: avoid; }
    html.print-plan h2, html.print-plan h3 { break-after: avoid; page-break-after: avoid; }
    html.print-plan #catalogue, html.print-plan #why, html.print-plan #request { break-before: page; page-break-before: always; border-top: 0; }
    html.print-plan #faq { padding-top: 6px; }
    html.print-plan details { padding: 7px 0; }
    html.print-plan details p { font-size: 0.9rem; margin-top: 4px; }
    html.print-plan footer { padding: 20px 0 0; font-size: 0.8rem; }
  }

/* legal pages */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 8px 0 24px; }
.legal h1.second { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.legal h3 { margin: 18px 0 6px; }
.legal p { margin: 0 0 12px; max-width: 70ch; }
.legal .nb { white-space: nowrap; }
