/* LockerDefense web theme "Grafito": the same family as the desktop app (src/tokens.css).
   This file is the theme for the public site, the download centre and the customer portal:
   every colour, glass recipe, type size, radius and easing is named here, and no other
   stylesheet under deploy/ may write a colour or a font of its own
   (tests/web-theme.test.mjs enforces it). deploy/landing/theme.css is a byte-for-byte copy,
   because the site and the portal are served from different hosts.
   Type follows the brand manual: Plus Jakarta Sans for everything and JetBrains Mono for
   hashes and codes (both OFL), served from /fonts with Manrope as the fallback: the pages
   make no third-party request. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800; src: url('/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800; src: url('/fonts/jetbrains-mono-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  /* Base channels, "R G B", so a surface takes them at its own opacity. */
  --ld-light: 255 255 255;
  --ld-shade: 0 0 0;
  --ld-ok-rgb: 61 220 151;
  --ld-warn-rgb: 255 179 64;
  --ld-danger-rgb: 255 93 93;
  --ld-idle-rgb: 161 161 161;
  --ld-accent-rgb: 255 205 80;

  /* Stage */
  --ld-bg-top: #18181c;
  --ld-bg-bottom: #101013;
  --ld-surface-solid: #212126;
  --ld-surface-raised: #29292f;
  --ld-line: rgb(var(--ld-light) / 9%);
  --ld-line-strong: rgb(var(--ld-light) / 16%);

  /* Ink */
  --ld-text: #f5f5f5;
  --ld-text-2: #b6b6bc;
  --ld-text-3: #8f8f96;

  /* Action: the one bright thing on a screen */
  --ld-action: #f5f5f5;
  --ld-action-hi: #ffffff;
  --ld-action-lo: #dedede;
  --ld-on-action: #0b0b0b;
  /* Amber: the one warm accent, for labels and the word that matters */
  --ld-accent: rgb(var(--ld-accent-rgb));
  --ld-gradient-primary: linear-gradient(180deg, var(--ld-action-hi), var(--ld-action-lo));

  /* State: colour only says how something is */
  --ld-ok: rgb(var(--ld-ok-rgb));
  --ld-warn: rgb(var(--ld-warn-rgb));
  --ld-danger: rgb(var(--ld-danger-rgb));
  --ld-ok-text: #9af0c8;
  --ld-warn-text: #ffd27a;
  --ld-danger-text: #ff9aa5;

  /* Liquid glass */
  --ld-glass-fill: linear-gradient(155deg, rgb(var(--ld-light) / 10%), rgb(var(--ld-light) / 3%) 58%, rgb(var(--ld-light) / 6%));
  --ld-glass-rim: linear-gradient(145deg, rgb(var(--ld-light) / 40%), rgb(var(--ld-light) / 6%) 28%, rgb(var(--ld-light) / 3%) 68%, rgb(var(--ld-light) / 22%));
  --ld-glass-blur: blur(26px) saturate(150%);
  --ld-glass-shadow: inset 0 1px 0 rgb(var(--ld-light) / 20%), inset 0 0 28px rgb(var(--ld-light) / 3%), 0 30px 60px -32px rgb(var(--ld-shade) / 85%);
  --ld-shadow-primary: 0 14px 30px -16px rgb(var(--ld-light) / 55%);
  --ld-shadow-lift: 0 40px 90px -40px rgb(var(--ld-shade) / 90%);

  /* The white bar: the one light surface, as the dock in the app */
  --ld-bar-fill: linear-gradient(180deg, rgb(255 255 255 / 92%), rgb(244 244 244 / 86%));
  --ld-bar-ink: #454545;
  --ld-bar-ink-strong: #0b0b0b;
  --ld-mega-fill: linear-gradient(180deg, rgb(255 255 255), rgb(246 246 246));

  /* Aurora behind the page and the orb's colour pairs ("R G B") */
  --ld-aura-a: 255 150 40;
  --ld-aura-b: 60 200 255;
  --ld-aura-c: 61 220 151;
  --ld-orb-rest-a: 255 150 40;       --ld-orb-rest-b: 60 200 255;
  --ld-orb-safe-a: 50 235 150;       --ld-orb-safe-b: 255 205 80;
  --ld-orb-work-a: 70 210 255;       --ld-orb-work-b: 255 170 60;
  --ld-orb-attention-a: 255 176 58;  --ld-orb-attention-b: 255 110 60;
  --ld-orb-decision-a: 255 150 30;   --ld-orb-decision-b: 255 70 70;

  /* Brand mark */
  --ld-brand-hi: #ffffff;
  --ld-brand-lo: #b9b9b9;
  --ld-brand-ink: #0b0b0b;

  /* Type: titles are light (300) with a few words in 600; text reads at 400 */
  --ld-font: 'Plus Jakarta Sans', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ld-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;
  --ld-type-caption: 12px;
  --ld-type-small: 13px;
  --ld-type-body: 16px;
  --ld-type-lead: 18px;
  --ld-type-title: 22px;
  --ld-type-section: clamp(30px, 4vw, 46px);
  --ld-type-display: clamp(42px, 6.6vw, 76px);

  /* Shape and motion */
  --ld-radius-control: 14px;
  --ld-radius-tile: 22px;
  --ld-radius-card: 28px;
  --ld-radius-pill: 999px;
  --ld-ease-out: cubic-bezier(.2, .8, .2, 1);
  --ld-ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --ld-ease-liquid: cubic-bezier(.3, 1.3, .45, 1);
  --ld-page: min(1160px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; min-height: 100vh; font: 400 var(--ld-type-body)/1.6 var(--ld-font); color: var(--ld-text); background: linear-gradient(180deg, var(--ld-bg-top), var(--ld-bg-bottom)) fixed; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* The room: three slow lights far behind the glass. */
body::before { content: ''; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none; opacity: .85;
  background: radial-gradient(38vmax 38vmax at 18% 22%, rgb(var(--ld-aura-a) / 17%), transparent 70%), radial-gradient(42vmax 42vmax at 84% 12%, rgb(var(--ld-aura-b) / 13%), transparent 70%), radial-gradient(46vmax 46vmax at 60% 92%, rgb(var(--ld-aura-c) / 10%), transparent 70%);
  animation: room 46s ease-in-out infinite alternate; }
@keyframes room { to { transform: translate3d(4vmax, -3vmax, 0) rotate(8deg) scale(1.08); } }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 300; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: var(--ld-type-display); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: var(--ld-type-section); letter-spacing: -.03em; }
h3 { font-size: var(--ld-type-title); font-weight: 500; line-height: 1.25; }
h4 { font-weight: 600; }
h1 strong, h2 strong, h1 em, h2 em { font-weight: 600; font-style: normal; }
/* A word that takes turns (motion.js reads data-words). */
[data-words] { display: inline-block; transition: opacity .4s, transform .45s var(--ld-ease-out), filter .4s; }
[data-words].out { opacity: 0; transform: translateY(.22em); filter: blur(8px); }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
ul, ol { padding: 0; list-style: none; }
code, pre, .mono { font-family: var(--ld-mono); font-size: .88em; font-weight: 500; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ld-action); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgb(var(--ld-light) / 24%); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.page { width: var(--ld-page); margin-inline: auto; }
.muted { color: var(--ld-text-2); }
.lead { font-size: var(--ld-type-lead); line-height: 1.55; color: var(--ld-text-2); max-width: 62ch; }
.eyebrow { font-size: var(--ld-type-caption); font-weight: 600; color: var(--ld-accent); letter-spacing: .15em; text-transform: uppercase; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; text-decoration: none; color: inherit; }
.brand svg { width: 22px; height: 25px; flex: none; }
.brand .s-body { fill: var(--ld-brand-hi); } .brand .s-side { fill: var(--ld-brand-lo); } .brand .s-key { fill: var(--ld-brand-ink); }
.brand span span { color: var(--ld-text-2); font-weight: 600; }

/* Buttons: capsules; the white one is the single action of its group. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: var(--ld-radius-pill); font-weight: 600; font-size: var(--ld-type-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .35s var(--ld-ease-liquid), box-shadow .3s, background .3s, color .3s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ld-gradient-primary); color: var(--ld-on-action); box-shadow: var(--ld-shadow-primary), inset 0 1px 0 rgb(var(--ld-light)); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgb(var(--ld-light) / 70%), inset 0 1px 0 rgb(var(--ld-light)); }
.btn-glass { background: rgb(var(--ld-light) / 8%); color: var(--ld-text); box-shadow: inset 0 0 0 1px var(--ld-line-strong), inset 0 1px 0 rgb(var(--ld-light) / 18%); backdrop-filter: var(--ld-glass-blur); -webkit-backdrop-filter: var(--ld-glass-blur); }
.btn-glass:hover { background: rgb(var(--ld-light) / 14%); transform: translateY(-2px); }
.btn-quiet { min-height: 0; padding: 4px 0; background: none; color: var(--ld-text); border-radius: 6px; }
.btn-quiet .arrow, .btn .arrow { transition: transform .35s var(--ld-ease-liquid); }
.btn:hover .arrow { transform: translateX(4px); }
.btn .os-logo { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: var(--ld-type-small); }
.btn-danger { background: rgb(var(--ld-danger-rgb) / 14%); color: var(--ld-danger-text); box-shadow: inset 0 0 0 1px rgb(var(--ld-danger-rgb) / 34%); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }

/* Glass: clear fill, bright rim, and a light that follows the pointer (motion.js). */
.glass { position: relative; border-radius: var(--ld-radius-card); background: var(--ld-glass-fill); box-shadow: var(--ld-glass-shadow); backdrop-filter: var(--ld-glass-blur); -webkit-backdrop-filter: var(--ld-glass-blur); isolation: isolate; }
.glass::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--ld-light) / 10%), transparent 62%); }
.glass:hover::before { opacity: 1; }
.glass::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--ld-glass-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.solid { border-radius: var(--ld-radius-tile); background: var(--ld-surface-solid); box-shadow: inset 0 0 0 1px var(--ld-line); }

/* Chips and state dots */
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: var(--ld-radius-pill); font-size: var(--ld-type-small); font-weight: 600; color: var(--ld-text-2); background: rgb(var(--ld-light) / 7%); box-shadow: inset 0 0 0 1px var(--ld-line); white-space: nowrap; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: rgb(var(--ld-idle-rgb)); }
.ok .dot, .dot.ok { background: var(--ld-ok); box-shadow: 0 0 0 4px rgb(var(--ld-ok-rgb) / 16%); }
.warn .dot, .dot.warn { background: var(--ld-warn); box-shadow: 0 0 0 4px rgb(var(--ld-warn-rgb) / 16%); }
.danger .dot, .dot.danger { background: var(--ld-danger); box-shadow: 0 0 0 4px rgb(var(--ld-danger-rgb) / 16%); }
.chip.ok { color: var(--ld-ok-text); } .chip.warn { color: var(--ld-warn-text); } .chip.danger { color: var(--ld-danger-text); }
.live .dot { animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(var(--ld-ok-rgb) / 45%); } 100% { box-shadow: 0 0 0 10px rgb(var(--ld-ok-rgb) / 0%); } }

/* A check that draws itself when its row appears. */
.mark { width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgb(var(--ld-ok-rgb) / 16%); }
.mark path { fill: none; stroke: var(--ld-ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; }
.in .mark path, .mark.in path, html:not(.js) .mark path { animation: mark-draw .5s .25s var(--ld-ease-out) forwards; }
@keyframes mark-draw { to { stroke-dashoffset: 0; } }

/* The floating bar: white frosted glass, as the dock in the app. */
.site-bar { position: fixed; z-index: 40; top: 14px; left: 50%; translate: -50% 0; width: min(1120px, calc(100% - 24px)); min-height: 64px; padding: 9px 9px 9px 24px; display: flex; align-items: center; gap: 18px; border-radius: var(--ld-radius-pill); color: var(--ld-bar-ink); background: var(--ld-bar-fill); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); box-shadow: inset 0 1px 0 rgb(var(--ld-light)), 0 18px 50px -22px rgb(var(--ld-shade) / 80%); transition: min-height .4s var(--ld-ease-out), box-shadow .4s; animation: bar-in .8s var(--ld-ease-liquid) both; }
@keyframes bar-in { from { opacity: 0; transform: translateY(-24px) scale(.96); } }
.site-bar.scrolled { box-shadow: inset 0 1px 0 rgb(var(--ld-light)), 0 22px 60px -18px rgb(var(--ld-shade) / 95%); }
.site-bar .brand { color: var(--ld-bar-ink-strong); font-size: 19px; }
.site-bar .brand svg { width: 25px; height: 28px; }
.site-bar .brand .s-body { fill: var(--ld-bar-ink-strong); } .site-bar .brand .s-side { fill: var(--ld-bar-ink); } .site-bar .brand .s-key { fill: var(--ld-brand-hi); }
.site-bar .brand span span { color: var(--ld-bar-ink); }
.site-bar nav { display: flex; gap: 2px; margin-inline: auto; }
.site-bar nav a { padding: 10px 16px; border-radius: var(--ld-radius-pill); font-size: 15.5px; font-weight: 600; text-decoration: none; transition: background .25s, color .25s; }
.site-bar nav a:hover, .site-bar nav a[aria-current] { color: var(--ld-bar-ink-strong); background: rgb(var(--ld-shade) / 7%); }
.site-bar .bar-actions { display: flex; align-items: center; gap: 6px; }
.site-bar .bar-link { padding: 10px 16px; font-size: 15.5px; font-weight: 600; text-decoration: none; border-radius: var(--ld-radius-pill); }
.site-bar .bar-link:hover { color: var(--ld-bar-ink-strong); background: rgb(var(--ld-shade) / 7%); }
.site-bar .btn-ink { min-height: 46px; padding: 0 20px; font-size: 15px; background: var(--ld-bar-ink-strong); color: var(--ld-action-hi); box-shadow: 0 10px 24px -12px rgb(var(--ld-shade) / 80%); }
.site-bar .btn-ink:hover { transform: translateY(-1px); }
.site-menu { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgb(var(--ld-shade) / 7%); color: var(--ld-bar-ink-strong); cursor: pointer; }
.site-menu svg { margin: auto; width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }

/* The products menu: a wide panel that drops from the bar (motion.js opens it on a tap;
   a pointer opens it by hovering). */
.menu-top { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 0; border-radius: var(--ld-radius-pill); background: none; color: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.menu-top svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ld-ease-out); }
.menu:hover .menu-top, .menu.open .menu-top { color: var(--ld-bar-ink-strong); background: rgb(var(--ld-shade) / 7%); }
.menu:hover .menu-top svg, .menu.open .menu-top svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 10px 22px; border-radius: var(--ld-radius-card); background: var(--ld-mega-fill); color: var(--ld-bar-ink); box-shadow: inset 0 1px 0 rgb(var(--ld-light)), 0 34px 80px -26px rgb(var(--ld-shade)); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ld-ease-out), visibility 0s .25s; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu:hover .mega, .menu:focus-within .mega, .menu.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega h5 { margin: 0 0 8px; padding: 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-bar .mega a { display: grid; gap: 1px; padding: 9px 12px; border-radius: var(--ld-radius-control); }
.site-bar .mega a strong { color: var(--ld-bar-ink-strong); font-size: 14.5px; font-weight: 600; }
.site-bar .mega a small { font-size: 12.5px; font-weight: 500; }

/* Language switch: in the bar, and on the sign-in page's foot. */
.lang { display: inline-flex; padding: 3px; border-radius: var(--ld-radius-pill); background: rgb(var(--ld-idle-rgb) / 16%); font-size: var(--ld-type-caption); font-weight: 700; }
.lang a, .lang b { padding: 6px 10px; border-radius: var(--ld-radius-pill); text-decoration: none; }
.site-bar .lang b { background: var(--ld-bar-ink-strong); color: var(--ld-action-hi); }
.lang b { background: var(--ld-text); color: var(--ld-on-action); }

/* Campaign (promo.js turns it on between its dates): a ribbon above the bar, a popup,
   and offer prices. Everything marked .promo-only stays out until then. */
html:not(.promo-on) .promo-only { display: none !important; }
.promo-on .regular-only { display: none !important; }
.promo-bar { position: fixed; z-index: 41; top: 0; left: 0; right: 0; min-height: 42px; padding: 8px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; background: var(--ld-accent); color: var(--ld-on-action); font-size: 14.5px; text-decoration: none; }
.promo-bar strong { padding: 2px 10px; border-radius: var(--ld-radius-pill); background: var(--ld-on-action); color: var(--ld-accent); font-size: var(--ld-type-caption); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.promo-bar b { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; } .promo-bar i { font-style: normal; }
.promo-on .site-bar { top: 56px; }
.promo-pop { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 20px; background: rgb(var(--ld-shade) / 72%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: promo-fade .3s both; }
@keyframes promo-fade { from { opacity: 0; } }
.promo-card { position: relative; width: min(520px, 100%); padding: clamp(26px, 5vw, 44px); display: grid; gap: 18px; border-radius: var(--ld-radius-card); background: linear-gradient(160deg, rgb(var(--ld-accent-rgb) / 22%), transparent 55%), var(--ld-surface-raised); box-shadow: inset 0 0 0 1px rgb(var(--ld-accent-rgb) / 55%), 0 50px 120px -40px rgb(var(--ld-shade)); animation: promo-in .45s var(--ld-ease-liquid) both; }
@keyframes promo-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.promo-tag { justify-self: start; padding: 4px 12px; border-radius: var(--ld-radius-pill); background: var(--ld-accent); color: var(--ld-on-action); font-size: var(--ld-type-caption); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.promo-card h2 { font-size: clamp(28px, 4.4vw, 40px); } .promo-card h2 strong { color: var(--ld-accent); }
.promo-deals { display: grid; gap: 8px; }
.promo-deals li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; padding: 12px 16px; border-radius: var(--ld-radius-control); background: rgb(var(--ld-light) / 5%); box-shadow: inset 0 0 0 1px var(--ld-line); }
.promo-deals .best { box-shadow: inset 0 0 0 1.5px rgb(var(--ld-accent-rgb) / 70%); }
.promo-deals span { font-weight: 600; } .promo-deals s { color: var(--ld-text-3); } .promo-deals b { font-size: 20px; font-weight: 600; }
.promo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.promo-small { color: var(--ld-text-3); font-size: var(--ld-type-small); }
.promo-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgb(var(--ld-light) / 8%); color: var(--ld-text-2); font-size: 22px; line-height: 1; cursor: pointer; }
.promo-chip { justify-self: start; align-self: flex-start; margin-bottom: 10px; padding: 3px 10px; border-radius: var(--ld-radius-pill); background: var(--ld-accent); color: var(--ld-on-action); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.price s { color: var(--ld-text-3); font-size: 18px; }

/* The utility row above the bar, and the richer menus: icons, tags and a closing line. */
.site-top { position: fixed; z-index: 41; top: 0; left: 0; right: 0; height: 38px; background: rgb(var(--ld-shade) / 55%); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--ld-line); font-size: 13.5px; }
.site-top-in { width: min(1120px, calc(100% - 40px)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-top nav { display: flex; align-items: center; gap: 4px 20px; }
.site-top a { color: var(--ld-text-2); font-weight: 500; text-decoration: none; transition: color .2s; } .site-top a:hover { color: var(--ld-text); }
.site-top .lang { padding: 2px; font-size: 11px; } .site-top .lang a, .site-top .lang b { padding: 4px 9px; }
.site-bar { top: 50px; }
.promo-on .site-top { top: 42px; } .promo-on .site-bar { top: 92px; }
.site-bar .mega a { grid-template-columns: 38px 1fr; gap: 2px 12px; align-items: center; transition: background .2s; }
.site-bar .mega a:hover { background: rgb(var(--ld-shade) / 6%); }
.site-bar .mega a.plain { grid-template-columns: 1fr; }
.site-bar .mega a > span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; min-width: 0; }
.site-bar .mega a > span small { grid-column: 1 / -1; }
.mi { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgb(var(--ld-shade) / 7%); color: var(--ld-bar-ink-strong); transition: background .2s, color .2s; }
.mi svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-bar .mega a:hover .mi { background: var(--ld-bar-ink-strong); color: var(--ld-action-hi); }
.mtag { justify-self: start; padding: 2px 8px; border-radius: var(--ld-radius-pill); background: var(--ld-accent); color: var(--ld-on-action); font-size: 10.5px; font-style: normal; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.mega-foot { grid-column: 1 / -1; margin: 10px -28px -28px; padding: 16px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; border-top: 1px solid rgb(var(--ld-shade) / 9%); border-radius: 0 0 var(--ld-radius-card) var(--ld-radius-card); background: rgb(var(--ld-shade) / 4%); font-size: 13.5px; }
.mega-foot span { margin-right: auto; font-weight: 500; } .mega-foot i { font-style: normal; }
.site-bar .mega-foot a { display: inline; padding: 0; font-weight: 700; color: var(--ld-bar-ink-strong); }
.site-bar .mega-foot a:hover { background: none; text-decoration: underline; text-underline-offset: 3px; }
#menu-recursos { grid-template-columns: repeat(4, 1fr); }

/* Paper: a section on warm white, edge to edge, so the page breathes. The section keeps
   its width; only its backdrop reaches the window's sides. Inside it the same tokens
   turn over (dark ink, white cards, dark action), so every component works unchanged. */
.paper { position: relative; margin-top: 120px; padding-bottom: 120px; color: var(--ld-text);
  --ld-light: 20 20 28; --ld-shade: 110 110 128; --ld-accent-rgb: 176 118 0;
  --ld-surface-solid: #ffffff; --ld-surface-raised: #ffffff;
  --ld-line: rgb(var(--ld-light) / 10%); --ld-line-strong: rgb(var(--ld-light) / 18%);
  --ld-text: #121217; --ld-text-2: #4c4c57; --ld-text-3: #6c6c78;
  --ld-action: #121217; --ld-action-hi: #2a2a32; --ld-action-lo: #121217; --ld-on-action: #ffffff;
  --ld-gradient-primary: linear-gradient(180deg, var(--ld-action-hi), var(--ld-action-lo));
  --ld-accent: rgb(var(--ld-accent-rgb));
  --ld-ok-text: #0c7a4d; --ld-warn-text: #8f5a00; --ld-danger-text: #b3261e;
  --ld-glass-fill: linear-gradient(180deg, #ffffff, #fbfaf7);
  --ld-glass-rim: linear-gradient(145deg, rgb(var(--ld-light) / 16%), rgb(var(--ld-light) / 8%));
  --ld-glass-blur: none;
  --ld-glass-shadow: 0 24px 50px -30px rgb(var(--ld-shade) / 70%);
  --ld-shadow-primary: 0 14px 30px -16px rgb(var(--ld-light) / 55%);
  --ld-shadow-lift: 0 40px 80px -44px rgb(var(--ld-shade) / 80%); }
.paper::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; background: linear-gradient(180deg, #f7f5ef, #f1efe8); }
.paper .btn-primary, .paper .btn-primary:hover { box-shadow: var(--ld-shadow-primary); }

/* Footer */
.site-foot { margin-top: 120px; padding: 64px 0 48px; border-top: 1px solid var(--ld-line); color: var(--ld-text-2); font-size: var(--ld-type-small); }
.site-foot .page { display: grid; grid-template-columns: 1.4fr repeat(6, 1fr); gap: 40px 24px; }
.site-foot .foot-brand { display: grid; gap: 6px; align-content: start; }
.site-foot .foot-brand strong { color: var(--ld-text); font-weight: 600; }
.site-foot .brand { color: var(--ld-text); margin-bottom: 12px; }
.site-foot h4 { font-size: 15px; font-weight: 600; color: var(--ld-text); letter-spacing: 0; margin-bottom: 14px; }
.site-foot li + li { margin-top: 10px; }
.site-foot a { text-decoration: none; transition: color .2s; } .site-foot a:hover { color: var(--ld-text); }
.site-foot .legal-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--ld-line); }
.site-foot .legal-row + .legal { padding-top: 4px; border-top: 0; }
.site-foot .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--ld-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--ld-text-3); }

/* Entrance: only when scripts run, so the page is whole without them. */
.js .reveal { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(6px); transition: opacity .9s var(--ld-ease-out), transform .9s var(--ld-ease-out), filter .9s var(--ld-ease-out); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (max-width: 900px) {
  .site-bar { padding-left: 16px; flex-wrap: wrap; border-radius: 30px; }
  .site-menu { display: block; margin-left: auto; }
  .site-bar nav, .site-bar .bar-actions { display: none; width: 100%; margin: 0; }
  .site-bar.open nav { display: grid; padding: 6px 0; }
  .site-bar.open .bar-actions { display: flex; padding: 0 0 8px; }
  .site-bar.open .bar-actions .btn { flex: 1; }
  .site-foot .page { grid-template-columns: 1fr 1fr; }
  .site-foot .foot-brand { grid-column: 1 / -1; }
}
@media (min-width: 901px) and (max-width: 1100px) { .site-foot .page { grid-template-columns: repeat(3, 1fr); } .site-foot .foot-brand { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
@media (max-width: 900px) {
  .menu-top { width: 100%; justify-content: space-between; }
  .mega { position: static; display: none; grid-template-columns: 1fr; padding: 6px 0 10px; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .menu.open .mega { display: grid; }
}
@media (max-width: 900px) {
  .site-top nav:first-child { display: none; } .site-top-in { justify-content: flex-end; }
  .mega-foot { margin: 6px 0 0; padding: 12px 0 0; background: none; border-radius: 0; }
  #menu-recursos { grid-template-columns: 1fr 1fr; }
}
