/* Landing page only (/ and /pl). The policy and event pages keep the plain style.css. */
:root {
  color-scheme: light dark;
  --linen: #F4EFE6; --sage: #9CAF88; --sage-dark: #4F6B52; --terracotta: #C0785A; --mustard: #D6A84E;
  --bg: var(--linen); --surface: #FBF8F2; --fg: #2E3B30; --muted: #66705F; --ink: var(--sage-dark);
  --line: rgba(79, 107, 82, .18); --radar-bg: #1E2A22; --radar-line: rgba(244, 239, 230, .22);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #131A16; --surface: #1A231E; --fg: #E9E4DA; --muted: #A9B3A2; --ink: #C9D7BC;
    --line: rgba(201, 215, 188, .16); --radar-bg: #0E1411; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 "Nunito Sans", system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, .num { font-family: Quicksand, system-ui, sans-serif; color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; margin: 0 0 16px; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 6px; }
p { margin: 0 0 12px; }
a { color: var(--ink); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.eyebrow { font: 700 .8rem/1 Quicksand, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 12px; }

/* Header */
header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
header .brand img { height: 30px; display: block; }
header nav { display: flex; gap: 20px; align-items: center; font-weight: 600; font-size: .95rem; }
header nav a { text-decoration: none; }
header nav .hide-sm { display: inline; }
@media (max-width: 640px) { header nav .hide-sm { display: none; } }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; }
.langs summary::-webkit-details-marker { display: none; }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); }
.langs li a { display: block; padding: 6px 12px; border-radius: 8px; font-weight: 600; }
.langs li a:hover { background: var(--line); }
.langs li a[aria-current] { color: var(--terracotta); }

.button { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79, 107, 82, .25); }
.button.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.note { font-size: .9rem; color: var(--muted); }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } .phone { width: min(280px, 78vw); } }
.hero-logo { width: min(360px, 80%); margin-bottom: 28px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--mustard) 22%, transparent); color: var(--ink); font-weight: 700; font-size: .85rem; margin-bottom: 20px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); animation: blink 1.6s infinite; }

/* Drifting boho waves behind the hero */
.waves { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.waves span { position: absolute; border-radius: 50%; border: 10px solid; opacity: .25; animation: drift 14s ease-in-out infinite alternate; }
.waves span:nth-child(1) { width: 520px; height: 520px; right: -160px; top: -120px; border-color: var(--sage); }
.waves span:nth-child(2) { width: 380px; height: 380px; right: -90px; top: -50px; border-color: var(--mustard); animation-delay: -4s; }
.waves span:nth-child(3) { width: 240px; height: 240px; right: -20px; top: 20px; border-color: var(--terracotta); animation-delay: -8s; }
.waves span:nth-child(4) { width: 300px; height: 300px; left: -170px; bottom: -150px; border-color: var(--sage); animation-delay: -2s; }

/* Phone with the live radar */
.phone { position: relative; width: min(320px, 86vw); aspect-ratio: 9 / 18.5; margin: 0 auto; border-radius: 44px; background: var(--radar-bg); padding: 18px; box-shadow: 0 30px 60px rgba(30, 42, 34, .35), inset 0 0 0 3px rgba(255, 255, 255, .06); display: flex; flex-direction: column; color: var(--linen); }
.phone .top { display: flex; justify-content: space-between; font: 700 .8rem Quicksand, sans-serif; opacity: .7; padding: 6px 10px 0; }
.phone .status { text-align: center; font: 600 .85rem Quicksand, sans-serif; margin: 18px 0 8px; opacity: .8; }
.radar { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; margin: auto 0; background: radial-gradient(circle, transparent 0 24.5%, var(--radar-line) 25% 25.4%, transparent 25.8% 49.5%, var(--radar-line) 50% 50.4%, transparent 50.8% 74.5%, var(--radar-line) 75% 75.4%, transparent 75.8% 99%, var(--radar-line) 99.5%); overflow: hidden; }
.radar::before, .radar::after { content: ""; position: absolute; background: var(--radar-line); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(transparent 0deg 290deg, rgba(156, 175, 136, 0) 290deg, rgba(156, 175, 136, .55) 360deg); animation: spin 4s linear infinite; }
.me { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--linen); box-shadow: 0 0 0 6px rgba(244, 239, 230, .15); }
.north { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font: 700 .75rem Quicksand, sans-serif; color: var(--terracotta); }
.blip { position: absolute; transform: translate(-50%, -50%); text-align: center; font: 700 .72rem/1.2 Quicksand, sans-serif; }
.blip i { display: block; width: 30px; height: 30px; margin: 0 auto 4px; border-radius: 50%; color: var(--radar-bg); font-style: normal; line-height: 30px; font-size: .8rem; position: relative; }
.blip i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ping 4s infinite; }
.blip small { display: block; font-weight: 600; opacity: .7; }
.b1 { left: 68%; top: 30%; } .b1 i { background: var(--mustard); } .b1 i::after { color: var(--mustard); animation-delay: .5s; }
.b2 { left: 28%; top: 62%; } .b2 i { background: var(--terracotta); } .b2 i::after { color: var(--terracotta); animation-delay: 2.6s; }
.b3 { left: 74%; top: 74%; } .b3 i { background: var(--sage); } .b3 i::after { color: var(--sage); animation-delay: 1.4s; }
.phone .chips { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.phone .chips span { font: 600 .72rem Quicksand, sans-serif; border: 1px solid var(--radar-line); border-radius: 999px; padding: 4px 10px; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.center { text-align: center; } .center .lead { margin: 0 auto; }
.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid.three { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 26px; transition: transform .25s, box-shadow .25s; }
section.alt .card { background: var(--surface); }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(46, 59, 48, .08); }
.card p { color: var(--muted); margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; font-size: 1.5rem; }
.i-sage { background: color-mix(in srgb, var(--sage) 28%, transparent); }
.i-mustard { background: color-mix(in srgb, var(--mustard) 28%, transparent); }
.i-terra { background: color-mix(in srgb, var(--terracotta) 24%, transparent); }
.num { font-size: 2.6rem; font-weight: 700; color: var(--terracotta); line-height: 1; margin-bottom: 10px; }

.places { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.places span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--sage); color: var(--bg); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }

/* What a friend's phone receives: distance and direction, never coordinates */
.compare { display: grid; gap: 16px; }
.compare div { border-radius: 20px; padding: 20px 22px; border: 1px solid var(--line); }
.compare .no { background: color-mix(in srgb, var(--terracotta) 10%, transparent); }
.compare .no code { text-decoration: line-through; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; }
.compare .yes { background: color-mix(in srgb, var(--sage) 18%, transparent); }
.compare small { display: block; font: 700 .75rem Quicksand, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.compare code { font: 600 1.05rem ui-monospace, monospace; color: var(--fg); }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details summary { cursor: pointer; font: 700 1.1rem Quicksand, sans-serif; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq details summary::after { content: "+"; font-size: 1.4rem; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.faq { max-width: 760px; margin: 32px auto 0; }

.cta { text-align: center; background: var(--sage-dark); color: var(--linen); border-radius: 36px; padding: 64px 24px; position: relative; overflow: hidden; }
.cta h2 { color: var(--linen); }
.cta p { color: rgba(244, 239, 230, .8); }
.cta .button { background: var(--linen); color: var(--sage-dark); }
.cta .button.ghost { background: transparent; color: var(--linen); border-color: var(--linen); }
.cta .actions { justify-content: center; }

footer { padding: 48px 0 64px; color: var(--muted); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
footer img { height: 26px; display: block; margin-bottom: 8px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Scroll reveal; without JS (no .js on <html>) everything is simply visible */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0%, 8% { opacity: 0; transform: scale(.8); } 12% { opacity: .9; } 40%, 100% { opacity: 0; transform: scale(2); } }
@keyframes blink { 50% { opacity: .3; } }
@keyframes drift { to { transform: translate(-30px, 24px) scale(1.06); } }

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