/* WhatsPilot site design system — shared by every public page */
:root {
 --ink: #1d1d1f;
 --ink-2: #6e6e73;
 --ink-3: #86868b;
 --line: #d2d2d7;
 --bg: #ffffff;
 --bg-2: #f5f5f7;
 --accent: #078a4c;
 --accent-hover: #0a9d57;
 --accent-soft: #e8f6ee;
 --wa: #25d366;
 --ease: cubic-bezier(0.22, 1, 0.36, 1);
 --radius-xl: 28px;
 --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
 margin: 0;
 font-family: var(--font);
 font-size: 17px;
 line-height: 1.47;
 letter-spacing: -0.022em;
 color: var(--ink);
 background: var(--bg);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 font-feature-settings: "cv11", "ss01", "ss03";
 overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img, svg { display: block; }
::selection { background: var(--accent); color: #fff; }
[hidden] { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

/* ── Type scale ───────────────────────────── */
.eyebrow {
 font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
 color: var(--accent); margin: 0 0 10px;
}
.display {
 font-size: clamp(44px, 7.6vw, 96px);
 line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; margin: 0;
}
.h2 {
 font-size: clamp(36px, 5.6vw, 64px);
 line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; margin: 0;
}
.h3 {
 font-size: clamp(24px, 2.6vw, 32px);
 line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; margin: 0;
}
.lead {
 font-size: clamp(19px, 2vw, 24px);
 line-height: 1.4; font-weight: 500; letter-spacing: -0.02em;
 color: var(--ink-2); margin: 0;
}
.muted { color: var(--ink-2); }
.grad {
 background: linear-gradient(100deg, #078a4c 0%, #1fbf6a 45%, #0f8f80 100%);
 -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-night {
 background: linear-gradient(100deg, #5ef0a0 0%, #25d366 40%, #7fe3d4 100%);
 -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Buttons ──────────────────────────────── */
.btn {
 display: inline-flex; align-items: center; justify-content: center; gap: 6px;
 min-height: 48px; padding: 0 24px; border-radius: 980px;
 font-size: 17px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap;
 transition: background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 8px 24px -8px rgba(7, 138, 76, .55); }
.btn-primary:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: rgba(0, 0, 0, .05); color: var(--ink); }
.btn-ghost:hover { background: rgba(0, 0, 0, .08); }
.btn-sm { min-height: 30px; padding: 0 14px; font-size: 13px; font-weight: 500; }
.btn-block { width: 100%; }
.link {
 display: inline-flex; align-items: center; gap: 2px;
 color: var(--accent); font-size: 17px; font-weight: 500;
}
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(2px); }
.on-dark .link { color: #4be38c; }

/* ── Reveal on scroll ─────────────────────── */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
.js .reveal.d4 { transition-delay: .32s; }

/* ── Navigation ───────────────────────────── */
.nav {
 position: sticky; top: 0; z-index: 60;
 background: rgba(255, 255, 255, .72);
 -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
 border-bottom: 1px solid transparent;
 transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.nav-inner { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.brand-mark {
 width: 28px; height: 28px; border-radius: 8px; background: #000;
 display: grid; place-items: center; padding: 5px;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: flex; gap: 30px; font-size: 13px; color: rgba(0, 0, 0, .8); letter-spacing: -0.01em; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: #000; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 13px; color: rgba(0, 0, 0, .8); }
.nav-login:hover { color: #000; }
.nav-toggle { display: none; width: 36px; height: 36px; border-radius: 50%; place-items: center; }
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu {
 position: fixed; inset: 52px 0 0 0; z-index: 59;
 background: rgba(255, 255, 255, .97);
 -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
 padding: 24px 32px 40px; overflow-y: auto;
}
.mobile-menu a.mm-link {
 display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.03em;
 padding: 8px 0; color: var(--ink);
 opacity: 0; transform: translateY(-8px);
 animation: mmIn .5s var(--ease) forwards;
}
.mobile-menu a.mm-link:nth-child(2) { animation-delay: .03s; }
.mobile-menu a.mm-link:nth-child(3) { animation-delay: .06s; }
.mobile-menu a.mm-link:nth-child(4) { animation-delay: .09s; }
.mobile-menu a.mm-link:nth-child(5) { animation-delay: .12s; }
.mobile-menu a.mm-link:nth-child(6) { animation-delay: .15s; }
.mm-actions { margin-top: 32px; display: grid; gap: 10px; }
.mm-note { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 6px; }
@keyframes mmIn { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
 .nav-links, .nav-login { display: none; }
 .nav-toggle { display: grid; }
}

/* ── Hero ─────────────────────────────────── */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.hero::before {
 content: ""; position: absolute; left: 50%; top: 380px; width: 1100px; height: 900px;
 transform: translateX(-50%);
 background: radial-gradient(closest-side, rgba(37, 211, 102, .22), rgba(37, 211, 102, .06) 55%, transparent);
 filter: blur(10px); pointer-events: none;
}
.hero-copy { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-kicker {
 display: inline-flex; align-items: center; gap: 8px;
 font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 22px;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.hero .lead { max-width: 640px; margin: 26px auto 0; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 36px; }
.hero-fine { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

.stage { position: relative; display: flex; justify-content: center; margin-top: 72px; padding-bottom: 0; }
.stage-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, #fff); z-index: 3; pointer-events: none; }

/* ── iPhone mock ──────────────────────────── */
.phone {
 position: relative; z-index: 2;
 width: 320px; height: 660px; border-radius: 56px; padding: 11px;
 background: linear-gradient(145deg, #2c2c2e, #0b0b0c 40%, #1c1c1e);
 box-shadow:
  0 0 0 1.5px #3a3a3c inset,
  0 50px 100px -20px rgba(0, 0, 0, .35),
  0 30px 60px -30px rgba(0, 0, 0, .4);
}
.phone::before, .phone::after {
 content: ""; position: absolute; width: 3px; background: #2a2a2c; border-radius: 2px;
}
.phone::before { left: -3px; top: 150px; height: 60px; }
.phone::after { right: -3px; top: 190px; height: 90px; }
.screen {
 position: relative; width: 100%; height: 100%; border-radius: 46px; overflow: hidden;
 background: #efeae2; display: flex; flex-direction: column;
}
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 104px; height: 30px; border-radius: 20px; background: #000; z-index: 5; }
.status { height: 50px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 6px 30px 0; font-size: 14px; font-weight: 600; background: #f6f6f6; }
.status-icons { display: flex; gap: 5px; align-items: center; }
.status-icons span { display: block; background: #000; border-radius: 2px; }
.wa-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 14px 10px; background: #f6f6f6; border-bottom: 1px solid #e3e3e3; }
.wa-head svg { width: 18px; height: 18px; color: #007aff; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #f9b16e, #e1725a); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; flex: none; }
.wa-name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.wa-sub { font-size: 11px; color: #667781; letter-spacing: 0; }
.wa-head-actions { margin-left: auto; display: flex; gap: 16px; }
.wa-body {
 flex: 1; min-height: 0; padding: 10px 10px 8px;
 display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
 background-color: #efeae2;
 background-image: url('/chatwindow.png'); background-size: 380px auto;
 font-size: 13.5px; letter-spacing: -0.01em; line-height: 1.35;
 overflow: hidden;
}
.wa-date { align-self: center; background: #fff; color: #54656f; font-size: 11px; padding: 4px 10px; border-radius: 8px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); margin-bottom: 4px; }
.bub {
 max-width: 84%; padding: 6px 8px 4px 9px; border-radius: 10px;
 box-shadow: 0 1px .5px rgba(11, 20, 26, .13); position: relative;
}
.bub.in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.bub.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.bub p { margin: 0; }
.bub-meta { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: 10.5px; color: #667781; margin-top: 2px; }
.bub-meta svg { width: 14px; height: 14px; color: #53bdeb; }
.bub-tag { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #067a45; margin-bottom: 3px; }
.bub-tag svg { width: 11px; height: 11px; }
.bub-photo { border-radius: 8px; overflow: hidden; margin: 2px -3px 6px -4px; background: #fff; }
.bub-photo svg { width: 100%; height: 108px; }
.bub-photo-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 6px 8px; font-size: 11.5px; }
.bub-photo-cap b { font-weight: 600; }
.bub-photo-cap span { color: #067a45; font-weight: 700; white-space: nowrap; }
.bub-file { display: flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, .04); border-radius: 8px; padding: 7px 8px; margin: 0 -3px 6px -4px; }
.bub-file-ic { width: 30px; height: 34px; border-radius: 4px; background: #e5484d; color: #fff; display: grid; place-items: center; font-size: 8px; font-weight: 800; flex: none; }
.bub-file b { display: block; font-size: 12px; font-weight: 600; }
.bub-file small { font-size: 10.5px; color: #667781; }
.typing { align-self: flex-end; background: #d9fdd3; border-radius: 10px; border-top-right-radius: 3px; padding: 10px 12px; display: flex; gap: 4px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.typing.in-side { align-self: flex-start; background: #fff; border-radius: 10px; border-top-left-radius: 3px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.wa-input { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 10px 22px; background: #f6f6f6; color: #007aff; }
.wa-input svg { width: 20px; height: 20px; }
.wa-field { flex: 1; height: 32px; border-radius: 16px; background: #fff; border: 1px solid #e3e3e3; }

.js .chat-step { display: none; }
.js .chat-step.show { display: flex; animation: bubIn .45s var(--ease) both; }
.js .bub.chat-step.show { display: block; }
@keyframes bubIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

/* Floating chips around phone */
.chip {
 position: absolute; z-index: 4;
 display: flex; align-items: center; gap: 10px;
 padding: 10px 16px 10px 10px; border-radius: 18px;
 background: rgba(255, 255, 255, .78);
 -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
 border: 1px solid rgba(255, 255, 255, .9);
 box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .04);
 font-size: 14px; letter-spacing: -0.015em; white-space: nowrap;
}
.chip-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.chip-ic svg { width: 18px; height: 18px; }
.chip b { display: block; font-weight: 600; }
.chip small { display: block; color: var(--ink-2); font-size: 12px; }
.chip-1 { left: calc(50% - 420px); top: 120px; }
.chip-2 { right: calc(50% - 430px); top: 250px; }
.chip-3 { left: calc(50% - 400px); top: 400px; }
.js .chip { opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .chip.show { opacity: 1; transform: none; }
@media (max-width: 960px) { .chip { display: none; } }

/* ── Highlights strip ─────────────────────── */
.highlights { padding: 72px 0 96px; }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.hl { padding: 8px 28px; border-left: 1px solid var(--line); }
.hl:first-child { border-left: 0; }
.hl-num { font-size: clamp(36px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; }
.hl-label { font-size: 15px; color: var(--ink-2); margin-top: 6px; line-height: 1.35; }
@media (max-width: 820px) {
 .hl-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
 .hl:nth-child(3) { border-left: 0; }
 .hl { padding: 4px 18px; }
}

/* ── Night story ──────────────────────────── */
.night { background: #000; color: #f5f5f7; padding: 140px 0 120px; position: relative; overflow: hidden; }
.night::before {
 content: ""; position: absolute; right: -200px; top: -200px; width: 700px; height: 700px;
 background: radial-gradient(closest-side, rgba(37, 211, 102, .16), transparent);
 pointer-events: none;
}
.night .muted { color: #a1a1a6; }
.night-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 0; }
.night-sticky { position: sticky; top: 140px; }
.night-sticky .lead { color: #a1a1a6; margin-top: 24px; max-width: 440px; }
.moon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); margin-bottom: 28px; }
.moon svg { width: 24px; height: 24px; color: #ffd27a; }
.timeline { position: relative; display: grid; gap: 22px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(#25d366, rgba(37, 211, 102, .15)); border-radius: 2px; }
.t-item { position: relative; background: #161617; border: 1px solid #2a2a2c; border-radius: 22px; padding: 22px 24px; }
.t-item::before { content: ""; position: absolute; left: -28px; top: 28px; width: 12px; height: 12px; border-radius: 50%; background: #000; border: 2px solid #25d366; }
.t-time { font-size: 13px; font-weight: 600; color: #4be38c; letter-spacing: 0; display: flex; align-items: center; gap: 6px; }
.t-time svg { width: 14px; height: 14px; }
.t-title { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; margin: 8px 0 6px; line-height: 1.25; }
.t-body { font-size: 15px; color: #a1a1a6; margin: 0; line-height: 1.5; }
.t-quote { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #fff; color: #111; font-size: 14px; display: inline-block; max-width: 100%; }
.t-quote.out { background: #d9fdd3; }
.t-item.sunrise { background: linear-gradient(160deg, #1d2a20, #161617 70%); border-color: #2f4a37; }
.t-item.sunrise::before { background: #25d366; }

.words { margin: 140px auto 0; max-width: 960px; font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; }
.words span { color: #3a3a3c; transition: color .35s var(--ease); }
.words span.lit { color: #f5f5f7; }
.words span.lit.hl-green { color: #4be38c; }
@media (max-width: 860px) {
 .night { padding: 96px 0 88px; }
 .night-grid { grid-template-columns: 1fr; gap: 48px; }
 .night-sticky { position: static; }
 .words { margin-top: 96px; }
}

/* ── Bento ────────────────────────────────── */
.section { padding: 130px 0; }
.section-tight { padding: 100px 0; }
.bg-2 { background: var(--bg-2); }
.section-head { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.section-head .lead { margin-top: 20px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
 position: relative; overflow: hidden;
 background: #fff; border-radius: var(--radius-xl); padding: 38px 38px 0;
 display: flex; flex-direction: column;
 transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .18); }
.tile .h3 { margin-top: 6px; }
.tile p.tile-text { color: var(--ink-2); margin: 12px 0 0; font-size: 17px; max-width: 520px; }
.tile-label { font-size: 14px; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.tile-label svg { width: 16px; height: 16px; }
.tile-art { margin-top: auto; padding-top: 34px; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.tile-sm { padding: 30px 30px 32px; }
.tile-sm .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; }
.tile-sm .ic svg { width: 22px; height: 22px; }
.tile-sm h4 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.tile-sm p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }

/* Tile art: languages */
.lang-chat { display: grid; gap: 10px; padding-bottom: 38px; max-width: 520px; }
.lc { display: flex; gap: 10px; align-items: flex-end; }
.lc.out { justify-content: flex-end; }
.lc-bub { padding: 10px 14px; border-radius: 18px; font-size: 15px; background: var(--bg-2); max-width: 80%; line-height: 1.35; }
.lc.out .lc-bub { background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.lc.in .lc-bub { border-bottom-left-radius: 6px; }
.lc-lang { font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; text-transform: uppercase; padding-bottom: 6px; }
.lc-time { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; opacity: .8; margin-left: 6px; }

/* Tile art: photo stack */
.stack { position: relative; height: 250px; margin: 0 auto; width: 100%; max-width: 280px; }
.stack .card {
 position: absolute; left: 50%; bottom: -16px; width: 190px; border-radius: 16px; overflow: hidden; background: #fff;
 box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .3); border: 1px solid rgba(0, 0, 0, .06);
 transition: transform .6s var(--ease);
}
.stack .card svg { width: 100%; height: 120px; }
.stack .card .cap { padding: 10px 12px 14px; font-size: 13px; font-weight: 600; }
.stack .card .cap small { display: block; font-weight: 500; color: var(--ink-2); font-size: 12px; }
.stack .c1 .cap, .stack .c2 .cap { visibility: hidden; }
.stack .c1 { transform: translateX(-50%) translateX(-56px) rotate(-9deg); }
.stack .c2 { transform: translateX(-50%) translateX(56px) rotate(8deg); }
.stack .c3 { transform: translateX(-50%) translateY(-24px); z-index: 2; }
.tile:hover .stack .c1 { transform: translateX(-50%) translateX(-72px) rotate(-12deg); }
.tile:hover .stack .c2 { transform: translateX(-50%) translateX(72px) rotate(11deg); }
.pdf-pill {
 position: absolute; z-index: 3; right: 0; top: 18px;
 display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 8px 12px 8px 8px;
 box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .3); font-size: 12px; font-weight: 600;
}
.pdf-pill .bub-file-ic { width: 26px; height: 30px; }

/* Tile art: kanban */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: 38px; }
.kcol { background: var(--bg-2); border-radius: 16px; padding: 12px; display: grid; gap: 8px; align-content: start; }
.kcol-h { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 0 2px 2px; }
.kcard { background: #fff; border-radius: 11px; padding: 10px; font-size: 13px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.kcard b { display: block; font-weight: 600; }
.kcard small { color: var(--ink-2); font-size: 11.5px; }
.ktag { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; }
.ktag.g { background: var(--accent-soft); color: var(--accent); }
.ktag.a { background: #fff4e0; color: #b25e00; }
.ktag.b { background: #e8f0fe; color: #1a5fd0; }
.kcard.new { outline: 2px solid var(--wa); outline-offset: -2px; }

/* Tile art: QR */
.qr-art { display: flex; align-items: center; gap: 26px; padding-bottom: 38px; }
.qr {
 width: 132px; height: 132px; border-radius: 20px; background: #fff; padding: 12px; flex: none;
 box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 20px 40px -20px rgba(0, 0, 0, .25); position: relative; overflow: hidden;
}
.qr::after {
 content: ""; position: absolute; left: 8px; right: 8px; height: 2px; top: 10px;
 background: var(--wa); box-shadow: 0 0 12px 2px rgba(37, 211, 102, .7); border-radius: 2px;
 animation: scan 2.6s var(--ease) infinite;
}
@keyframes scan { 0%, 100% { top: 12px; } 50% { top: calc(100% - 14px); } }
.qr-steps { display: grid; gap: 12px; font-size: 15px; }
.qr-steps div { display: flex; gap: 10px; align-items: center; }
.qr-steps span { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }

@media (max-width: 960px) {
 .span-4, .span-3 { grid-column: span 6; }
 .span-2 { grid-column: span 3; }
}
@media (max-width: 640px) {
 .bento { gap: 14px; }
 .span-2 { grid-column: span 6; }
 .tile { padding: 30px 26px 0; }
 .tile-sm { padding: 26px; }
 .qr-art { flex-direction: column; align-items: flex-start; }
 .kanban { grid-template-columns: 1fr 1fr; }
 .kanban .kcol:last-child { display: none; }
}

/* ── Steps ────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 60px; right: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.step { position: relative; }
.step-n {
 width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
 background: #fff; border: 1px solid var(--line); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 26px;
}
.step:first-child .step-n { background: var(--ink); color: #fff; border-color: var(--ink); }
.step h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink-2); }
@media (max-width: 820px) {
 .steps { grid-template-columns: 1fr; gap: 40px; }
 .steps::before { display: none; }
}

/* ── Segmented control ────────────────────── */
.seg {
 position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
 padding: 3px; border-radius: 12px; background: rgba(118, 118, 128, .12);
}
.seg-thumb {
 position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
 background: #fff; border-radius: 9px; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04);
 transition: transform .45s var(--ease);
}
.seg[data-active="1"] .seg-thumb { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; padding: 9px 22px; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; border-radius: 9px; }
.seg button[aria-pressed="false"] { color: var(--ink-2); }
@media (max-width: 480px) { .seg button { padding: 9px 12px; font-size: 13px; } }

/* ── Audience ─────────────────────────────── */
.aud-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; margin-top: 56px; animation: bubIn .6s var(--ease) both; }
.aud-quote { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin: 0; }
.aud-copy p { color: var(--ink-2); margin: 18px 0 30px; max-width: 440px; }
.aud-list { display: grid; gap: 14px; }
.aud-item { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: 22px; padding: 22px 24px; }
.aud-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.aud-ic svg { width: 22px; height: 22px; }
.aud-item b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.aud-item div > span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 3px; line-height: 1.45; }
@media (max-width: 860px) { .aud-panel { grid-template-columns: 1fr; gap: 36px; } }

.ic-green { background: var(--accent-soft); color: var(--accent); }
.ic-amber { background: #fff4e0; color: #c26a00; }
.ic-blue { background: #e8f0fe; color: #1a5fd0; }
.ic-purple { background: #f1e9fe; color: #7a3fd0; }
.ic-pink { background: #fde8ef; color: #c2185b; }
.ic-dark { background: var(--ink); color: #fff; }

/* ── Trust ────────────────────────────────── */
.trust-hero { width: 84px; height: 84px; border-radius: 26px; margin: 0 auto 30px; display: grid; place-items: center; background: linear-gradient(145deg, #0fa960, #067a45); color: #fff; box-shadow: 0 24px 48px -20px rgba(7, 138, 76, .6); }
.trust-hero svg { width: 40px; height: 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 72px; }
.trust-grid svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 18px; }
.trust-grid h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; margin: 0 0 8px; }
.trust-grid p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 820px) { .trust-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── Pricing ──────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan { background: #fff; border-radius: var(--radius-xl); padding: 36px 32px 32px; display: flex; flex-direction: column; position: relative; }
.plan.featured { box-shadow: 0 0 0 2px var(--accent), 0 40px 80px -40px rgba(7, 138, 76, .45); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 980px; white-space: nowrap; }
.plan-for { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.plan h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.035em; margin: 4px 0 18px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price span:first-child { font-size: 52px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span:last-child { color: var(--ink-2); font-size: 15px; }
.plan-desc { color: var(--ink-2); font-size: 15px; margin: 14px 0 22px; min-height: 44px; }
.plan ul { list-style: none; margin: 0 0 30px; padding: 22px 0 0; border-top: 1px solid #e8e8ed; display: grid; gap: 12px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.plan li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 1px; }
.plan .btn { margin-top: auto; }
.price-note { text-align: center; color: var(--ink-2); font-size: 14px; margin-top: 30px; }
@media (max-width: 960px) {
 .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; gap: 28px; }
}

/* ── FAQ ──────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
 list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
 padding: 26px 0; font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -0.025em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
 content: ""; flex: none; width: 14px; height: 14px;
 background:
  linear-gradient(var(--ink-2), var(--ink-2)) center / 14px 1.6px no-repeat,
  linear-gradient(var(--ink-2), var(--ink-2)) center / 1.6px 14px no-repeat;
 transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 48px 28px 0; color: var(--ink-2); font-size: 17px; animation: bubIn .4s var(--ease) both; }

/* ── Final CTA ────────────────────────────── */
.final { background: #000; color: #f5f5f7; text-align: center; padding: 150px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; bottom: -420px; transform: translateX(-50%); width: 1100px; height: 700px; background: radial-gradient(closest-side, rgba(37, 211, 102, .35), transparent); pointer-events: none; }
.final .wrap { position: relative; }
.final .lead { color: #a1a1a6; margin: 24px auto 40px; max-width: 560px; }
.final-fine { margin-top: 18px; font-size: 14px; color: #86868b; }

/* ── Footer ───────────────────────────────── */
.footer { background: var(--bg-2); color: var(--ink-2); font-size: 12px; letter-spacing: -0.005em; padding: 44px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.foot-grid h4 { margin: 0 0 12px; font-size: 12px; font-weight: 600; color: var(--ink); }
.foot-grid a { display: block; padding: 4px 0; color: var(--ink-2); }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand p { margin: 12px 0 0; max-width: 260px; line-height: 1.5; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; color: var(--ink-3); }
@media (max-width: 820px) {
 .foot-grid { grid-template-columns: 1fr 1fr; }
 .foot-brand { grid-column: 1 / -1; }
}

/* ── Register modal ───────────────────────── */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal.hidden { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn .3s var(--ease); }
.sheet {
 position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 30px; padding: 40px 36px 34px;
 box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .45);
 animation: sheetIn .5s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.sheet-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; color: var(--ink-2); }
.sheet-close:hover { background: #e8e8ed; color: var(--ink); }
.sheet-close svg { width: 16px; height: 16px; }
.sheet-icon { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 18px; background: #000; padding: 11px; }
.sheet-icon img { width: 100%; height: 100%; object-fit: contain; }
.sheet h3 { text-align: center; font-size: 28px; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.sheet-sub { text-align: center; color: var(--ink-2); font-size: 15px; margin: 8px 0 26px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin: 0 0 6px 4px; }
.field input {
 width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
 padding: 0 16px; font: inherit; font-size: 17px; color: var(--ink); outline: none;
 transition: border-color .2s, box-shadow .2s;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(7, 138, 76, .15); }
.sheet .btn { margin-top: 10px; min-height: 52px; }
.sheet-fine { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 14px; }
@media (max-width: 480px) { .sheet { padding: 36px 22px 26px; border-radius: 26px; } }

/* ── Small screens ────────────────────────── */
@media (max-width: 640px) {
 body { font-size: 16px; }
 .section { padding: 88px 0; }
 .section-tight { padding: 72px 0; }
 .hero { padding-top: 48px; }
 .stage { margin-top: 52px; }
 .phone { width: 290px; height: 600px; border-radius: 50px; }
 .screen { border-radius: 40px; }
 .section-head { margin-bottom: 44px; }
 .final { padding: 110px 0; }
 .highlights { padding: 48px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
 html { scroll-behavior: auto; }
}

/* ════════════════════════════════════════════
   SUBPAGE COMPONENTS
   ════════════════════════════════════════════ */
.nav-links a[aria-current="page"] { color: #000; font-weight: 600; }

/* ── Breadcrumbs ──────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-3); padding-top: 22px; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* ── Page hero ────────────────────────────── */
.page-hero { position: relative; z-index: 0; padding: 88px 0 80px; text-align: center; overflow-x: clip; }
.page-hero::before {
 content: ""; position: absolute; left: 50%; top: 55%; width: 900px; height: 460px; transform: translate(-50%, -50%);
 background: radial-gradient(closest-side, rgba(37, 211, 102, .14), transparent);
 pointer-events: none; z-index: -1;
}
.page-hero .display { font-size: clamp(40px, 6.6vw, 84px); }
.page-hero .lead { max-width: 700px; margin: 24px auto 0; }
.page-hero.left { text-align: left; }
.page-hero.left .lead { margin-left: 0; }
.page-hero.left .hero-ctas { justify-content: flex-start; }
.hero-icon {
 width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 28px; display: grid; place-items: center; color: #fff;
 background: linear-gradient(145deg, #12b366, #067a45); box-shadow: 0 24px 48px -20px rgba(7, 138, 76, .6);
}
.hero-icon svg { width: 36px; height: 36px; }
.page-hero.left .hero-icon { margin-left: 0; }

/* ── Layout helpers ───────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .h2 { font-size: clamp(32px, 4.2vw, 52px); }
.split .lead { margin-top: 20px; }
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 24px; }
.mt-m { margin-top: 48px; }
.mt-l { margin-top: 80px; }
@media (max-width: 960px) {
 .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
 .split { grid-template-columns: 1fr; gap: 44px; }
 .split.reverse > :first-child { order: 0; }
}
@media (max-width: 640px) {
 .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
 .page-hero { padding: 56px 0 56px; }
}

/* ── Cards ────────────────────────────────── */
.card {
 position: relative; background: #fff; border-radius: 24px; padding: 30px;
 display: flex; flex-direction: column;
 transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card.soft { background: var(--bg-2); }
.card.dark { background: #161617; color: #f5f5f7; border: 1px solid #2a2a2c; }
.card.dark p { color: #a1a1a6; }
.card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; flex: none; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; margin: 0 0 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .2); }
.card-more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 3px; color: var(--accent); font-size: 15px; font-weight: 500; }
.card-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
a.card:hover .card-more svg { transform: translateX(3px); }
.card-lg { padding: 40px; }
.card-lg h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.03em; }
.card-lg p { font-size: 17px; }

.pill {
 display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 980px;
 font-size: 12px; font-weight: 600; letter-spacing: 0; background: var(--accent-soft); color: var(--accent);
}
.pill svg { width: 13px; height: 13px; }
.pill.grey { background: rgba(0, 0, 0, .05); color: var(--ink-2); }
.pill.dark { background: rgba(255, 255, 255, .1); color: #4be38c; }

.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.checks li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.checks li b { font-weight: 600; }
.on-dark .checks li svg { color: #4be38c; }

/* ── App window mock ──────────────────────── */
.window {
 background: #fff; border-radius: 20px; overflow: hidden;
 box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 50px 100px -50px rgba(0, 0, 0, .4);
}
.window-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #f6f6f7; border-bottom: 1px solid #ececef; }
.window-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar > i:nth-child(2) { background: #febc2e; }
.window-bar > i:nth-child(3) { background: #28c840; }
.window-title { margin-left: 10px; font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.window-body { padding: 22px; font-size: 14px; }
.window.dark { background: #1c1c1e; color: #f5f5f7; box-shadow: 0 0 0 1px #2c2c2e, 0 50px 100px -50px rgba(0, 0, 0, .6); }
.window.dark .window-bar { background: #2c2c2e; border-bottom-color: #3a3a3c; }

/* WhatsApp chat panel (re-uses .bub bubbles) */
.chat {
 display: flex; flex-direction: column; gap: 7px; padding: 18px 14px;
 background-color: #efeae2; background-image: url('/chatwindow.png'); background-size: 380px auto;
 font-size: 14px; letter-spacing: -0.01em; line-height: 1.38;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #f6f6f6; border-bottom: 1px solid #e3e3e3; }
.chat-btns { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.chat-btns span { display: block; text-align: center; background: #fff; color: #027eb5; font-weight: 500; font-size: 13px; padding: 7px; border-radius: 8px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }

/* Simple metric visuals */
.metric { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.metric-label { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; }
.bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(#25d366, #078a4c); opacity: .9; }
.bars span.dim { background: #e3e3e8; }

/* ── Comparison table ─────────────────────── */
.table-wrap { background: #fff; border-radius: 24px; padding: 8px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid #ececf0; vertical-align: middle; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.compare thead th.us { color: var(--accent); }
.compare td.us { background: rgba(7, 138, 76, .05); font-weight: 600; color: var(--ink); }
.compare td:first-child { color: var(--ink); font-weight: 500; }
.compare td { color: var(--ink-2); }
.compare svg { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; }
.compare .yes { color: var(--accent); }
.compare .no { color: #c7c7cc; }

/* ── Article / legal prose ────────────────── */
.article-head { max-width: 820px; margin: 0 auto; text-align: center; padding: 72px 0 56px; }
.article-head .display { font-size: clamp(36px, 5.4vw, 64px); }
.article-head .lead { margin-top: 22px; }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; font-size: 14px; color: var(--ink-3); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; }
.prose { max-width: 700px; margin: 0 auto; font-size: 19px; line-height: 1.68; letter-spacing: -0.012em; color: #333336; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); margin: 64px 0 18px; }
.prose h3 { font-size: 23px; line-height: 1.25; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); margin: 40px 0 12px; }
.prose p { margin: 0 0 24px; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 1.25em; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--ink-3); }
.prose blockquote { margin: 36px 0; padding: 2px 0 2px 24px; border-left: 3px solid var(--accent); font-size: 23px; line-height: 1.45; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .84em; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
.prose pre { white-space: pre-wrap; word-break: break-word; margin: 0 0 28px; padding: 20px 22px; border-radius: 16px; background: #1d1d1f; color: #f5f5f7; overflow-x: auto; font-size: 14px; line-height: 1.6; letter-spacing: 0; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 16px; line-height: 1.45; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #e8e8ed; vertical-align: top; }
.prose th { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 56px 0; }
.prose .callout { margin: 32px 0; padding: 22px 26px; border-radius: 18px; background: var(--bg-2); font-size: 17px; line-height: 1.6; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout.green { background: var(--accent-soft); }
.prose img { max-width: 100%; height: auto; border-radius: 18px; }
.prose-wide { max-width: 860px; }
.toc { max-width: 700px; margin: 0 auto 56px; padding: 24px 28px; border-radius: 20px; background: var(--bg-2); font-size: 16px; }
.toc b { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a:hover { color: var(--accent); }
.legal-updated { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 18px; }
@media (max-width: 640px) {
 .prose { font-size: 17px; }
 .prose blockquote { font-size: 20px; }
 .article-head { padding: 48px 0 40px; }
}

/* ── Post cards ───────────────────────────── */
.post { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .22); }
.post-cover { aspect-ratio: 2 / 1; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.post-cover svg { width: 56px; height: 56px; opacity: .95; position: relative; z-index: 1; }
.post-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 90%); mask-image: linear-gradient(120deg, transparent 20%, #000 90%); }
.post-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, .28), transparent 60%); }
.post-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; margin: 12px 0 8px; }
.post-body p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.post-meta { margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--ink-3); }
.post.featured { display: grid; grid-template-columns: 1.2fr 1fr; }
.post.featured .post-cover { aspect-ratio: auto; min-height: 340px; }
.post.featured .post-cover svg { width: 88px; height: 88px; }
.post.featured .post-body { padding: 44px; justify-content: center; }
.post.featured h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; }
.post.featured p { font-size: 17px; }
@media (max-width: 860px) { .post.featured { grid-template-columns: 1fr; } .post.featured .post-cover { min-height: 220px; } .post.featured .post-body { padding: 28px; } }
.cov-green { background: linear-gradient(135deg, #0fa960, #065f46); }
.cov-blue { background: linear-gradient(135deg, #3b82f6, #1e3a8a); }
.cov-purple { background: linear-gradient(135deg, #8b5cf6, #4c1d95); }
.cov-amber { background: linear-gradient(135deg, #f59e0b, #b45309); }
.cov-pink { background: linear-gradient(135deg, #ec4899, #9d174d); }
.cov-teal { background: linear-gradient(135deg, #14b8a6, #115e59); }
.cov-dark { background: linear-gradient(135deg, #3a3a3c, #000); }
.cov-red { background: linear-gradient(135deg, #f43f5e, #9f1239); }

/* ── Forms & tools ────────────────────────── */
.label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin: 0 0 7px 4px; }
.input, .textarea, .select {
 width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
 font: inherit; font-size: 17px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.select {
 appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2386868b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 background-repeat: no-repeat; background-position: right 16px center;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(7, 138, 76, .15); }
.input::placeholder, .textarea::placeholder { color: #a1a1a6; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-gap > * + * { margin-top: 22px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.tool { background: #fff; border-radius: var(--radius-xl); padding: 36px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 40px 80px -50px rgba(0, 0, 0, .3); }
.tool-out { background: var(--bg-2); border-radius: 16px; padding: 18px 20px; font-size: 16px; line-height: 1.55; min-height: 58px; word-break: break-word; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0; }
.range { width: 100%; accent-color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 640px) { .tool { padding: 24px 20px; border-radius: 24px; } }

/* ── Inline CTA band ──────────────────────── */
.cta-band { border-radius: var(--radius-xl); background: #000; color: #f5f5f7; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; bottom: -300px; transform: translateX(-50%); width: 800px; height: 500px; background: radial-gradient(closest-side, rgba(37, 211, 102, .35), transparent); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.08; margin: 0; }
.cta-band p { color: #a1a1a6; margin: 16px auto 30px; max-width: 520px; font-size: 19px; }
@media (max-width: 640px) { .cta-band { padding: 48px 24px; } }

/* ── Feature page hero (split) ────────────── */
.page-hero.left { padding: 64px 0 104px; }
.page-hero.left .display { font-size: clamp(40px, 5.2vw, 68px); }
.page-hero .pill + .display { margin-top: 22px; }
.page-hero.left .split { align-items: center; }
.related-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.related-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.035em; margin: 0; }
@media (max-width: 640px) { .page-hero.left { padding: 40px 0 72px; } }

/* ── Tools: i18n hooks & helpers ──────────── */
.hidden { display: none !important; }
.text-brand-600 { color: var(--accent); }
.display .text-brand-600, .h2 .text-brand-600 {
 background: linear-gradient(100deg, #078a4c 0%, #1fbf6a 45%, #0f8f80 100%);
 -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lang-picker { position: relative; display: inline-block; }
.lang-picker > button {
 display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 980px;
 background: rgba(0, 0, 0, .05); font-size: 13px; font-weight: 500; color: var(--ink);
}
.lang-picker > button:hover { background: rgba(0, 0, 0, .08); }
.lang-picker > button .uppercase { text-transform: uppercase; }
.lang-picker > button svg { width: 14px; height: 14px; color: var(--ink-3); }
.lang-menu {
 position: absolute; left: 50%; transform: translateX(-50%); top: calc(100% + 8px); z-index: 40; min-width: 200px; padding: 6px;
 background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
 border-radius: 16px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 20px 50px -20px rgba(0, 0, 0, .3); text-align: left;
}
.lang-menu button { display: flex; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.lang-menu button:hover { background: var(--bg-2); }
.input-group { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.input-group:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(7, 138, 76, .15); }
.input-group > span { display: grid; place-items: center; padding: 0 14px; background: var(--bg-2); color: var(--ink-2); font-weight: 500; border-right: 1px solid var(--line); }
.input-group .input { border: 0; border-radius: 0; box-shadow: none !important; }
.input-group .btn { border-radius: 0; min-height: auto; }
.hint { font-size: 13px; color: var(--ink-3); margin: 7px 4px 0; line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { padding: 7px 14px; border-radius: 980px; background: var(--bg-2); font-size: 14px; font-weight: 500; transition: background .2s; }
.chip-btn:hover { background: #e8e8ed; }
.chip-btn.on { background: var(--ink); color: #fff; }
.tool-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.tool-side { background: var(--bg-2); border-radius: 22px; padding: 28px; text-align: center; }
.qr-box { display: inline-grid; place-items: center; background: #fff; border-radius: 20px; padding: 18px; margin: 18px 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.qr-box img, .qr-box canvas { width: 192px; height: 192px; }
@media (max-width: 860px) { .tool-grid { grid-template-columns: 1fr; } }

/* ── Blog articles ────────────────────────── */
.article-figure { margin: 0 auto; max-width: 1080px; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .4); }
.article-figure figcaption { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.prose .callout h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--ink); }
.prose .callout > div + div, .prose .callout > div + p { margin-top: 10px; }
.prose .callout a { font-weight: 600; }
.prose .prose-cards { margin: 28px 0; gap: 14px; }
.prose .prose-cards .card { padding: 22px; }
.prose .prose-cards .card h3 { font-size: 17px; margin: 12px 0 6px; }
.prose .prose-cards .card p { font-size: 15px; margin: 0; }
.prose .prose-cards .pill { align-self: flex-start; }
.prose .prose-faq { margin: 24px 0 8px; }
.prose .prose-faq summary { font-size: 19px; padding: 20px 0; }
.prose .prose-faq details p { font-size: 17px; padding-right: 32px; }
.prose .table-scroll { overflow-x: auto; margin: 0 0 28px; }
.prose .table-scroll table { margin: 0; min-width: 560px; }
.author-row { max-width: 700px; margin: 56px auto 0; display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 20px; background: var(--bg-2); }
.author-ini { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; flex: none; }
.author-row b { display: block; font-weight: 600; }
.author-row span:not(.author-ini) { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-cover:has(img)::before, .post-cover:has(img)::after { display: none; }

/* ── Language pages ───────────────────────── */
:lang(hi) body, :lang(ar) body, :lang(hi) .display, :lang(hi) .h2, :lang(hi) .h3, :lang(ar) .display, :lang(ar) .h2, :lang(ar) .h3, :lang(hi) .lead, :lang(ar) .lead, :lang(ar) .words, :lang(hi) .words { letter-spacing: 0; }
:lang(hi) .display, :lang(ar) .display { line-height: 1.22; }
:lang(hi) .h2, :lang(ar) .h2 { line-height: 1.25; }
:lang(ar) body { font-family: -apple-system, BlinkMacSystemFont, "SF Arabic", "Segoe UI", "Noto Sans Arabic", Tahoma, sans-serif; }
[dir="rtl"] .hl { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .hl:first-child { border-right: 0; }
[dir="rtl"] .timeline { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .timeline::before { left: auto; right: 5px; }
[dir="rtl"] .t-item::before { left: auto; right: -28px; }
[dir="rtl"] .chip-1, [dir="rtl"] .chip-3 { left: auto; right: calc(50% - 420px); }
[dir="rtl"] .chip-2 { right: auto; left: calc(50% - 430px); }
[dir="rtl"] .faq details p { padding: 0 0 28px 48px; }
[dir="rtl"] .seg[data-active="1"] .seg-thumb { transform: translateX(-100%); }
[dir="rtl"] .seg-thumb { left: auto; right: 3px; }
[dir="rtl"] .link svg, [dir="rtl"] .card-more svg { transform: scaleX(-1); }
@media (max-width: 820px) { [dir="rtl"] .hl:nth-child(3) { border-right: 0; } }
:lang(hi) .hero .display, :lang(hi) .final .display { font-size: clamp(38px, 6.2vw, 80px); }
