/* ==========================================================================
   Waomate UI · one stylesheet, no build step
   1. Tokens  2. Base  3. Utilities  4. Components  5. Layout  6. Sections  7. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #0D1F17;
  --ink-2: #33453C;
  --ink-3: #4B5E55;
  --line: #E3EEE7;
  --white: #FFFFFF;
  --mint: #F3FBF5;
  --mint-2: #EAFBF0;
  --green: #0A7A43;       /* primary actions: white text passes AA */
  --green-bright: #25D366;
  --green-mid: #1FBF5B;
  --green-deep: #0B5E4A;
  --night: #0D1F17;
  --night-2: #15291F;
  --night-line: #22402F;
  --on-night: #D9E5DD;
  --on-night-2: #B7C8BD;
  --on-green: #D2F5DF;
  --yellow: #FFD43B;
  --orange: #FF8A3D;
  --blue: #2F80ED;
  --purple: #7C3AED;
  --red: #E5484D;

  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow: 0 16px 36px -28px rgba(10, 60, 35, .55);
  --shadow-lg: 0 40px 80px -36px rgba(10, 60, 35, .6);
  --container: 1280px;
  --gutter: 80px;
  --section-y: 100px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
[id] { scroll-margin-top: 100px; }

.h1 { font-size: clamp(40px, 5.4vw, 74px); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; }
.h2 { font-size: clamp(34px, 4.2vw, 58px); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); }
mark { background: linear-gradient(transparent 62%, var(--yellow) 62%); color: inherit; padding: 0 6px; }

/* 3. Utilities -------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(1200px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.bg-mint { background: var(--mint); }
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }
.text-purple { color: var(--purple); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--ink); color: var(--white); }
.skip-link:focus { top: 16px; color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }
.fineprint { margin-top: 20px; text-align: center; font-size: 12px; color: #5E6E66; }

/* Solid fills (icon tiles) and soft tints (avatars, panels) */
.bg-blue { background: var(--blue); } .bg-orange { background: var(--orange); }
.bg-purple { background: var(--purple); } .bg-green { background: var(--green); }
.bg-red { background: var(--red); } .bg-yellow { background: var(--yellow); color: var(--ink) !important; }
.bg-ink { background: var(--ink); color: var(--yellow) !important; }
.tint-orange { --tint: #FFF1E6; --tint-2: #FFD9BF; background: #FFD9BF; }
.tint-yellow { --tint: #FFF6D1; --tint-2: #FFE58A; background: #FFE58A; }
.tint-purple { --tint: #F1EBFF; --tint-2: #E4D9FF; background: #E4D9FF; }
.tint-blue { --tint: #EAF2FF; --tint-2: #CFE3FF; background: #CFE3FF; }
.tint-green { --tint: #E6F8EC; --tint-2: #BDF2D0; background: #BDF2D0; }
.tint-red { --tint: #FFECEC; --tint-2: #FFD0D0; background: #FFD0D0; }

/* 4. Components ------------------------------------------------------------- */
.icon { flex-shrink: 0; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
.logo--light, .logo--light:hover { color: var(--white); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 14px; font-weight: 800; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 16px; font-size: 15px; border-radius: 12px; }
.btn--md { padding: 14px 20px; font-size: 16px; }
.btn--lg { padding: 18px 30px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: var(--white); box-shadow: inset 0 -4px 0 rgba(0,0,0,.2), 0 16px 30px -14px rgba(10,122,67,.7); }
.btn--primary:hover { color: var(--white); background: #08693A; }
.btn--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--secondary:hover { background: var(--ink); color: var(--white); }
.btn--brand { background: var(--green-bright); color: var(--ink); box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.btn--brand:hover { color: var(--ink); }
.btn--light { background: var(--white); color: var(--green); }
.btn--light:hover { color: var(--green-deep); }
.btn--yellow { background: var(--yellow); color: var(--ink); border: none; box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.btn--dark { background: var(--ink); color: var(--white); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 800; }
.pill--green { background: var(--mint-2); color: var(--green); }
.pill--white { background: var(--white); color: var(--green); }
.pill--yellow { padding: 3px 8px; font-size: 12px; background: var(--yellow); color: var(--ink); }

.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.section-head--center { align-items: center; text-align: center; }
.section-head--center .lead { max-width: 680px; }

.stars { display: inline-flex; gap: 2px; }

.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; font-weight: 700; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks--check .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-bright); color: var(--white); }
.checks--tick .icon { color: var(--yellow); width: 20px; height: 20px; }
.checks--cross { font-weight: 600; color: #4A4A45; }
.checks--cross .icon { color: #C42B30; width: 20px; height: 20px; }
.checks--row { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; }
.checks--on-dark { color: var(--white); }

.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; color: var(--ink); flex-shrink: 0; }
.avatar--sm { width: 32px; height: 32px; font-size: 11px; }
.avatar--md { width: 44px; height: 44px; font-size: 12px; }
.avatar--lg { width: 56px; height: 56px; font-size: 14px; }
img.avatar { object-fit: cover; background: var(--white); }
.avatar-stack { display: inline-flex; }
.avatar-stack .avatar { border: 2px solid var(--white); }
.avatar-stack .avatar + .avatar { margin-left: -9px; }

.icon-tile .icon { stroke-width: 2.2; }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; color: var(--white); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); flex-shrink: 0; }

.float-tile { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--white); box-shadow: 0 20px 40px -16px rgba(10,60,35,.45); }
.float-tile > div > strong { display: block; font-size: 15px; }
.float-tile > div > span { display: block; font-size: 12px; color: var(--ink-3); }

/* Phone mockup */
.phone { position: relative; width: 300px; height: 620px; padding: 10px; border-radius: 48px; background: #14161A; box-shadow: 0 40px 80px -30px rgba(10,60,35,.55), inset 0 0 0 2px #2B2F36; flex-shrink: 0; }
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 999px; background: #14161A; z-index: 2; }
.phone__screen { height: 100%; border-radius: 38px; overflow: hidden; background: #EFE7DC; display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.4; color: #111B21; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 50px 14px 12px; background: var(--green-deep); color: var(--white); }
.phone__bar div strong { display: block; font-size: 14px; }
.phone__bar div span { font-size: 11px; color: #BFE3D5; }
.phone__chat { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px 10px; overflow: hidden; }
.phone__date { align-self: center; padding: 4px 10px; border-radius: 8px; background: var(--white); font-size: 10.5px; font-weight: 600; color: #54656F; }
.phone__composer { display: flex; align-items: center; gap: 6px; padding: 8px 8px 14px; }
.phone__composer span { flex: 1; height: 36px; display: flex; align-items: center; padding-inline: 14px; border-radius: 999px; background: var(--white); color: #8696A0; font-size: 13px; }
.phone__composer i { width: 36px; height: 36px; border-radius: 50%; background: var(--green-deep); }
.bubble { max-width: 84%; padding: 7px 10px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble--out { align-self: flex-start; background: var(--white); border-radius: 4px 12px 12px 12px; }
.bubble--in { align-self: flex-end; background: #D9FDD3; border-radius: 12px 4px 12px 12px; }
.bubble--card { width: 86%; padding: 0; overflow: hidden; }
.bubble--card p { padding: 8px 10px; }
.bubble__label { display: block; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--purple); }
.bubble__btn { padding: 9px; border-top: 1px solid #E9EDEF; text-align: center; font-weight: 700; color: #027EB5; }
.promo { position: relative; margin: 4px; padding: 14px 14px 12px; border-radius: 10px; overflow: hidden; color: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  background: radial-gradient(circle at 85% 15%, #F472B6 0 18%, transparent 42%), radial-gradient(circle at 10% 110%, #F59E0B 0 20%, transparent 48%), linear-gradient(135deg, #4C1D95, #9D174D); }
.promo::before, .promo::after { content: ""; position: absolute; border-radius: 50%; border: 2px dashed rgba(255,212,59,.55); }
.promo::before { width: 110px; height: 110px; right: -46px; top: -54px; }
.promo::after { width: 10px; height: 10px; border: 0; background: var(--yellow); right: 16px; top: 12px; box-shadow: -26px 14px 0 -3px #fff, 2px 30px 0 -3px #F9A8D4, -46px 2px 0 -4px var(--yellow); }
.promo > * { position: relative; z-index: 1; }
.promo__tag { padding: 3px 8px; border-radius: 6px; background: var(--yellow); color: #4C1D95; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.promo__deal { display: flex; align-items: center; gap: 6px; line-height: .9; }
.promo__deal b { font-size: 46px; font-weight: 800; letter-spacing: -.05em; color: var(--yellow); text-shadow: 0 3px 0 rgba(0,0,0,.25); }
.promo__deal span { font-size: 13px; font-weight: 800; letter-spacing: .06em; line-height: 1.05; }
.promo__sub { font-size: 11px; font-weight: 600; color: #FBE7F3; }
.promo__code { padding: 3px 8px; border: 1px dashed rgba(255,255,255,.7); border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.slots { display: flex; gap: 6px; margin-top: 8px; }
.slots span { padding: 6px 10px; border-radius: 999px; background: #E7F8EE; color: var(--green-deep); font-weight: 700; }
.slots .is-on { background: var(--green-deep); color: var(--white); }
.order { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.order__row { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.order__row i { width: 34px; height: 34px; border-radius: 8px; }
.order__row span, .order__total span { margin-left: auto; font-weight: 700; }
.order__total { display: flex; padding-top: 8px; border-top: 1px solid #E9EDEF; font-weight: 800; }
.order__pay { padding: 9px; border-radius: 8px; background: var(--green-deep); color: var(--white); text-align: center; font-weight: 700; }

/* 5. Layout: header & footer ----------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(227,238,231,.7); }
.site-header__inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav { display: flex; gap: 30px; font-size: 15px; font-weight: 600; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__login { padding: 10px 12px; font-size: 15px; font-weight: 700; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; display: flex; padding: 8px; border-radius: 10px; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }
.mobile-menu nav a:not(.btn) { padding: 12px; border-radius: 10px; font-weight: 700; }
.mobile-menu nav .btn { margin-top: 8px; }

.site-footer { position: relative; overflow: hidden; background: linear-gradient(var(--white) 220px, var(--night) 220px); color: var(--white); padding-top: 40px; }
.cta-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 56px; padding: 56px 64px; border-radius: var(--radius-xl); background: var(--green); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.cta-card::before { content: ""; position: absolute; left: -100px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; background: var(--green-bright); opacity: .35; }
.cta-card__body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 20px; }
.cta-card .lead { color: var(--on-green); }
.qr-card { position: relative; width: 280px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px; border-radius: var(--radius-lg); background: var(--white); color: var(--ink); text-align: center; transform: rotate(2deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transition: transform .2s ease; }
.qr-card:hover { transform: rotate(0); color: var(--ink); }
.qr-card__code { width: 180px; padding: 10px; border: 2px solid var(--line); border-radius: 16px; }
.qr-card__code svg { width: 100%; height: auto; }
.qr-card strong { font-size: 17px; }
.qr-card > span:last-child { font-size: 13px; font-weight: 600; color: var(--ink-3); }

.lead-form { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.lead-form__row { display: flex; gap: 12px; }
.lead-form__field { flex: 1; display: flex; align-items: center; height: 64px; border-radius: 16px; background: var(--white); overflow: hidden; }
.lead-form__prefix { height: 100%; display: flex; align-items: center; padding-inline: 16px; border-right: 1px solid var(--line); font-weight: 800; color: var(--ink); }
.lead-form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; padding-inline: 16px; font: 600 17px var(--font); color: var(--ink); background: transparent; }
.lead-form__field:focus-within { box-shadow: 0 0 0 3px var(--yellow); }
.lead-form input[aria-invalid="true"] { color: #B42318; }
.lead-form__error { padding: 10px 14px; border-radius: 12px; background: #FFF4E5; color: #8A2C07; font-size: 14px; font-weight: 700; }
/* Busy labels: <span class="htmx-hide">Send</span><span class="htmx-show">Sending…</span> */
.htmx-show, .htmx-request .htmx-hide { display: none; }
.htmx-request .htmx-show { display: inline; }
.lead-success { display: flex; align-items: center; gap: 16px; max-width: 640px; padding: 18px 20px; border-radius: 16px; background: var(--white); color: var(--ink); }
.lead-success__icon { display: inline-flex; padding: 10px; border-radius: 50%; background: var(--green-bright); color: var(--white); }
.lead-success p { font-size: 15px; color: var(--ink-3); }

.site-footer__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 80px; padding-bottom: 40px; }
.site-footer__grid h3, .site-footer__brand .logo { margin-bottom: 6px; }
.site-footer__grid nav, .site-footer__brand { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--on-night); }
.site-footer__grid h3 { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #7EE2A8; }
.site-footer__grid a:hover { color: var(--white); }
.site-footer__wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--white); }
.site-footer__legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #9DB1A6; }
.site-footer__legal nav { display: flex; gap: 24px; }
.site-footer__wordmark { margin-top: 24px; margin-bottom: -.2em; text-align: center; font-size: clamp(120px, 21vw, 300px); font-weight: 800; letter-spacing: -.07em; line-height: 1; color: #16301F; user-select: none; }

/* 6. Sections -------------------------------------------------------------- */
/* Hero */
.hero { position: relative; overflow: hidden; padding-top: 32px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__arc { position: absolute; left: 50%; transform: translateX(-50%); top: 440px; width: 1600px; height: 1000px; border-radius: 50%; background: var(--green-bright); }
.hero__arc--inner { top: 520px; width: 1100px; height: 800px; background: var(--green-mid); }
.deco { position: absolute; }
.deco--square { left: 8%; top: 90px; width: 70px; height: 70px; border-radius: 22px; background: var(--yellow); transform: rotate(-14deg); }
.deco--dot { right: 10%; top: 120px; width: 48px; height: 48px; border-radius: 50%; background: #A5D8FF; }
.hero__copy { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.hero__copy .lead { max-width: 820px; }
.rating-badge { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--white); border: 1px solid #DCEFE3; box-shadow: 0 10px 28px -14px rgba(10,60,35,.35); font-size: 15px; }
.hero__stage { position: relative; height: 460px; max-width: 1280px; margin: 44px auto 0; }
.hero__stage .phone { position: absolute; top: 0; left: 50%; }
.phone--center { transform: translateX(-50%); z-index: 2; }
.phone--left { transform: translateX(calc(-50% - 250px)) translateY(60px) rotate(-10deg) scale(.86); }
.phone--right { transform: translateX(calc(-50% + 250px)) translateY(60px) rotate(10deg) scale(.86); }
.float-tile--tl { left: 90px; top: 40px; transform: rotate(-4deg); }
.float-tile--tr { right: 80px; top: 20px; transform: rotate(4deg); }
.float-tile--bl { left: 150px; top: 200px; transform: rotate(3deg); }
.float-tile--br { right: 150px; top: 190px; transform: rotate(-3deg); }

/* Integrations strip */
.logo-strip { background: var(--night); color: #E9F1EB; }
.logo-strip__inner { min-height: 112px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 56px; padding-block: 24px; }
.logo-strip__inner { gap: 20px 36px; }
.logo-strip__label { font-size: 14px; font-weight: 700; color: #B9F5CF; }
.logo-strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 14px; background: var(--white); color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -.01em; transition: transform .15s ease; }
.logo-chip:hover { transform: translateY(-2px); }
.logo-chip__mark { width: 24px; height: 24px; color: var(--brand); }

/* Before vs after */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.versus__card { display: flex; flex-direction: column; gap: 26px; padding: 44px; border-radius: 32px; }
.versus__card h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.versus__card .checks { margin-top: auto; }
.versus__card .btn { align-self: flex-start; }
.versus__card--before { background: #F4F4F1; }
.versus__card--after { position: relative; overflow: hidden; background: var(--green); color: var(--white); padding-left: 60px; }
.versus__badge { display: inline-flex; padding: 8px; border-radius: 50%; color: var(--white); }
.versus__arrow { position: relative; z-index: 2; align-self: center; display: flex; padding: 16px; margin-inline: -36px; border-radius: 50%; border: 6px solid var(--white); background: var(--yellow); box-shadow: 0 12px 24px -12px rgba(0,0,0,.4); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips span { padding: 14px 18px; border-radius: 14px; font-size: 16px; font-weight: 700; }
.chips--messy span { background: var(--white); box-shadow: 0 8px 20px -14px rgba(0,0,0,.35); }
.chips--messy span:nth-child(odd) { transform: rotate(-2deg); }
.chips--messy span:nth-child(even) { transform: rotate(2deg); }
.chips--glass span { background: rgba(255,255,255,.14); }

/* Stories */
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; margin-top: 40px; }
.story--flip .story__copy { order: 2; }
.story__copy { display: flex; flex-direction: column; gap: 20px; }
.story__copy .btn { align-self: flex-start; margin-top: 8px; }
.story__num { font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.story__visual { position: relative; height: 640px; overflow: hidden; border-radius: var(--radius-xl); background: var(--tint); display: flex; justify-content: center; padding-top: 50px; }
.story__blob { position: absolute; top: 80px; left: 50%; transform: translateX(-50%); width: 420px; height: 420px; border-radius: 50%; background: var(--tint-2); }
.story__badge { position: absolute; right: 28px; top: 100px; z-index: 2; display: flex; flex-direction: column; padding: 12px 16px; border-radius: 16px; background: var(--white); box-shadow: 0 18px 36px -18px rgba(0,0,0,.45); }
.story__badge span { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.story__badge strong { font-size: 24px; font-weight: 800; }

/* Pricing */
.pricing { display: flex; flex-direction: column; align-items: center; gap: 44px; }
.period-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--white); box-shadow: 0 8px 20px -14px rgba(10,60,35,.4); }
.period-switch button { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding-inline: 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 800; color: var(--ink-2); }
.period-switch [aria-pressed="true"] { background: var(--ink); color: var(--white); }
.plans { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 32px 28px; border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.plan h3 { font-size: 20px; }
.plan header p { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price strong { font-size: 48px; font-weight: 800; letter-spacing: -.04em; }
.plan__price span { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.plan__features { padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.plan--popular { background: var(--night); color: var(--white); transform: translateY(-12px); box-shadow: 0 30px 60px -30px rgba(10,60,35,.7); }
.plan--popular header p, .plan--popular .plan__price span { color: #B9F5CF; }
.plan--popular .plan__features { border-color: var(--night-line); }
.plan__flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 800; white-space: nowrap; }
.assurances { list-style: none; margin: 36px auto 0; padding: 16px 26px; width: fit-content; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; border-radius: 16px; background: var(--white); font-size: 15px; font-weight: 700; }
.assurances li { display: flex; align-items: center; gap: 8px; }
.assurances .icon { color: var(--green); }

/* Compare */
.compare { overflow-x: auto; }
.compare table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 17px; }
.compare th, .compare td { padding: 22px 24px; text-align: center; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: 18px; font-weight: 800; color: var(--ink-3); }
.compare thead th:first-child { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; }
.compare td { font-weight: 600; color: var(--ink-3); }
.compare .compare__us { background: var(--green); color: var(--white); font-weight: 800; border-top-color: rgba(255,255,255,.15); }
.compare thead .compare__us { border-radius: 24px 24px 0 0; font-size: 22px; }
.compare thead .compare__us svg { display: inline-block; vertical-align: -5px; }
.compare tbody tr:last-child .compare__us { border-radius: 0 0 24px 24px; }
.compare + .btn-row { margin-top: 48px; }

/* Reviews */
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.split-head > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 720px; }
.score-card { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 18px; background: var(--white); }
.score-card > strong { font-size: 44px; letter-spacing: -.04em; }
.score-card div > span:last-child { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.reviews { columns: 3; column-gap: 20px; }
.review { break-inside: avoid; display: flex; flex-direction: column; gap: 18px; margin-bottom: 20px; padding: 28px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.review blockquote { font-size: 17px; font-weight: 600; line-height: 1.5; }
.review--big blockquote, .review--featured blockquote { font-size: 21px; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; font-size: 15px; }
.review figcaption small { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.review--featured { background: var(--green); color: var(--white); }
.review--featured figcaption small { color: var(--on-green); }

/* FAQ */
.faq { display: grid; grid-template-columns: 440px 1fr; gap: 72px; align-items: start; }
.faq__side { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.help-card { position: relative; overflow: hidden; width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--radius-lg); background: var(--green); color: var(--white); }
.help-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--green-bright); opacity: .35; }
.help-card > * { position: relative; }
.help-card .avatar-stack .avatar { border: 3px solid var(--white); box-shadow: 0 8px 18px -8px rgba(0,0,0,.35); }
.help-card .avatar-stack .avatar + .avatar { margin-left: -14px; }
.help-card strong { margin-top: 8px; font-size: 22px; }
.help-card > span:not(.avatar-stack) { font-size: 15px; color: var(--on-green); }
.help-card .btn { align-self: flex-start; margin-top: 8px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 22px 0; cursor: pointer; font-size: 19px; font-weight: 800; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary > span:nth-child(2) { flex: 1; }
.faq__list summary .icon { transition: transform .2s ease; }
.faq__list details[open] summary .icon { transform: rotate(180deg); }
.faq__num { width: 34px; flex-shrink: 0; font-size: 15px; color: #7A8C83; }
.faq__list details[open] .faq__num { color: var(--green); }
.faq__list details p { padding: 0 40px 24px 50px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* Error page */
.error-page { text-align: center; }
.error-page .container { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.error-page__code { font-size: 120px; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--green-bright); }

/* Forms -------------------------------------------------------------------- */
.stack { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field__group { height: 54px; border: 2px solid var(--line); border-radius: 14px; background: var(--white); transition: border-color .15s ease, box-shadow .15s ease; }
.field input { width: 100%; padding: 0 16px; font: 600 16px var(--font); color: var(--ink); outline: none; }
.field__group { display: flex; align-items: center; overflow: hidden; }
.field__group input { height: 100%; border: 0; border-radius: 0; }
.field input:focus, .field__group:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px var(--mint-2); }
.field__group input:focus { box-shadow: none; }
.field__prefix { height: 100%; display: flex; align-items: center; padding: 0 14px; border-right: 1px solid var(--line); background: var(--mint); font-weight: 800; }
.field--error input, .field--error .field__group { border-color: #D92D20; }
.field__error { font-size: 14px; font-weight: 600; color: #B42318; }
.field__hint { font-size: 13px; color: var(--ink-3); }
.form-alert { padding: 12px 14px; border-radius: 12px; background: #FEF3F2; color: #B42318; font-size: 14px; font-weight: 700; }
.dev-note { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 2px dashed #F5A300; border-radius: 12px; background: #FFF8E1; font-size: 14px; }
.dev-note b { font-size: 18px; letter-spacing: .15em; }
.otp-input { letter-spacing: .5em; font-size: 22px !important; text-align: center; }
.link-btn { padding: 6px 0; border: 0; background: none; color: var(--green); font-size: 14px; font-weight: 700; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--mint); }
.tabs__tab { flex: 1; padding: 11px 12px; border-radius: 11px; text-align: center; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.tabs__tab[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: 0 6px 16px -10px rgba(10,60,35,.5); }
.btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Auth pages --------------------------------------------------------------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.auth__main { display: flex; flex-direction: column; padding: 28px clamp(20px, 5vw, 72px); }
.auth__top { display: flex; justify-content: space-between; align-items: center; }
.auth__back { font-size: 14px; font-weight: 700; color: var(--ink-3); }
.auth__body { flex: 1; display: flex; align-items: center; justify-content: center; padding-block: 40px; }
.auth__legal { text-align: center; font-size: 12px; color: var(--ink-3); }
.auth__legal a { text-decoration: underline; }
.auth-card { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 20px; }
.auth-card .lead { font-size: 17px; margin-top: -10px; }
.auth-card .pill { align-self: flex-start; }
.auth-card__switch { text-align: center; font-size: 15px; color: var(--ink-3); }
.auth-card__switch a { color: var(--green); font-weight: 800; }
.otp-step__sent { font-size: 15px; color: var(--ink-2); }
.otp-step__actions { display: flex; justify-content: space-between; }
.auth__aside { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 64px clamp(32px, 5vw, 80px); background: var(--green); color: var(--white); }
.auth__aside::before { content: ""; position: absolute; right: -160px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: var(--green-bright); opacity: .3; }
.auth__aside > * { position: relative; }
.auth__quote { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: var(--radius-lg); background: rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.auth__quote blockquote { font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.4; }
.auth__person { display: flex; align-items: center; gap: 12px; }
.auth__person strong { display: block; }
.auth__person small { color: var(--on-green); }

/* App shell ---------------------------------------------------------------- */
.page-app { background: #F6F8F7; }
.app { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.app__side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 24px; padding: 24px 16px; background: var(--white); border-right: 1px solid var(--line); }
.app__side .logo { padding-inline: 8px; font-size: 22px; }
.app__workspace { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 14px; background: var(--mint); }
.app__workspace span { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app__workspace small { font-size: 12px; font-weight: 700; color: var(--green); }
.app__nav { display: flex; flex-direction: column; gap: 4px; }
.app__nav a, .app__nav span { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.app__nav a:hover { background: var(--mint); color: var(--ink); }
.app__nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.app__nav .is-soon { color: #8A9A91; cursor: default; }
.app__nav em { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #EEF2EF; font-size: 11px; font-style: normal; }
.app__top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px clamp(16px, 3vw, 40px); background: rgba(246,248,247,.9); backdrop-filter: blur(10px); }
.app__title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.app__page { display: flex; flex-direction: column; gap: 24px; padding: 8px clamp(16px, 3vw, 40px) 48px; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 8px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg); }
.user-menu__panel p { display: flex; flex-direction: column; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.user-menu__panel small { color: var(--ink-3); }
.user-menu__panel button { width: 100%; display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; font-weight: 700; text-align: left; }
.user-menu__panel button:hover { background: #FEF3F2; color: #B42318; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.card--hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.card--hero p { color: var(--ink-3); margin-top: 8px; }
.card__title { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; font-weight: 800; }
.card__title small { font-size: 13px; color: var(--ink-3); }
.card__note { font-size: 14px; color: var(--ink-3); }
.card .btn { align-self: flex-start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.setup { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.setup__step { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); }
.setup__step > div { flex: 1; display: flex; flex-direction: column; }
.setup__step span:not(.icon-tile):not(.btn):not(.setup__lock) { font-size: 14px; color: var(--ink-3); }
.setup__step--next { border-color: var(--green); background: var(--mint); }
.setup__step--locked { opacity: .6; }
.setup__lock { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.member-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.member-list li { display: flex; align-items: center; gap: 12px; }
.member-list li > span:not(.avatar) { flex: 1; display: flex; flex-direction: column; }
.member-list small { color: var(--ink-3); }
.role { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; font-style: normal; background: var(--mint-2); color: var(--green); }
.role--owner { background: #FFF6D1; color: #7A5A00; }
.setup__done { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--green); }
.setup__step--done { border-color: var(--green); }
.card--warn { border-color: #F5A300; background: #FFF8E1; }
.card--muted summary { cursor: pointer; }
.card code { padding: 2px 6px; border-radius: 6px; background: var(--mint); font-size: 13px; word-break: break-all; }
.wa-account { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); }
.wa-account > div { flex: 1; display: flex; flex-direction: column; }
.wa-account span { font-size: 14px; color: var(--ink-3); }
.wa-account__note { color: #7A5A00; font-size: 13px; }
.es__options { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.es__option { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.es__option:first-child { border-color: var(--green); background: var(--mint); }
.es__option p { font-size: 14px; color: var(--ink-2); }
.es__option small { font-size: 12px; color: var(--ink-3); }
.mode-badge { margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--mint-2); color: var(--green); font-size: 11px; font-style: normal; font-weight: 800; vertical-align: middle; }
@media (max-width: 760px) { .es__options { grid-template-columns: 1fr; } }
.es { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.es .btn:disabled { opacity: .5; cursor: not-allowed; }
.es .btn.is-busy { opacity: .7; cursor: progress; }
.es__status:empty { display: none; }
.es__status { font-size: 14px; font-weight: 700; color: #B42318; }
.es__status[data-tone="info"] { color: var(--ink-2); }
.es__status[data-tone="ok"] { color: var(--green); }
.events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.events__item { display: grid; grid-template-columns: 180px 1fr auto; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.events__who { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.events__item--status .events__what { color: var(--ink-3); }
.events time { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.events__empty { padding: 16px; border-radius: 12px; background: var(--mint); color: var(--ink-3); font-size: 14px; }
.plan-now { display: flex; align-items: baseline; gap: 10px; }
.plan-now strong { font-size: 32px; letter-spacing: -.03em; }

/* Inbox -------------------------------------------------------------------- */
.nav-badge { margin-left: auto; min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--green-bright); color: var(--ink); font-size: 12px; font-weight: 800; text-align: center; }
.app__nav a[aria-current="page"] .nav-badge { background: var(--yellow); }
.inbox { display: grid; grid-template-columns: 340px minmax(0, 1fr); height: calc(100vh - 110px); min-height: 520px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); overflow: hidden; }
.inbox__list { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-right: 1px solid var(--line); min-height: 0; }
.tabs--sm .tabs__tab { padding: 8px 6px; font-size: 13px; }
.inbox__search { height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; font: 600 14px var(--font); background: var(--mint); outline: none; }
.inbox__search:focus { border-color: var(--green); background: var(--white); }
.conv-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.conv { display: flex; gap: 12px; padding: 12px; border-radius: 14px; color: var(--ink); }
.conv:hover { background: var(--mint); color: var(--ink); }
.conv.is-active { background: var(--mint-2); }
.conv__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.conv__top, .conv__bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.conv__top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.conv__top time { flex-shrink: 0; font-size: 12px; color: var(--ink-3); }
.conv__preview { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ink-3); }
.conv.is-unread .conv__preview { color: var(--ink); font-weight: 700; }
.conv.is-unread time { color: var(--green); font-weight: 800; }
.conv__badge { flex-shrink: 0; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--green-bright); font-size: 12px; text-align: center; }
.conv__assignee { font-size: 12px; font-weight: 700; color: var(--purple); }
.conv-list__empty { padding: 20px 12px; color: var(--ink-3); font-size: 14px; text-align: center; }
.inbox__pane { display: flex; flex-direction: column; min-height: 0; background: #EFE7DC; }
.inbox__empty { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 320px; text-align: center; color: var(--ink-3); }
.inbox__empty strong { color: var(--ink); font-size: 18px; }
.chat-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 18px; background: var(--white); border-bottom: 1px solid var(--line); }
.chat-head__who { flex: 1; min-width: 140px; display: flex; flex-direction: column; }
.chat-head__who span { font-size: 13px; color: var(--ink-3); }
.chat-head select { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font: 700 14px var(--font); background: var(--white); }
.window-badge { padding: 6px 10px; border-radius: 999px; background: #FEF3F2; color: #B42318; font-size: 12px; font-weight: 800; }
.window-badge--open { background: var(--mint-2); color: var(--green); }
.thread { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 18px clamp(12px, 3vw, 40px); }
.thread__day { align-self: center; margin: 8px 0; }
.thread__day span { padding: 4px 12px; border-radius: 8px; background: var(--white); font-size: 12px; font-weight: 700; color: #54656F; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.msg { max-width: min(70%, 560px); display: flex; flex-direction: column; gap: 2px; padding: 8px 12px 6px; border-radius: 12px; box-shadow: 0 1px 1px rgba(0,0,0,.08); font-size: 15px; line-height: 1.45; }
.msg p { white-space: pre-wrap; word-break: break-word; }
.msg--in { align-self: flex-start; background: var(--white); border-top-left-radius: 4px; }
.msg--out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 4px; }
.msg--failed { background: #FEF3F2; }
.msg__type { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.msg__meta { align-self: flex-end; display: flex; gap: 4px; align-items: center; font-size: 11px; color: #667781; }
.ticks { letter-spacing: -3px; font-weight: 700; }
.ticks--read { color: #34B7F1; }
.msg__error { font-size: 12px; font-weight: 700; color: #B42318; }
.composer-error { align-self: center; padding: 8px 14px; border-radius: 10px; background: #FEF3F2; color: #B42318; font-size: 14px; font-weight: 700; }
.composer { display: flex; align-items: flex-end; gap: 10px; padding: 12px 16px; background: var(--white); border-top: 1px solid var(--line); }
.composer textarea { flex: 1; min-height: 46px; max-height: 160px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; font: 500 15px/1.4 var(--font); resize: none; outline: none; }
.composer textarea:focus { border-color: var(--green); }
.composer__closed { flex: 1; padding: 10px 12px; border-radius: 12px; background: #FFF8E1; font-size: 14px; color: #7A5A00; }

/* Tables, toolbars & misc app UI ----------------------------------------------- */
.title-count { margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--mint-2); color: var(--green); font-size: 14px; vertical-align: middle; }
.back-link { color: var(--ink-3); }
.flash { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.flash--ok { background: var(--mint-2); color: var(--green); }
.toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toolbar__filters, .toolbar__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar input[type="search"], .toolbar select { height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font: 600 14px var(--font); background: var(--white); }
.toolbar input[type="search"] { width: min(320px, 70vw); }
.popover { position: relative; }
.popover summary { list-style: none; cursor: pointer; }
.popover summary::-webkit-details-marker { display: none; }
.popover__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(360px, 90vw); padding: 20px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.card--flush { padding: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); background: #FAFCFB; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table small { display: block; color: var(--ink-3); }
.table__main { font-weight: 800; }
.table__empty { padding: 32px 16px !important; text-align: center; color: var(--ink-3); }
.table__empty a { color: var(--green); font-weight: 700; }
.tag { display: inline-block; margin: 2px 4px 2px 0; padding: 3px 9px; border-radius: 999px; background: #EEF2FF; color: #3B4FC4; font-size: 12px; font-weight: 700; }
.status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.status--on { background: var(--mint-2); color: var(--green); }
.status--off { background: #FEF3F2; color: #B42318; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-3); }
.btn--danger { background: #FEF3F2; color: #B42318; border-color: #FECDCA; }
.btn--danger:hover { background: #B42318; color: var(--white); }
.attrs { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.attrs dt { font-weight: 800; color: var(--ink-3); }
.attrs dd { margin: 0; }
.stat-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-row p { flex: 1; min-width: 120px; display: flex; flex-direction: column; padding: 16px; border-radius: 14px; background: var(--mint); }
.stat-row strong { font-size: 28px; letter-spacing: -.03em; }
.stat-row span { font-size: 13px; color: var(--ink-3); }
.file-input { height: auto !important; padding: 14px !important; border-style: dashed !important; background: var(--mint) !important; }
.howto { padding: 16px; border-radius: 14px; background: #FAFCFB; font-size: 14px; }
.howto ul { margin: 8px 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }

/* 7. Responsive ------------------------------------------------------------ */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
  .site-nav { gap: 22px; }
  .float-tile--bl, .float-tile--br { display: none; }
  .float-tile--tl { left: 0; } .float-tile--tr { right: 0; }
}
@media (max-width: 960px) {
  :root { --gutter: 24px; --section-y: 72px; }
  .site-nav, .site-header__login, .hide-sm { display: none; }
  .mobile-menu { display: block; }
  .hero__stage { height: 420px; }
  .phone--left, .phone--right, .float-tile { display: none; }
  .versus { grid-template-columns: 1fr; gap: 0; }
  .versus__arrow { justify-self: center; margin: -30px 0; transform: rotate(90deg); }
  .versus__card--after { padding-left: 44px; padding-top: 56px; }
  .story, .faq { grid-template-columns: 1fr; gap: 40px; }
  .story--flip .story__copy { order: 0; }
  .story__visual { height: 520px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan--popular { transform: none; }
  .reviews { columns: 2; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .faq__side { position: static; }
  .cta-card { flex-direction: column; align-items: stretch; padding: 40px 32px; }
  .qr-card { align-self: center; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 56px; }
  .site-header__inner { height: 68px; }
  .site-header__actions .btn { padding: 9px 12px; font-size: 14px; }
  .logo { font-size: 21px; }
  .rating-badge { font-size: 13px; }
  .rating-badge .avatar-stack { display: none; }
  .btn-row { flex-direction: column; width: 100%; }
  .btn-row .btn { width: 100%; }
  .hero__stage { height: 360px; transform: scale(.85); transform-origin: top center; }
  .versus__card { padding: 28px; }
  .versus__card--after { padding: 44px 28px 28px; }
  .chips span { padding: 10px 14px; font-size: 14px; }
  .story__visual { height: 460px; }
  .story__visual .phone { transform: scale(.85); transform-origin: top center; }
  .story__badge { right: 12px; top: 60px; }
  .plans { grid-template-columns: 1fr; }
  .reviews { columns: 1; }
  .faq__list summary { font-size: 17px; }
  .faq__list details p { padding: 0 0 20px 50px; }
  .cta-card { padding: 32px 20px; border-radius: var(--radius-lg); }
  .lead-form__row { flex-direction: column; }
  .lead-form__row .btn { width: 100%; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; }
  .auth__back { display: none; }
}
@media (max-width: 960px) {
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .app { grid-template-columns: 1fr; }
  .app__side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; }
  .app__workspace { display: none; }
  .app__nav { flex-direction: row; overflow-x: auto; width: 100%; }
  .app__nav a, .app__nav span { white-space: nowrap; }
  .card--hero, .grid-2 { grid-template-columns: 1fr; }
  .user-menu summary span { display: none; }
  .inbox { grid-template-columns: 1fr; height: auto; }
  .inbox__list { border-right: 0; border-bottom: 1px solid var(--line); max-height: 45vh; }
  .inbox__pane { min-height: 70vh; }
  .msg { max-width: 88%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Market switcher (footer) */
.market-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--night-line); }
.market-switch button { padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--on-night-2); font-size: 13px; font-weight: 700; }
.market-switch button:hover { color: var(--white); }
.market-switch [aria-pressed="true"] { background: var(--white); color: var(--ink); }
