/* Public landing only (paulinkai.pl). Everything is scoped to .landing so the
   private PWA stylesheet and its theme tokens stay untouched. The page must
   read correctly without JavaScript and without motion. */
.landing {
  --l-bg: #030817;
  --l-panel: #0b1526;
  --l-raised: #112038;
  --l-text: #f5f7fa;
  --l-muted: #a7b5c7;
  --l-accent: #0096ff;
  --l-accent-strong: #4db2ff;
  --l-on-accent: #021026;
  --l-accent-soft: #0b2447;
  --l-border: #1b2a40;
  --l-border-strong: #2d4060;
  --l-light: #f3f0e8;
  --l-light-text: #111c2e;
  --l-light-muted: #3f4b5d;
  --l-danger: #f4a7b0;
  --l-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --l-gutter: clamp(16px, 4vw, 40px);
  --l-section: clamp(3.5rem, 2rem + 5vw, 7rem);
  --l-radius-lg: 22px;
  --l-radius-md: 14px;
  --l-radius-sm: 10px;
  --l-fast: 180ms;
  color-scheme: dark;
  margin: 0;
  min-width: 0;
  background: var(--l-bg);
  color: var(--l-text);
  font-family: var(--l-font);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html:has(> body.landing) { scroll-padding-top: 88px; background: #030817; }
@media (prefers-reduced-motion: no-preference) { html:has(> body.landing) { scroll-behavior: smooth; } }

.landing *, .landing *::before, .landing *::after { box-sizing: border-box; }
:where(.landing) :is(img, svg) { display: block; max-width: 100%; }
:where(.landing) :is(h1, h2, h3, p, ul, dl, dd, figure) { margin: 0; }
:where(.landing) ul { padding: 0; list-style: none; }
:where(.landing) a { color: inherit; }
.landing :focus-visible { outline: 3px solid var(--l-accent); outline-offset: 3px; border-radius: 6px; }
:where(.landing) :is(button, input, textarea) { font: inherit; color: inherit; }

.landing-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.landing-skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: var(--l-radius-sm); background: var(--l-accent); color: var(--l-on-accent); font-weight: 700; text-decoration: none; }
.landing-skip:focus { top: 12px; }

.landing-container { width: min(1240px, 100% - 2 * var(--l-gutter)); margin-inline: auto; }
.landing-section { padding-block: var(--l-section); }

.landing-eyebrow { margin-bottom: 14px; color: var(--l-accent); font-size: .875rem; font-weight: 700; letter-spacing: .02em; }
:where(.landing) :is(h1, h2) { font-weight: 760; letter-spacing: -.03em; text-wrap: balance; }
:where(.landing) h2 { font-size: clamp(2rem, 1.25rem + 2.4vw, 3.25rem); line-height: 1.1; }
:where(.landing) h3 { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); font-weight: 720; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }

/* Buttons */
.landing-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color var(--l-fast) ease, border-color var(--l-fast) ease, color var(--l-fast) ease, transform var(--l-fast) ease; }
.landing-button--primary { background: var(--l-accent); color: var(--l-on-accent); }
.landing-button--primary:hover { background: var(--l-accent-strong); }
.landing-button--quiet { border-color: var(--l-border-strong); background: transparent; color: var(--l-text); }
.landing-button--quiet:hover { border-color: var(--l-muted); background: var(--l-panel); }
.landing-button--text { padding-inline: 12px; background: transparent; color: var(--l-muted); }
.landing-button--text:hover { color: var(--l-text); }
.landing-button--small { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
.landing-button:disabled { cursor: default; opacity: .55; }
@media (prefers-reduced-motion: no-preference) { .landing-button:not(:disabled):active { transform: translateY(1px); } }

/* Header */
.landing-header { position: sticky; top: 0; z-index: 20; background: rgba(3, 8, 23, .9); border-bottom: 1px solid transparent; transition: background-color var(--l-fast) ease, border-color var(--l-fast) ease; }
.landing-header.is-scrolled { background: rgba(3, 8, 23, .78); border-bottom-color: var(--l-border); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.landing-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.landing-brand { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 44px; border-radius: 8px; }
.landing-brand img { width: auto; height: 34px; aspect-ratio: 520 / 168; }
.landing-nav ul { display: flex; gap: 4px; }
.landing-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--l-muted); font-size: .9375rem; font-weight: 600; text-decoration: none; transition: color var(--l-fast) ease, background-color var(--l-fast) ease; }
.landing-nav a:hover { color: var(--l-text); background: var(--l-panel); }
.landing-header-cta { min-height: 44px; padding-inline: 18px; font-size: .9375rem; }
.landing-languages { display: flex; margin-left: auto; flex: 0 0 auto; }
.landing-languages a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 8px; color: var(--l-muted); font-size: .875rem; text-decoration: none; }
.landing-languages a[aria-current="page"] { color: var(--l-text); background: var(--l-panel); font-weight: 700; }
.landing-languages a:hover { color: var(--l-text); }
@media (max-width: 859px) { .landing-nav { display: none; } }
@media (max-width: 599px) { .landing-header-inner { flex-wrap: wrap; gap: 0 8px; padding-block: 8px; } .landing-header-cta { margin-left: auto; } }
@media (max-width: 379px) { .landing-brand img { height: 28px; } .landing-header-cta { padding-inline: 12px; font-size: .875rem; } }

/* Hero */
.landing-hero { position: relative; padding-block: clamp(32px, 2rem + 4vw, 104px) var(--l-section); overflow: hidden; }
.landing-hero::before { content: ""; position: absolute; z-index: 0; top: -12%; right: -8%; width: min(760px, 90vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 150, 255, .13), rgba(0, 150, 255, 0)); pointer-events: none; }
.landing-hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .landing-hero-grid { grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); } }
.landing-hero-copy { max-width: 620px; }
:where(.landing) h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.625rem); line-height: 1.04; letter-spacing: -.04em; padding-bottom: .04em; }
:where(.landing) h1 span { display: block; color: var(--l-accent); }
.landing-lead { max-width: 34em; margin-top: 22px; color: var(--l-muted); font-size: clamp(1.125rem, 1.02rem + .35vw, 1.25rem); line-height: 1.6; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.landing-hint { margin-top: 12px; color: var(--l-muted); font-size: .9375rem; }
@media (max-width: 479px) { .landing-actions { display: grid; } }

/* Shared product surfaces */
.demo-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border: 1px solid var(--l-border-strong); border-radius: 999px; background: var(--l-bg); color: var(--l-muted); font-size: .8125rem; font-weight: 600; line-height: 1.3; max-width: 100%; }
.demo-frame { border: 1px solid var(--l-border); border-radius: var(--l-radius-lg); background: var(--l-panel); overflow: hidden; }
.demo-frame-bar, .demo-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 18px; border-bottom: 1px solid var(--l-border); color: var(--l-muted); font-size: .875rem; font-weight: 600; }
.demo-frame-title { color: var(--l-text); }
.assistant-sign { display: flex; align-items: center; gap: 10px; color: var(--l-text); font-size: .9375rem; font-weight: 700; }
.assistant-avatar { display: inline-grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border: 1px solid var(--l-border-strong); border-radius: 50%; background: var(--l-bg); }
.assistant-avatar img { width: auto; height: 23px; aspect-ratio: 168 / 192; }

/* Hero board: sources → recommendation */
.hero-demo { position: relative; container-type: inline-size; min-width: 0; }
.hero-board { display: grid; gap: 18px; padding: clamp(16px, 3cqi, 28px); }
.hero-sources-wrap { order: 2; }
.hero-sources-label { margin-bottom: 8px; color: var(--l-muted); font-size: .8125rem; font-weight: 600; }
.hero-sources { display: grid; gap: 8px; }
.hero-source { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--l-border); border-radius: var(--l-radius-md); background: var(--l-raised); }
.hero-source-icon { grid-row: span 2; color: var(--l-accent); }
.hero-source-type { color: var(--l-muted); font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.hero-source-text { color: var(--l-text); font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.hero-card { position: relative; order: 1; padding: clamp(18px, 3.4cqi, 26px); border: 1px solid rgba(0, 150, 255, .55); border-radius: 18px; background: var(--l-raised); box-shadow: 0 0 0 4px rgba(0, 150, 255, .06), 0 24px 60px -36px rgba(0, 150, 255, .55); }
.hero-card-title { margin-top: 16px; font-size: clamp(1.25rem, 1rem + 1.4cqi, 1.5rem); font-weight: 760; line-height: 1.25; letter-spacing: -.015em; }
.hero-card-text { margin-top: 8px; color: #d5dde8; font-size: 1rem; line-height: 1.55; }
.source-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.source-tags li { padding: 3px 10px; border-radius: 999px; background: var(--l-accent-soft); color: var(--l-accent); font-size: .8125rem; font-weight: 650; }
.why { margin-top: 14px; border-top: 1px solid var(--l-border); }
.why summary { display: flex; align-items: center; min-height: 44px; margin-bottom: -4px; color: var(--l-text); font-size: .9375rem; font-weight: 650; cursor: pointer; list-style: none; }
.why summary::-webkit-details-marker { display: none; }
.why summary::after { content: ""; width: 8px; height: 8px; margin-left: 10px; border-right: 2px solid var(--l-muted); border-bottom: 2px solid var(--l-muted); transform: translateY(-2px) rotate(45deg); transition: transform var(--l-fast) ease; }
.why[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.why ul { display: grid; gap: 6px; padding: 4px 0 2px; color: var(--l-muted); font-size: .9375rem; }
.why strong { color: var(--l-text); font-weight: 650; }
.demo-replay { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--l-muted); font-size: .875rem; font-weight: 600; cursor: pointer; }
.demo-replay:hover { color: var(--l-text); }
.demo-replay[hidden] { display: none; }

@container (min-width: 560px) {
  .hero-board { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); column-gap: 48px; align-items: center; }
  .hero-sources-wrap { order: 0; }
  .hero-sources-label { display: none; }
  .hero-sources { position: relative; grid-template-rows: repeat(3, 1fr); gap: 14px; }
  .hero-source { padding: 14px 16px; }
  .hero-source:nth-child(2) { margin-left: 18px; margin-right: -6px; }
  .hero-card { order: 0; }
  /* Connectors: equal rows make the first and last centres (100% - 2 gaps) / 6 from the edges. */
  .hero-source::after { content: ""; position: absolute; top: 50%; left: 100%; width: 24px; height: 1px; background: rgba(0, 150, 255, .5); transform-origin: left center; }
  .hero-source:nth-child(2)::after { width: 18px; }
  .hero-sources::after { content: ""; position: absolute; left: calc(100% + 24px); top: calc((100% - 28px) / 6); bottom: calc((100% - 28px) / 6); width: 1px; background: rgba(0, 150, 255, .5); transform-origin: center; }
  .hero-card::before { content: ""; position: absolute; top: 50%; right: 100%; width: 24px; height: 1px; background: rgba(0, 150, 255, .5); transform-origin: left center; }
}

/* Single ~4 s sequence on first render; the final state is the static state. */
@media (prefers-reduced-motion: no-preference) {
  .landing-js .hero-source { animation: landing-source-in 700ms cubic-bezier(.2, .75, .25, 1) backwards; }
  .landing-js .hero-source--mail { --from: translate(-16px, -10px) rotate(-3deg); animation-delay: 150ms; }
  .landing-js .hero-source--calendar { --from: translate(-26px, 4px) rotate(2.5deg); animation-delay: 450ms; }
  .landing-js .hero-source--drop { --from: translate(-12px, 14px) rotate(-2deg); animation-delay: 750ms; }
  .landing-js .hero-card { animation: landing-card-in 500ms ease-out backwards, landing-card-highlight 1100ms ease-in-out 2500ms backwards; }
  .landing-js .hero-source::after, .landing-js .hero-card::before { animation: landing-line-x 500ms ease-out 1500ms backwards; }
  .landing-js .hero-card::before { animation-delay: 2000ms; }
  .landing-js .hero-sources::after { animation: landing-line-y 500ms ease-out 1750ms backwards; }
  .landing-js .hero-demo.is-idle *, .landing-js .hero-demo.is-idle *::before, .landing-js .hero-demo.is-idle *::after { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) { .demo-replay { display: none !important; } }
@keyframes landing-source-in { from { opacity: 0; transform: var(--from, translateY(8px)); } }
@keyframes landing-card-in { from { opacity: .35; } }
@keyframes landing-card-highlight { from { border-color: var(--l-border); box-shadow: 0 0 0 0 rgba(0, 150, 255, 0), 0 24px 60px -36px rgba(0, 150, 255, 0); } }
@keyframes landing-line-x { from { transform: scaleX(0); } }
@keyframes landing-line-y { from { transform: scaleY(0); } }

/* Problem */
.landing-problem { border-top: 1px solid var(--l-border); }
.landing-problem-grid { display: grid; gap: 28px; }
.landing-problem h2 { max-width: 13em; }
.landing-problem-lines { display: grid; gap: 2px; color: var(--l-muted); font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); font-weight: 650; line-height: 1.3; letter-spacing: -.02em; }
.landing-problem-lines span:last-child { color: var(--l-text); }
.landing-problem-copy > p:last-child { max-width: 32em; margin-top: 20px; color: var(--l-muted); font-size: 1.125rem; }
@media (min-width: 900px) { .landing-problem-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; } }

/* Demo */
.landing-section-head { max-width: 760px; }
.landing-section-head > p:not(.landing-eyebrow) { margin-top: 18px; color: var(--l-muted); font-size: 1.125rem; }
.landing-section-head .demo-disclaimer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 1rem; }
.demo { margin-top: clamp(28px, 4vw, 48px); padding: clamp(12px, 2vw, 20px); border: 1px solid var(--l-border); border-radius: 28px; background: var(--l-panel); }
.demo-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--l-border); border-radius: 14px; background: var(--l-bg); }
.demo-tabs [role="tab"] { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: var(--l-muted); font-size: .9375rem; font-weight: 650; cursor: pointer; transition: background-color var(--l-fast) ease, color var(--l-fast) ease; }
.demo-tabs [role="tab"]:hover { color: var(--l-text); }
.demo-tabs [role="tab"][aria-selected="true"] { background: var(--l-raised); color: var(--l-text); box-shadow: inset 0 -2px 0 var(--l-accent); }
.demo-panels { display: grid; gap: 20px; margin-top: 16px; }
.demo-panel { display: grid; gap: clamp(20px, 3vw, 48px); align-items: start; padding: clamp(8px, 2vw, 24px); }
@media (min-width: 900px) { .demo-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.demo-panel-name { margin-bottom: 8px; color: var(--l-accent); font-size: .875rem; font-weight: 700; }
.demo-panel-copy > p:not(.demo-panel-name) { margin-top: 14px; max-width: 30em; color: var(--l-muted); font-size: 1.0625rem; }
.demo-panel-copy .demo-panel-note { padding-left: 12px; border-left: 2px solid var(--l-border-strong); font-size: .9375rem; }
.demo-window { border: 1px solid var(--l-border); border-radius: 20px; background: var(--l-bg); }
.demo-reset { min-height: 36px; padding: 0 12px; border: 1px solid var(--l-border-strong); border-radius: 10px; background: transparent; color: var(--l-text); font-size: .875rem; font-weight: 600; cursor: pointer; }
.demo-reset:hover { border-color: var(--l-muted); }
.demo-reset[hidden] { display: none; }
.demo-thread { display: grid; gap: 12px; padding: clamp(14px, 2.4vw, 22px); }
.msg { max-width: 88%; padding: 10px 14px; border: 1px solid var(--l-border); border-radius: 6px 16px 16px 16px; background: var(--l-panel); }
.msg p { color: var(--l-text); font-size: 1rem; line-height: 1.5; }
.msg-author { display: block; margin-bottom: 2px; color: var(--l-muted); font-size: .8125rem; font-weight: 650; }
.msg--user { justify-self: end; border-color: #1d3f73; border-radius: 16px 6px 16px 16px; background: var(--l-accent-soft); }
.msg--user .msg-author { color: var(--l-accent); }
.msg--result { border-color: rgba(0, 150, 255, .45); }
.msg:focus-visible { outline-offset: 2px; }
.demo-stack { display: grid; }
.demo-stack > * { grid-area: 1 / 1; }
.demo-choice { justify-self: end; align-self: center; }
.brief-card, .drop-card, .proposal { padding: 14px 16px; border: 1px solid var(--l-border); border-radius: var(--l-radius-md); background: var(--l-raised); }
.brief-card-kicker { color: var(--l-accent); font-size: .8125rem; font-weight: 700; }
.brief-card-title, .drop-card-title { margin-top: 2px; font-size: 1.0625rem; font-weight: 720; }
.brief-card > p:nth-child(3) { margin-top: 4px; color: #d5dde8; font-size: .9375rem; }
.brief-card-origin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; color: var(--l-muted); font-size: .8125rem; }
.brief-card-origin span { padding: 1px 8px; border-radius: 999px; background: var(--l-accent-soft); color: var(--l-accent); font-weight: 650; }
.drop-card { border-left: 3px solid var(--l-accent); }
.drop-card-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--l-muted); font-size: .8125rem; font-weight: 600; }
.drop-card-meta span:first-child { color: var(--l-accent); }
.proposal { display: grid; gap: 6px; border-style: dashed; border-color: var(--l-border-strong); }
.proposal-state { color: var(--l-accent); font-size: .8125rem; font-weight: 700; }
.proposal-type { color: var(--l-muted); font-size: .8125rem; font-weight: 600; }
.proposal-text { font-size: 1.0625rem; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.proposal-why, .proposal-help { color: var(--l-muted); font-size: .9375rem; }
.proposal-why strong { color: var(--l-text); font-weight: 650; }
.proposal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.proposal-result { margin-top: 6px; padding: 10px 12px; border-radius: var(--l-radius-sm); background: var(--l-bg); color: var(--l-text); font-size: .9375rem; font-weight: 600; }
.proposal-edit { display: grid; gap: 6px; margin-top: 6px; }
.proposal-edit label { color: var(--l-muted); font-size: .875rem; font-weight: 600; }
.proposal-edit textarea { width: 100%; min-height: 72px; padding: 10px 12px; border: 1px solid var(--l-border-strong); border-radius: var(--l-radius-sm); background: var(--l-bg); resize: vertical; }
.demo-window[data-state="accepted"] .proposal { border-style: solid; border-color: rgba(0, 150, 255, .45); }

/* Without JS the tabs are unnecessary: every example is shown, complete. */
html:not(.landing-js) .demo-tabs,
html:not(.landing-js) .demo-choice,
html:not(.landing-js) .proposal-actions,
html:not(.landing-js) .proposal-edit,
html:not(.landing-js) .proposal-result { display: none; }
html:not(.landing-js) .demo-panel + .demo-panel { border-top: 1px solid var(--l-border); padding-top: 32px; }

/* With JS: panels share one grid cell, so switching never changes the height. */
.landing-js .demo-panels { gap: 0; }
.landing-js .demo-panel { grid-area: 1 / 1; }
.landing-js .demo-panel:not(.is-active) { visibility: hidden; opacity: 0; pointer-events: none; }
.landing-js .demo-panel-name { display: none; }
@media (prefers-reduced-motion: no-preference) { .landing-js .demo-panel { transition: opacity 200ms ease; } }
.landing-js .demo-window [data-show-when] { visibility: hidden; }
.landing-js .demo-window[data-state="initial"] [data-show-when="initial"],
.landing-js .demo-window[data-state="confirmed"] [data-show-when="confirmed"],
.landing-js .demo-window[data-state="editing"] [data-show-when="editing"],
.landing-js .demo-window[data-state="accepted"] [data-show-when="accepted"],
.landing-js .demo-window[data-state="rejected"] [data-show-when="rejected"] { visibility: visible; }
.landing-js .demo-window[data-scenario="proposal"] [data-show-when]:not([data-show-when="initial"]) { display: none; }
.landing-js .demo-window[data-scenario="proposal"][data-state="editing"] [data-show-when="editing"],
.landing-js .demo-window[data-scenario="proposal"][data-state="accepted"] [data-show-when="accepted"],
.landing-js .demo-window[data-scenario="proposal"][data-state="rejected"] [data-show-when="rejected"] { display: block; }
.landing-js .demo-window[data-scenario="proposal"][data-state="editing"] .proposal-edit { display: grid; }
.landing-js .demo-window[data-scenario="proposal"]:not([data-state="initial"]) [data-show-when="initial"] { display: none; }

/* More than a summary */
.landing-more { padding-top: 0; }
.feature-row { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(28px, 4vw, 56px); }
.feature-row + .feature-row { border-top: 1px solid var(--l-border); }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature-row--reverse .feature-copy { order: 2; }
}
.feature-copy { max-width: 34em; }
.feature-copy h3 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.12; letter-spacing: -.03em; }
.feature-copy > p:not(.landing-eyebrow) { margin-top: 18px; color: var(--l-muted); font-size: 1.125rem; }
.rule-card, .nudge-card { width: 100%; max-width: 520px; justify-self: center; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--l-border); border-radius: var(--l-radius-lg); background: var(--l-panel); }
.rule-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.rule-kind { padding: 3px 10px; border: 1px solid var(--l-border-strong); border-radius: 999px; color: var(--l-muted); font-size: .8125rem; font-weight: 650; }
.rule-status { display: inline-flex; align-items: center; gap: 6px; color: var(--l-accent); font-size: .875rem; font-weight: 700; }
.rule-title { margin-top: 16px; font-size: 1.25rem; font-weight: 720; line-height: 1.35; }
.rule-details { display: grid; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--l-border); }
.rule-details dt { color: var(--l-muted); font-size: .8125rem; font-weight: 650; }
.rule-details dd { margin-top: 2px; color: var(--l-text); font-size: .9375rem; }
.rule-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--l-muted); font-size: .875rem; }
.rule-foot svg { flex: 0 0 auto; }
.nudge-where { color: var(--l-muted); font-size: .8125rem; font-weight: 600; }
.nudge-card > p:not(.nudge-foot) { margin-top: 14px; font-size: 1.0625rem; line-height: 1.55; }
.nudge-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--l-border); color: var(--l-muted); font-size: .875rem; }

/* Light pause */
.landing-manifest { padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); background: var(--l-light); color: var(--l-light-text); }
.landing-manifest h2 { max-width: 20em; font-size: clamp(2.125rem, 1.2rem + 3.2vw, 4rem); line-height: 1.08; letter-spacing: -.035em; }
.landing-manifest h2 span { display: block; color: #2b35d8; }
.landing-manifest p { max-width: 36em; margin-top: 28px; color: var(--l-light-muted); font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); }
.landing-manifest :focus-visible { outline-color: var(--l-light-text); }

/* Privacy */
.landing-privacy-grid, .landing-faq-grid { display: grid; gap: clamp(28px, 4vw, 72px); }
@media (min-width: 900px) { .landing-privacy-grid, .landing-faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.principles { display: grid; }
.principles li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding-block: 22px; border-top: 1px solid var(--l-border); }
.principles li:last-child { border-bottom: 1px solid var(--l-border); }
.principle-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--l-border-strong); border-radius: 12px; color: var(--l-accent); }
.principles h3 { font-size: 1.1875rem; line-height: 1.35; letter-spacing: -.01em; }
.principles p { margin-top: 6px; color: var(--l-muted); }
.landing-processing { margin-top: 22px; color: var(--l-muted); font-size: .9375rem; }

/* FAQ */
.landing-faq { border-top: 1px solid var(--l-border); }
.faq-list { border-top: 1px solid var(--l-border); }
.faq-item { border-bottom: 1px solid var(--l-border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 14px; font-size: 1.125rem; font-weight: 680; line-height: 1.35; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid var(--l-accent); border-bottom: 2px solid var(--l-accent); transform: translateY(-3px) rotate(45deg); transition: transform var(--l-fast) ease; }
.faq-item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-item p { max-width: 40em; padding-bottom: 20px; color: var(--l-muted); }

.field-error { color: var(--l-danger); font-size: .9375rem; }
.field-error[hidden] { display: none; }

/* Closing */
.landing-contact { border-top: 1px solid var(--l-border); }
.landing-contact h2 { margin-bottom: 20px; }
.landing-contact p:not(.landing-eyebrow) { margin-top: 12px; color: var(--l-muted); }
.landing-contact .landing-button { margin-top: 24px; max-width: 100%; overflow-wrap: anywhere; }
.landing-closing { border-top: 1px solid var(--l-border); }
.landing-closing-inner { display: grid; justify-items: start; gap: 18px; }
.landing-closing h2 { max-width: 14em; }
.landing-closing p { max-width: 34em; color: var(--l-muted); font-size: 1.125rem; }
.landing-closing .landing-button { margin-top: 8px; }

/* Footer */
.landing-footer { padding-block: 40px calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--l-border); color: var(--l-muted); font-size: .9375rem; }
.landing-footer-inner { display: grid; gap: 20px; align-items: center; }
.landing-footer-brand img { width: auto; height: 32px; aspect-ratio: 520 / 168; }
.landing-footer-brand p { margin-top: 8px; }
.landing-footer nav ul { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.landing-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; color: var(--l-muted); text-decoration: none; }
.landing-footer nav a:hover { color: var(--l-text); }
.landing-copyright { font-size: .875rem; }
@media (min-width: 900px) { .landing-footer-inner { grid-template-columns: 1fr auto; } .landing-copyright { grid-column: 1 / -1; } }

/* Gentle section entrance; only pending while JS observes, never without JS. */
@media (prefers-reduced-motion: no-preference) {
  .landing-js .is-reveal-pending { opacity: 0; transform: translateY(8px); }
  .landing-js .is-revealing { transition: opacity 500ms ease-out, transform 500ms ease-out; }
}

/* Reduced motion: no transitions anywhere on the landing (animations are already gated above). */
@media (prefers-reduced-motion: reduce) {
  .landing *, .landing *::before, .landing *::after { transition: none !important; scroll-behavior: auto !important; }
}
