/* Shared stylesheet for the static site (copied to site/style.css by tools/gen_privacy.py).
   No external fonts, scripts or requests: the site is self-contained. */
:root {
  color-scheme: light dark;
  --bg: #fbfaf7; --surface: #ffffff; --fg: #1d2140; --muted: #5b6078; --rule: #e6e3da;
  --accent: #ffb300; --accent-fg: #1d2140; --link: #3b4cca; --ink: #1d2140; --ink-fg: #f4f2ea;
  --shadow: 0 1px 2px rgba(29,33,64,.06), 0 8px 24px rgba(29,33,64,.07);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12142a; --surface: #1a1d3a; --fg: #ecebf3; --muted: #a2a6c0; --rule: #2a2e52;
    --accent: #ffb300; --accent-fg: #1d2140; --link: #9fb0ff; --ink: #0c0e20; --ink-fg: #ecebf3;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}
* { box-sizing: border-box; }
html { font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; color: var(--fg); background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-fg); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.15rem; letter-spacing: -.01em; color: var(--fg); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-header nav { display: flex; gap: 22px; font-size: .95rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--fg); }
@media (max-width: 520px) { .site-header nav a.opt { display: none; } }

/* hero */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 32%, transparent), transparent 68%); pointer-events: none; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--rule); background: var(--surface); padding: 4px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.2rem, 6.2vw, 3.8rem); line-height: 1.05; letter-spacing: -.03em; margin: 18px 0 18px; max-width: 14em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 70%, transparent) 62%); }
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 36rem; margin: 0 0 28px; }
.btn { display: inline-block; font-weight: 650; padding: 12px 22px; border-radius: 999px; text-decoration: none; background: var(--accent); color: var(--accent-fg); box-shadow: 0 2px 0 rgba(0,0,0,.12); }
.btn:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--rule); box-shadow: none; margin-left: 8px; }

/* sections */
section { padding: 56px 0; }
section > .wrap > h2, .section-title { font-size: clamp(1.5rem, 3.6vw, 2.1rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 10px; }
.section-lead { color: var(--muted); max-width: 40rem; margin: 0 0 32px; }

/* app cards */
.app { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr); gap: 36px; align-items: center; background: var(--surface); border: 1px solid var(--rule); border-radius: 28px; padding: 36px; box-shadow: var(--shadow); margin-bottom: 28px; }
.app:nth-of-type(even) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.05fr); }
.app:nth-of-type(even) .app-text { order: 2; }
.app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.app-head img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.app h3 { margin: 0; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.015em; }
.kind { font-size: .78rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.app p { margin: 0 0 14px; }
.tagline { font-size: 1.12rem; font-weight: 550; }
.app ul.facts { padding: 0; margin: 0 0 20px; list-style: none; }
.app ul.facts li { position: relative; padding-left: 26px; margin: 6px 0; color: var(--muted); }
.app ul.facts li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge { font-size: .82rem; font-weight: 650; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--fg); }
.links { font-size: .92rem; margin-top: 18px; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.shots img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; border: 1px solid var(--rule); box-shadow: var(--shadow); background: var(--bg); }
.shots img:nth-child(odd) { transform: translateY(14px); }
@media (max-width: 860px) {
  .app, .app:nth-of-type(even) { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .app:nth-of-type(even) .app-text { order: 0; }
  .shots { grid-template-columns: repeat(4, minmax(110px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
  .shots img { scroll-snap-align: start; }
}

/* principles */
.band { background: var(--ink); color: var(--ink-fg); }
.band .section-lead { color: color-mix(in srgb, var(--ink-fg) 70%, transparent); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card { border: 1px solid color-mix(in srgb, var(--ink-fg) 16%, transparent); border-radius: var(--radius); padding: 22px; background: color-mix(in srgb, var(--ink-fg) 5%, transparent); }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; font-size: .95rem; color: color-mix(in srgb, var(--ink-fg) 75%, transparent); }
.card .ico { font-size: 1.5rem; margin-bottom: 10px; display: block; }

/* contact */
.contact { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--rule); border-radius: 28px; padding: 32px 36px; box-shadow: var(--shadow); }
.contact h2 { margin: 0 0 6px; font-size: 1.5rem; }
.contact p { margin: 0; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--rule); padding: 32px 0 48px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
.site-footer .links-row { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* legal / long-form pages (imprint, privacy policies) */
main.legal { max-width: 46rem; margin: 0 auto; padding: 36px 20px 24px; }
main.legal h1 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; margin: .4rem 0 1rem; }
main.legal h2 { font-size: 1.2rem; margin: 2.2rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
main.legal h3 { font-size: 1.02rem; margin: 1.4rem 0 .3rem; }
main.legal p, main.legal li { margin: .5rem 0; }
main.legal code { font-size: .9em; background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; padding: 1px 5px; }
.meta { color: var(--muted); font-size: .92rem; }
nav.lang { font-size: .92rem; color: var(--muted); }
address { font-style: normal; }
table.kv { border-collapse: collapse; margin: .6rem 0; }
table.kv th { text-align: left; font-weight: 600; padding: 3px 24px 3px 0; vertical-align: top; color: var(--muted); }
table.kv td { padding: 3px 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
