/* Snapitto public site — design system + components. Snap Red brand, Archivo headings, Inter body. */
:root {
  --red: #ec3013;
  --red-600: #d12a0f;
  --red-50: #fff1ee;
  --red-100: #ffe0da;
  --ink: #14151c;
  --ink-2: #3a3c48;
  --muted: #6b6e7b;
  --line: #ebe7e5;
  --bg: #fbf9f8;
  --card: #ffffff;
  --green: #16a34a;
  --amber: #d97706;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 21, 28, 0.06), 0 1px 3px rgba(20, 21, 28, 0.04);
  --shadow: 0 10px 30px rgba(20, 21, 28, 0.08);
  --shadow-lg: 0 30px 80px rgba(236, 48, 19, 0.18), 0 10px 30px rgba(20, 21, 28, 0.1);
  --head: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
section { position: relative; }
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; font: 700 1rem var(--body); cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s; text-decoration: none !important; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(236, 48, 19, 0.35); }
.btn-primary:hover { background: var(--red-600); box-shadow: 0 12px 30px rgba(236, 48, 19, 0.45); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn svg { transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 248, 0.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(20, 21, 28, 0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.brand-mark { width: 38px; height: 38px; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand:hover .brand-mark { transform: rotate(-10deg) scale(1.08); }
.brand-word { font: 900 1.45rem var(--head); letter-spacing: -0.03em; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a, .nav-drop-btn { padding: 9px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 0.97rem; background: none; border: 0; cursor: pointer; font-family: var(--body); display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important; }
.main-nav > a:hover, .nav-drop-btn:hover, .main-nav a[aria-current] { background: var(--red-50); color: var(--red); }
.main-nav .btn-primary[aria-current], .main-nav .btn-primary:hover { background: var(--red); color: #fff; }
.nav-dropdown { position: relative; }
.nav-drop-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; opacity: 0; transform: translateY(6px); pointer-events: none; transition: 0.18s; }
.nav-dropdown:hover .nav-drop-menu, .nav-dropdown.open .nav-drop-menu, .nav-dropdown:focus-within .nav-drop-menu { opacity: 1; transform: none; pointer-events: auto; }
.nav-drop-menu a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none !important; }
.nav-drop-menu a:hover, .nav-drop-menu a[aria-current] { background: var(--red-50); }
.nav-drop-menu strong { font-size: 0.95rem; }
.nav-drop-menu span { font-size: 0.82rem; color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.nav-login { padding: 9px 14px; font-weight: 700; color: var(--ink) !important; border-radius: 10px; text-decoration: none !important; }
.nav-login:hover { background: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.nav-toggle span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- hero ---- */
.hero { padding: 56px 0 96px; }
body { overflow-x: clip; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; animation: drift 14s ease-in-out infinite alternate; }
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, rgba(236, 48, 19, 0.28), transparent 70%); top: -160px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: radial-gradient(circle, rgba(255, 170, 120, 0.35), transparent 70%); bottom: -180px; left: -140px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.12); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 900; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero h1 .hl { color: var(--red); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px; background: var(--red-100); z-index: -1; border-radius: 6px; transform-origin: left; animation: underline 1s 0.6s both cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes underline { from { transform: scaleX(0); } }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--ink-2); font-size: 0.95rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--green); flex-shrink: 0; }
.fade-up { animation: fadeUp 0.8s both cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-up.d1 { animation-delay: 0.1s; } .fade-up.d2 { animation-delay: 0.2s; } .fade-up.d3 { animation-delay: 0.3s; } .fade-up.d4 { animation-delay: 0.4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }

/* ---- live till mockup ---- */
.till-stage { position: relative; padding: 10px 0 30px 10px; }
.till { position: relative; background: #fff; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform 0.6s; }
.till:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(0); }
.till-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--ink); color: #fff; font-size: 0.82rem; }
.till-dots { display: flex; gap: 6px; } .till-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ffffff33; }
.till-title { font-weight: 700; flex: 1; }
.net-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; background: #16a34a26; color: #6ee7a0; transition: 0.4s; }
.net-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.net-pill.off { background: #d9770626; color: #fbbf5c; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.7); } }
.till-body { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 340px; }
.till-menu { padding: 14px; background: #faf7f6; border-right: 1px solid var(--line); }
.till-tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow: hidden; }
.till-tabs span { padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.74rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.till-tabs span:first-child { background: var(--red); color: #fff; border-color: var(--red); }
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.tile { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 13px; padding: 12px 10px; text-align: center; font-size: 0.78rem; transition: 0.2s; }
.tile b { display: block; font-size: 0.82rem; } .tile span { color: var(--red); font-weight: 700; }
.tile .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--red-50); margin: 0 auto 6px; display: grid; place-items: center; font-size: 15px; }
.tile.hit { border-color: var(--red); transform: scale(0.94); background: var(--red-50); }
.tile.hit::after { content: ""; position: absolute; inset: 0; border-radius: 13px; box-shadow: 0 0 0 0 rgba(236, 48, 19, 0.5); animation: ripple 0.6s; }
@keyframes ripple { to { box-shadow: 0 0 0 16px rgba(236, 48, 19, 0); } }
.till-order { padding: 14px; display: flex; flex-direction: column; }
.order-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.order-no { font: 800 1rem var(--head); }
.order-no small { color: var(--muted); font-weight: 600; font-family: var(--body); margin-left: 4px; }
.status { padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; background: #eceaf3; color: #555; transition: 0.3s; }
.status.placed { background: #dbeafe; color: #1d4ed8; } .status.preparing { background: #fef3c7; color: #b45309; } .status.done { background: #dcfce7; color: #15803d; }
.lines { flex: 1; display: flex; flex-direction: column; gap: 7px; min-height: 130px; }
.line { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 7px 9px; background: #faf7f6; border-radius: 9px; opacity: 0; transform: translateX(20px); transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.line.show { opacity: 1; transform: none; }
.line b { font-weight: 600; } .line span { font-variant-numeric: tabular-nums; font-weight: 700; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 8px; }
.total-row span { font-size: 0.8rem; color: var(--muted); } .total-row b { font: 800 1.35rem var(--head); font-variant-numeric: tabular-nums; }
.till-btn { margin-top: 10px; border-radius: 11px; padding: 10px; text-align: center; font-weight: 800; font-size: 0.86rem; background: var(--red); color: #fff; transition: 0.25s; }
.till-btn.press { transform: scale(0.95); background: var(--red-600); }
.till-btn.paid { background: var(--green); }
.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: 0.8rem; opacity: 0; transition: opacity 0.4s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.float.show { opacity: 1; transform: none !important; }
.kot { left: -34px; bottom: 6px; width: 170px; padding: 12px 14px; font-family: "SF Mono", Menlo, monospace; font-size: 0.7rem; transform: translateY(40px) rotate(-5deg); background: #fffef7; border-radius: 4px 4px 14px 14px; clip-path: polygon(0 0, 100% 0, 100% 100%, 95% 96%, 90% 100%, 85% 96%, 80% 100%, 75% 96%, 70% 100%, 65% 96%, 60% 100%, 55% 96%, 50% 100%, 45% 96%, 40% 100%, 35% 96%, 30% 100%, 25% 96%, 20% 100%, 15% 96%, 10% 100%, 5% 96%, 0 100%); }
.kot strong { display: block; text-align: center; letter-spacing: 0.1em; margin-bottom: 4px; }
.kot hr { border: 0; border-top: 1px dashed #bbb; margin: 5px 0; }
.toast { right: -14px; top: 60px; padding: 11px 15px; display: flex; align-items: center; gap: 10px; transform: translateX(30px); font-weight: 700; }
.toast .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.sync { right: 10px; bottom: -6px; padding: 9px 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; transform: translateY(20px); }
.sync .spin { width: 14px; height: 14px; border: 2.5px solid var(--green); border-top-color: transparent; border-radius: 50%; animation: spin 0.9s linear infinite; }
.sync.off .spin { border-color: var(--amber); border-top-color: transparent; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- logo strip / trust ---- */
.trust { padding: 0 0 40px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.trust-row span { display: flex; align-items: center; gap: 9px; }
.trust-row svg { color: var(--red); }

/* ---- flow (how it works) ---- */
.flow { background: #fff; border-block: 1px solid var(--line); }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow-line { position: absolute; left: 12.5%; right: 12.5%; top: 38px; height: 4px; background: var(--line); border-radius: 4px; }
.flow-line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), #ff8a5c); border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform 1.8s cubic-bezier(0.3, 0.7, 0.2, 1); }
.flow.in .flow-line i { transform: scaleX(1); }
.flow-step { position: relative; text-align: center; padding: 0 8px; }
.flow-num { width: 76px; height: 76px; border-radius: 24px; margin: 0 auto 18px; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font: 900 1.6rem var(--head); color: var(--muted); position: relative; z-index: 1; transition: 0.5s; }
.flow.in .flow-step .flow-num { border-color: var(--red); color: #fff; background: var(--red); box-shadow: 0 12px 28px rgba(236, 48, 19, 0.35); }
.flow.in .flow-step:nth-child(2) .flow-num { transition-delay: 0.3s; } .flow.in .flow-step:nth-child(3) .flow-num { transition-delay: 0.9s; } .flow.in .flow-step:nth-child(4) .flow-num { transition-delay: 1.5s; } .flow.in .flow-step:nth-child(5) .flow-num { transition-delay: 2s; }
.flow-step h3 { font-size: 1.2rem; margin-bottom: 8px; } .flow-step p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }
.flow-cta { text-align: center; margin-top: 52px; }

/* ---- why grid ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; overflow: hidden; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--red-100); }
.why-card h3 { font-size: 1.3rem; margin: 18px 0 8px; } .why-card p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }
.art { height: 96px; border-radius: 16px; background: var(--red-50); position: relative; overflow: hidden; display: grid; place-items: center; }
/* mini animated illustrations */
.art-sync .node { position: absolute; width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 2px solid var(--red); display: grid; place-items: center; font-size: 18px; }
.art-sync .n1 { left: 14%; } .art-sync .n2 { right: 14%; border-color: var(--green); }
.art-sync .wire { position: absolute; left: 28%; right: 28%; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, #d8b7af 0 6px, transparent 6px 12px); }
.art-sync .pkt { position: absolute; top: calc(50% - 5px); left: 28%; width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pkt 2.4s infinite; }
.art-sync .pkt:nth-of-type(2) { animation-delay: 0.8s; } .art-sync .pkt:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes pkt { 0% { left: 28%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(72% - 10px); opacity: 0; } }
.art-multi svg { width: 100%; height: 100%; }
.art-multi .link { stroke: #e3b3a8; stroke-width: 2; stroke-dasharray: 4 5; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.art-multi .hub { animation: pulse 2s infinite; transform-origin: center; }
.art-live .bars { display: flex; align-items: flex-end; gap: 7px; height: 56px; }
.art-live .bars i { width: 12px; border-radius: 6px 6px 3px 3px; background: var(--red); animation: bar 1.6s ease-in-out infinite; }
.art-live .bars i:nth-child(2) { animation-delay: 0.2s; background: #ff7a5c; } .art-live .bars i:nth-child(3) { animation-delay: 0.4s; } .art-live .bars i:nth-child(4) { animation-delay: 0.6s; background: #ff7a5c; } .art-live .bars i:nth-child(5) { animation-delay: 0.8s; }
@keyframes bar { 0%, 100% { height: 22px; } 50% { height: 54px; } }
.art-gst .inv { width: 82px; height: 78px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-sm); padding: 9px 10px; display: flex; flex-direction: column; gap: 6px; transform: rotate(-4deg); }
.art-gst .inv i { height: 5px; background: #eee; border-radius: 3px; } .art-gst .inv i:nth-child(1) { width: 60%; background: var(--red); } .art-gst .inv i:nth-child(3) { width: 80%; } .art-gst .inv i:nth-child(4) { width: 45%; }
.art-gst .stamp { position: absolute; right: 26%; bottom: 14px; font: 900 0.62rem var(--head); color: var(--green); border: 2px solid var(--green); padding: 2px 6px; border-radius: 6px; transform: rotate(12deg) scale(0); animation: stamp 3s infinite; }
@keyframes stamp { 0%, 35% { transform: rotate(12deg) scale(0); } 45% { transform: rotate(12deg) scale(1.25); } 52%, 92% { transform: rotate(12deg) scale(1); } 100% { transform: rotate(12deg) scale(0); } }
.art-print .prn { width: 74px; height: 34px; background: var(--ink); border-radius: 8px; position: relative; }
.art-print .paper { position: absolute; left: calc(50% - 26px); top: 10px; width: 52px; height: 44px; background: #fff; border-radius: 3px 3px 0 0; padding: 6px; display: flex; flex-direction: column; gap: 4px; animation: paper 2.6s ease-in-out infinite; box-shadow: var(--shadow-sm); }
.art-print .paper i { height: 4px; background: #ddd; border-radius: 2px; }
@keyframes paper { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(20px); } }
.art-price .coin { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(145deg, #ffb347, #f59e0b); color: #fff; font: 900 1.5rem var(--head); display: grid; place-items: center; animation: flip 3.2s infinite; box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4); }
@keyframes flip { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(360deg); } }

/* ---- offline showcase ---- */
.showcase { background: var(--ink); color: #fff; overflow: hidden; }
.showcase h2, .showcase h3 { color: #fff; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.showcase .lead { color: #c9cad3; }
.tick-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; color: #e6e7ee; }
.tick-list svg { color: #6ee7a0; flex-shrink: 0; margin-top: 3px; }
.offline-demo { background: #1d1f2a; border: 1px solid #2c2f3d; border-radius: 24px; padding: 26px; position: relative; }
.od-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.od-net { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: #16a34a26; color: #6ee7a0; transition: 0.4s; font-size: 0.9rem; }
.od-net.off { background: #d9770626; color: #fbbf5c; }
.od-queue { display: grid; gap: 9px; min-height: 172px; }
.od-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: #262938; font-size: 0.92rem; animation: slideIn 0.5s both; transition: 0.6s; }
.od-item .badge { font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #d9770633; color: #fbbf5c; }
.od-item.synced .badge { background: #16a34a33; color: #6ee7a0; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-24px); } }
.od-cloud { margin-top: 16px; text-align: center; color: #8d90a3; font-size: 0.85rem; }

/* ---- platforms ---- */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-align: center; transition: 0.25s; }
.plat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plat svg { width: 44px; height: 44px; color: var(--red); margin-bottom: 12px; }
.plat h3 { margin-bottom: 6px; font-size: 1.2rem; } .plat p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

/* ---- pricing ---- */
.billing-toggle { display: inline-grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 40px; position: relative; }
.billing-toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 26px; white-space: nowrap; border-radius: 999px; font: 700 0.95rem var(--body); color: var(--ink-2); cursor: pointer; transition: color 0.2s; }
.billing-toggle button.active { color: #fff; }
.billing-toggle .thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: var(--red); border-radius: 999px; transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1); }
.billing-toggle[data-cycle="yearly"] .thumb { transform: translateX(100%); }
.save-tag { font-size: 0.68rem; background: #dcfce7; color: #15803d; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.billing-toggle button.active .save-tag { background: #fff; }
.plan-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan-grid .plan { padding: 26px 20px; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; position: relative; transition: transform 0.25s, box-shadow 0.25s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.featured { border-color: var(--red); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font: 800 0.72rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; } .plan .tag { color: var(--muted); font-size: 0.9rem; margin: 4px 0 18px; min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price b { font: 900 2.5rem var(--head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; } .price span { color: var(--muted); font-weight: 600; }
.price-note { font-size: 0.82rem; color: var(--muted); min-height: 1.3em; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--ink-2); } .plan li svg { color: var(--green); flex-shrink: 0; margin-top: 4px; } .plan li.off { color: #b3b5c0; } .plan li.off svg { color: #ccc; }
.plan .btn { width: 100%; }
.compare { margin-top: 70px; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.95rem; }
.compare th, .compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 600; }
.compare thead th { font: 800 1rem var(--head); background: #faf7f6; } .compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--green); font-weight: 800; } .compare .no { color: #c4c6cf; }
.fine { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: 18px; }

/* ---- resources teaser / cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.res-card, .doc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; color: var(--ink); text-decoration: none !important; transition: 0.25s; }
.res-card:hover, .doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--red-100); }
.res-card svg, .doc-card-icon svg { color: var(--red); } .res-card h3, .doc-card h3 { font-size: 1.15rem; margin: 14px 0 6px; } .res-card p, .doc-card p { color: var(--ink-2); font-size: 0.93rem; margin: 0 0 14px; flex: 1; }
.res-card .more, .doc-card-meta { color: var(--red); font-weight: 700; font-size: 0.88rem; }
.doc-card-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--red-50); display: grid; place-items: center; }

/* ---- faq ---- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--red-100); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: none; border: 0; font: 700 1.05rem var(--body); color: var(--ink); text-align: left; cursor: pointer; }
.faq-q .plus { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--red-50); color: var(--red); display: grid; place-items: center; transition: transform 0.3s, background 0.3s; font-size: 18px; line-height: 1; }
.faq-item.open .plus { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 24px 22px; margin: 0; color: var(--ink-2); }
.faq-cat { max-width: 820px; margin: 34px auto 12px; font-size: 1.05rem; color: var(--red); }

/* ---- cta band ---- */
.cta-band { padding: 0 0 96px; }
.cta-inner { position: relative; overflow: hidden; background: var(--red); color: #fff; border-radius: 32px; padding: 64px 40px; text-align: center; }
.cta-inner::before, .cta-inner::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); animation: drift 10s ease-in-out infinite alternate; }
.cta-inner::before { top: -140px; left: -80px; } .cta-inner::after { bottom: -160px; right: -60px; animation-delay: -5s; }
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 14px; position: relative; } .cta-inner p { color: #ffe3dd; font-size: 1.15rem; margin-bottom: 28px; position: relative; }
.cta-inner .btn { position: relative; background: #fff; color: var(--red); } .cta-inner .btn:hover { background: #fff; }
.article-cta { width: min(1180px, 100% - 40px); margin: 0 auto 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 32px; }
.article-cta div { display: flex; flex-direction: column; } .article-cta span { color: var(--ink-2); }

/* ---- page hero + guides ---- */
.page-hero { padding: 64px 0 40px; background: linear-gradient(180deg, #fff1ee, transparent); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; margin-bottom: 14px; }
.search-box { margin-top: 26px; max-width: 520px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 20px; color: var(--muted); transition: 0.2s; }
.search-box:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-50); }
.search-box input { flex: 1; border: 0; outline: 0; background: none; padding: 12px 0; font: 500 1rem var(--body); color: var(--ink); }
.guide-index { padding-bottom: 40px; } .doc-group { margin-bottom: 44px; } .doc-group h2 { font-size: 1.4rem; margin-bottom: 18px; }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding: 48px 0 56px; align-items: start; }
.doc-side { position: sticky; top: 96px; display: grid; gap: 4px; font-size: 0.94rem; max-height: calc(100vh - 120px); overflow: auto; }
.doc-side .back-link { font-weight: 700; margin-bottom: 14px; }
.side-group { margin-bottom: 14px; } .side-group h4 { font: 800 0.72rem var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px 10px; }
.side-group a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none !important; } .side-group a:hover { background: #fff; } .side-group a[aria-current] { background: var(--red-50); color: var(--red); font-weight: 700; }
.doc-article { max-width: 760px; } .doc-article h1, .post-article h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 14px; }
.prose { font-size: 1.05rem; color: var(--ink-2); line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 0.5em; color: var(--ink); } .prose h3 { font-size: 1.2rem; margin: 1.6em 0 0.4em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; } .prose li { margin-bottom: 0.45em; } .prose li::marker { color: var(--red); font-weight: 700; }
.prose code { background: #f1ecea; padding: 2px 7px; border-radius: 6px; font-size: 0.9em; color: var(--ink); }
.prose pre { background: var(--ink); color: #f3f2f2; padding: 18px 20px; border-radius: 14px; overflow: auto; margin: 0 0 1.4em; } .prose pre code { background: none; color: inherit; padding: 0; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; background: var(--red-50); border-left: 4px solid var(--red); border-radius: 0 14px 14px 0; color: var(--ink); }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.prev-next a { display: flex; flex-direction: column; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none !important; transition: 0.2s; } .prev-next a:hover { border-color: var(--red); } .prev-next a.next { text-align: right; } .prev-next small { color: var(--muted); font-size: 0.78rem; } .prev-next span { font-weight: 700; }

/* ---- blog ---- */
.blog-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 56px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); text-decoration: none !important; transition: 0.25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-feature { grid-column: span 3; flex-direction: row; } .post-feature .post-art { flex: 1.1; min-height: 300px; } .post-feature .post-body { flex: 1; justify-content: center; } .post-feature h3 { font-size: 2rem; }
.post-art { height: 170px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--h1, #ec3013), var(--h2, #ff8a5c)); }
.post-art::before, .post-art::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.18); animation: drift 9s ease-in-out infinite alternate; } .post-art::before { width: 160px; height: 160px; top: -40px; right: -30px; } .post-art::after { width: 100px; height: 100px; bottom: -30px; left: 30px; animation-delay: -4s; }
.post-body { display: flex; flex-direction: column; padding: 24px 26px 26px; gap: 8px; flex: 1; } .post-body h3 { font-size: 1.25rem; } .post-body p { color: var(--ink-2); font-size: 0.95rem; margin: 0; flex: 1; }
.post-tag { align-self: flex-start; background: var(--red-50); color: var(--red); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.post-meta { color: var(--muted); font-size: 0.85rem; }
.post-article { max-width: 780px; padding: 56px 0 40px; } .post-article .back-link { display: inline-block; margin-bottom: 18px; font-weight: 700; } .byline { color: var(--muted); margin: 18px 0 34px; font-weight: 500; }
.more-posts { padding-bottom: 20px; } .more-posts h2 { font-size: 1.6rem; margin-bottom: 20px; } .more-posts .blog-index { grid-template-columns: repeat(2, 1fr); }

/* ---- forms / auth ---- */
.auth-wrap { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.auth-side::before, .auth-side::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); animation: drift 12s ease-in-out infinite alternate; } .auth-side::before { width: 380px; height: 380px; background: rgba(236, 48, 19, 0.5); top: -120px; right: -100px; } .auth-side::after { width: 320px; height: 320px; background: rgba(255, 150, 100, 0.35); bottom: -120px; left: -80px; animation-delay: -6s; }
.auth-side > * { position: relative; z-index: 1; } .auth-side h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 16px; } .auth-side p { color: #d3d4dc; font-size: 1.08rem; max-width: 42ch; }
.auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; } .auth-points li { display: flex; gap: 12px; align-items: center; color: #eceef4; } .auth-points .ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; flex-shrink: 0; }
.auth-main { display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: min(460px, 100%); }
.auth-card h1 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; } .auth-card > p { color: var(--ink-2); margin-bottom: 26px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; } .field label { font-weight: 700; font-size: 0.92rem; } .field small { color: var(--muted); font-size: 0.82rem; }
.field input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: 500 1rem var(--body); background: #fff; color: var(--ink); transition: 0.2s; }
.field input:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-50); }
.field.invalid input { border-color: #dc2626; } .field .err { color: #dc2626; font-size: 0.84rem; font-weight: 600; min-height: 1.1em; }
.pw-wrap { position: relative; } .pw-wrap input { padding-right: 70px; } .pw-wrap button { position: absolute; right: 8px; top: 8px; bottom: 8px; border: 0; background: none; color: var(--red); font-weight: 700; cursor: pointer; padding: 0 10px; border-radius: 8px; }
.pw-meter { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; } .pw-meter i { display: block; height: 100%; width: 0; background: #dc2626; transition: width 0.3s, background 0.3s; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.steps-dots { display: flex; gap: 8px; margin-bottom: 28px; } .steps-dots i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); transition: 0.4s; } .steps-dots i.on { background: var(--red); }
.form-step { display: none; } .form-step.active { display: block; animation: fadeUp 0.45s both; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; } .form-actions .btn { flex: 1; }
.banner-err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 12px; padding: 12px 16px; font-weight: 600; margin-bottom: 18px; font-size: 0.93rem; }
.alt-link { text-align: center; margin-top: 22px; color: var(--ink-2); }
.creating { text-align: center; } .creating h2 { font-size: 1.8rem; margin-bottom: 8px; }
.build-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; text-align: left; }
.build-list li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-weight: 600; transition: 0.4s; }
.build-list li .ck { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: 0.4s; color: transparent; }
.build-list li.active { color: var(--ink); border-color: var(--red-100); } .build-list li.active .ck { border-color: var(--red); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.build-list li.done { color: var(--ink); } .build-list li.done .ck { background: var(--green); border-color: var(--green); color: #fff; animation: none; }
.success-card { text-align: center; } .success-card .big-check { width: 84px; height: 84px; border-radius: 50%; background: var(--green); margin: 0 auto 20px; display: grid; place-items: center; color: #fff; animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); } @keyframes pop { from { transform: scale(0); } }
.outlet-id { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 2px dashed var(--red); border-radius: 14px; padding: 12px 18px; margin: 14px 0 22px; font: 800 1.3rem "SF Mono", Menlo, monospace; color: var(--ink); }
.outlet-id button { border: 0; background: var(--red-50); color: var(--red); font: 700 0.82rem var(--body); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.redirect-note { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; } .confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall linear forwards; } @keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
.login-options { display: grid; gap: 14px; margin-top: 30px; } .login-option { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); background: #fff; border-radius: 16px; } .login-option svg { color: var(--red); flex-shrink: 0; } .login-option strong { display: block; } .login-option span { color: var(--ink-2); font-size: 0.92rem; }

/* ---- videos ---- */
.video-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; padding: 24px 0 56px; }
.player { background: var(--ink); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 92px; align-self: start; }
.player-screen { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #fff1ee, #fff); overflow: hidden; }
.scene { position: absolute; inset: 0; padding: 7% 8%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; opacity: 0; transform: scale(0.96); transition: 0.6s; pointer-events: none; } .scene.on { opacity: 1; transform: none; }
.scene h3 { font-size: clamp(1.1rem, 2.6vw, 1.9rem); margin-bottom: 8px; } .scene p { color: var(--ink-2); max-width: 46ch; font-size: clamp(0.85rem, 1.5vw, 1.05rem); margin: 0; }
.scene .stage { margin-bottom: 18px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.chip { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 14px; font-weight: 700; font-size: 0.85rem; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(14px) scale(0.9); }
.scene.on .chip { animation: chipIn 0.5s forwards; } .scene.on .chip:nth-child(2) { animation-delay: 0.3s; } .scene.on .chip:nth-child(3) { animation-delay: 0.6s; } .scene.on .chip:nth-child(4) { animation-delay: 0.9s; } .scene.on .chip:nth-child(5) { animation-delay: 1.2s; }
@keyframes chipIn { to { opacity: 1; transform: none; } }
.chip.red { background: var(--red); color: #fff; border-color: var(--red); } .chip.green { background: #dcfce7; color: #15803d; border-color: #bbf7d0; } .chip.amber { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.player-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; color: #fff; }
.player-bar button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; }
.progress { flex: 1; height: 6px; background: #ffffff2e; border-radius: 3px; overflow: hidden; cursor: pointer; } .progress i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 3px; }
.player-title { padding: 0 18px 18px; color: #fff; } .player-title h3 { color: #fff; font-size: 1.15rem; } .player-title p { color: #c4c6d0; font-size: 0.92rem; margin: 4px 0 0; }
.video-list { display: grid; gap: 12px; align-content: start; }
.video-item { display: flex; gap: 14px; align-items: center; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; font: inherit; color: inherit; transition: 0.2s; }
.video-item:hover { border-color: var(--red-100); } .video-item.active { border-color: var(--red); background: var(--red-50); }
.video-thumb { width: 88px; height: 56px; border-radius: 10px; background: linear-gradient(135deg, var(--red), #ff8a5c); color: #fff; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; font-size: 0.78rem; }
.video-item strong { display: block; font-size: 0.97rem; } .video-item span { color: var(--muted); font-size: 0.83rem; }
.video-note { background: #fff; border: 1px dashed var(--line); border-radius: 14px; padding: 14px 18px; color: var(--ink-2); font-size: 0.9rem; margin-bottom: 26px; }

/* ---- help ---- */
.help-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0 10px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; } .contact-card svg { color: var(--red); margin-bottom: 10px; } .contact-card h3 { font-size: 1.15rem; margin-bottom: 6px; } .contact-card p { color: var(--ink-2); font-size: 0.95rem; }

/* ---- why page ---- */
.feature-rows { display: grid; gap: 90px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } .feature-row:nth-child(even) .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; } .feature-copy p { color: var(--ink-2); font-size: 1.08rem; }
.feature-copy ul { list-style: none; padding: 0; display: grid; gap: 10px; margin: 18px 0 0; } .feature-copy li { display: flex; gap: 10px; color: var(--ink-2); } .feature-copy li svg { color: var(--green); flex-shrink: 0; margin-top: 4px; }
.feature-visual { background: linear-gradient(145deg, var(--red-50), #fff); border: 1px solid var(--line); border-radius: 28px; padding: 34px; min-height: 320px; display: grid; place-items: center; position: relative; overflow: hidden; }
.compare-list { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; } .cl-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; } .cl-row > div { padding: 16px 20px; border-bottom: 1px solid var(--line); } .cl-row:last-child > div { border-bottom: 0; } .cl-head > div { background: #faf7f6; font: 800 0.95rem var(--head); } .cl-row .us { color: var(--green); font-weight: 700; } .cl-row .them { color: var(--muted); }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: #c4c6d0; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #2c2f3d; }
.site-footer .brand { color: #fff; } .footer-brand p { margin: 16px 0 20px; max-width: 32ch; } .site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; font-family: var(--body); font-weight: 700; }
.site-footer a:not(.btn):not(.brand) { display: block; color: #c4c6d0; padding: 5px 0; } .site-footer a:not(.btn):not(.brand):hover { color: #fff; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 0.88rem; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---- responsive ---- */
@media (max-width: 1024px) {
  .hero-grid, .showcase-grid, .feature-row { grid-template-columns: 1fr; gap: 44px; } .feature-row:nth-child(even) .feature-copy { order: 0; }
  .why-grid, .card-grid, .blog-index { grid-template-columns: repeat(2, 1fr); } .plan-grid { grid-template-columns: repeat(2, 1fr); } .res-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-track { grid-template-columns: repeat(2, 1fr); row-gap: 44px; } .flow-line { display: none; }
  .post-feature { grid-column: span 2; flex-direction: column; } .video-layout { grid-template-columns: 1fr; } .player { position: static; } .help-cats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; } .doc-layout { grid-template-columns: 1fr; gap: 24px; } .doc-side { position: static; max-height: none; }
  .auth-wrap { grid-template-columns: 1fr; } .auth-side { padding: 44px 28px; } .contact-grid, .platforms { grid-template-columns: 1fr; }
  .till { transform: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 26px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.25s; max-height: calc(100vh - 72px); overflow: auto; }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-drop-menu { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: 0; padding: 0 0 0 10px; min-width: 0; } .nav-drop-btn svg { display: none; }
  .nav-actions { margin: 10px 0 0; flex-direction: column; align-items: stretch; } .nav-actions .btn { width: 100%; } .nav-login { text-align: center; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; } .why-grid, .card-grid, .blog-index, .plan-grid, .res-grid, .more-posts .blog-index, .help-cats { grid-template-columns: 1fr; } .post-feature { grid-column: span 1; }
  .flow-track { grid-template-columns: 1fr; } .till-body { grid-template-columns: 1fr; } .till-menu { display: none; } .kot { left: 0; } .toast { right: 0; } .form-row { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } .prev-next { grid-template-columns: 1fr; }
  .cta-inner { padding: 48px 22px; border-radius: 24px; } .hero { padding-top: 32px; } .cl-row { grid-template-columns: 1.2fr 1fr 1fr; font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; } .line { opacity: 1; transform: none; }
}

/* Documentation language switch (English / हिन्दी) */
.lang-toggle { display: inline-flex; padding: 3px; margin: 0 0 18px; background: var(--surface-2, rgba(0,0,0,.05)); border: 1px solid var(--line, rgba(0,0,0,.1)); border-radius: 999px; }
.lang-toggle a { padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: 0.88rem; color: var(--ink-2); text-decoration: none !important; line-height: 1.2; }
.lang-toggle a[aria-current="true"] { background: var(--primary, #ec3013); color: #fff; }
.lang-toggle a:not([aria-current="true"]):hover { color: var(--ink); }
.page-hero .lang-toggle { margin: 6px 0 22px; display: flex; width: max-content; }
html[lang="hi"] body { font-family: "Inter", "Noto Sans Devanagari", system-ui, sans-serif; line-height: 1.75; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] h4 { font-family: "Noto Sans Devanagari", "Archivo", system-ui, sans-serif; letter-spacing: 0; line-height: 1.3; }

/* A plan that is not on sale yet: its content is blurred, there is no price, and a label sits on top. */
.plan.soon { overflow: hidden; background: #fafafa; border-style: dashed; }
.plan.soon .soon-body { filter: blur(5px); opacity: 0.55; pointer-events: none; user-select: none; display: flex; flex-direction: column; flex: 1; }
.plan.soon .soon-body .btn { pointer-events: none; text-align: center; }
.plan.soon .soon-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.plan.soon .soon-label strong { font: 800 1.35rem var(--body); color: var(--ink); }
.plan.soon .soon-label span { background: var(--ink); color: #fff; font: 800 0.74rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.plan.soon .soon-ribbon { display: none; }
.compare th.soon-col small { display: block; margin-top: 3px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.compare td.soon-col { filter: blur(4px); opacity: 0.55; user-select: none; background: #fafafa; }
.compare th.soon-col { background: #fafafa; }
@media (max-width: 1180px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.plan ul { align-content: start; }
.plan .price b { font-size: clamp(1.9rem, 2.2vw, 2.6rem); }
.plan .ribbon { white-space: nowrap; }
.plan .price { display: flex; align-items: baseline; gap: 6px; flex-wrap: nowrap; white-space: nowrap; }
.plan .price b { font-size: clamp(1.7rem, 1.9vw, 2.3rem); }
.plan .price span { font-size: 0.85rem; }

/* Use cases */
.usecase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.usecase-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none !important; }
.usecase-card h3 { margin-top: 14px; }
.usecase-card p { flex: 1; }
.uc-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--red-100, #fdeeea); display: grid; place-items: center; font-size: 1.7rem; }
.uc-ico.lg { width: 64px; height: 64px; font-size: 2rem; margin-bottom: 18px; }
.uc-link { margin-top: 16px; color: var(--red); font-weight: 700; font-size: 0.95rem; }
.usecase-card:hover .uc-link { text-decoration: underline; }
.uc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.uc-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 6px 0 14px; }
.uc-copy .lead { margin: 0 0 24px; }
.uc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.uc-section:nth-of-type(odd) .uc-card { background: var(--bg, #faf8f7); }
.uc-card h3 { font-size: 1.15rem; margin: 0 0 14px; }
.uc-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.uc-list li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 0.97rem; }
.uc-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--green, #1b8a3a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.uc-plan { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--red-100, #fdeeea); }
.uc-plan span { font: 800 0.7rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.uc-plan strong { font-size: 1.05rem; }
.uc-plan small { color: var(--ink-2); }
@media (max-width: 1180px) { .usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .uc-row { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .usecase-grid { grid-template-columns: 1fr; } }

/* Apps and devices */
.plat-rich { text-align: left; align-items: flex-start; }
.plat-rich .plat-badge { margin: 4px 0 8px; font: 800 0.7rem var(--body); letter-spacing: 0.07em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.plat-badge.off { background: #e6f4ea; color: #1b6e34; }
.plat-badge.on { background: #fdeeea; color: var(--red); }
.plat-rich ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; text-align: left; }
.plat-rich li { position: relative; padding-left: 22px; font-size: 0.93rem; color: var(--ink-2); }
.plat-rich li::before { content: "✓"; position: absolute; left: 0; color: var(--green, #1b8a3a); font-weight: 800; }
.plat-compare { margin-top: 36px; }
.plat-compare table { min-width: 620px; }
.plat-rich .plat-badge { display: table; }

