/* Planders: the app's own palette (ui/Theme.kt) — paper, night blue, coral for brand moments only. */
:root {
  color-scheme: light;
  --ink: #16171D;
  --night: #1B2440;
  --primary: #283454;
  --primary-soft: #E3E7F0;
  --coral: #F0532F;
  --coral-strong: #C8401E;
  --paper: #F6F5F2;
  --muted: #EFEDE8;
  --line: #E6E3DD;
  --text-2: #565963;
  --green: #147D4D;
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(246,245,242,.86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; font-size: 1.15rem; letter-spacing: -.01em; color: var(--night); }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; color: var(--text-2); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--night); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .82rem; font-weight: 650; letter-spacing: .04em; color: var(--night) !important; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--coral-strong); font-weight: 700; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.kicker::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--coral); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; color: var(--night); margin: 22px 0 22px; text-wrap: balance; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--text-2); max-width: 34rem; margin: 0 0 32px; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.button { display: inline-flex; align-items: center; gap: 10px; background: var(--night); color: #fff; text-decoration: none; padding: 15px 24px; border-radius: 999px; font-weight: 650; font-size: 1rem; }
.button[aria-disabled="true"] { cursor: default; }
.button svg { width: 20px; height: 20px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 28px 0 0; list-style: none; color: var(--text-2); font-size: .94rem; }
.facts li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }

/* Phone */
.phone { position: relative; width: min(340px, 78vw); margin-inline: auto; background: var(--ink); padding: 11px; border-radius: 46px;
         box-shadow: 0 40px 80px rgba(27,36,64,.22), 0 10px 26px rgba(27,36,64,.12); }
.phone .screen { border-radius: 36px; overflow: hidden; background: var(--paper); aspect-ratio: 1440 / 3120; }
.phone .screen img { width: 100%; }
.hero .phone { transform: rotate(2deg); }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 8% -4% 2% 6%; border-radius: 48% 52% 46% 54%; background: var(--primary-soft); z-index: -1; }

/* Sections */
section { scroll-margin-top: 80px; }
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band.alt { background: #fff; border-block: 1px solid var(--line); }
.head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; color: var(--night); margin: 14px 0 14px; text-wrap: balance; }
.head p { color: var(--text-2); font-size: 1.1rem; margin: 0; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story + .story { margin-top: clamp(72px, 10vw, 128px); }
.story.flip .story-text { order: 2; }
.story h3 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); letter-spacing: -.025em; line-height: 1.15; color: var(--night); margin: 0 0 14px; }
.story p { color: var(--text-2); font-size: 1.06rem; margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 4px; background: var(--primary-soft); box-shadow: inset 0 0 0 3px var(--primary); }

.report { width: min(440px, 100%); margin-inline: auto; border-radius: 20px; box-shadow: 0 30px 70px rgba(27,36,64,.20), 0 6px 18px rgba(27,36,64,.10); transform: rotate(-1.5deg); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.band:not(.alt) .tile { background: #fff; }
.tile h4 { margin: 0 0 6px; font-size: 1.05rem; color: var(--night); }
.tile p { margin: 0; color: var(--text-2); font-size: .97rem; }
.tile .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }

.privacy-band { background: var(--night); color: #fff; border-radius: 32px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.privacy-band h2 { color: #fff; }
.privacy-band p { color: #C9D0E2; margin: 0; font-size: 1.06rem; }
.privacy-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.privacy-band li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 14px 18px; }

.pro { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { border-radius: 26px; padding: 32px; border: 1px solid var(--line); background: #fff; }
.plan.pro-plan { border: 2px solid var(--night); position: relative; }
.plan .tag { display: inline-block; font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-strong); }
.plan h3 { margin: 8px 0 4px; font-size: 1.6rem; color: var(--night); letter-spacing: -.02em; }
.plan .price { color: var(--text-2); margin: 0 0 18px; }
.note { color: var(--text-2); font-size: .95rem; margin-top: 18px; }

/* Plain pages (support, privacy) */
.page { padding: clamp(40px, 7vw, 80px) 0 clamp(64px, 9vw, 104px); }
.page .wrap { max-width: 820px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 4vw, 44px); }
.card h2 { font-size: 1.3rem; letter-spacing: -.01em; margin: 32px 0 8px; }
.card h2:first-child { margin-top: 0; }
.card p, .card li { color: #3B3E47; }
.card a { color: var(--primary); text-underline-offset: 3px; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 650; color: var(--night); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--coral-strong); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; }
.mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; background: var(--night); color: #fff !important; text-decoration: none; padding: 12px 20px; border-radius: 999px; font-weight: 650; }

footer.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--text-2); font-size: .92rem; }
footer.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer.foot nav { display: flex; gap: 22px; }
footer.foot a { text-decoration: none; }
footer.foot a:hover { color: var(--night); }

@media (max-width: 860px) {
  .top nav a:not(.lang):not(.keep) { display: none; }
  .hero .wrap, .story, .privacy-band, .pro { grid-template-columns: 1fr; }
  .story.flip .story-text { order: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .hero .phone { transform: none; }
}
