/* AccessAIbility site, pass 15 visual system (Kiln, 4 Oct 2026).
   One system for every page: tokens -> base -> layout -> components -> themes and preferences.
   Rules this file keeps: every size in rem (the Text size option scales everything); no fixed line-height or
   letter-spacing survives a user choice from the Accessibility options panel; no motion without consent; four
   themes plus forced colours; nothing important is conveyed by colour alone. */

/* 1. Tokens ---------------------------------------------------------------------------------------------------- */
:root {
  color-scheme: light;
  /* brand */
  --brand-navy: #070b1f;        /* the logo's own background, used for the brand bands */
  --brand-navy-2: #10183a;
  --brand-red: #d90f2e;         /* 5.3:1 on white */
  --brand-red-strong: #b5001f;
  --brand-blue: #1f4fd6;        /* 6.6:1 on white */
  /* surfaces and text */
  --canvas: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --ink: #0a1128;
  --muted: #46536b;             /* 7.6:1 on white */
  --line: #d9e0eb;
  --line-strong: #6b7890;       /* control borders: 4.4:1 on white, 4.1:1 on the canvas (1.4.11 needs 3:1) */
  --link: var(--brand-blue);
  --accent: var(--brand-red);
  --focus: #1f4fd6;
  --on-brand: #ffffff;
  --on-brand-muted: #c9d2e6;    /* 11:1 on the navy */
  --error: #b5001f;             /* 6.9:1 on white */
  --error-bg: #fff4f6;
  /* compatibility with pass 14 names (preferences.js and older pages) */
  --paper: var(--canvas); --panel: var(--surface); --border: var(--line-strong); --red: var(--accent);
  /* type */
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --step--1: .875rem; --step-0: 1rem; --step-1: 1.1875rem; --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem);
  --tracking-tight: -.022em;
  /* space (4 px grid) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  /* shape and depth */
  --radius-s: .5rem; --radius-m: .875rem; --radius-l: 1.25rem; --radius-pill: 999rem;
  --shadow-1: 0 1px 2px rgb(10 17 40 / .06), 0 1px 1px rgb(10 17 40 / .04);
  --shadow-2: 0 10px 30px -12px rgb(10 17 40 / .22), 0 2px 6px rgb(10 17 40 / .06);
  --container: 74rem;
  font: 112.5%/1.6 var(--font-body);
}

/* 2. Base ------------------------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); text-rendering: optimizeLegibility; }
img { max-width: 100%; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: .08em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .16em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: .25rem; }
::selection { background: #ffd9df; color: #0a1128; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: var(--tracking-tight); color: inherit; text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
h1 { font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; margin: .2rem 0 var(--s-5); }
h3 { font-size: var(--step-2); font-weight: 700; margin: .2rem 0 var(--s-2); }
p, li { max-width: 68ch; overflow-wrap: anywhere; }
strong { font-weight: 700; }
.skip { position: absolute; top: -6rem; left: var(--s-3); z-index: 50; background: var(--surface); color: var(--ink); padding: var(--s-2) var(--s-4); border-radius: var(--radius-s); font-weight: 700; box-shadow: var(--shadow-2); }
.skip:focus { top: var(--s-3); }
.wrap { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
main { min-height: 60vh; }
main:focus { outline: none; }

/* 3. Header: the brand band ------------------------------------------------------------------------------------ */
.site-header { position: relative; z-index: 30; background: var(--brand-navy); color: var(--on-brand); border-bottom: 1px solid rgb(255 255 255 / .08); }
.site-header::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 2px; background: linear-gradient(90deg, var(--brand-red) 0 9rem, transparent 9rem); }
/* Two tiers, in source order: brand and the options/menu buttons on top, the main navigation and language below. */
.header-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--s-5); padding: var(--s-4) 0 var(--s-1); }
.site-header { --header-gutter: clamp(1.25rem, 2.5vw, 2.75rem); }   /* pass 16 r3 (Karol): the header uses the screen width with a small gutter */
.site-header .header-inner { width: auto; max-width: none; margin-inline: 0; padding-inline: var(--header-gutter); }
.header-inner::after { content: ""; order: 3; flex: 0 0 calc(100% + 2 * var(--header-gutter)); height: 1px; margin: var(--s-3) calc(-1 * var(--header-gutter)) 0; background: rgb(255 255 255 / .1); }   /* the hairline is also the row break */
.brand { order: 1; display: flex; align-items: center; width: 14rem; border-radius: var(--radius-s); }   /* pass 16: the cut-out logo, no box */
.brand img { display: block; width: 100%; height: auto; }
.nav { order: 4; flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1); margin: var(--s-2) 0 0 calc(-1 * var(--s-3)); }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--s-3); color: var(--on-brand-muted); font-weight: 600; font-size: var(--step--1); letter-spacing: .01em; text-decoration: none; border-radius: var(--radius-s); }
.nav a:hover { color: var(--on-brand); background: rgb(255 255 255 / .06); }
.nav a[aria-current=page] { color: var(--on-brand); }
.nav a[aria-current=page]::after { content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: .35rem; height: 2px; border-radius: 2px; background: var(--brand-red); }
.header-controls { order: 2; margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--s-2); }
.header-button { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; max-width: 100%; padding: .4rem .95rem; font: inherit; font-size: var(--step--1); font-weight: 650; color: var(--on-brand); background: rgb(255 255 255 / .04); border: 1.5px solid rgb(255 255 255 / .55); border-radius: var(--radius-pill); cursor: pointer; overflow-wrap: anywhere; }
.header-button:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.header-controls .header-button[aria-controls="accessibility-options"]::before { content: ""; flex: none; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--icon-access) center / contain no-repeat; mask: var(--icon-access) center / contain no-repeat; }
:root { --icon-access: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='4.2' r='2.2'/%3E%3Cpath d='M3.5 7.6c2.9.9 5.6 1.3 8.5 1.3s5.6-.4 8.5-1.3l.6 1.9c-2.3.8-4.6 1.2-6.9 1.4v3.6l2.4 7.4-1.9.6L12 16.1l-2.7 6.4-1.9-.6 2.4-7.4v-3.6c-2.3-.2-4.6-.6-6.9-1.4z'/%3E%3C/svg%3E"); }
.menu-button { display: none; }
.language-nav { order: 5; align-self: flex-start; margin-left: auto; display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-2); color: var(--on-brand-muted); font-size: var(--step--1); }
.language-nav a, .language-nav span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .35rem; font-weight: 650; white-space: nowrap; }
.language-nav a { color: var(--on-brand-muted); text-decoration: none; }
.language-nav a:hover { color: var(--on-brand); text-decoration: underline; }
.language-nav [aria-current] { color: var(--on-brand); box-shadow: inset 0 -2px 0 var(--brand-red); }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-head :focus-visible { outline-color: #ffd24a; }

/* 4. Accessibility options: first class, same panel, a modern card ---------------------------------------------- */
.options-panel { position: absolute; z-index: 40; top: calc(100% + .5rem); right: max(1.25rem, calc((100vw - var(--container)) / 2)); width: min(36rem, calc(100vw - 2rem)); max-height: calc(100vh - 7rem); overflow-y: auto; padding: var(--s-5); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand-red); border-radius: var(--radius-m); box-shadow: 0 24px 60px -20px rgb(7 11 31 / .45); overflow-wrap: anywhere; }
.options-panel[hidden] { display: none !important; }
.options-head, .option-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); }
.options-head h2 { margin: 0; font-size: var(--step-2); }
.options-panel > p { color: var(--muted); margin: var(--s-3) 0 var(--s-4); }
.options-panel .header-button { color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); }
.options-panel .header-button:hover { background: var(--surface-2); border-color: var(--ink); }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); gap: var(--s-4); }
.options-panel fieldset { min-width: 0; margin: 0; padding: var(--s-3) var(--s-4) var(--s-4); border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--canvas); }
.options-panel legend { padding: 0 var(--s-2); font-weight: 750; }
.options-panel label:not(.check) { display: block; margin: var(--s-3) 0 var(--s-1); font-weight: 650; font-size: var(--step--1); }
.options-panel select { display: block; width: 100%; min-width: 0; min-height: 2.75rem; padding: .4rem .6rem; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); }
.options-panel .check { display: flex; align-items: center; gap: var(--s-3); min-height: 2.75rem; font-weight: 600; }
.options-panel .check input { flex: none; width: 1.35rem; height: 1.35rem; accent-color: var(--brand-blue); }
.options-panel .option-actions { margin-top: var(--s-4); }
.options-panel [role="status"] { color: var(--ink); font-weight: 700; }
.options-panel :focus-visible { outline-color: var(--focus); }

/* 5. Hero and page heads: the dark brand band continues into the opening of every page ------------------------- */
.hero, .page-head { position: relative; overflow: hidden; color: var(--on-brand); background:
    radial-gradient(60rem 30rem at 85% -10%, rgb(47 102 255 / .30), transparent 60%),
    radial-gradient(40rem 22rem at 10% 120%, rgb(217 15 46 / .16), transparent 60%),
    linear-gradient(180deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%); }
.hero { padding: clamp(var(--s-7), 7vw, var(--s-9)) 0 clamp(var(--s-7), 6vw, 5.5rem); }
.page-head { padding: clamp(var(--s-7), 6vw, 5.5rem) 0 clamp(var(--s-6), 5vw, var(--s-8)); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(16rem, .65fr); gap: clamp(var(--s-6), 5vw, var(--s-8)); align-items: center; }
.hero h1, .page-head h1 { font-size: var(--step-4); max-width: 20ch; margin: var(--s-2) 0 var(--s-5); color: #fff; }
.hero .lead, .page-head .lead { color: var(--on-brand-muted); }
.hero .eyebrow, .page-head .eyebrow { color: #ff8a9b; }
.hero a:not(.button), .page-head a:not(.button) { color: #a9c3ff; }
.lead { font-size: var(--step-1); line-height: 1.6; max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 var(--s-3); }
.eyebrow::before { content: ""; width: 1.25rem; height: 2px; background: currentColor; border-radius: 2px; }
.home-page .section > .wrap > .eyebrow, .home-page .story-layout .prose > .eyebrow { color: var(--muted); }

/* The Freedom moment: a product card, not a diagram */
.hero-rail { position: relative; padding: var(--s-5); color: var(--ink); background: var(--surface); border-radius: var(--radius-l); box-shadow: 0 30px 60px -24px rgb(0 0 0 / .55); max-width: 20rem; justify-self: end; }   /* r3: narrower (Karol) */
.hero-rail::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: var(--radius-l) var(--radius-l) 0 0; background: linear-gradient(90deg, var(--brand-red), var(--brand-blue)); }
.rail-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); margin: 0; color: var(--muted); font-size: var(--step--1); font-weight: 650; line-height: 1.35; }
.rail-status strong { display: inline-flex; align-items: center; min-height: 1.6rem; padding: 0 .65rem; border-radius: var(--radius-pill); background: #ffe6ea; color: var(--brand-red-strong); font-size: .78rem; letter-spacing: .02em; }
.rail-art { display: block; width: 100%; height: auto; margin: var(--s-4) 0; border-radius: var(--radius-m); }
.rail-exchange { display: grid; gap: var(--s-3); }
.rail-turn { margin: 0; padding: var(--s-3) var(--s-4); border-radius: var(--radius-m); background: var(--surface-2); line-height: 1.35; }
.rail-turn:last-child { background: #e8efff; }
.rail-turn strong { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .2rem; }
.rail-turn span { display: block; font-size: var(--step-1); font-weight: 700; }
.rail-turn:last-child span { font-size: var(--step-0); font-weight: 600; }
.hero-art { min-height: 17rem; background: url("signal-lines.svg") center / contain no-repeat; }
.hero-art svg { display: none; }

/* 6. Sections and layout --------------------------------------------------------------------------------------- */
.section { padding: clamp(var(--s-7), 7vw, var(--s-9)) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.prose { max-width: 46rem; }
.wrap.prose { max-width: none; }   /* one left edge for every section; line length is held by p and li at 68ch */
.wrap.prose > h2, .wrap.prose > .eyebrow + h2 { max-width: 30ch; }
.prose h2 { margin-top: var(--s-6); }
.prose > :first-child, .prose > .eyebrow + h2 { margin-top: 0; }
.prose li { margin: var(--s-3) 0; }
.prose ol, .prose ul { padding-left: 1.4rem; }
.prose ol li::marker { color: var(--accent); font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: var(--s-5); }
.grid.pair { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }   /* four items: two by two, never three and one */

/* 7. Cards: products, tiles ------------------------------------------------------------------------------------ */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s-5); align-items: stretch; }
.product-lead, .product-support article, .tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-1); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-lead { display: flex; flex-direction: column; padding: clamp(var(--s-5), 3vw, var(--s-7)); overflow: hidden; }
.product-lead > a { margin-top: auto; }   /* the flagship card stretches to its neighbours; its action sits at the foot */
.product-lead > p:not(.eyebrow) { font-size: var(--step-1); }
.product-lead::after { content: ""; position: absolute; right: -4rem; bottom: -4rem; width: 14rem; height: 14rem; border-radius: 50%; background: radial-gradient(circle, rgb(31 79 214 / .12), transparent 70%); pointer-events: none; }
.product-lead h3 { font-size: var(--step-3); margin-bottom: var(--s-3); }
.product-support { display: grid; gap: var(--s-5); }
.product-support article { padding: var(--s-5); }
.product-support .eyebrow, .product-lead .eyebrow { margin-bottom: var(--s-2); }
.product-lead::before, .product-support article::before, .tile::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: var(--radius-m) 0 0 var(--radius-m); background: var(--brand-blue); }
.product-lead::before { background: var(--brand-red); }
.product-lead > a, .product-support article > a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; font-weight: 700; text-decoration: none; }
.product-lead > a::after, .product-support article > a::after { content: "\2192"; transition: transform .18s ease; }
.product-lead > a:hover, .product-support article > a:hover { text-decoration: underline; }
.product-lead > a:hover::after, .product-support article > a:hover::after { transform: translateX(3px); }
.tile { padding: var(--s-5); }
.tile h3 { font-size: var(--step-1); }
.tile p { color: var(--muted); margin-bottom: 0; }
.product-lead:hover, .product-support article:hover, .tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: #c4cddc; }
.section-alt .tile { background: var(--canvas); }

/* 7b. Logo slots. Every product and service carries a mark; when a product logo is chosen it replaces the glyph
   (<img alt=""> inside .mark). The glyphs are decorative and hidden from assistive technology. */
.mark { display: inline-grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; border-radius: var(--radius-m); background: var(--brand-navy); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 8px 20px -10px rgb(7 11 31 / .55); }
.mark svg { width: 1.75rem; height: 1.75rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mark svg .solid { fill: currentColor; stroke: none; }
.mark img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.mark.flagship { background: linear-gradient(140deg, var(--brand-red) 0%, #8c0820 100%); }
.prose > .mark, .page-head .mark { display: grid; margin-bottom: var(--s-4); }
.page-head .mark { width: 4.5rem; height: 4.5rem; margin-bottom: var(--s-5); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .24); }
.page-head .mark.flagship { background: linear-gradient(140deg, var(--brand-red) 0%, #8c0820 100%); box-shadow: none; }
.page-head .mark svg { width: 2.25rem; height: 2.25rem; }

/* Product and service pages: the name is the heading, the promise sits under it */
.page-head h1.product-name { margin-bottom: var(--s-3); }
.tagline { margin: 0 0 var(--s-4); max-width: 38ch; font-family: var(--font-display); font-size: var(--step-2); font-weight: 650; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.status { display: inline-flex; align-items: center; min-height: 1.75rem; margin: 0; padding: 0 .7rem; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }

/* Offers: the four things we do, as equal cards with a logo slot */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-6); margin-bottom: var(--s-6); }
.section-head h2 { margin: 0; max-width: 24ch; }
.section-head > p { margin: 0; max-width: 34rem; color: var(--muted); }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: var(--s-5); }
.offer { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(var(--s-5), 3vw, var(--s-6)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-1); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.offer::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: var(--radius-m) 0 0 var(--radius-m); background: var(--brand-blue); }
.offer.flagship::before { background: var(--brand-red); }
.offer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); width: 100%; margin-bottom: var(--s-4); }
.offer h3 { font-size: var(--step-2); margin: 0 0 var(--s-2); }
.offer > p { color: var(--muted); }
.offer > a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; margin-top: auto; font-weight: 700; text-decoration: none; }
.offer > a::after { content: "\2192"; content: "\2192" / ""; transition: transform .18s ease; }
.offer > a:hover { text-decoration: underline; }
.offer > a:hover::after { transform: translateX(3px); }
.offer:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: #c4cddc; }

/* Steps: how an engagement runs */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--s-5); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; max-width: none; margin: 0; padding: calc(var(--s-5) + 2.5rem) var(--s-5) var(--s-5); counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.steps li::before { content: counter(step, decimal-leading-zero); content: counter(step, decimal-leading-zero) / ""; position: absolute; top: var(--s-5); left: var(--s-5); font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; line-height: 1; color: var(--accent); }
.steps strong { display: block; margin-bottom: var(--s-1); font-size: var(--step-1); }
.steps span { color: var(--muted); }
.section-alt .steps li { background: var(--canvas); }

/* Values: a ruled list, label beside its line */
.values { display: grid; margin: 0; padding: 0; list-style: none; }
.values li { display: grid; grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr); gap: var(--s-2) var(--s-5); max-width: none; margin: 0; padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.values li:last-child { border-bottom: 1px solid var(--line); }
.values strong { font-family: var(--font-display); font-size: var(--step-1); }
.values span { color: var(--muted); }

/* A closing call to action: the brand band returns before the footer */
.cta-band { color: var(--on-brand); padding: clamp(var(--s-7), 6vw, var(--s-8)) 0; background:
    radial-gradient(40rem 20rem at 90% 0%, rgb(47 102 255 / .28), transparent 60%),
    linear-gradient(180deg, var(--brand-navy-2) 0%, var(--brand-navy) 100%); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5) var(--s-7); }
.cta-band h2 { margin: 0 0 var(--s-2); color: #fff; }
.cta-band p { margin: 0; color: var(--on-brand-muted); }
.cta-band .actions { margin-top: 0; }
.cta-band .button.secondary { color: #fff; border-color: rgb(255 255 255 / .6); }
.cta-band .button.secondary:hover { background: rgb(255 255 255 / .1); border-color: #fff; color: #fff; }
.cta-band a:not(.button) { color: #a9c3ff; }
.cta-band :focus-visible { outline-color: #ffd24a; }

/* Text beside a picture of the product (the Jukebox queue) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .85fr); gap: clamp(var(--s-6), 5vw, var(--s-8)); align-items: center; }
.split .mark { margin-bottom: var(--s-4); }
.queue { margin: 0; padding: var(--s-5); color: #fff; background: linear-gradient(180deg, var(--brand-navy-2), var(--brand-navy)); border-radius: var(--radius-l); box-shadow: var(--shadow-2); }
.queue figcaption { margin-bottom: var(--s-4); color: var(--on-brand-muted); font-size: var(--step--1); font-weight: 650; }
.queue ol { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.queue li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-1) var(--s-3); max-width: none; margin: 0; padding: var(--s-3) var(--s-4); border-radius: var(--radius-s); background: rgb(255 255 255 / .06); font-weight: 600; }
.queue li.now { background: rgb(255 255 255 / .13); box-shadow: inset 3px 0 0 var(--brand-red); }
.queue li span { color: var(--on-brand-muted); font-size: .8rem; font-weight: 700; }
.queue .queue-keys { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 0; color: var(--on-brand-muted); font-size: .8rem; font-weight: 700; }
.queue .queue-keys span { padding: .2rem .6rem; border: 1px solid rgb(255 255 255 / .3); border-radius: var(--radius-pill); }

/* Contact: the form beside the direct routes */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(16rem, .9fr); gap: clamp(var(--s-6), 5vw, var(--s-8)); align-items: start; }
.form-card { padding: clamp(var(--s-5), 3vw, var(--s-6)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-1); }
.form-card h2, .contact-card h2 { font-size: var(--step-2); margin: 0 0 var(--s-4); }
.contact-card { padding: clamp(var(--s-5), 3vw, var(--s-6)); color: var(--on-brand); background: linear-gradient(180deg, var(--brand-navy-2), var(--brand-navy)); border-radius: var(--radius-m); box-shadow: var(--shadow-2); }
.contact-card h2 { color: #fff; }
.contact-list { display: grid; gap: var(--s-5); margin: 0; }
.contact-list dt { color: var(--on-brand-muted); font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.contact-list dd { margin: .25rem 0 0; font-size: var(--step-1); font-weight: 650; overflow-wrap: anywhere; }
.contact-list address { font-style: normal; }
.contact-card a { color: #fff; text-decoration-thickness: .08em; }
.contact-card a:hover { text-decoration-thickness: .16em; }
.contact-card :focus-visible { outline-color: #ffd24a; }
.contact-card > p { margin: var(--s-5) 0 0; color: var(--on-brand-muted); font-size: var(--step--1); }

/* 8. Story --------------------------------------------------------------------------------------------------- */
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .9fr); gap: clamp(var(--s-6), 5vw, var(--s-8)); align-items: center; }
.story-figure { min-width: 0; margin: 0; }
.story-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-l); box-shadow: var(--shadow-2); }
.story-figure figcaption { color: var(--muted); font-size: var(--step--1); margin-top: var(--s-3); }

/* 9. Actions ------------------------------------------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; max-width: 100%; padding: .65rem 1.3rem; background: var(--brand-red); border: 1.5px solid var(--brand-red); border-radius: var(--radius-s); color: #fff; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; box-shadow: 0 6px 16px -8px rgb(217 15 46 / .7); transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.button:hover { background: var(--brand-red-strong); border-color: var(--brand-red-strong); color: #fff; transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.button.secondary:hover { background: var(--surface-2); border-color: var(--ink); color: var(--ink); }
.hero .button.secondary, .page-head .button.secondary { color: #fff; border-color: rgb(255 255 255 / .6); }
.hero .button.secondary:hover, .page-head .button.secondary:hover { background: rgb(255 255 255 / .1); border-color: #fff; color: #fff; }
.button:disabled { background: #566276; border-color: #566276; color: #fff; cursor: not-allowed; box-shadow: none; }
.notice { max-width: 46rem; padding: var(--s-4) var(--s-5); border: 1px solid #f4c2cb; border-left: 4px solid var(--accent); border-radius: var(--radius-s); background: #fff4f6; overflow-wrap: anywhere; }

/* 10. Forms -------------------------------------------------------------------------------------------------- */
.form { max-width: 38rem; }
.field { margin: var(--s-4) 0; }
.field label { display: block; font-weight: 700; margin-bottom: var(--s-1); }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .6rem .75rem; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); }
.field input:disabled { background: var(--surface-2); }
.hint { color: var(--muted); font-size: var(--step--1); }
/* The contact form (Quill's markup, also rendered by contact.php with its error summary) */
main form p { max-width: 38rem; margin: 0 0 var(--s-4); }
main form label { display: block; margin-bottom: var(--s-1); font-weight: 700; }
main form br { display: none; }
main form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) { display: block; width: 100%; min-height: 3rem; padding: .6rem .75rem; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); }
main form textarea { min-height: 10rem; resize: vertical; }
main form :is(input, select, textarea):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--focus); }
main form :is(input, select, textarea)[aria-invalid="true"] { border: 2px solid var(--error); }
main form button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; max-width: 100%; padding: .65rem 1.5rem; font: inherit; font-weight: 700; color: #fff; background: var(--brand-red); border: 1.5px solid var(--brand-red); border-radius: var(--radius-s); cursor: pointer; box-shadow: 0 6px 16px -8px rgb(217 15 46 / .7); }
main form button[type="submit"]:hover { background: var(--brand-red-strong); border-color: var(--brand-red-strong); }
main form p:has(> button) { margin-bottom: 0; }
.contact-form > p:not(:has(label, button)) { color: var(--muted); font-size: var(--step--1); }
.newsletter-section { background: var(--surface-2); border-block: 1px solid var(--line); }
.newsletter-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.newsletter-inner > * { min-width: 0; }
.newsletter-inner form p { max-width: none; }
.newsletter-status { min-height: 1.6em; color: var(--muted); }
@media (max-width: 64rem) { .newsletter-inner { grid-template-columns: 1fr; gap: var(--s-5); } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* Quill's honeypot; its inline style moved here */
main form p:has(> input[type="checkbox"]) { display: flex; align-items: flex-start; gap: var(--s-3); }
main form input[type="checkbox"] { flex: none; width: 1.35rem; height: 1.35rem; margin: .2rem 0 0; accent-color: var(--brand-blue); }
main form input[type="checkbox"] + label { display: inline; margin: 0; font-weight: 600; }
.field-error { display: block; margin: 0 0 var(--s-1); color: var(--error); font-weight: 700; }
.error-summary { max-width: 46rem; margin: 0 0 var(--s-6); padding: var(--s-5); background: var(--error-bg); border: 2px solid var(--error); border-left-width: 6px; border-radius: var(--radius-s); }
.error-summary h1 { margin: 0 0 var(--s-3); font-size: var(--step-3); }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: var(--error); font-weight: 700; }
main > .wrap:first-child { padding-block: var(--s-7); }   /* the handler's page has no page head */

/* 11. Footer: a full brand band, sitemap first ------------------------------------------------------------------ */
.site-footer { position: relative; background: var(--brand-navy); color: var(--on-brand-muted); padding: var(--s-8) 0 var(--s-6); border-top: 1px solid rgb(255 255 255 / .06); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--brand-red) 0 9rem, transparent 9rem); }
.footer-top { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.6fr); gap: var(--s-6); padding-bottom: var(--s-6); margin-bottom: var(--s-5); border-bottom: 1px solid rgb(255 255 255 / .1); }
.footer-sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--s-5); }
.footer-brand img { display: block; width: 11rem; height: auto; border-radius: .375rem; }
.footer-brand p { margin: var(--s-4) 0 0; max-width: 24rem; color: var(--on-brand-muted); }
.footer-col { display: grid; align-content: start; gap: var(--s-1); }
.footer-title { margin: 0 0 var(--s-2); color: #fff; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--on-brand-muted); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); font-size: var(--step--1); }
.footer-inner > span { min-width: 0; overflow-wrap: anywhere; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-4); }
.site-footer a { color: var(--on-brand-muted); }
.footer-links a, .footer-options { display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer-links a:hover { color: #fff; }
.footer-options { padding: 0; border: 0; color: #fff; background: transparent; text-decoration: underline; text-underline-offset: .2em; font: inherit; font-weight: 650; cursor: pointer; }

/* 12. Reduced motion, contrast and forced colours -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover, .product-lead:hover, .product-support article:hover, .tile:hover { transform: none; }
}
html.reduce-motion { scroll-behavior: auto; }
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { transition: none !important; animation: none !important; }
html.reduce-motion .button:hover, html.reduce-motion .product-lead:hover, html.reduce-motion .product-support article:hover, html.reduce-motion .tile:hover { transform: none; }

/* 13. Themes: device dark, chosen light/dark, high contrast ------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) { color-scheme: dark; --canvas: #0a0f24; --surface: #121a37; --surface-2: #1a2447; --ink: #f2f5fc; --muted: #c3cbdc; --line: #26325a; --line-strong: #7c8bb0; --link: #9bbcff; --accent: #ff6b80; --focus: #ffd24a; --error: #ff8a9b; --error-bg: #2a1420; }
  :root:not([data-theme]) .notice { background: #2a1420; border-color: #6b2a3b; }
  :root:not([data-theme]) .mark:not(.flagship) { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
  :root:not([data-theme]) .rail-turn:last-child { background: #1d2a55; }
  :root:not([data-theme]) .rail-status strong { background: #3a1522; color: #ffb1bd; }
}
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; --canvas: #0a0f24; --surface: #121a37; --surface-2: #1a2447; --ink: #f2f5fc; --muted: #c3cbdc; --line: #26325a; --line-strong: #7c8bb0; --link: #9bbcff; --accent: #ff6b80; --focus: #ffd24a; --error: #ff8a9b; --error-bg: #2a1420; }
html[data-theme="dark"] .notice { background: #2a1420; border-color: #6b2a3b; }
html[data-theme="dark"] .mark:not(.flagship) { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
html[data-theme="dark"] .rail-turn:last-child { background: #1d2a55; }
html[data-theme="dark"] .rail-status strong { background: #3a1522; color: #ffb1bd; }
html[data-theme="contrast-light"] { color-scheme: light; --canvas: #fff; --surface: #fff; --surface-2: #fff; --ink: #000; --muted: #000; --line: #000; --line-strong: #000; --link: #003c70; --accent: #000; --focus: #000; --brand-red: #000; --brand-red-strong: #000; --brand-blue: #000; --error: #000; --error-bg: #fff; }
html[data-theme="contrast-dark"] { color-scheme: dark; --canvas: #000; --surface: #000; --surface-2: #000; --ink: #fff; --muted: #fff; --line: #fff; --line-strong: #fff; --link: #ff0; --accent: #ff0; --focus: #ff0; --brand-red: #ff0; --brand-red-strong: #ff0; --brand-blue: #ff0; --brand-navy: #000; --brand-navy-2: #000; --error: #ff0; --error-bg: #000; }
html[data-theme^="contrast"] .hero, html[data-theme^="contrast"] .page-head { background: var(--brand-navy); }
html[data-theme="contrast-light"] .hero, html[data-theme="contrast-light"] .page-head { background: #000; }
html[data-theme^="contrast"] .product-lead, html[data-theme^="contrast"] .product-support article, html[data-theme^="contrast"] .tile, html[data-theme^="contrast"] .notice { border: 2px solid var(--ink); box-shadow: none; background: var(--surface); }
html[data-theme^="contrast"] .product-lead::after, html[data-theme^="contrast"] .hero-rail::before { display: none; }
html[data-theme="contrast-light"] .button { background: #000; border-color: #000; color: #fff; box-shadow: none; }
html[data-theme="contrast-light"] .button.secondary { background: #fff; color: #000; border: 2px solid #000; }
html[data-theme="contrast-dark"] .button { background: #ff0; border-color: #ff0; color: #000; box-shadow: none; }
html[data-theme="contrast-dark"] .button.secondary { background: #000; color: #ff0; border: 2px solid #ff0; }
html[data-theme^="contrast"] .hero-rail { background: var(--surface); border: 2px solid var(--ink); box-shadow: none; }
html[data-theme^="contrast"] .rail-turn, html[data-theme^="contrast"] .rail-turn:last-child { background: var(--surface); border: 2px solid var(--ink); }
html[data-theme^="contrast"] .rail-status strong { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); }
html[data-theme^="contrast"] .nav a { color: #fff; text-decoration: underline; }
html[data-theme^="contrast"] :is(.offer, .steps li, .form-card) { border: 2px solid var(--ink); box-shadow: none; background: var(--surface); }
html[data-theme^="contrast"] .offer::before { display: none; }
html[data-theme^="contrast"] :is(.cta-band, .contact-card, .queue, .mark, .page-head .mark) { background: var(--brand-navy); box-shadow: none; border: 2px solid #fff; }
html[data-theme="contrast-light"] :is(.cta-band, .contact-card, .queue, .mark, .page-head .mark) { background: #000; }
html[data-theme^="contrast"] .queue li, html[data-theme^="contrast"] .queue li.now { background: transparent; border: 1px solid #fff; box-shadow: none; }
html[data-theme^="contrast"] .status { background: var(--surface); border: 2px solid var(--ink); }
html[data-theme="contrast-dark"] :is(.cta-band, .contact-card) a:not(.button) { color: #ff0; }
@media (prefers-contrast: more) {
  :root:not([data-theme]) { --line: #4a5670; --line-strong: #1d2433; --muted: #2b3447; --on-brand-muted: #fff; }
  :root:not([data-theme]) .nav a { text-decoration: underline; }
}
/* Device dark plus More contrast: the light values above must not land on dark surfaces (Coda, FINDINGS-A item 1).
   Muted text and control borders become light; card lines stay visible. */
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root:not([data-theme]) { --line: #8f9cc4; --line-strong: #c3cbdc; --muted: #e6eaf4; --on-brand-muted: #fff; }
}
@media (forced-colors: active) {
  .site-header::after, .site-footer::before, .product-lead::before, .product-support article::before, .tile::before, .product-lead::after, .hero-rail::before, .eyebrow::before { display: none; }
  .brand { color: LinkText; text-decoration: underline; }
  .button, .notice, .tile, .product-lead, .product-support article, .hero-rail, .rail-turn { border: 2px solid CanvasText; }
  .nav a[aria-current=page] { text-decoration: underline; }
  .header-controls .header-button[aria-controls="accessibility-options"]::before { background: ButtonText; }
  .rail-art { display: none; }
  .offer::before, .queue li.now { box-shadow: none; }
  .offer::before { display: none; }
  .offer, .steps li, .form-card, .contact-card, .queue, .cta-band, .mark, .status, .error-summary { border: 2px solid CanvasText; }
}

/* 14. Preferences panel classes and the user's text-spacing choices win over the design ------------------------ */
html.highlight-links a:not(.brand):not(.button) { text-decoration: underline; text-decoration-thickness: .15em; }
html.highlight-links .nav a, html.highlight-links .footer-col a, html.highlight-links .language-nav a { text-decoration: underline; }
html.reading-mode .prose { max-width: 38rem; }
html.reading-mode .hero-art, html.reading-mode .rail-art { display: none; }
html.roomier-spacing p { margin-block-end: 2em; }
html.roomier-spacing .prose li { margin-block: 1.2em; }
/* preferences.js writes these on <html>; headings and controls follow them instead of the design's own values */
html[style*="letter-spacing"] :is(h1, h2, h3, .nav a, .eyebrow, .footer-title, .rail-turn strong, .header-button, .button) { letter-spacing: inherit; }
html[style*="line-height: 1.9"] :is(h1, h2, h3, .lead, .rail-turn, .rail-status), html[style*="line-height: 2.2"] :is(h1, h2, h3, .lead, .rail-turn, .rail-status) { line-height: inherit; }
html[style*="font-family"] :is(h1, h2, h3, body, button, select, input) { font-family: inherit; }

/* 15. Responsive ------------------------------------------------------------------------------------------------ */
@media (min-width: 64.001rem) {
  .grid > .feature { grid-column: span 2; }
}
@media (max-width: 80rem) {
  .nav { margin-left: calc(-1 * var(--s-2)); }
  .nav a { padding: 0 var(--s-2); }
  .nav a[aria-current=page]::after { left: var(--s-2); right: var(--s-2); }
}
@media (max-width: 64rem) {
  .hero .wrap, .product-layout, .story-layout, .split, .contact-layout { grid-template-columns: 1fr; }
  .hero-rail { justify-self: start; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  /* phones: one flowing row, still in source order: brand, buttons, the opened menu, language */
  .header-inner { gap: var(--s-3); padding: var(--s-3) 0; }
  .header-inner::after { display: none; }
  .brand { width: 9.5rem; }
  .header-controls { margin-left: auto; }
  .nav { flex: 0 0 100%; margin: 0; }
  .language-nav { margin: 0; }
  .menu-button { display: inline-flex; }
  .enhanced .nav { display: none; }
  .enhanced .nav[data-open="true"] { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: var(--s-2); }
  .enhanced .nav[data-open="true"] a { min-height: 3rem; border-top: 1px solid rgb(255 255 255 / .08); }
  .nav a[aria-current=page]::after { left: 0; right: auto; width: 3px; top: .6rem; bottom: .6rem; height: auto; }
  .header-controls { width: auto; }
  .options-panel { position: static; width: calc(100% - 1rem); max-height: none; margin: 0 auto var(--s-4); padding: var(--s-4); box-shadow: none; }
  .option-grid { grid-template-columns: minmax(0, 1fr); }
  .options-panel .check { align-items: flex-start; }
  .hero { padding: var(--s-6) 0 var(--s-7); }
  .hero h1, .page-head h1 { font-size: 2.15rem; }
  .lead { font-size: var(--step-0); }
  .hero-art { display: none; }
  .hero-rail { max-width: none; padding: var(--s-4); }
  .actions .button { width: 100%; }
  .section { padding: var(--s-7) 0; }
  .product-lead, .product-support article, .tile { padding: var(--s-4); }
  .footer-sitemap { grid-template-columns: 1fr 1fr; }
  .values li { grid-template-columns: minmax(0, 1fr); }
  .offer, .form-card, .contact-card { padding: var(--s-4); }
  .tagline { font-size: var(--step-1); }
}

/* Approved bilingual copy review: keep complete images and long Polish labels readable. */
main figure { min-width: 0; margin: 1.5rem 0; }
main figure img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: var(--radius-m); }
main figcaption { margin-top: .75rem; color: var(--muted); font-size: var(--step--1); overflow-wrap: anywhere; }
.architecture-figure { max-width: 72rem; margin-inline: auto; }
.vision-illustration { max-width: 68rem; }
#workplace-training figure { width: min(100%, 24rem); justify-self: center; }
.freedom-capture { padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.freedom-capture a, .architecture-figure a { display: block; }
.freedom-capture figcaption a, .architecture-figure figcaption a { display: inline; }
.grid > *, .offer-grid > *, .split > *, .contact-layout > *, .hero .wrap > * { min-width: 0; }
.hero-rail p { max-width: none; }
.hero .hero-rail a { color: var(--link); }
.button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center; }
select { max-width: 100%; }
@media (max-width: 42rem) {
  main figure { margin-inline: 0; }
  .freedom-capture { display: none; }
  .hero-rail { width: 100%; }
}

/* 16. Mobile topic navigation (Barry + Ula live review, 7 Oct 2026) ---------------------------------
   MOBILE ONLY: the phone Home stays concise (mission, invitations, contact). Detailed topic
   text lives on its matching subject page; compact topic cards replace the duplicated detail
   sections at the 42rem phone breakpoint. Desktop visuals are byte-for-byte the approved
   layout: every rule in this section is additive and nothing above it was changed.
   u-d-only = desktop-visible copy (current anchors/layout). u-m-only = mobile-visible route
   to the subject page. Hidden with display:none, so they drop out of tab order and the
   accessibility tree in the viewport where they do not apply. No animation is added. */
.u-m-only { display: none !important; }
@media (max-width: 42rem) {
  .u-d-only { display: none !important; }
  .u-m-only.u-m-block { display: block !important; }
  .u-m-only.u-m-inline { display: inline !important; }
  .home-page .home-detail { display: none !important; }
}
/* Topic cards follow the existing offer-card invitation pattern (Barry 20:34Z): one concise
   invitation, a real bold link with the arrow, the brand stripe (red for the Freedom card,
   blue otherwise), surface/border/shadow identical to .offer. Keyboard focus comes from the
   global :focus-visible rules; touch targets are >= 2.75rem like offer links; no motion.
   Same card structure in Polish and English. */
.home-topic { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(var(--s-5), 3vw, var(--s-6)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-1); }
/* r2 seam fix (Ula/Barry 7 Oct): the stripe sits INSIDE the 1px border with a corner radius
   1px tighter than the card, so the pale border arc stays unbroken at the top-left corner
   and the stripe no longer pokes past it. Scoped to .home-topic, which exists on phones
   only, so desktop is untouched by construction. */
.home-topic::before { content: ""; position: absolute; inset: 1px auto 1px 1px; width: 4px; border-radius: calc(var(--radius-m) - 1px) 0 0 calc(var(--radius-m) - 1px); background: var(--brand-blue); }
.home-topic.topic-freedom::before { background: var(--brand-red); }
.home-topic .eyebrow { margin-bottom: var(--s-2); }
.home-topic h2 { font-size: var(--step-2); margin: 0 0 var(--s-2); }
.home-topic p { max-width: 38rem; color: var(--muted); }
.home-topic .topic-cta { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; margin-top: auto; font-weight: 700; text-decoration: none; color: var(--link); }
.home-topic .topic-cta::after { content: "\2192"; content: "\2192" / ""; }
.home-topic .topic-cta:hover { text-decoration: underline; }
.home-topic .topic-links { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: auto; }
/* r3 seam fix on the EXISTING .tile cards (Ula's actual target, relayed 7 Oct): same
   inset-0/radius-m ::before seam as the topic cards, visible on the Freedom page tiles.
   Same one-pixel trick (stripe inside the 1px border, radius 1px tighter), wrapped in the
   phone breakpoint so desktop keeps the approved rendering bit for bit. Only .tile is
   corrected per instruction; .product-lead and .product-support share the rule but were
   not named in the request and are left exactly as-is. */
@media (max-width: 42rem) {
  .tile::before { inset: 1px auto 1px 1px; border-radius: calc(var(--radius-m) - 1px) 0 0 calc(var(--radius-m) - 1px); }
}
