/* ==========================================================================
   Liretta site — palette, radius and type carried over from
   docs/design/prototype.html so the page and the app read as one product.
   ========================================================================== */

/* ---- Tokens: light (default) -------------------------------------------- */
:root {
  --canvas: #eef2f3;
  --canvas-2: #e6ecee;
  --card: #ffffff;
  --ink: #16262b;
  --muted: #5f7379;
  --line: #dbe3e5;
  --petrol: #1f4b57;
  --petrol-deep: #173c46;
  --hero-1: #173c46;
  --hero-2: #1f4b57;
  --hero-3: #27626f;
  --mint: #b9ead9;
  --mint-ink: #0f3d33;
  --mint-tint: rgba(185, 234, 217, .45);
  --eyebrow-on-dark: #b9ead9;
  --good: #2e9e6b;
  --teal: #2f8f9a;
  --warn: #c98a1e;
  --bad: #b3413a;
  --track: #e2e9ea;
  --gold-1: #f1d98a;
  --gold-2: #b8902c;
  --gold-3: #8a6d1f;
  --gold-ink: #4a3608;
  --warn-soft: #f6e3c0;
  --warn-soft-ink: #6b4a0e;
  --app-tab-on: #1f4b57;
  --btn-bg: #1f4b57;
  --btn-bg-hover: #173c46;
  --btn-ink: #ffffff;
  --shadow-card: 0 1px 2px rgba(22, 38, 43, .05), 0 20px 40px -34px rgba(23, 60, 70, .55);
  --shadow-phone: 0 50px 90px -40px rgba(6, 20, 24, .7), 0 16px 40px -26px rgba(6, 20, 24, .55);
  --shell: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

/* ---- Tokens: dark -------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #0f1a1d;
    --canvas-2: #0c1619;
    --card: #182629;
    --ink: #e6eef0;
    --muted: #93a6ab;
    --line: #26383c;
    --petrol: #13323a;
    --petrol-deep: #0e272e;
    --hero-1: #0b1f25;
    --hero-2: #0e272e;
    --hero-3: #123039;
    --mint: #2f6f62;
    --mint-ink: #d9f5ec;
    --mint-tint: rgba(47, 111, 98, .35);
    --eyebrow-on-dark: #9fd8cb;
    --track: #26383c;
    --warn-soft: #3a2f16;
    --warn-soft-ink: #e8c88a;
    --app-tab-on: #9fd8cb;
    --btn-bg: #b9ead9;
    --btn-bg-hover: #a6e3cf;
    --btn-ink: #0f3d33;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .35), 0 20px 40px -34px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0f1a1d;
  --canvas-2: #0c1619;
  --card: #182629;
  --ink: #e6eef0;
  --muted: #93a6ab;
  --line: #26383c;
  --petrol: #13323a;
  --petrol-deep: #0e272e;
  --hero-1: #0b1f25;
  --hero-2: #0e272e;
  --hero-3: #123039;
  --mint: #2f6f62;
  --mint-ink: #d9f5ec;
  --mint-tint: rgba(47, 111, 98, .35);
  --eyebrow-on-dark: #9fd8cb;
  --track: #26383c;
  --warn-soft: #3a2f16;
  --warn-soft-ink: #e8c88a;
  --app-tab-on: #9fd8cb;
  --btn-bg: #b9ead9;
  --btn-bg-hover: #a6e3cf;
  --btn-ink: #0f3d33;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .35), 0 20px 40px -34px rgba(0, 0, 0, .7);
}

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.62;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; line-height: 1.14; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.45rem); }
h3 { font-size: 1.16rem; line-height: 1.3; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
code { font-family: var(--mono); font-size: .9em; }
::selection { background: var(--mint); color: var(--mint-ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible,
.section-dark :focus-visible,
.cta :focus-visible,
.site-head :focus-visible,
.site-foot :focus-visible { outline-color: #fff; }

/* ---- Utilities ----------------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--mint); color: var(--mint-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }
.ico { width: 22px; height: 22px; flex: none; }
.ico-tiny { width: 10px; height: 10px; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--teal);
}
.eyebrow-light, .eyebrow-mint { color: var(--eyebrow-on-dark); }
.lede { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.14rem); max-width: 68ch; }
.tiny-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.tiny-note-center { text-align: center; max-width: 62ch; margin-inline: auto; }

/* ---- Buttons & badges ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px; border-radius: 12px;
  font: inherit; font-size: 15px; font-weight: 650; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}
.btn .ico { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-accent { background: var(--mint); color: var(--mint-ink); }
.btn-accent:hover { filter: brightness(1.04); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-ghost-light { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  background: var(--track); color: var(--muted); white-space: nowrap;
}
.badge-good { background: var(--mint); color: var(--mint-ink); }
.badge-warn { background: var(--warn-soft); color: var(--warn-soft-ink); }

/* ---- Coin mark (the denarius render) ------------------------------------- */
.coin { width: 30px; height: 30px; flex: none; display: block; }
.coin-lg { width: 52px; height: 52px; }

/* ---- Header -------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: var(--petrol);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: #fff;
}
.head-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; letter-spacing: .2px;
  color: #fff; text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav a {
  color: rgba(255, 255, 255, .78); text-decoration: none;
  font-size: 14.5px; padding: 6px 0;
}
.site-nav a:hover { color: #fff; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px; border: 0; border-radius: 11px;
  background: rgba(255, 255, 255, .1); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .15s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, .2); }
.icon-btn .ico { width: 19px; height: 19px; }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; }
:root[data-theme="dark"] .theme-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-sun { display: block; }
  :root:not([data-theme="light"]) .theme-moon { display: none; }
}
.menu-btn { display: none; }
.menu-close { display: none; }
.site-head.open .menu-close { display: block; }
.site-head.open .menu-open { display: none; }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 80% -4%, rgba(185, 234, 217, .16), transparent 65%),
    linear-gradient(157deg, var(--hero-1) 0%, var(--hero-2) 55%, var(--hero-3) 125%);
  color: #fff;
  padding-top: 76px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(700px 420px at 82% 12%, #000 0%, transparent 70%);
  mask-image: radial-gradient(700px 420px at 82% 12%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 56px; align-items: center;
}
.hero-copy { padding-bottom: 56px; }
.hero h1 { margin-bottom: 20px; max-width: 15ch; }
.hero .lede { color: rgba(234, 244, 245, .85); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }

.hero-visual { position: relative; display: grid; place-items: center; padding: 6px 0 34px; }
.float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 9px;
  border-radius: 12px; font-size: 12.5px; font-weight: 650;
  box-shadow: 0 16px 34px -14px rgba(5, 18, 22, .6);
  white-space: nowrap;
}
.float-file {
  bottom: -2px; left: -54px;
  background: #fff; color: #16262b;
  padding: 10px 13px;
}
.float-file .ico { width: 20px; height: 20px; color: #2f8f9a; }
.float-file b { display: block; font-size: 12.5px; line-height: 1.25; }
.float-file small { display: block; color: #5f7379; font-weight: 500; font-size: 11px; }

/* Phone frame around a real screenshot from the app. */
.phone {
  width: min(312px, 84vw);
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(150deg, #0b1518, #16303a);
  box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255, 255, 255, .09);
}
.phone img { width: 100%; height: auto; border-radius: 32px; }
.phone-sm { width: min(280px, 76vw); justify-self: center; }

/* Trust strip */
.trust {
  list-style: none; margin: 26px 0 0; padding: 22px 0 26px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.trust li { display: flex; align-items: center; gap: 12px; }
.trust .ico { width: 21px; height: 21px; color: var(--eyebrow-on-dark); }
.trust b { display: block; font-size: 14px; font-weight: 650; }
.trust span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .65); }

/* ---- Sections ------------------------------------------------------------ */
.section { padding: 96px 0; }
.section-canvas2 { background: var(--canvas-2); }
.section-dark { background: var(--petrol-deep); color: #fff; }
.section-head { max-width: 780px; margin-bottom: 54px; }
.section-head .lede { margin-top: 16px; }
.section-dark .lede { color: rgba(230, 238, 240, .82); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; box-shadow: var(--shadow-card);
}

/* ---- Features ------------------------------------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 24px; }
.feature h3 { margin-top: 2px; }
.feature p { color: var(--muted); font-size: 15px; }
.vignette {
  background: var(--canvas); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px; min-height: 132px;
  display: grid; gap: 10px; align-content: center;
}
.vignette-center { justify-items: center; text-align: center; }
.v-hero { background: var(--petrol); color: #fff; border-radius: 11px; padding: 11px 13px; font-size: 12px; }
.v-hero-row { display: flex; justify-content: space-between; gap: 10px; opacity: .85; }
.v-hero-nums { opacity: 1; align-items: baseline; margin-top: 3px; }
.v-hero-nums b { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.v-hero .pill { background: var(--mint); color: var(--mint-ink); border-radius: 7px; padding: 2px 8px; font-size: 13px; font-weight: 700; }
.v-bar { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .18); overflow: hidden; margin-top: 9px; }
.v-bar i { display: block; height: 100%; border-radius: 999px; background: var(--mint); }
.v-row {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 3px 10px; align-items: center;
  background: var(--card); border-radius: 11px; padding: 10px 12px;
  box-shadow: var(--shadow-card); font-size: 13px;
}
.v-row .ico { width: 17px; height: 17px; color: var(--muted); }
.v-name { font-weight: 650; line-height: 1.3; font-size: 13.5px; }
.v-name small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); margin-top: 1px; }
.v-amount { font-weight: 700; }
.v-amount.in { color: var(--good); }
.v-row .v-bar { background: var(--track); margin: 4px 0 0; }
.v-bar-row { grid-column: 2 / -1; }
.v-row .v-bar i { background: var(--good); }
.v-fund {
  justify-self: start; margin-top: 10px;
  background: var(--btn-bg); color: var(--btn-ink);
  border-radius: 9px; padding: 8px 12px;
  font-size: 12.5px; font-weight: 650;
}
.v-toast {
  display: flex; align-items: center; gap: 14px;
  background: #101d20; color: #e6eef0;
  border-radius: 11px; padding: 11px 14px;
  font-size: 13px; box-shadow: 0 14px 30px -16px rgba(5, 18, 22, .7);
}
.v-undo { color: #9fd8cb; font-weight: 700; }
.v-hint { font-size: 12px; color: var(--muted); }
.v-tx {
  display: grid; grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 3px 10px; align-items: center;
  background: var(--card); border-radius: 11px; padding: 10px 12px;
  box-shadow: var(--shadow-card); font-size: 13px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--muted); }
.dot.ok { background: var(--good); border-color: var(--good); }

.also {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.also li {
  padding: 8px 15px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--muted); font-size: 13.5px;
}

/* ---- Screens ------------------------------------------------------------- */
/* Scroll-snap gallery: plain overflow, no script. */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 4px;
  padding: 4px 4px 20px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.shot { margin: 0; scroll-snap-align: start; }
.shot img {
  width: 100%; height: auto;
  border-radius: 24px; border: 1px solid var(--line);
  background: var(--card); box-shadow: var(--shadow-card);
}
.shot figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---- Videos -------------------------------------------------------------- */
.clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.clip { margin: 0; }
.clip-lead { grid-column: 1 / -1; }
.clip video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  border-radius: 20px; border: 1px solid var(--line);
  background: var(--card); box-shadow: var(--shadow-card);
}
.clip figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.clip figcaption b { color: var(--ink, inherit); }

/* ---- Insights ------------------------------------------------------------ */
.insights-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.insights-copy .eyebrow { display: flex; align-items: center; gap: 10px; }
.insights-copy .lede { margin: 16px 0 26px; }
.insights-note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ---- Privacy ------------------------------------------------------------- */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.privacy-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.privacy-list .ico {
  box-sizing: content-box; width: 22px; height: 22px; padding: 11px;
  border-radius: 13px; color: var(--eyebrow-on-dark);
  background: rgba(185, 234, 217, .12);
}
.privacy-list b { color: #fff; }
.privacy-list div { color: rgba(230, 238, 240, .8); font-size: 15px; }
.no-list {
  list-style: none; margin: 52px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.no-list li {
  display: inline-flex; align-items: center;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .75); font-size: 13.5px;
}
.no-list .x { color: #f0a49e; font-weight: 700; margin-right: 9px; }

.code-card {
  background: #0d1c21; border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
}
.code-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-size: 13px; font-weight: 650; color: #cfe3e6;
  font-family: var(--mono);
}
.code-head .ico { width: 17px; height: 17px; color: #9fd8cb; }
.code-tag {
  margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: #9fd8cb;
}
.code-card pre {
  margin: 0; padding: 16px; overflow-x: auto;
  white-space: pre;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.75;
  color: #dbe8ea;
}
.c-key { color: #8fd3c1; }
.code-note { padding: 0 16px 18px; margin: 0; font-size: 13px; color: rgba(230, 238, 240, .7); }

/* ---- YNAB ---------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: 15px; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 35%, var(--gold-1), var(--gold-2) 70%, var(--gold-3));
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .15);
  color: var(--gold-ink); font-weight: 800; font-size: 16px;
}
.leave { margin-top: 40px; max-width: 70ch; color: var(--muted); }

/* ---- Platforms ----------------------------------------------------------- */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.platform { display: flex; flex-direction: column; gap: 13px; }
.platform-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.platform-ico { width: 27px; height: 27px; color: var(--teal); }
.platform p { color: var(--muted); font-size: 15px; flex: 1; }
.platform .btn { align-self: flex-start; }
.tech-strip {
  margin-top: 28px; padding: 18px 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px;
  border: 1px dashed var(--line); border-radius: 16px;
}
.tech { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; }
.tech .ico { width: 19px; height: 19px; color: var(--teal); }
.tech-sep { color: var(--muted); }

/* ---- Pricing ------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 920px; margin-inline: auto; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 28px; }
.plan-free { border-top: 4px solid var(--mint); }
.plan-premium { border-top: 4px solid var(--gold-2); }
.plan-soon { color: var(--muted); font-size: 14px; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head h3 { font-size: 1.35rem; }
.plan-lede { color: var(--muted); font-size: 15px; }
.plan-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 15px; }
.check .ico { width: 20px; height: 20px; color: var(--good); margin-top: 2px; }

/* ---- FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.qa {
  background: var(--card); border: 1px solid var(--line); border-radius: 15px;
  padding: 0 22px; box-shadow: var(--shadow-card);
}
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 16.5px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; width: 9px; height: 9px; flex: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.qa[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.qa p { padding: 0 0 20px; margin: 0; color: var(--muted); font-size: 15px; max-width: 72ch; }

/* ---- Final CTA ----------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 96px 0;
  background:
    radial-gradient(760px 380px at 50% -10%, rgba(185, 234, 217, .18), transparent 65%),
    linear-gradient(160deg, var(--hero-2), var(--hero-1));
  color: #fff;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(560px 300px at 50% 0%, #000, transparent 72%);
  mask-image: radial-gradient(560px 300px at 50% 0%, #000, transparent 72%);
  pointer-events: none;
}
.cta-in { position: relative; display: grid; justify-items: center; gap: 18px; }
.cta .lede { color: rgba(234, 244, 245, .85); max-width: 46ch; }
.cta .hero-cta { justify-content: center; margin-top: 6px; }
.cta .hero-note { margin-top: 4px; }

/* ---- Footer -------------------------------------------------------------- */
.site-foot { background: var(--petrol-deep); color: rgba(255, 255, 255, .78); padding: 60px 0 30px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 36px; }
.foot-brand p { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .6); max-width: 34ch; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h3 {
  margin: 0 0 6px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow-on-dark);
}
.foot-col a { color: rgba(255, 255, 255, .74); text-decoration: none; font-size: 14.5px; }
.foot-col a:hover { color: #fff; }
.foot-base {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  font-size: 12.5px; color: rgba(255, 255, 255, .55);
}

/* ---- Reveal on scroll ---------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { order: 2; padding-bottom: 26px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; gap: 40px; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform .btn { margin-top: 4px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
/* Seven nav links fit from about 1000px up, in both languages. */
@media (max-width: 1000px) {
  .site-nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 6px 24px 18px;
    background: var(--petrol);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 40px -24px rgba(5, 18, 22, .8);
  }
  .site-nav a { padding: 13px 0; font-size: 15.5px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-head.open .site-nav { display: flex; }
  .menu-btn { display: grid; }
  .head-cta { display: none; }
}
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .shell { padding-inline: 18px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding-top: 52px; }
  .hero h1 { max-width: none; }
  .float { display: none; }
  .tech-sep { display: none; }
  .no-list { margin-top: 36px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-auto-columns: min(68vw, 232px); gap: 14px; }
  .clips { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 420px) {
  .trust { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* ---- Added for homset.it: CSP-safe replacements for inline styles --------- */
.sprite { position: absolute; }
.w76 { width: 76%; }
.w96 { width: 96%; }

/* ---- Homset strip above the header ----------------------------------------- */
.homset-bar { background: var(--petrol-deep); color: rgba(255, 255, 255, .74); font-size: 13px; }
.homset-bar .shell { display: flex; align-items: center; gap: 8px; height: 34px; }
.homset-bar a { color: #fff; text-decoration: none; }
.homset-bar a:hover { text-decoration: underline; }
.homset-lang { margin-left: auto; }
.homset-lang [aria-current] { color: #fff; font-weight: 600; }
