/* Zemikai website. Colors follow the app (AccentColor, app icon gradient). No external fonts. */
:root {
  --bg: #fbf8f7; --bg-tint: #f4eeec; --card: #ffffff; --text: #221a1c; --muted: #6b5d60;
  --line: #ebe3e2; --accent: #d93a55; --accent-2: #ff7a50; --accent-text: #ffffff;
  --dark-bg: #1d1416; --dark-card: #2a1e21; --dark-text: #f3ecec; --dark-muted: #bda9ac;
  --radius: 20px; --shadow: 0 1px 2px rgb(60 20 30 / 6%), 0 8px 24px rgb(60 20 30 / 6%);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141012; --bg-tint: #1b1518; --card: #211a1d; --text: #f0e9ea; --muted: #ab9b9e;
    --line: #33282b; --accent: #ff7a8a; --accent-2: #ff9a6e; --accent-text: #2a0a10;
    --dark-bg: #0e0a0b; --dark-card: #1d1517;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
       -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { display: block; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
             line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.todo { background: #fff3b0; color: #6b4e00; padding: 0 4px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent);
               backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
               border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { border-radius: 8px; }
.brand.small { font-size: 16px; }
.brand.small img { border-radius: 7px; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a, .footer-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.main-nav a { position: relative; padding: 6px 0; }
.main-nav a:hover, .footer-links a:hover { color: var(--text); }
.main-nav a.active { color: var(--text); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
                     background: var(--accent); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a.active::after { transform: scaleX(1); }
.langs { display: flex; gap: 4px; font-size: 14px; }
.langs a, .langs span { padding: 4px 9px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.langs a:hover { color: var(--text); background: var(--bg-tint); }
.langs span { background: var(--bg-tint); color: var(--text); font-weight: 600; }
.bar .langs { margin-left: auto; }
.main-nav + .langs { margin-left: 0; }

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 72px); letter-spacing: -.035em; }
.lead { font-size: 20px; color: var(--muted); margin-top: 22px; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600;
       text-decoration: none; font-size: 16px; border: 1px solid transparent; }
.btn .icon { width: 20px; height: 20px; }
.btn.primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 6px 18px rgb(217 58 85 / 28%); }
.btn.primary.soon { cursor: default; }
.btn.ghost { color: var(--text); border-color: var(--line); background: var(--card); }
.btn.ghost:hover { border-color: var(--muted); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-art img { position: relative; width: min(280px, 70%); height: auto; border-radius: 22%;
                filter: drop-shadow(0 24px 40px rgb(217 58 85 / 30%)); }
.glow { position: absolute; inset: 8%; border-radius: 50%;
        background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 35%, transparent), transparent 68%); }
.chip { position: absolute; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px;
        background: var(--card); color: var(--accent); box-shadow: var(--shadow); }
.chip .icon { width: 28px; height: 28px; margin: 0; }
.c1 { top: 6%; left: 10%; transform: rotate(-8deg); }
.c2 { top: 14%; right: 6%; transform: rotate(7deg); }
.c3 { bottom: 10%; left: 4%; transform: rotate(6deg); }
.c4 { bottom: 4%; right: 14%; transform: rotate(-5deg); }

/* Sections */
.section { padding: 88px 0; }
.section.tint { background: var(--bg-tint); }
.section h2 { text-align: center; }
.section-lead { text-align: center; color: var(--muted); font-size: 19px; max-width: 640px; margin: 14px auto 0; }
.section-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 28px; }
.grid { display: grid; gap: 20px; margin-top: 48px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p, .plat p, .priv p, .module > p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.plat { padding: 4px 4px 0; border-top: 2px solid var(--accent); padding-top: 18px; }

/* Modules */
.module { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.module-head { display: flex; align-items: center; gap: 14px; }
.module-head h3 { font-size: 26px; }
.icon.big { width: 48px; height: 48px; padding: 10px; margin: 0; border-radius: 14px; color: #fff;
            background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.module > p { margin-top: 14px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.tick { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); stroke-width: 2.4; }

/* Privacy (dark band) */
.section.dark { background: var(--dark-bg); color: var(--dark-text); }
.section.dark .section-lead, .section.dark .priv p { color: var(--dark-muted); }
.priv { background: var(--dark-card); border-radius: var(--radius); padding: 26px; }
.priv .icon { color: #ff8a9a; }

/* Pricing */
.plans { align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.plan .price { font-size: 22px; font-weight: 700; margin-top: 8px; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 12px 32px rgb(217 58 85 / 16%); }
.plan.featured .price { color: var(--accent); }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 18px; }

.contact .btn { margin-top: 28px; }

/* Text pages */
.prose h1 { font-size: clamp(32px, 5vw, 44px); margin: 18px 0 8px; }
.prose h2 { text-align: left; font-size: 22px; margin: 36px 0 10px; }
.prose p { margin: 0 0 12px; }

/* Support page */
.prose .lead { margin: 4px 0 28px; }
.support-cards { margin-top: 0; }
.support-cards .card p { margin-top: 8px; }
.support-cards .btn { margin-top: 10px; }
.small { font-size: 14px; color: var(--muted); }
.tip { background: var(--bg-tint); border-left: 3px solid var(--accent); border-radius: 10px; padding: 14px 18px; margin: 24px 0 8px !important; }
.prose .faq { margin-top: 16px; }
.prose .ticks { margin-top: 8px; }
.center-actions { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-grid { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fine a { color: inherit; }
.footer-grid .langs { margin-left: auto; }
.fine { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* Language redirect page */
.redirect main { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 20px; }
.redirect img { border-radius: 22px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .main-nav a::after { transition: none; } }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 260px; order: -1; }
  .hero-art img { width: 180px; }
  .chip { width: 46px; height: 46px; border-radius: 14px; }
  .chip .icon { width: 22px; height: 22px; }
  .section { padding: 64px 0; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .langs a, .langs span { padding: 4px 7px; }
  .footer-grid .langs { margin-left: 0; }
}
