/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
/*! ─────────────────────────────────────────────────────────────
    VetCare landing page — THE SOURCE.

    **Edit this file, never `public/landing/style.css`.** That one is
    built from this by `npm run build` (see vite.landing.config.js) and
    is overwritten every time, so a change made there survives until the
    next build and then vanishes without a word.

    It is built rather than hand-written so that the page and the
    application share one Tailwind: one version, one default theme,
    one palette. The palette below used to be fifteen hex
    values copied out of Tailwind by hand, under a comment claiming
    "the palette is the application's own" — a claim nothing enforced
    and which drifts the first time either side is re-toned. They are
    Tailwind's own `--color-*` variables now, so the claim is checked
    by the build.

    The page keeps its own class names rather than being rewritten into
    utilities, and that is deliberate: most of what is here — the crop
    system's `calc()`, the gradients, the perspective on the hero, the
    scroll reveal — has no utility equivalent and would come straight
    back as `@layer components` in a worse form. What the layers below
    buy instead is that a utility **wins** over these rules, so the next
    edit to the page can write `class="btn btn-primary mt-8"` and have
    `mt-8` take effect.

    The page exists in two languages — Latvian at `/`, English under
    `/en/` — and **neither of them is written by hand**. Both are
    rendered by `resources/landing/build.mjs` from one template and
    one dictionary per language, and that is what makes the pair safe:
    the earlier attempt was two hand-edited HTML files and was deleted
    after a day, because one argument maintained twice becomes two
    arguments the moment either is edited. Nobody edits these. This
    stylesheet is shared by both and is built once.

    The markup lives in `resources/landing/page.html` and the words in
    `resources/landing/lang/*.json`.
    ───────────────────────────────────────────────────────────── */
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-amber-700: oklch(55.5% .163 48.998);
    --color-teal-50: oklch(98.4% .014 180.72);
    --color-teal-400: oklch(77.7% .152 181.912);
    --color-teal-600: oklch(60% .118 184.704);
    --color-sky-400: oklch(74.6% .16 232.661);
    --color-blue-50: oklch(97% .014 254.604);
    --color-blue-500: oklch(62.3% .214 259.815);
    --color-blue-600: oklch(54.6% .245 262.881);
    --color-blue-700: oklch(48.8% .243 264.376);
    --color-indigo-500: oklch(58.5% .233 277.117);
    --color-slate-50: oklch(98.4% .003 247.858);
    --color-slate-100: oklch(96.8% .007 247.896);
    --color-slate-200: oklch(92.9% .013 255.508);
    --color-slate-500: oklch(55.4% .046 257.417);
    --color-slate-600: oklch(44.6% .043 257.281);
    --color-slate-800: oklch(27.9% .041 260.031);
    --color-slate-900: oklch(20.8% .042 265.755);
    --color-gray-200: oklch(92.8% .006 264.531);
    --color-white: #fff;
    --radius-lg: .5rem;
    --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
    --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
    --shadow-xl: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  *, :after, :before, ::backdrop {
    border-color: var(--color-gray-200, currentcolor);
  }

  ::file-selector-button {
    border-color: var(--color-gray-200, currentcolor);
  }

  :root {
    --ink: var(--color-slate-900);
    --ink-2: var(--color-slate-800);
    --body: var(--color-slate-600);
    --muted: var(--color-slate-500);
    --line: var(--color-slate-200);
    --line-soft: var(--color-slate-100);
    --bg: var(--color-white);
    --bg-soft: var(--color-slate-50);
    --bg-deep: #0b1220;
    --brand: var(--color-blue-600);
    --brand-dark: var(--color-blue-700);
    --brand-soft: var(--color-blue-50);
    --accent: var(--color-teal-600);
    --accent-soft: var(--color-teal-50);
    --amber: var(--color-amber-700);
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px #0f172a0f,0 1px 3px #0f172a0f;
    --shadow-md: 0 10px 30px -12px #0f172a40;
    --shadow-xl: 0 40px 80px -24px #0f172a73,0 0 0 1px #0f172a0f;
    --maxw: 1160px;
    --sans: var(--font-sans);
    --mono: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  }

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  body {
    background: var(--bg);
    color: var(--body);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    font-size: 17px;
    line-height: 1.65;
  }

  a {
    color: var(--brand);
    text-decoration: none;
  }

  h1, h2, h3, h4 {
    color: var(--ink);
    letter-spacing: -.022em;
    font-weight: 700;
    line-height: 1.15;
  }

  h1 {
    letter-spacing: -.035em;
    font-size: clamp(2.2rem, 5vw, 3.7rem);
  }

  h2 {
    letter-spacing: -.03em;
    font-size: clamp(1.7rem, 3.3vw, 2.5rem);
  }

  h3 {
    letter-spacing: -.015em;
    font-size: 1.2rem;
  }
}

@layer components {
  .wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
  }

  @media (max-width: 560px) {
    .wrap {
      padding: 0 16px;
    }
  }

  .eyebrow {
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
    font-size: .78rem;
    font-weight: 700;
  }

  .lede {
    color: var(--body);
    max-width: 62ch;
    font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  }

  .sr-only {
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .btn {
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #0000;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    gap: .55rem;
    padding: .75rem 1.3rem;
    font-size: .97rem;
    font-weight: 600;
    transition: all .16s;
    display: inline-flex;
  }

  .btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 1px 2px #2563eb59, 0 8px 20px -8px #2563eb99;
  }

  .btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
  }

  .btn-ghost {
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
    background: #fff;
  }

  .btn-ghost:hover {
    background: var(--bg-soft);
    border-color: #cbd5e1;
  }

  .btn-lg {
    padding: .9rem 1.6rem;
    font-size: 1.02rem;
  }

  header {
    z-index: 50;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    background: #ffffffd9;
    border-bottom: 1px solid #0000;
    transition: border-color .2s, box-shadow .2s;
    position: sticky;
    top: 0;
  }

  header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 1px 3px #0f172a0a;
  }

  .nav {
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    height: 68px;
    display: flex;
  }

  .brand {
    color: var(--ink);
    letter-spacing: -.02em;
    align-items: center;
    gap: .65rem;
    font-size: 1.12rem;
    font-weight: 700;
    display: flex;
  }

  .brand-mark {
    background: linear-gradient(140deg,var(--brand),#4f46e5);
    color: #fff;
    border-radius: 9px;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    display: grid;
  }

  .brand-mark svg {
    width: 19px;
    height: 19px;
  }

  .nav-links {
    gap: clamp(1rem, 2vw, 1.8rem);
    font-size: .95rem;
    font-weight: 500;
    display: flex;
  }

  .nav-links a {
    color: var(--body);
  }

  .nav-links a:hover {
    color: var(--ink);
  }

  .nav-cta {
    align-items: center;
    gap: .7rem;
    display: flex;
  }

  @media (max-width: 1060px) {
    .nav-links {
      display: none;
    }
  }

  @media (max-width: 560px) {
    .nav-cta .btn-ghost {
      display: none;
    }

    .nav-cta .btn {
      padding: .6rem .95rem;
      font-size: .9rem;
    }

    .nav {
      gap: .75rem;
    }
  }

  .lang-menu {
    position: relative;
  }

  .lang-menu summary {
    cursor: pointer;
    letter-spacing: .04em;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--bg-soft);
    border-radius: 999px;
    align-items: center;
    gap: .35rem;
    padding: .4rem .65rem;
    font-size: .78rem;
    font-weight: 700;
    list-style: none;
    transition: background .15s;
    display: inline-flex;
  }

  .lang-menu summary::-webkit-details-marker {
    display: none;
  }

  .lang-menu summary:after {
    content: "";
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    width: .4rem;
    height: .4rem;
    margin-top: -.2rem;
    transition: transform .15s;
    transform: rotate(45deg);
  }

  .lang-menu[open] summary:after {
    margin-top: .2rem;
    transform: rotate(-135deg);
  }

  .lang-menu summary:hover {
    background: #fff;
  }

  .lang-menu summary:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }

  .lang-menu ul {
    z-index: 60;
    border: 1px solid var(--line);
    min-width: 11rem;
    box-shadow: var(--shadow-md);
    background: #fff;
    border-radius: .75rem;
    margin: 0;
    padding: .3rem;
    list-style: none;
    position: absolute;
    top: calc(100% + .4rem);
    right: 0;
  }

  .lang-opt {
    color: var(--body);
    border-radius: .5rem;
    align-items: center;
    gap: .6rem;
    padding: .45rem .6rem;
    font-size: .88rem;
    display: flex;
  }

  .lang-opt b {
    letter-spacing: .04em;
    min-width: 1.6rem;
    color: var(--muted);
    font-size: .72rem;
  }

  a.lang-opt:hover {
    background: var(--bg-soft);
    color: var(--ink);
  }

  a.lang-opt:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: -2px;
  }

  .lang-opt.is-on {
    color: var(--ink);
    background: var(--bg-soft);
    cursor: default;
    font-weight: 600;
  }

  .lang-opt.is-on b {
    color: var(--brand);
  }

  section {
    padding: clamp(64px, 9vw, 104px) 0;
  }

  section.alt {
    background: var(--bg-soft);
    border-block: 1px solid var(--line);
  }

  .section-head {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto clamp(36px, 5vw, 56px);
  }

  .section-head .lede {
    margin: 1rem auto 0;
  }

  .hero {
    padding: clamp(48px, 7vw, 80px) 0 clamp(48px, 6vw, 72px);
    position: relative;
    overflow: hidden;
  }

  .hero:before {
    content: "";
    z-index: -1;
    background: radial-gradient(48rem 30rem at 18% 12%, #2563eb1a, #0000 62%), radial-gradient(40rem 26rem at 82% 4%, #0d94881a, #0000 60%);
    height: 820px;
    position: absolute;
    inset: -40% 0 auto -10%;
  }

  .hero-inner {
    text-align: center;
    justify-items: center;
    gap: 1.5rem;
    display: grid;
  }

  .badge {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--ink-2);
    background: #fff;
    border-radius: 999px;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    font-size: .85rem;
    font-weight: 600;
    display: inline-flex;
  }

  .badge .dot {
    background: var(--accent);
    border-radius: 50%;
    flex: none;
    width: 7px;
    height: 7px;
  }

  .hero h1 {
    max-width: 17ch;
  }

  .hero h1 .grad {
    background: linear-gradient(120deg,var(--brand),#4f46e5 55%,var(--accent));
    color: #0000;
    -webkit-background-clip: text;
    background-clip: text;
  }

  .hero .lede {
    margin-inline: auto;
    font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  }

  .hero-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: .85rem;
    margin-top: .5rem;
    display: flex;
  }

  .hero-note {
    color: var(--muted);
    max-width: 54ch;
    font-size: .87rem;
  }

  .shot {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background: #fff;
    border: 1px solid #0f172a14;
    overflow: hidden;
  }

  :root {
    --shot-left: .178;
  }

  .shot-crop {
    background: var(--bg-soft);
    aspect-ratio: calc(1.6 * (1 - var(--shot-left)));
    position: relative;
    overflow: hidden;
  }

  .shot-crop img {
    max-width: none;
    height: auto;
    width: calc(100% / (1 - var(--shot-left)));
    transform: translateX(calc(var(--shot-left) * -100%));
    position: absolute;
    top: 0;
    left: 0;
  }

  .hero-shot {
    text-align: left;
    width: 100%;
    max-width: 1080px;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
  }

  .hero-stage {
    justify-self: center;
    width: min(1360px, 100vw - 48px);
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
  }

  @media (max-width: 560px) {
    .hero-stage {
      width: calc(100vw - 32px);
    }
  }

  .hero-stage .hero-shot {
    max-width: none;
    margin-top: 0;
    position: relative;
  }

  .hero-glow {
    z-index: -1;
    filter: blur(60px);
    opacity: .55;
    background: conic-gradient(from 0deg at 50% 50%,var(--color-blue-500),var(--color-indigo-500),var(--color-teal-400),var(--color-sky-400),var(--color-blue-500));
    border-radius: 40px;
    animation: 14s linear infinite hero-glow;
    position: absolute;
    inset: 8% -4% -6%;
  }

  @keyframes hero-glow {
    to {
      transform: rotate(1turn) scale(1.02);
    }
  }

  .tour {
    margin: 0;
  }

  .tour-bar {
    border-bottom: 1px solid var(--line);
    background: linear-gradient(#f8fafc, #f1f5f9);
    align-items: center;
    gap: .85rem;
    padding: .6rem .9rem;
    display: flex;
  }

  .tour-dots {
    gap: 6px;
    display: flex;
  }

  .tour-dots i {
    background: #e2e8f0;
    border-radius: 50%;
    width: 10px;
    height: 10px;
  }

  .tour-dots i:first-child {
    background: #fda4af;
  }

  .tour-dots i:nth-child(2) {
    background: #fcd34d;
  }

  .tour-dots i:nth-child(3) {
    background: #86efac;
  }

  .tour-url {
    border: 1px solid var(--line);
    max-width: 320px;
    color: var(--muted);
    text-align: center;
    background: #fff;
    border-radius: 8px;
    flex: 1;
    margin-inline: auto;
    padding: .22rem .8rem;
    font-size: .75rem;
  }

  .tour-toggle {
    width: 28px;
    height: 28px;
    color: var(--body);
    cursor: pointer;
    background: none;
    border: 1px solid #0000;
    border-radius: 8px;
    flex: none;
    place-items: center;
    transition: background .15s, border-color .15s;
    display: grid;
  }

  .tour-toggle:hover {
    border-color: var(--line);
    background: #fff;
  }

  .tour-toggle svg {
    width: 14px;
    height: 14px;
  }

  .tour-toggle .i-play, .tour.is-stopped .tour-toggle .i-pause {
    display: none;
  }

  .tour.is-stopped .tour-toggle .i-play {
    display: block;
  }

  .tour-stage {
    isolation: isolate;
    aspect-ratio: 16 / 9;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
  }

  .tour-scene {
    opacity: 0;
    transition: opacity .6s;
    position: absolute;
    inset: 0;
  }

  .tour-scene.is-active {
    opacity: 1;
    z-index: 1;
  }

  .tour-scene video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
  }

  .tour-caption {
    z-index: 2;
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    color: #fff;
    background: #0f172ac7;
    border-radius: 14px;
    align-items: center;
    gap: .7rem;
    max-width: min(36rem, 100% - 2.5rem);
    padding: .6rem 1rem .6rem .65rem;
    font-size: .93rem;
    font-weight: 550;
    line-height: 1.35;
    display: flex;
    position: absolute;
    bottom: clamp(.75rem, 2vw, 1.25rem);
    left: clamp(.75rem, 2vw, 1.25rem);
    box-shadow: 0 12px 30px -12px #0f172a99;
  }

  .tour-caption.is-new {
    animation: .6s cubic-bezier(.2, .7, .2, 1) both tour-caption;
  }

  @keyframes tour-caption {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  .tour-num {
    font-family: var(--mono);
    background: linear-gradient(120deg,var(--brand),var(--accent));
    border-radius: 7px;
    flex: none;
    padding: .15rem .45rem;
    font-size: .75rem;
  }

  .tour-steps {
    border-top: 1px solid var(--line);
    background: #fff;
    gap: 6px;
    padding: .7rem .9rem;
    display: flex;
  }

  .tour-steps[hidden] {
    display: none;
  }

  .tour-step {
    cursor: pointer;
    background: none;
    border: 0;
    flex: 1;
    height: 18px;
    padding: 7px 0;
  }

  .tour-step:before {
    content: "";
    background: var(--line);
    border-radius: 99px;
    height: 4px;
    display: block;
  }

  .tour-step {
    position: relative;
  }

  .tour-fill {
    background: linear-gradient(90deg,var(--brand),var(--accent));
    transform-origin: 0;
    border-radius: 99px;
    height: 4px;
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    transform: scaleX(0);
  }

  .tour-step.is-done .tour-fill {
    transform: scaleX(1);
  }

  .tour-step.is-active .tour-fill {
    transform: scaleX(var(--p, 0));
  }

  @media (max-width: 640px) {
    .tour-caption {
      max-width: none;
      box-shadow: none;
      -webkit-backdrop-filter: none;
      backdrop-filter: none;
      background: var(--ink);
      border-radius: 0;
      font-size: .85rem;
      position: static;
    }

    .tour-stage {
      aspect-ratio: auto;
    }

    .tour-stage:before {
      content: "";
      aspect-ratio: 16 / 9;
      display: block;
    }

    .tour-scene {
      aspect-ratio: 16 / 9;
      bottom: auto;
    }

    .tour-url {
      display: none;
    }

    .tour-toggle {
      margin-left: auto;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-glow {
      animation: none;
    }

    .tour-scene {
      transition: none;
    }

    .tour-caption.is-new {
      animation: none;
    }
  }

  .benefits-strip {
    background: var(--bg-soft);
    border-block: 1px solid var(--line);
    padding-block: clamp(2rem, 4vw, 2.75rem);
  }

  .benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.6vw, 2rem);
    display: grid;
  }

  @media (max-width: 960px) {
    .benefits {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 560px) {
    .benefits {
      grid-template-columns: 1fr;
    }
  }

  .benefit {
    align-items: flex-start;
    gap: .85rem;
    display: flex;
  }

  .benefit .k, .module .k {
    background: var(--brand-soft);
    width: 38px;
    height: 38px;
    color: var(--brand);
    border-radius: 10px;
    flex: none;
    place-items: center;
    display: grid;
  }

  .benefit .k svg, .module .k svg {
    width: 19px;
    height: 19px;
  }

  .benefit b {
    color: var(--ink);
    letter-spacing: -.012em;
    font-size: .98rem;
    font-weight: 650;
    display: block;
  }

  .benefit p {
    margin-top: .15rem;
    font-size: .9rem;
    line-height: 1.55;
  }

  .modules {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    display: grid;
  }

  @media (max-width: 1060px) {
    .modules {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 560px) {
    .modules {
      grid-template-columns: 1fr;
    }
  }

  .module {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: #fff;
    padding: 22px 22px 24px;
    transition: box-shadow .18s, transform .18s, border-color .18s;
  }

  .module:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
    transform: translateY(-2px);
  }

  .module .k {
    margin-bottom: .9rem;
  }

  .module h3 {
    margin-bottom: .4rem;
    font-size: 1.02rem;
  }

  .module p {
    font-size: .9rem;
    line-height: 1.6;
  }

  .toggles {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg,var(--accent-soft),#fff 70%);
    border: 1px solid #ccfbf1;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 36px;
    margin-top: 36px;
    padding: 34px;
    display: grid;
  }

  @media (max-width: 960px) {
    .toggles {
      grid-template-columns: 1fr;
      gap: 26px;
      padding: 26px 22px;
    }
  }

  @media (max-width: 560px) {
    .toggles {
      padding: 22px 16px;
    }
  }

  .toggles-intro .k {
    width: 42px;
    height: 42px;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
    background: #fff;
    border-radius: 12px;
    place-items: center;
    margin-bottom: 1rem;
    display: grid;
  }

  .toggles-intro .k svg {
    width: 22px;
    height: 22px;
  }

  .toggles-intro h3 {
    letter-spacing: -.02em;
    margin-bottom: .5rem;
    font-size: 1.3rem;
  }

  .toggles-intro p {
    font-size: .95rem;
    line-height: 1.65;
  }

  .toggles-points {
    gap: .5rem;
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
  }

  .toggles-points li {
    color: var(--ink-2);
    padding-left: 1.6rem;
    font-size: .9rem;
    line-height: 1.5;
    position: relative;
  }

  .toggles-points li:before {
    content: "";
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/62% no-repeat;
    border-radius: 50%;
    width: 1.05rem;
    height: 1.05rem;
    position: absolute;
    top: .2em;
    left: 0;
  }

  .toggles-list {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    background: #fff;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 6px;
    list-style: none;
    display: grid;
  }

  @media (max-width: 640px) {
    .toggles-list {
      grid-template-columns: 1fr;
    }
  }

  .toggles-list li {
    background: var(--bg-soft);
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    gap: .9rem;
    padding: 12px 14px;
    display: flex;
  }

  .toggles-list b {
    color: var(--ink);
    letter-spacing: -.01em;
    font-size: .92rem;
    font-weight: 650;
    display: block;
  }

  .toggles-list span:not(.sw):not(.lock) {
    color: var(--muted);
    margin-top: .15rem;
    font-size: .8rem;
    line-height: 1.45;
    display: block;
  }

  .toggles-list .sw {
    background: #cbd5e1;
    border-radius: 999px;
    flex: none;
    width: 36px;
    height: 20px;
    position: relative;
  }

  .toggles-list .sw:after {
    content: "";
    background: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 2px;
    left: 2px;
    box-shadow: 0 1px 2px #0f172a40;
  }

  .toggles-list .sw.on {
    background: var(--accent);
  }

  .toggles-list .sw.on:after {
    left: 18px;
  }

  .toggles-list .core {
    background: var(--accent-soft);
    border: 1px dashed #99f6e4;
    grid-column: 1 / -1;
  }

  .toggles-list .lock {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex: none;
  }

  .toggles-list .lock svg {
    width: 20px;
    height: 20px;
  }

  .partners {
    grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
    grid-auto-rows: 1fr;
    justify-content: center;
    gap: 20px;
    display: grid;
  }

  .partner-card {
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    text-align: center;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .45rem;
    padding: 26px 22px;
    transition: box-shadow .18s, transform .18s, border-color .18s;
    display: flex;
  }

  .partner-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--brand);
    transform: translateY(-2px);
  }

  .partner-card:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }

  .partner-card b {
    letter-spacing: -.012em;
    margin-top: .35rem;
    font-size: 1.05rem;
    font-weight: 650;
  }

  .partner-card span {
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.5;
  }

  .partner-card .partner-link {
    color: var(--brand);
    margin-top: auto;
    font-weight: 600;
  }

  .partner-logo {
    background: #fff;
    border-radius: 50%;
    width: 88px;
    height: 88px;
    margin-top: auto;
  }

  .partner-join {
    box-shadow: none;
    background: none;
    border: 1px dashed #cbd5e1;
  }

  .partner-plus {
    background: var(--brand-soft);
    border-radius: 50%;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-top: auto;
    display: grid;
    color: var(--brand) !important;
  }

  .partner-plus svg {
    width: 28px;
    height: 28px;
  }

  @media (max-width: 520px) {
    .partners {
      grid-template-columns: minmax(0, 300px);
    }
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    display: grid;
  }

  .split-top {
    align-items: start;
  }

  @media (max-width: 900px) {
    .split {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }
  }

  .split h2 + .lede {
    margin-top: 1rem;
  }

  .ticks {
    gap: .8rem;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
  }

  .ticks li {
    align-items: flex-start;
    gap: .7rem;
    font-size: .96rem;
    display: flex;
  }

  .ticks svg {
    width: 19px;
    height: 19px;
    color: var(--accent);
    flex: none;
    margin-top: .22rem;
  }

  .ticks b {
    color: var(--ink);
    font-weight: 600;
  }

  .journey {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    position: relative;
  }

  .journey:before {
    content: "";
    background: repeating-linear-gradient(90deg, #bfdbfe 0 8px, #0000 8px 14px);
    height: 2px;
    position: absolute;
    top: 37px;
    left: 12.5%;
    right: 12.5%;
  }

  @media (max-width: 1060px) {
    .journey {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey:before {
      display: none;
    }
  }

  @media (max-width: 560px) {
    .journey {
      grid-template-columns: 1fr;
    }
  }

  .jstep {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: #fff;
    flex-direction: column;
    padding: 20px 20px 0;
    display: flex;
    position: relative;
  }

  .jstep-top {
    align-items: center;
    gap: .7rem;
    margin-bottom: 1rem;
    display: flex;
  }

  .jstep .n {
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    font-size: .88rem;
    font-weight: 700;
    display: grid;
    box-shadow: 0 0 0 5px #fff, 0 0 0 6px #dbeafe;
  }

  .jstep-when {
    letter-spacing: .02em;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    font-size: .78rem;
    font-weight: 600;
  }

  .jstep h3 {
    margin-bottom: .4rem;
    font-size: 1.08rem;
  }

  .jstep > p {
    font-size: .9rem;
    line-height: 1.6;
  }

  .jstep-auto {
    border-top: 1px dashed var(--line);
    background: var(--bg-soft);
    border-radius: 0 0 var(--radius) var(--radius);
    margin: auto -20px 0;
    padding: 14px 20px 18px;
  }

  .jstep > p {
    margin-bottom: 1.1rem;
  }

  .jstep-auto-label {
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .5rem;
    font-size: .7rem;
    font-weight: 700;
    display: block;
  }

  .jstep-auto ul {
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
  }

  .jstep-auto li {
    color: var(--body);
    align-items: flex-start;
    gap: .5rem;
    font-size: .85rem;
    line-height: 1.5;
    display: flex;
  }

  .jstep-auto svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
    flex: none;
    margin-top: .2rem;
  }

  .band {
    background: var(--bg-deep);
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
  }

  .band:before {
    content: "";
    background: radial-gradient(38rem 22rem, #2563eb47, #0000 65%);
    height: 620px;
    position: absolute;
    inset: auto -10% -60% 30%;
  }

  .band > * {
    position: relative;
  }

  .band h2 {
    color: #fff;
  }

  .band .eyebrow {
    color: #7dd3fc;
  }

  .band .lede {
    color: #94a3b8;
  }

  .sec-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.25rem);
    display: grid;
  }

  @media (max-width: 960px) {
    .sec-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 560px) {
    .sec-grid {
      grid-template-columns: 1fr;
    }
  }

  .sec-grid > div {
    border-top: 1px solid #94a3b840;
    padding-top: 1rem;
  }

  .sec-grid b {
    color: #fff;
    letter-spacing: -.012em;
    margin-bottom: .35rem;
    font-size: .98rem;
    font-weight: 650;
    display: block;
  }

  .sec-grid p {
    color: #94a3b8;
    font-size: .9rem;
    line-height: 1.6;
  }

  .pricing {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(1.25rem, 3vw, 2rem);
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
  }

  @media (max-width: 860px) {
    .pricing {
      grid-template-columns: 1fr;
    }
  }

  .plan {
    border: 2px solid var(--brand);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: #fff;
    flex-direction: column;
    padding: 30px 28px;
    display: flex;
    position: relative;
  }

  .plan h3 {
    font-size: 1.1rem;
  }

  .plan .who {
    color: var(--muted);
    margin-top: .3rem;
    font-size: .88rem;
    line-height: 1.45;
  }

  .plan .price {
    flex-wrap: wrap;
    align-items: baseline;
    gap: .45rem;
    margin: 1.5rem 0 .25rem;
    display: flex;
  }

  .plan .price .amt {
    color: var(--ink);
    letter-spacing: -.045em;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
  }

  .plan .price .per {
    color: var(--muted);
    font-size: .95rem;
  }

  .plan .price .was {
    color: var(--muted);
    letter-spacing: -.03em;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    text-decoration-thickness: 2px;
  }

  .price-tag {
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    align-self: flex-start;
    margin-top: 1.1rem;
    padding: .2rem .65rem;
    font-size: .78rem;
    font-weight: 650;
  }

  .price-tag + .price {
    margin-top: .7rem;
  }

  .plan .btn {
    width: 100%;
    margin-top: auto;
  }

  .plan .price + .btn {
    margin-top: 1.6rem;
  }

  .plan-foot {
    color: var(--muted);
    margin-top: 1rem;
    font-size: .84rem;
    line-height: 1.6;
  }

  .price-included {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: #fff;
    padding: 28px 30px;
  }

  .price-included-head {
    color: var(--ink);
    margin-bottom: 1rem;
    font-size: .95rem;
    font-weight: 650;
  }

  .price-group + .price-group {
    border-top: 1px solid var(--line);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .price-group-head {
    color: var(--ink);
    align-items: center;
    gap: .6rem;
    margin-bottom: .8rem;
    font-size: .9rem;
    font-weight: 650;
    display: flex;
  }

  .price-group-head .k {
    background: var(--brand-soft);
    width: 28px;
    height: 28px;
    color: var(--brand);
    border-radius: 8px;
    flex: none;
    place-items: center;
    display: grid;
  }

  .price-group-head .k svg {
    width: 16px;
    height: 16px;
  }

  .price-included .ticks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1.6rem;
    margin: 0;
  }

  @media (max-width: 700px) {
    .price-included .ticks {
      grid-template-columns: 1fr;
    }
  }

  .price-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 1.5rem auto 0;
    display: grid;
  }

  @media (max-width: 700px) {
    .price-notes {
      grid-template-columns: 1fr;
    }
  }

  .price-notes p {
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 16px 20px;
    font-size: .88rem;
    line-height: 1.6;
  }

  .price-notes b {
    color: var(--ink);
    font-weight: 600;
  }

  .price-note {
    color: var(--muted);
    text-align: center;
    margin-top: 1.4rem;
    font-size: .87rem;
    line-height: 1.65;
  }

  .why {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto 2.5rem;
    display: grid;
  }

  @media (max-width: 900px) {
    .why {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 600px) {
    .why {
      grid-template-columns: 1fr;
    }
  }

  .why-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: #fff;
    flex-direction: column;
    gap: .55rem;
    padding: 22px 22px 24px;
    display: flex;
  }

  .why-card .k {
    background: var(--brand-soft);
    width: 40px;
    height: 40px;
    color: var(--brand);
    border-radius: 12px;
    place-items: center;
    display: grid;
  }

  .why-card .k svg {
    width: 20px;
    height: 20px;
  }

  .why-card h3 {
    text-wrap: balance;
    margin: 0;
    font-size: 1.05rem;
  }

  .why-card p {
    color: var(--body);
    margin: 0;
    font-size: .92rem;
    line-height: 1.55;
  }

  .compare-close {
    text-align: center;
    color: var(--muted);
    max-width: 66ch;
    margin: 1.7rem auto 0;
    font-size: .9rem;
    line-height: 1.6;
  }

  .faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px 20px;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
  }

  @media (max-width: 800px) {
    .faq {
      grid-template-columns: 1fr;
    }
  }

  .faq details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: border-color .15s;
  }

  .faq details[open] {
    box-shadow: var(--shadow-sm);
    border-color: #cbd5e1;
  }

  .faq summary {
    cursor: pointer;
    color: var(--ink);
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 16px 20px;
    font-size: .97rem;
    font-weight: 600;
    list-style: none;
    display: flex;
  }

  .faq summary::-webkit-details-marker {
    display: none;
  }

  .faq summary:after {
    content: "+";
    background: var(--bg-soft);
    width: 24px;
    height: 24px;
    color: var(--muted);
    border-radius: 50%;
    flex: none;
    place-items: center;
    font-weight: 500;
    transition: transform .2s;
    display: grid;
  }

  .faq details[open] summary:after {
    transform: rotate(45deg);
  }

  .faq summary:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: var(--radius);
  }

  .faq details p {
    padding: 0 20px 18px;
    font-size: .92rem;
    line-height: 1.65;
  }

  .demo-box {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    background: #fff;
    margin-top: 1.8rem;
    padding: 20px 22px;
  }

  .demo-head {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .8rem 1rem;
    display: flex;
  }

  .demo-box b {
    color: var(--ink);
    font-weight: 650;
  }

  .demo-box p {
    margin-top: .6rem;
    font-size: .9rem;
    line-height: 1.6;
  }

  .demo-box .demo-note {
    color: var(--muted);
    font-size: .82rem;
  }

  .demo-roles {
    flex-wrap: wrap;
    gap: .4rem;
    margin: .8rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
  }

  .demo-roles li {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--ink);
    border-radius: 999px;
    padding: .25rem .65rem;
    font-size: .8rem;
    font-weight: 600;
  }

  .field-hint {
    color: var(--muted);
    margin: .1rem 0 0;
    font-size: .8rem;
    line-height: 1.5;
  }

  .form {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: #fff;
    gap: 1rem;
    padding: clamp(22px, 3vw, 32px);
    display: grid;
    position: relative;
  }

  .field {
    gap: .35rem;
    display: grid;
  }

  .field label {
    color: var(--ink);
    font-size: .85rem;
    font-weight: 600;
  }

  .field input, .field select, .field textarea {
    font: inherit;
    color: var(--ink);
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    width: 100%;
    padding: .65rem .8rem;
    font-size: .95rem;
  }

  .field textarea {
    resize: vertical;
    min-height: 92px;
  }

  .field input:focus, .field select:focus, .field textarea:focus {
    outline: 2px solid var(--brand);
    outline-offset: 1px;
    border-color: var(--brand);
  }

  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
    display: grid;
  }

  @media (max-width: 560px) {
    .field-row {
      grid-template-columns: 1fr;
    }
  }

  .hp {
    width: 1px;
    height: 1px;
    position: absolute;
    left: -9999px;
    overflow: hidden;
  }

  .form-status {
    text-align: center;
    margin-top: .6rem;
    font-size: .88rem;
    line-height: 1.55;
  }

  .form-bad {
    color: #b91c1c;
  }

  .form .btn {
    width: 100%;
    margin-top: .3rem;
  }

  .form-privacy {
    color: var(--muted);
    text-align: center;
    margin: .2rem 0 0;
    font-size: .78rem;
    line-height: 1.5;
  }

  .modal {
    border-radius: var(--radius-lg);
    width: min(420px, 100% - 32px);
    color: var(--body);
    box-shadow: var(--shadow-xl);
    text-align: center;
    background: #fff;
    border: 0;
    margin: auto;
    padding: clamp(24px, 4vw, 36px);
  }

  .modal::backdrop {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    background: #0b12208c;
  }

  .modal[open] {
    animation: .22s cubic-bezier(.2, .6, .2, 1) modal-in;
  }

  .modal-icon {
    background: var(--accent-soft);
    width: 56px;
    height: 56px;
    color: var(--accent);
    border-radius: 50%;
    place-items: center;
    margin-bottom: 1rem;
    display: inline-grid;
  }

  .modal h3 {
    color: var(--ink);
    margin: 0 0 .5rem;
    font-size: 1.3rem;
  }

  .modal p {
    margin: 0 0 1.4rem;
    line-height: 1.6;
  }

  .modal .btn {
    width: 100%;
  }

  @keyframes modal-in {
    from {
      opacity: 0;
      transform: translateY(12px) scale(.97);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .modal[open] {
      animation: none;
    }
  }

  footer {
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    color: var(--muted);
    padding: 52px 0 0;
    font-size: .9rem;
  }

  .foot {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 3rem;
    display: grid;
  }

  @media (max-width: 720px) {
    .foot {
      grid-template-columns: 1fr 1fr;
    }

    .foot-brand {
      grid-column: 1 / -1;
    }
  }

  .foot-brand p {
    max-width: 42ch;
    margin: .7rem 0 0;
    line-height: 1.6;
  }

  .foot-col {
    flex-direction: column;
    gap: .55rem;
    display: flex;
  }

  .foot-col h3 {
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 .3rem;
    font-size: .78rem;
    font-weight: 700;
  }

  .foot-col a {
    color: var(--body);
  }

  .foot-col a:hover {
    color: var(--brand);
  }

  .foot-bar {
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .8rem 1.5rem;
    margin-top: 2.5rem;
    padding: 1.3rem 0 1.6rem;
    font-size: .84rem;
    display: flex;
  }

  .foot-bar p {
    margin: 0;
  }

  .foot-lang {
    flex-wrap: wrap;
    gap: .3rem 1rem;
    display: flex;
  }

  .foot-lang a {
    color: var(--body);
    font-weight: 600;
  }

  .foot-lang a:hover {
    color: var(--brand);
  }

  .reveal {
    opacity: 0;
    transition: opacity .55s cubic-bezier(.2, .6, .2, 1), transform .55s cubic-bezier(.2, .6, .2, 1);
    transform: translateY(16px);
  }

  .reveal.in {
    opacity: 1;
    transform: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transition: none;
      transform: none;
    }

    html {
      scroll-behavior: auto;
    }
  }

  .consent {
    z-index: 80;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--line);
    background: #fffffff7;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 -8px 30px -18px #0f172a66;
  }

  .consent[hidden] {
    display: none;
  }

  .consent-inner {
    max-width: var(--maxw);
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
  }

  .consent-text {
    color: var(--body);
    flex: 380px;
    margin: 0;
    font-size: .88rem;
    line-height: 1.6;
  }

  .consent-actions {
    flex-wrap: wrap;
    gap: .65rem;
    margin-left: auto;
    display: flex;
  }

  .consent-actions .btn {
    padding: .6rem 1.15rem;
    font-size: .9rem;
  }

  @media (max-width: 640px) {
    .consent-inner {
      gap: 1rem;
      padding: 16px 20px;
    }

    .consent-actions {
      width: 100%;
      margin-left: 0;
    }

    .consent-actions .btn {
      flex: 1;
    }
  }
}

@layer utilities {
  .visible {
    visibility: visible;
  }

  .fixed {
    position: fixed;
  }

  .static {
    position: static;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .block {
    display: block;
  }

  .hidden {
    display: none;
  }

  .table {
    display: table;
  }
}
