/* Styles for index.html (moved out of an inline <style> block so the CSP can drop style-src unsafe-inline). */
:root {
  --bg: #0e1b12;
  --bg2: #101d15;
  --card: #16241a;
  --line: rgba(234, 242, 230, 0.10);
  --forest: #14311d;
  --lime: #c6ef3c;
  --on-lime: #14311d;
  --amber: #dda43c;
  --ink: #eaf2e6;
  --muted: #93a596;
  --radius: 22px;
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
/* Set pre-paint by js/analytics.js for a non-English visitor, removed by i18n/lang.js once the language is applied (WEB-13).
   opacity (not visibility) so the consent dialog can still take focus while the page is waiting. */
html.i18n-wait body { opacity: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 27, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }
.brand { display: flex; align-items: center; text-decoration: none; }
/* <picture> only picks the WebP/size variant (scripts/build-images.mjs); it must not add a box, so every "... img" rule lays out as before. */
picture { display: contents; }
.brand img { width: 54px; height: 54px; display: block; border-radius: 22%; }
.nav-blog { color: #ffffff; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1; padding: 10px 6px; margin-inline-start: 16px; margin-inline-end: auto; border-radius: 8px; transition: color .15s ease; }
.nav-blog:hover { color: var(--lime); }
.nav-blog:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn {
  appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  font: 600 14px/1 Inter, "Helvetica Neue", Arial, sans-serif; padding: 11px 14px; cursor: pointer; max-width: 210px;
  transition: border-color .15s ease;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--lime); }
.lang-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.lang-cur { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-code { display: none; text-transform: uppercase; }
.lang-chev { flex: none; color: var(--muted); transition: transform .15s ease; }
.lang-btn[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }
.lang-list {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 20; margin: 0; padding: 6px; list-style: none;
  min-width: 210px; max-height: 60vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}
.lang-list { scrollbar-width: thin; scrollbar-color: rgba(198, 239, 60, .45) transparent; }
.lang-list[hidden] { display: none; }
.lang-list:focus { outline: none; }
.lang-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 12px; border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.lang-list li:hover, .lang-list li.active { background: var(--lime); color: var(--on-lime); }
.lang-check { visibility: hidden; font-weight: 800; }
.lang-list li[aria-selected="true"] .lang-check { visibility: visible; }
.lang-list li[aria-selected="true"] { font-weight: 800; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lime); color: var(--on-lime);
  font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap;
  padding: 11px 20px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
button.btn, button.store { font: inherit; border: 0; cursor: pointer; color: inherit; }
button.btn { font-weight: 800; font-size: 15px; color: var(--on-lime); }
button.store { border: 1px solid var(--line); }
button:focus-visible, a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(198, 239, 60, 0.25); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 24px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%;
  background:
    radial-gradient(600px 320px at 50% 10%, rgba(198, 239, 60, 0.14), transparent 70%),
    radial-gradient(520px 300px at 85% 40%, rgba(32, 73, 44, 0.65), transparent 70%),
    radial-gradient(520px 300px at 10% 50%, rgba(32, 73, 44, 0.55), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
/* Eyebrow pill: no longer on the home hero, but the blog hero (scripts/build-blog.mjs) still uses it. */
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--lime); border: 1px solid rgba(198, 239, 60, 0.4); padding: 7px 14px; border-radius: 999px;
}
h1 {
  font-size: clamp(36px, 6.2vw, 70px); line-height: 1.08; letter-spacing: -1.5px; font-weight: 900;
  margin: 22px auto 18px; max-width: 880px;
}
em { font-style: normal; color: var(--lime); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
/* Hero store buttons: 1.65x the original 24px icon / 11px caption / 17px name (2026-11-10). */
.stores { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 16px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 23px; padding: 16px 30px; text-align: start;
}
.store svg { width: 40px; height: 40px; flex: none; }
.store small { display: block; font-size: 18px; color: var(--muted); line-height: 1.2; }
.store b { display: block; font-size: 28px; line-height: 1.2; }
.fine { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Sections */
section { padding: 88px 0 0; }
/* The ad-free card sits closer to the hero than the other sections (2026-11-10). */
.hero + .wrap > section:first-child { padding-top: 56px; }
.head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; letter-spacing: -1px; font-weight: 900; margin: 0 0 14px; }
.head p { color: var(--muted); font-size: 18px; margin: 0; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.3px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(221, 164, 60, 0.18); color: var(--amber); font-size: 21px; margin-bottom: 16px;
}
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* Ad-free */
.adfree { display: flex; align-items: center; gap: 28px; background: var(--lime); color: var(--on-lime); border-radius: 28px; padding: 40px 44px; }
.adfree .big { font-size: clamp(64px, 9vw, 104px); font-weight: 900; line-height: 1; letter-spacing: -3px; flex: none; }
.adfree .big small { display: block; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; text-align: center; }
.adfree h2 { margin-bottom: 8px; }
.adfree p { margin: 0; font-size: 18px; color: rgba(20, 49, 29, 0.85); }

/* Lime panels alternate with the dark sections (ad-free, See your stats, How Vacaylo works). */
.lime-panel { background: var(--lime); color: var(--on-lime); border-radius: 28px; padding: 44px; }
.lime-panel .head p, .lime-panel .plan-note, .lime-panel .example { color: rgba(20, 49, 29, 0.8); }
.lime-panel .card, .lime-panel .table-wrap, .lime-panel .tile, .lime-panel .step { background: var(--forest); border-color: transparent; color: var(--ink); }
.lime-panel .icon { background: rgba(198, 239, 60, 0.16); color: var(--lime); }

/* Explore */
.explore { background: linear-gradient(135deg, var(--forest), var(--card)); border: 1px solid var(--line); border-radius: 28px; padding: 44px; }
.explore .card { background: rgba(14, 27, 18, 0.55); }

/* Stats tiles (like the app's stat tiles) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile b { display: block; font-size: clamp(34px, 4vw, 44px); font-weight: 900; letter-spacing: -1px; line-height: 1.1; color: var(--lime); }
.tile span { color: var(--muted); font-size: 15px; }
.bar { height: 8px; border-radius: 99px; background: rgba(234, 242, 230, 0.08); margin-top: 14px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 99px; }
/* Demo bar widths (classes instead of style="--w:…" so the CSP needs no unsafe-inline). */
.bar .w-12 { width: 12%; }
.bar .w-71 { width: 71%; }
.example { text-align: center; color: var(--muted); font-size: 13px; margin-top: 14px; }

/* Top banner (ad-free) */

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--lime); color: var(--on-lime); font-weight: 900; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Free vs Premium */
.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 16px 22px; text-align: start; border-bottom: 1px solid var(--line); }
th { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); background: var(--bg2); }
th:not(:first-child), td:not(:first-child) { text-align: center; width: 18%; }
th:first-child, td:first-child { overflow-wrap: anywhere; }
th.prem { color: var(--lime); }
tr:last-child td { border-bottom: 0; }
.yes { color: var(--lime); font-weight: 900; font-size: 18px; }
.no { color: var(--muted); }
.plan-note { text-align: center; color: var(--muted); font-size: 14.5px; margin: 18px auto 0; max-width: 620px; }

/* Footer */
footer { margin-top: 88px; border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Quote */
.quote { text-align: center; padding: 96px 0 0; }
.quote .plane { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--lime); font-size: 18px; margin-bottom: 14px; }
.quote .plane::before, .quote .plane::after { content: ""; width: 36px; height: 1px; background: var(--muted); opacity: .5; }
.quote blockquote { margin: 0 auto; max-width: 900px; color: var(--lime); font-weight: 600; font-size: clamp(30px, 5vw, 52px); line-height: 1.3; letter-spacing: .5px; }
.quote blockquote p { margin: 0; }
html[data-quote="cursive"] .quote blockquote { font-family: Pacifico, "Brush Script MT", "Segoe Script", cursive; font-weight: 400; font-size: clamp(34px, 6vw, 64px); line-height: 1.4; }
html[data-quote="italic"] .quote blockquote { font-style: italic; }
[dir="rtl"] .quote blockquote { letter-spacing: 0; font-style: normal; }

/* Store dialog */
dialog.sd { border: 1px solid var(--line); border-radius: 28px; background: var(--card); color: var(--ink); padding: 0; width: min(440px, calc(100vw - 32px)); margin: auto; box-shadow: 0 24px 80px rgba(0, 0, 0, .6); }
dialog.sd::backdrop { background: rgba(5, 12, 7, 0.72); backdrop-filter: blur(3px); }
.sd-box { position: relative; padding: 34px 26px 26px; text-align: center; }
.sd-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font-size: 24px; font-weight: 800; line-height: 1; font-family: inherit; display: grid; place-items: center; padding: 0; border: 0; appearance: none; -webkit-appearance: none; outline: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sd-close:hover { background: #d4f75a; }
.sd-close:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--lime); }
.sd h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -.5px; }
.sd-sub { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.sd-opts { display: grid; gap: 12px; }
.sd-opt { display: flex; align-items: center; gap: 16px; text-decoration: none; text-align: start; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; transition: border-color .15s ease, transform .15s ease; }
.sd-opt:hover:not([aria-disabled="true"]) { border-color: var(--lime); transform: translateY(-1px); }
.sd-opt svg { width: 34px; height: 34px; flex: none; }
.sd-opt small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.sd-opt b { display: block; font-size: 21px; line-height: 1.2; }
.sd-opt .soon { display: none; font-size: 12.5px; font-weight: 800; color: var(--amber); margin-top: 2px; }
.sd-opt[aria-disabled="true"] { border-style: dashed; cursor: not-allowed; }
.sd-opt[aria-disabled="true"] .soon { display: block; }
.sd-opt[aria-disabled="true"] small { display: none; }

@media (max-width: 900px) {
  .grid3, .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .explore { padding: 30px; }
}
@media (max-width: 600px) {
  .adfree { flex-direction: column; text-align: center; padding: 30px 22px; gap: 10px; }
  .lime-panel { padding: 22px; }
  .nav { height: 64px; gap: 8px; }
  .nav-blog { font-size: 14px; padding-inline: 4px; margin-inline-start: 10px; }
  .actions { gap: 6px; }
  .brand img { width: 46px; height: 46px; }
  .lang-btn { padding: 10px 12px; gap: 6px; font-size: 13px; }
  .lang-cur { display: none; }
  .lang-code { display: inline; }
  .lang-list { position: fixed; top: 68px; inset-inline-end: 12px; min-width: 0; width: min(260px, calc(100vw - 24px)); max-height: 60vh; }
  .btn { padding: 10px 14px; font-size: 13.5px; }
  .hero { padding: 56px 0 16px; }
  .grid3, .grid2, .steps { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { padding: 18px; }
  section { padding-top: 64px; }
  .hero + .wrap > section:first-child { padding-top: 40px; }
  .explore { padding: 22px; }
  .quote { padding-top: 72px; }
  th, td { padding: 13px 12px; font-size: 14.5px; }
  th { font-size: 11px; }
}
/* Keep this block AFTER the 600 px one: same specificity, so the later rule wins (WEB-2). */
@media (max-width: 400px) {
  .wrap { padding: 0 14px; }
  .brand img { width: 40px; height: 40px; }
  .lang-btn { padding: 10px 10px; gap: 5px; }
  .btn { padding: 10px 11px; font-size: 13px; }
}
@media (max-width: 359px) {
  .nav-blog { margin-inline-start: 6px; }
  .lang-code { display: none; } /* globe + chevron remain (the button keeps its aria-label); frees ~25 px on 320 px phones */
}

/* Waitlist button (hero, under the store buttons). Half the scale of .adfree: padding, radius and type all halved. */
@property --wl-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.waitlist-btn {
  --wl-angle: 0deg;
  /* 1.16x the original 260px width / 12px 24px padding / 17px label (2026-11-10); grows to keep
     "Join the App Store waitlist" on one line, capped at the container width. */
  display: block; margin: 18px auto 0; width: fit-content; min-width: min(100%, 302px); max-width: 100%;
  color: var(--on-lime); border: 3px solid transparent; border-radius: 999px; padding: 14px 28px;
  /* Solid lime fill (padding-box) over a rotating conic gradient that only shows in the 3px border. */
  background:
    linear-gradient(var(--lime), var(--lime)) padding-box,
    conic-gradient(from var(--wl-angle), var(--lime), #ffffff 12%, #2f9e6b 30%, var(--lime) 50%, #ffffff 62%, #2f9e6b 80%, var(--lime)) border-box;
  box-shadow: 0 0 22px rgba(198, 239, 60, 0.28);
  font: inherit; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
  animation: wl-spin 7s linear infinite;
  transition: transform .15s ease, box-shadow .2s ease;
}
@keyframes wl-spin { to { --wl-angle: 360deg; } }
.waitlist-btn:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(198, 239, 60, 0.45); }
.waitlist-btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 5px; }
.waitlist-cta { display: block; font-size: 19.7px; font-weight: 800; line-height: 1.3; text-wrap: balance; }
@media (prefers-reduced-motion: reduce) {
  .waitlist-btn { animation: none; transition: none; }
}

/* Waitlist dialog: reuses .sd-box / .sd-close / .sd-sub from the store dialog. */
.wl { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.wl[hidden] { display: none; }
.wl-backdrop { position: fixed; inset: 0; background: rgba(5, 12, 7, 0.72); backdrop-filter: blur(3px); }
.wl-box { position: relative; width: min(440px, 100%); margin: auto; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 24px 80px rgba(0, 0, 0, .6); }
.wl-form { display: grid; gap: 10px; text-align: start; }
.wl-label { font-size: 14px; font-weight: 700; }
.wl-input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid rgba(234, 242, 230, 0.35); border-radius: 14px; padding: 13px 14px; }
.wl-input::placeholder { color: var(--muted); }
.wl-input:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-color: var(--lime); }
.wl-input[aria-invalid="true"] { border-color: #ff9a8a; }
.wl-hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.wl-submit { white-space: normal; text-align: center; width: 100%; justify-content: center; padding: 14px 18px; font-size: 16px; }
.wl-submit:disabled { opacity: .7; cursor: progress; }
.wl-status { min-height: 1.4em; margin: 0; font-size: 14px; color: #ff9a8a; text-align: center; }
.wl-status.ok { color: var(--lime); }
.wl-privacy { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.wl-privacy a { color: var(--ink); text-underline-offset: 2px; }
.wl-success { text-align: center; }
.wl-success .wl-submit { margin-top: 4px; }
@media (max-width: 600px) {
  .wl { align-items: flex-start; padding: 12px; }
  .wl-box { padding: 30px 18px 20px; border-radius: 22px; }
}

/* Cookie consent banner + footer "Cookie settings" button (js/analytics.js). Same rules live in site.css and legal.css. */
.foot-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.foot-link:hover { color: var(--ink); }
.foot-link:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.consent { position: fixed; inset-block-end: 16px; inset-inline-start: 16px; z-index: 50; width: min(380px, calc(100vw - 32px)); background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); font-size: 14px; line-height: 1.5; }
.consent-text { margin: 0 0 6px; color: #d4dfd0; }
.consent-link { display: inline-block; color: var(--lime); text-underline-offset: 3px; font-weight: 600; margin-bottom: 12px; }
.consent-actions { display: flex; gap: 10px; }
.consent-btn { flex: 1; font: inherit; font-weight: 800; font-size: 14px; border-radius: 999px; padding: 10px 14px; cursor: pointer; border: 1px solid transparent; }
.consent-accept { background: var(--lime); color: var(--on-lime); }
.consent-decline { background: transparent; color: var(--ink); border-color: rgba(234, 242, 230, 0.4); }
.consent-btn:hover { border-color: var(--lime); }
.consent-btn:focus-visible, .consent-link:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
@media (max-width: 600px) {
  .consent { inset-inline: 0; inset-block-end: 0; width: auto; border-radius: 18px 18px 0 0; border-inline-width: 0; border-block-end-width: 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* Skip link (first focusable element on every page; target is <main id="main">). */
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 100; background: var(--lime); color: var(--on-lime); font-weight: 800; font-size: 15px; text-decoration: none; padding: 10px 18px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
[tabindex="-1"]:focus { outline: none; }
/* Visually hidden text for screen readers only. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Consent dialog (js/analytics.js): modal over a dimmed backdrop until Accept or Decline (not on /privacy/). */
.consent-open { overflow: hidden; }
.consent-backdrop { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 10, 6, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.consent-backdrop .consent { position: static; width: min(460px, 100%); padding: 28px 26px 24px; font-size: 16px; border-radius: 24px; border-color: rgba(198, 239, 60, 0.35); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6); }
.consent-title { margin: 0 0 10px; font-size: 22px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.consent-backdrop .consent-title { font-size: 26px; }
.consent-backdrop .consent-text { margin-bottom: 10px; }
.consent-backdrop .consent-link { margin-bottom: 20px; }
.consent-backdrop .consent-btn { font-size: 16px; padding: 14px 18px; }
@media (max-width: 600px) {
  .consent-backdrop { align-items: flex-end; padding: 0; }
  .consent-backdrop .consent { width: 100%; border-radius: 24px 24px 0 0; padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
}

/* Calculators nav (Cost Of Living Calculator, Minimum Wage Calculator), the same block on every page right after the header.
   Wide screens: a rail fixed in the empty gutter beside the 1120 px content column (inline-start side, so it mirrors in
   RTL). Narrower screens have no gutter, so it is a slim strip under the header instead. */
.side-nav { position: relative; padding: 8px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.side-nav__toggle { position: absolute; width: 1px; height: 1px; opacity: 0; }
.side-nav__btn { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 800; font-size: 14px; line-height: 1.3; cursor: pointer; }
.side-nav__btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.side-nav__toggle:checked + .side-nav__btn::after { transform: translateY(2px) rotate(-135deg); }
.side-nav__toggle:focus-visible + .side-nav__btn { outline: 2px solid var(--lime); outline-offset: 2px; }
.side-nav__links { display: none; flex-direction: column; gap: 2px; max-width: 420px; margin: 8px auto 2px; text-align: start; }
.side-nav__toggle:checked ~ .side-nav__links { display: flex; }
.side-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.3; padding: 11px 14px; border-radius: 12px; transition: color .15s ease, border-color .15s ease, transform .15s ease; }
.side-nav a:hover, .side-nav a[aria-current="page"] { color: var(--lime); }
.side-nav a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.side-nav__group { margin: 12px 0 2px; padding: 0 14px; color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.side-nav__group:first-child { margin-top: 4px; }
@media (min-width: 1500px) {
  /* Thirteen links are taller than a short laptop screen: the rail scrolls on its own. The 4px padding keeps the focus ring and the hover lift inside the scroll box. */
  .side-nav { position: fixed; z-index: 5; top: 100px; inset-inline-end: calc(50% + 568px); width: 192px; max-height: calc(100vh - 112px); overflow-y: auto; padding: 4px; padding-inline-end: 14px; border: 0; text-align: start; }
  /* Slim lime pill scrollbar. Chromium ignores the ::-webkit-scrollbar rules once scrollbar-width/-color is set, so those are kept for browsers without the pseudo-elements (Firefox). */
  .side-nav::-webkit-scrollbar { width: 6px; }
  .side-nav::-webkit-scrollbar-track { margin: 6px 0; background: rgba(198, 239, 60, .08); border-radius: 999px; }
  .side-nav::-webkit-scrollbar-thumb { background: rgba(198, 239, 60, .75); border-radius: 999px; }
  .side-nav::-webkit-scrollbar-thumb:hover, .side-nav::-webkit-scrollbar-thumb:active { background: var(--lime); }
  @supports not selector(::-webkit-scrollbar) {
    .side-nav { scrollbar-width: thin; scrollbar-color: rgba(198, 239, 60, .75) rgba(198, 239, 60, .08); }
  }
  .side-nav__toggle, .side-nav__btn { display: none; }
  .side-nav__links { display: flex; gap: 9px; max-width: none; margin: 0; }
  .side-nav a { font-size: 14px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
  .side-nav a:hover { border-color: rgba(198, 239, 60, 0.65); transform: translateY(-1px); }
  .side-nav a[aria-current="page"] { border-color: var(--lime); }
  .side-nav__group { margin: 12px 0 0; padding: 0 6px; }
  .side-nav__group:first-child { margin-top: 0; }
}

/* Load transitions (2026-11-16). They play once per visit: js/analytics.js, the first script in <head>, puts .intro on <html>
   before the first paint when the visitor arrives from outside the site, opens it directly or reloads; a click from one Vacaylo
   page to another gets no .intro and paints at once. Without JavaScript nothing is hidden or animated.
   Rules: only opacity and transform (compositor only, no layout, so no layout shift); everything is at rest within 0.7 s;
   "backwards" fill, so no transform is left behind (a leftover transform on <main> would capture position: fixed children);
   keyframes start at opacity .01, not 0, because Chrome skips fully transparent elements when it picks the Largest
   Contentful Paint and does not look again when an animation ends. Kept in step with the same block in css/legal.css. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes intro-rise { from { opacity: .01; transform: translateY(16px); } }
  @keyframes intro-drop { from { opacity: .01; transform: translateY(-12px); } }
  @keyframes intro-side { from { opacity: .01; transform: translateX(var(--intro-x)); } }
  @keyframes intro-fade { from { opacity: .01; } }
  html.intro { --intro-x: -22px; --intro-ease: cubic-bezier(.22, 1, .36, 1); }
  html.intro[dir="rtl"] { --intro-x: 22px; }
  /* A non-English visitor's page is transparent until the language file is in (html.i18n-wait above): hold the show until then. */
  html.intro.i18n-wait * { animation-play-state: paused !important; }
  html.intro header > .nav { animation: intro-drop .42s var(--intro-ease) backwards; }
  /* Home: the hero lines come up one after another, then the first section. */
  html.intro .hero .wrap > * { animation: intro-rise .52s var(--intro-ease) backwards; }
  html.intro .hero .wrap > :nth-child(1) { animation-delay: .04s; }
  html.intro .hero .wrap > :nth-child(2) { animation-delay: .09s; }
  html.intro .hero .wrap > :nth-child(3) { animation-delay: .14s; }
  html.intro .hero .wrap > :nth-child(4) { animation-delay: .19s; }
  html.intro .hero .wrap > :nth-child(n+5) { animation-delay: .24s; }
  /* The waitlist button keeps its rotating border (wl-spin) next to the entrance. */
  html.intro .hero .wrap > .waitlist-btn { animation: wl-spin 7s linear infinite, intro-rise .52s var(--intro-ease) .19s backwards; }
  html.intro .hero + .wrap { animation: intro-rise .52s var(--intro-ease) .24s backwards; }
  /* Every other page: <main> has a class there (blog-main, doc, col ...), the home page's has none. */
  html.intro main[class] { animation: intro-rise .52s var(--intro-ease) .06s backwards; }
  /* Tools menu: the links slide in from the screen edge, top to bottom, 18 ms apart (the rail on wide screens; on narrower
     ones the Tools button drops in, and the links do the same cascade each time the menu is opened). */
  /* The rail itself fades in, so its lime scrollbar does not stand alone before the links arrive. */
  html.intro .side-nav { animation: intro-fade .4s ease-out backwards; }
  html.intro .side-nav__btn { animation: intro-drop .42s var(--intro-ease) .06s backwards; }
  html.intro .side-nav__links > * { animation: intro-side .44s var(--intro-ease) .26s backwards; }
  html.intro .side-nav__links > :nth-child(1) { animation-delay: .02s; }
  html.intro .side-nav__links > :nth-child(2) { animation-delay: .038s; }
  html.intro .side-nav__links > :nth-child(3) { animation-delay: .056s; }
  html.intro .side-nav__links > :nth-child(4) { animation-delay: .074s; }
  html.intro .side-nav__links > :nth-child(5) { animation-delay: .092s; }
  html.intro .side-nav__links > :nth-child(6) { animation-delay: .11s; }
  html.intro .side-nav__links > :nth-child(7) { animation-delay: .128s; }
  html.intro .side-nav__links > :nth-child(8) { animation-delay: .146s; }
  html.intro .side-nav__links > :nth-child(9) { animation-delay: .164s; }
  html.intro .side-nav__links > :nth-child(10) { animation-delay: .182s; }
  html.intro .side-nav__links > :nth-child(11) { animation-delay: .2s; }
  html.intro .side-nav__links > :nth-child(12) { animation-delay: .218s; }
  html.intro .side-nav__links > :nth-child(13) { animation-delay: .236s; }
  html.intro .side-nav__links > :nth-child(14) { animation-delay: .254s; }
}
