/* ==========================================================================
   Farm Khata — public site design system.
   Typographic + visual system replicated from sister product socnivo.com
   (font: Manrope; heading weight 800; card radius 22px; 1140px container).
   Brand ACCENT stays Farm Khata's indigo→violet. Mobile-first, hairline borders.
   ========================================================================== */
@font-face {
  font-family: 'Manrope';
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  /* Brand accent (Farm Khata) */
  --indigo: #4338ca;
  --mid: #5b21b6;
  --violet: #7c3aed;
  --grad: linear-gradient(135deg, #4338ca 0%, #5b21b6 55%, #7c3aed 100%);
  --grad-soft: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
  --brand: linear-gradient(135deg, #4f46e5, #6d28d9);
  /* Text */
  --ink: #191b2a;
  --muted: #6b7085;
  --faint: #9aa0b5;
  /* Surfaces */
  --bg: #f5f6fb;
  --card: #ffffff;
  --hair: #e8eaf2;
  --tint: #f0eefb;
  --on-tint: #5b21b6;
  /* Tint chips (Socnivo palette) */
  --violet-bg: #ece7fd;
  --amber-bg: #fdf0d7;
  --blue-bg: #dcebfd;
  /* Type + shape (Socnivo scale) */
  --font: 'Manrope', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-btn: 13px;
  --maxw: 1140px;
  --nav-h: 68px;
  --shadow: 0 2px 6px rgba(25, 27, 42, 0.05), 0 14px 34px rgba(25, 27, 42, 0.08);
  --shadow-soft: 0 1px 2px rgba(25, 27, 42, 0.04), 0 8px 24px rgba(25, 27, 42, 0.06);
  --shadow-lift: 0 24px 60px rgba(25, 27, 42, 0.14);
  /* Premium tinted icon-badge surface (soft indigo→violet), for icon tiles */
  --badge-bg: linear-gradient(145deg, #f1ecfe, #e6def9);
  --badge-ring: inset 0 0 0 1px rgba(91, 33, 182, 0.1);
  --badge-shadow: 0 10px 18px -12px rgba(91, 33, 182, 0.55);
  --nav-bg: rgba(245, 246, 251, 0.82);
  --nav-bg-scrolled: rgba(245, 246, 251, 0.96);
}
::selection { background: rgba(124, 58, 237, 0.16); color: var(--ink); }

* { 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(--bg);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 4vw, 41px); }
h3 { font-size: 1.15rem; }
strong, b { font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--on-tint); background: var(--tint);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; cursor: pointer;
  padding: 13px 22px; border-radius: var(--radius-btn); border: 1px solid transparent;
  min-height: 48px; text-decoration: none; transition: transform 0.06s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(91, 33, 182, 0.28); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(91, 33, 182, 0.36); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--hair); }
.btn-secondary:hover { border-color: var(--violet); color: var(--mid); }
.btn-ghost { background: transparent; color: var(--indigo); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---- Header / nav (matched to socnivo.com) ---- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
  background: var(--nav-bg-scrolled); border-bottom-color: var(--hair);
  box-shadow: 0 6px 20px rgba(25, 27, 42, 0.05);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); font-size: 1.2rem; }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.95rem; letter-spacing: -0.02em; flex: none;
  box-shadow: 0 6px 14px -6px rgba(91, 33, 182, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--muted); font-weight: 700; font-size: 14.5px; padding: 9px 12px; border-radius: 9px; transition: color 0.15s ease, background 0.15s ease; }
.nav a:not(.btn):hover { color: var(--ink); background: rgba(25, 27, 42, 0.05); text-decoration: none; }
.nav a.btn { margin-left: 6px; }
body[data-nav='guide'] .nav a[data-nav='guide']:not(.btn) { color: var(--indigo); background: var(--violet-bg); }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--hair);
  border-radius: 999px; padding: 8px 13px; font-weight: 700; font-size: 0.86rem; color: var(--ink); cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.lang-toggle:hover { border-color: var(--violet); background: var(--tint); }
.menu-btn {
  display: none; background: var(--card); border: 1px solid var(--hair); border-radius: 11px;
  width: 44px; height: 44px; cursor: pointer; font-size: 1.25rem; color: var(--ink); place-items: center;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.menu-btn:hover { border-color: var(--violet); background: var(--tint); }

@media (max-width: 860px) {
  .menu-btn { display: inline-grid; }
  .nav {
    position: fixed; inset: var(--nav-h) 10px auto 10px; background: var(--card);
    border: 1px solid var(--hair); border-radius: 18px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px; margin: 0;
    transform: translateY(-14px); visibility: hidden; pointer-events: none;
    transition: transform 0.22s ease, visibility 0.22s; box-shadow: var(--shadow-lift);
  }
  .nav.open { transform: translateY(0); visibility: visible; pointer-events: auto; }
  .nav a:not(.btn) { padding: 13px 12px; font-size: 1.02rem; border-radius: 12px; }
  .nav a.btn { margin: 8px 0 2px; width: 100%; }
  .nav .lang-toggle { margin-top: 8px; align-self: stretch; justify-content: center; }
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(800px 500px at -10% 20%, rgba(67, 56, 202, 0.12), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 56px 0 64px; }
.hero h1 { margin-bottom: 12px; }
.hero .tagline { font-size: 1.35rem; font-weight: 600; margin: 0 0 14px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .trust { margin-top: 18px; color: var(--muted); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero .trust b { color: var(--ink); }

/* Phone mockup */
.phone {
  --w: 280px;
  width: var(--w); margin: 0 auto; padding: 10px; background: #14151f; border-radius: 40px;
  box-shadow: 0 24px 60px rgba(25, 27, 42, 0.28); position: relative;
}
.phone::before {
  content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 42%; height: 22px; background: #14151f; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone img { border-radius: 30px; width: 100%; background: var(--bg); }
.phone-tilt { transform: rotate(-3deg); }
.hero .phone { --w: 300px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; text-align: center; padding: 32px 0 40px; }
  .hero .lead, .hero .trust { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .hero .phone-wrap { margin-top: 28px; }
}

/* ---- Cards / grids ---- */
.card {
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-soft);
}
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* Business cards (three engines): icon badge → English heading → list → pinned CTA */
.biz-card {
  display: flex; flex-direction: column; height: 100%; background: var(--card);
  border: 1px solid var(--hair); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-soft); color: var(--ink); text-decoration: none; position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.biz-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity 0.22s ease; }
.biz-card:hover { text-decoration: none; }
.biz-card:hover::before { opacity: 1; }
.biz-badge {
  width: 60px; height: 60px; border-radius: 17px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--badge-bg); box-shadow: var(--badge-ring), var(--badge-shadow);
  transition: transform 0.24s cubic-bezier(0.3, 1.35, 0.45, 1);
}
.biz-card:hover .biz-badge { transform: scale(1.06) rotate(-3deg); }
.biz-badge img { width: 38px; height: 38px; object-fit: contain; }
.biz-eyebrow { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.biz-title { font-size: 1.35rem; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.01em; }
.biz-lead { color: var(--muted); font-size: 0.96rem; margin: 0 0 18px; }
.biz-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.biz-list li { position: relative; padding-left: 27px; color: var(--muted); font-weight: 600; font-size: 0.9rem; line-height: 1.45; }
.biz-list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 17px; height: 17px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338ca' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.biz-cta { margin-top: auto; font-weight: 800; color: var(--indigo); font-size: 0.95rem; }
.biz-card:hover .biz-cta { text-decoration: underline; }

/* Feature cards — premium tinted icon tile (socnivo .ic) */
.feat { display: flex; flex-direction: column; gap: 8px; padding: 26px; }
.feat .fic {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 8px;
  background: var(--badge-bg); color: var(--on-tint);
  box-shadow: var(--badge-ring), var(--badge-shadow);
  transition: transform 0.24s cubic-bezier(0.3, 1.35, 0.45, 1);
}
.feat .fic svg { width: 25px; height: 25px; }
.card.feat:hover .fic { transform: scale(1.08) rotate(-3deg); }
.feat h3 { margin: 0; font-size: 1.12rem; }
.feat p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .n {
  counter-increment: step; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.step .n::before { content: counter(step); }
.step h3 { margin: 4px 0 4px; }
.step p { margin: 0; color: var(--muted); }

/* Screenshot gallery */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; align-items: start; }
.shot { text-align: center; }
.shot .cap { margin-top: 12px; font-weight: 600; font-size: 0.95rem; }
.shot .cap span { display: block; color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.shot .phone { --w: 100%; max-width: 260px; }

/* Gradient callout band */
.band { background: var(--grad); color: #fff; border-radius: 24px; padding: 44px; text-align: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.9); }
.band .btn-secondary { background: #fff; }

/* ---- Footer ---- */
.site-footer { background: #14151f; color: #c9cce0; padding: 56px 0 28px; margin-top: 24px; }
.site-footer a { color: #c9cce0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .powered { margin-top: 10px; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px; padding-top: 20px; font-size: 0.85rem; color: #8b8fa8; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.footer-note { color: #8b8fa8; font-size: 0.82rem; margin-top: 8px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ---- Coming-soon modal ---- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(20, 21, 31, 0.5); }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 20px; max-width: 440px; width: 100%; padding: 32px; text-align: center; box-shadow: var(--shadow); position: relative; }
.modal-box .badge { width: 60px; height: 60px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; margin: 0 auto 16px; font-size: 1.8rem; }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--bg); border: none; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 1.2rem; color: var(--muted); }
.notify-row { display: flex; gap: 8px; margin-top: 18px; }
.notify-row input { flex: 1; padding: 12px 14px; border: 1px solid var(--hair); border-radius: 12px; font: inherit; }
.stub-msg { display: none; margin-top: 12px; color: var(--on-tint); font-weight: 600; }

/* ---- Guides (TOC + content) ---- */
.guide-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: 84px; }
.toc h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin: 0 0 10px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--muted); font-size: 0.94rem; }
.toc a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 8px; scroll-margin-top: 84px; }
.prose h3 { margin-top: 28px; scroll-margin-top: 84px; font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose img { border-radius: 12px; }
.guide-hero { border-radius: 24px; padding: 40px; background: var(--grad); color: #fff; margin-bottom: 32px; }
.guide-hero h1 { color: #fff; }
.guide-hero p { color: rgba(255, 255, 255, 0.9); margin: 0; max-width: 600px; }
.guide-hero .native { font-weight: 600; opacity: 0.95; }

/* step-with-shot block used inside guides */
.gstep { display: grid; grid-template-columns: 1fr 220px; gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--hair); }
.gstep:first-of-type { border-top: none; }
.gstep .phone { --w: 100%; max-width: 220px; }
.gstep .txt h3 { margin-top: 0; }
@media (max-width: 720px) { .gstep { grid-template-columns: 1fr; } .gstep .phone { max-width: 240px; margin: 6px 0 0; } }

.callout { background: var(--tint); border-radius: 14px; padding: 16px 18px; color: var(--ink); margin: 18px 0; border: 1px solid #e5e0f7; }
.callout strong { color: var(--on-tint); }
.warn { background: #fff8ec; border: 1px solid #f4e3c0; border-radius: 14px; padding: 16px 18px; margin: 18px 0; }

@media (max-width: 860px) {
  .guide-layout { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: 8px; border: 1px solid var(--hair); border-radius: 14px; padding: 14px; background: #fff; }
  .toc-details summary { cursor: pointer; font-weight: 600; }
}

/* Legal prose */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { margin-top: 32px; scroll-margin-top: 84px; }
.legal p, .legal li { color: #33374a; }
.legal .updated { color: var(--faint); font-size: 0.9rem; }

/* language visibility helper (used by a few inline bilingual bits) */
[data-hi] { display: none; }
html[data-lang='hi'] [data-hi] { display: revert; }
html[data-lang='hi'] [data-en] { display: none; }

.hide { display: none !important; }

/* ==========================================================================
   Landing v2 — Socnivo-grade sections (badges, deep-dive, personas, FAQ,
   free, download). Built on the same brand tokens above.
   ========================================================================== */

/* Alternating section backgrounds + hairline separators */
.section.alt { background: #fff; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.section.tint { background: linear-gradient(180deg, #faf9ff, var(--bg)); }

/* Centered section header block */
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head h2 { margin-bottom: 12px; }
.sec-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Hero badge chip */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--hair);
  border-radius: 999px; padding: 7px 14px; font-size: 0.86rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow); margin-bottom: 18px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,0.16); flex: none; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.1rem); }
.hero .kicker { color: var(--muted); font-size: 1.15rem; margin: 0 0 22px; max-width: 560px; }
.hero .trust-line { margin-top: 20px; color: var(--muted); font-size: 0.94rem; }
.hero .trust-line b { color: var(--ink); }

/* Badge / value strip */
.badges { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.badge-tile {
  background: var(--card); border: 1px solid var(--hair); border-radius: 14px; padding: 18px 12px;
  text-align: center; box-shadow: var(--shadow);
}
.badge-tile .bt-ic { width: 34px; height: 34px; margin: 0 auto 8px; color: var(--on-tint); display: grid; place-items: center; }
.badge-tile .bt-ic svg { width: 26px; height: 26px; }
.badge-tile b { display: block; font-size: 1rem; color: var(--ink); }
.badge-tile span { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
@media (max-width: 860px) { .badges { grid-template-columns: repeat(2, 1fr); } }

/* Deep-dive: text + checklist card */
.deepdive { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.deepdive .dd-text h2 { margin-bottom: 14px; }
.deepdive .dd-text p { color: var(--muted); font-size: 1.05rem; }
.checklist { background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.checklist li .ck {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--on-tint);
  display: grid; place-items: center; margin-top: 1px;
}
.checklist li .ck svg { width: 14px; height: 14px; }
.checklist li b { color: var(--ink); }
.checklist li span { color: var(--muted); }
@media (max-width: 860px) { .deepdive { grid-template-columns: 1fr; gap: 28px; } }

/* Personas / "one app that changes" */
.persona { padding: 26px; }
.persona .p-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.persona .p-badge {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none;
  background: var(--badge-bg); box-shadow: var(--badge-ring), var(--badge-shadow);
  transition: transform 0.24s cubic-bezier(0.3, 1.35, 0.45, 1);
}
.card.persona:hover .p-badge { transform: scale(1.06) rotate(-3deg); }
.persona .p-badge img { width: 32px; height: 32px; object-fit: contain; }
.persona .p-head .en { color: var(--ink); font-weight: 800; font-size: 1.18rem; line-height: 1.15; letter-spacing: -0.01em; }
.persona .p-head .native { color: var(--faint); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.persona ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.persona li { position: relative; padding-left: 27px; color: var(--muted); font-weight: 600; font-size: 0.92rem; line-height: 1.45; }
.persona li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 17px; height: 17px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338ca' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Reason cards (why us) reuse .feat; add a check accent variant */
.reason .fic { background: var(--tint); }

/* Free section */
.free-card {
  background: var(--card); border: 1px solid var(--hair); border-radius: 24px; box-shadow: var(--shadow);
  padding: 44px; text-align: center; position: relative; overflow: hidden;
}
.free-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(600px 300px at 50% -20%, rgba(124,58,237,0.10), transparent 60%);
}
.free-card > * { position: relative; z-index: 1; }
.free-price { font-size: clamp(2.6rem, 8vw, 4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin: 8px 0 6px; }
.free-list { list-style: none; margin: 24px auto 8px; padding: 0; max-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; text-align: left; }
.free-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 0.96rem; }
.free-list li::before { content: '✓'; color: #16a34a; font-weight: 800; flex: none; }
@media (max-width: 640px) { .free-list { grid-template-columns: 1fr; } .free-card { padding: 32px 22px; } }

/* FAQ accordion */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--hair); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform 0.2s ease; margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: 2px; }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* Download / coming-soon section */
.download-band { background: var(--grad); color: #fff; border-radius: 28px; padding: 52px 44px; text-align: center; position: relative; overflow: hidden; }
.download-band h2 { color: #fff; }
.download-band p { color: rgba(255, 255, 255, 0.92); max-width: 560px; margin-left: auto; margin-right: auto; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 26px 0 10px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28); border-radius: 14px; padding: 12px 20px; color: #fff; cursor: pointer;
  text-align: left; transition: background 0.2s ease;
}
.store-badge:hover { background: rgba(255,255,255,0.2); text-decoration: none; color: #fff; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-t { display: block; font-size: 0.7rem; opacity: 0.82; text-transform: uppercase; letter-spacing: 0.04em; }
.store-badge .sb-n { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.1; }
.store-badge .soon { display: inline-block; font-size: 0.62rem; font-weight: 700; background: #fff; color: var(--mid); border-radius: 999px; padding: 2px 7px; margin-left: 4px; vertical-align: middle; }
.dl-notify { display: flex; gap: 8px; max-width: 420px; margin: 18px auto 0; }
.dl-notify input { flex: 1; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.14); color: #fff; font: inherit; }
.dl-notify input::placeholder { color: rgba(255,255,255,0.7); }
.dl-notify .btn-secondary { background: #fff; }
.dl-stub { display: none; margin-top: 14px; font-weight: 600; color: #fff; }
@media (max-width: 560px) { .download-band { padding: 36px 22px; } .dl-notify { flex-direction: column; } }

/* Guide index (Socnivo-style grouped TOC on guide hub / long guides) */
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 16px 0 0; }
.guide-meta .pill { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28); color: #fff; border-radius: 999px; padding: 6px 13px; font-size: 0.85rem; font-weight: 600; }
.index-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.index-group h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--faint); margin: 0 0 8px; }
.index-group ol, .index-group ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 3px; }
.index-group a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: 0.95rem; }
.index-group a:hover { background: var(--tint); color: var(--on-tint); text-decoration: none; }
.index-group a .num { color: var(--faint); font-variant-numeric: tabular-nums; margin-right: 8px; }
@media (max-width: 700px) { .index-groups { grid-template-columns: 1fr; } }

/* Guide step group (numbered, with clustered screenshots — Socnivo join-flow style) */
.g-section { padding: 40px 0; border-top: 1px solid var(--hair); scroll-margin-top: 84px; }
.g-section:first-of-type { border-top: none; }
.g-section .g-sum { color: var(--muted); font-size: 1.05rem; margin: -2px 0 18px; }
.g-steps { counter-reset: gstep; margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 14px; }
.g-steps > li { display: flex; gap: 14px; align-items: flex-start; }
.g-steps > li::before {
  counter-increment: gstep; content: counter(gstep); flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--tint); color: var(--on-tint); font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; margin-top: 1px;
}
.g-steps > li > div { padding-top: 3px; }
.g-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 22px 0 4px; align-items: start; }
.g-shots.cols-2 { grid-template-columns: repeat(2, minmax(0, 220px)); }
.g-shots .shot .phone { --w: 100%; max-width: 220px; }
.g-shots .shot .cap { margin-top: 10px; font-size: 0.86rem; font-style: italic; color: var(--muted); font-weight: 400; }
.tip { background: var(--tint); border-radius: 12px; padding: 13px 16px; margin: 16px 0; font-size: 0.95rem; border: 1px solid #e5e0f7; }
.tip strong { color: var(--on-tint); }
.backtotop { display: inline-block; margin-top: 8px; font-size: 0.85rem; color: var(--faint); }

/* ==========================================================================
   How-to single-page guide — layout replicated from socnivo.com/how-to-use
   (sticky grouped sidebar + numbered section.doc blocks + phone-framed shots).
   ========================================================================== */
.doc-layout { display: flex; gap: 0; max-width: var(--maxw); margin: 0 auto; align-items: flex-start; }
.sidebar {
  width: 252px; flex: 0 0 252px; position: sticky; top: var(--nav-h); align-self: flex-start;
  height: calc(100vh - var(--nav-h)); overflow-y: auto; background: var(--card);
  border-right: 1px solid var(--hair); padding: 22px 14px 48px;
}
.sidebar-search {
  width: 100%; padding: 9px 12px; border: 1px solid var(--hair); border-radius: 10px; font: inherit;
  font-size: 13.5px; margin-bottom: 14px; background: var(--bg); color: var(--ink);
}
.nav-group { margin-bottom: 14px; }
.nav-group-title { font-size: 11px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--faint); padding: 6px 10px; }
.nav-link { display: block; padding: 7px 10px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 13.5px; border-left: 2px solid transparent; }
.nav-link:hover { background: var(--bg); color: var(--ink); text-decoration: none; }
.nav-link.active { color: var(--indigo); background: var(--violet-bg); border-left-color: var(--indigo); }
.nav-link.hidden, .nav-group.hidden, .no-results.hidden { display: none; }
.no-results { color: var(--faint); font-size: 13px; font-weight: 600; padding: 8px 12px; margin: 0; }

.doc-content { flex: 1 1 auto; min-width: 0; padding: 0 44px 120px; max-width: 908px; }
.doc-hero { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 40px 36px; margin: 30px 0 10px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.doc-hero .native { font-weight: 700; opacity: 0.92; margin-bottom: 6px; }
.doc-hero h1 { color: #fff; margin: 0 0 12px; }
.doc-hero p { color: rgba(255, 255, 255, 0.92); margin: 0; max-width: 640px; font-weight: 500; }
.doc-hero .guide-meta { margin-top: 18px; }
.doc-intro { color: var(--muted); font-size: 15.5px; font-weight: 500; margin: 20px 0 4px; max-width: 720px; }
.doc-intro b, .doc-realcap { color: var(--ink); font-weight: 800; }

section.doc { scroll-margin-top: 84px; padding-top: 30px; margin-top: 10px; border-top: 1px solid var(--hair); }
section.doc.group-start { border-top: none; }
section.doc > h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.4px; margin: 0 0 4px; display: flex; align-items: center; gap: 12px; scroll-margin-top: 84px; }
section.doc > h2 .num { font-size: 13px; font-weight: 800; color: #fff; background: var(--grad); border-radius: 9px; width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 30px; }
.doc-sum { color: var(--muted); font-weight: 500; margin: 2px 0 14px; }

ol.steps { margin: 0 0 4px; padding: 0; list-style: none; counter-reset: step; }
ol.steps > li { position: relative; padding: 0 0 15px 40px; counter-increment: step; color: var(--ink); font-weight: 500; }
ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--violet-bg); color: var(--violet); font-size: 13px; font-weight: 800; display: grid; place-items: center;
}
ol.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 26px; bottom: 2px; width: 2px; background: var(--hair); }
ol.steps b { font-weight: 800; }

.tip { display: flex; gap: 10px; background: var(--amber-bg); border-radius: var(--radius-btn); padding: 12px 16px; margin: 16px 0 4px; font-size: 13.5px; color: #7a4f12; font-weight: 600; }
.tip.note { background: var(--blue-bg); color: #1a3a8f; }
.tip.warn { background: #fce3e7; color: #9a2233; }
.tip b { font-weight: 800; }
.tip a { color: inherit; text-decoration: underline; }
.tip::before { content: "💡"; flex: 0 0 auto; }
.tip.note::before { content: "ℹ️"; }
.tip.warn::before { content: "⚠️"; }

.shots { display: flex; gap: 22px; flex-wrap: wrap; margin: 18px 0 4px; align-items: flex-start; }
.shot { width: 224px; max-width: 100%; }
.shot .phone { --w: 100%; margin: 0; }
.shot .cap { font-size: 12.5px; color: var(--muted); font-weight: 600; font-style: italic; margin-top: 10px; text-align: center; }
/* How-to guide: center the phone-framed screenshots within the content column
   (to the right of the sticky sidebar), with balanced spacing above/below. */
.doc-content .shots { justify-content: center; align-items: flex-start; margin: 26px auto 10px; }
.doc-content .shot { width: 240px; max-width: 100%; }
.doc-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }

.sidebar-toggle { display: none; }
@media (max-width: 900px) {
  .doc-content { padding: 0 20px 100px; max-width: none; }
  .sidebar {
    position: fixed; z-index: 60; top: var(--nav-h); left: 0; width: 264px; flex-basis: 264px;
    transform: translateX(-100%); transition: transform 0.25s ease; box-shadow: var(--shadow);
  }
  body.doc-nav-open .sidebar { transform: translateX(0); }
  .sidebar-toggle {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; z-index: 61; bottom: 20px; left: 50%; transform: translateX(-50%);
    padding: 12px 20px; border-radius: 999px; background: var(--grad); color: #fff; border: none; font: inherit; font-weight: 800; font-size: 14px;
    box-shadow: 0 8px 24px rgba(91, 33, 182, 0.4); cursor: pointer;
  }
}

/* ==========================================================================
   Motion & polish — scroll reveal, hero animation, hovers, count-up.
   Transforms/opacity only; fully disabled under prefers-reduced-motion.
   ========================================================================== */
/* Keyframes must live at top level (nesting them inside @media makes some
   browsers ignore them). The animation USAGE stays gated by the media query. */
@keyframes revealUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeScale { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes auroraShift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(2.5%, -1.5%, 0) scale(1.08); } }

@media (prefers-reduced-motion: no-preference) {
  /* Reveal via TRANSITION (not animation): if a browser throttles/disables the
     transition, adding .in still applies the end state instantly — content is
     never left hidden. */
  html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
  html.js .reveal.in { opacity: 1; transform: none; }

  /* Hero entrance + gentle motion accents */
  .hero-copy > * { animation: fadeUp 0.7s both; }
  .hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.20s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.36s; }
  .hero-visual { animation: fadeScale 1s 0.18s both; }
  .hero .phone { animation: floatY 6.5s ease-in-out 1.1s infinite; }
  .hero::before { animation: auroraShift 16s ease-in-out infinite alternate; }
}

/* Hover lift (works regardless of motion preference — subtle, instant intent feedback) */
.card, .cat-tile { transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.card:hover, .cat-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(25, 27, 42, 0.14); border-color: #dcd7f6; }
.faq-item { transition: border-color 0.2s ease; }
.faq-item:hover { border-color: #dcd7f6; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(91, 33, 182, 0.42); }
.btn-secondary:hover { transform: translateY(-2px); }
.store-badge { transition: transform 0.2s ease, background 0.2s ease; }
.store-badge:hover { transform: translateY(-2px); }
[data-count] { font-variant-numeric: tabular-nums; }

/* ---- Category showcase: all 17 real icons, one by one ---- */
.cat-group { margin-top: 40px; }
.cat-group:first-of-type { margin-top: 6px; }
.cat-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cat-group-head .cg-badge {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--badge-bg); box-shadow: var(--badge-ring), var(--badge-shadow);
}
.cat-group-head .cg-badge img { width: 28px; height: 28px; object-fit: contain; }
.cat-group-head .en { color: var(--ink); font-weight: 800; font-size: 1.15rem; line-height: 1.1; letter-spacing: -0.01em; }
.cat-group-head .native { color: var(--faint); font-weight: 700; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-tile { display: flex; gap: 15px; align-items: center; background: var(--card); border: 1px solid var(--hair); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow-soft); }
/* Each icon in a consistent tinted tile so the mixed line-art/colour icons read cohesively */
.cat-tile img { width: 52px; height: 52px; padding: 11px; border-radius: 14px; background: var(--badge-bg); box-shadow: var(--badge-ring); object-fit: contain; flex: none; box-sizing: border-box; }
.cat-tile .ct-name { font-weight: 800; font-size: 1rem; margin: 0 0 3px; }
.cat-tile .ct-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.46; margin: 0; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }
