:root {
  --ink: #0f172a;
  --muted: #475569;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #ccfbf1;
  --soft: #f4f8f7;
  --line: #e2e8f0;
  --white: #ffffff;
  --warn-bg: #fef3c7;
  --warn: #92400e;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 16px; font-weight: 800; }
h2 { font-size: 1.6rem; margin: 40px 0 12px; }
h3 { font-size: 1.1rem; margin: 10px 0 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.icon { width: 1.2em; height: 1.2em; vertical-align: -0.2em; flex-shrink: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 36px; width: auto; }
nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
nav a:hover { color: var(--brand); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px;
  background: var(--brand); color: var(--white) !important; text-decoration: none; font-weight: 600; border: 2px solid var(--brand);
}
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.button-small { padding: 8px 14px; }
.button-ghost { background: transparent; color: var(--brand) !important; }
.button-ghost:hover { background: var(--brand-soft); }
.button-light { background: var(--white); color: var(--brand) !important; border-color: var(--white); }
.button-light:hover { background: var(--brand-soft); border-color: var(--brand-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background: linear-gradient(180deg, var(--soft), var(--white)); }
.hero-grid { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; font-size: .85rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.hero-note { color: var(--muted); font-size: .95rem; }
.hero-note .icon { color: var(--brand); }

/* Hero mockup */
.mock { display: grid; gap: 12px; justify-items: center; }
.mock-file { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 10px; background: var(--white); border: 1px dashed #94a3b8; color: var(--muted); font-size: .9rem; }
.mock-file .icon { color: #16a34a; }
.mock-arrow { color: var(--brand); transform: rotate(90deg); }
.mock-app { width: 100%; max-width: 420px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(15, 23, 42, .12); overflow: hidden; }
.mock-bar { padding: 10px 14px; background: var(--ink); color: var(--white); font-size: .85rem; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #475569; }
.mock-bar span:nth-child(3) { margin-right: 6px; }
.mock-app table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.mock-app th, .mock-app td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.mock-app th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.pill { padding: 2px 10px; border-radius: 99px; font-size: .8rem; font-weight: 600; }
.pill-ok { background: var(--brand-soft); color: var(--brand-dark); }
.pill-low { background: var(--warn-bg); color: var(--warn); }

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-title { margin-top: 0; text-align: center; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.section-lead { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 620px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; margin-top: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.panel { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.panel p { color: var(--muted); margin: 0 0 16px; }

/* Cards */
.card {
  display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
a.card:hover { border-color: var(--brand); box-shadow: 0 14px 34px rgba(15, 118, 110, .14); transform: translateY(-4px); }
.card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.card-link .icon { transition: transform .2s; }
a.card:hover .card-link .icon { transform: translateX(4px); }
.card p { margin: 0 0 16px; color: var(--muted); flex-grow: 1; }
.card-icon { display: inline-flex; padding: 10px; margin-bottom: 12px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); font-size: 1.2rem; transition: transform .2s, background .2s, color .2s; }
a.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: var(--brand); color: var(--white); }
.card-icon-large { font-size: 1.8rem; }
.card-link { display: inline-flex; gap: 6px; align-items: center; color: var(--brand); font-weight: 600; font-size: .95rem; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: var(--line); color: var(--muted); }
.badge-live, .badge-available { background: var(--brand-soft); color: var(--brand-dark); }
.badge-beta { background: var(--warn-bg); color: var(--warn); }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 28px 0 0; }
.steps li { counter-increment: step; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 6px; }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--white); font-weight: 700; }
.steps span { color: var(--muted); }

/* Comparison */
.table-wrap { overflow-x: auto; }
.compare { width: 100%; max-width: 760px; margin: 24px auto 0; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare th:last-child { color: var(--brand); }
.compare td .icon { width: 1.4em; height: 1.4em; }
.compare td:nth-child(2) .icon { color: #dc2626; }
.compare td:nth-child(3) .icon { color: var(--brand); }

/* FAQ */
details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--brand); color: var(--white); padding: 56px 0; text-align: center; }
.cta-band h2 { margin: 0 0 20px; font-size: clamp(1.5rem, 3.5vw, 2.1rem); }

/* Product page */
.crumbs { color: var(--muted); font-size: .9rem; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--brand); margin-top: 3px; }

/* Footer */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 48px 0 24px; font-size: .95rem; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer-grid h4 { color: var(--white); margin: 0 0 10px; }
.footer-grid a:not(.logo) { display: block; color: #cbd5e1; text-decoration: none; margin-bottom: 6px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid #1e293b; }
.footer-bottom a { color: #cbd5e1; }

/* Hero background */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: drift 18s ease-in-out infinite alternate; }
.blob-1 { width: 420px; height: 420px; background: #5eead4; top: -140px; right: -80px; }
.blob-2 { width: 360px; height: 360px; background: #a7f3d0; bottom: -160px; left: -120px; animation-delay: -6s; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(15,118,110,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(15,118,110,.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
.text-gradient { background: linear-gradient(90deg, var(--brand), #14b8a6); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Industries strip */
.industries { padding: 28px 0 8px; text-align: center; }
.industries p { margin: 0 0 14px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.industry-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.industry-row span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.industry-row .icon { color: var(--brand); }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.split h2 { margin-top: 0; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.split .button { margin-top: 8px; }

/* Dashboard mockup */
.dash { border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(15, 23, 42, .14); overflow: hidden; }
.dash-body { display: grid; grid-template-columns: 52px 1fr; min-height: 260px; }
.dash-nav { background: #0f172a; padding: 14px 0; display: grid; align-content: start; justify-items: center; gap: 14px; }
.dash-nav i { width: 22px; height: 22px; border-radius: 6px; background: #334155; }
.dash-nav i.is-on { background: #14b8a6; }
.dash-main { padding: 18px; display: grid; gap: 16px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-kpis div { padding: 12px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.dash-kpis small { display: block; color: var(--muted); font-size: .72rem; }
.dash-kpis b { font-size: 1.1rem; }
.dash-chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); }
.dash-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #2dd4bf, var(--brand)); transform-origin: bottom; }
.js .reveal .dash-chart span, .js .reveal.dash .dash-chart span { transform: scaleY(0); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-visible .dash-chart span { transform: scaleY(1); }
.dash-chart span:nth-child(2) { transition-delay: .06s; } .dash-chart span:nth-child(3) { transition-delay: .12s; }
.dash-chart span:nth-child(4) { transition-delay: .18s; } .dash-chart span:nth-child(5) { transition-delay: .24s; }
.dash-chart span:nth-child(6) { transition-delay: .3s; } .dash-chart span:nth-child(7) { transition-delay: .36s; }
.dash-chart span:nth-child(8) { transition-delay: .42s; }

/* Page header and side panel */
.page-head { padding: 56px 0 24px; background: linear-gradient(180deg, var(--soft), var(--white)); }
.page-head h1 { margin-bottom: 10px; }
.section-tight { padding: 32px 0 72px; }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.product-hero:has(> :only-child) { grid-template-columns: 1fr; }
.with-sidebar { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.with-sidebar h2:first-child { margin-top: 0; }
.side-panel { position: sticky; top: 92px; display: grid; gap: 18px; padding: 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.side-group { display: grid; gap: 2px; }
.side-title { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 4px 10px; }
.side-title.is-active, .side-title:hover { color: var(--brand); }
.side-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; transition: background .15s, color .15s; }
.side-link .icon { color: var(--brand); }
.side-link:hover { background: var(--soft); }
.side-link.is-active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.side-cta { display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), #14b8a6); color: var(--white); }
.side-cta span { font-size: .88rem; opacity: .9; }
.side-cta .button { justify-self: start; background: var(--white); color: var(--brand) !important; border-color: var(--white); margin-top: 4px; }

/* Product details */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 8px; }
.feature { display: flex; gap: 10px; align-items: flex-start; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.feature .icon { color: var(--brand); margin-top: 3px; }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.inline-cta div { display: grid; gap: 4px; }
.inline-cta span { color: var(--muted); }

/* CTA band background motion */
.cta-band { background: linear-gradient(120deg, #0f766e, #14b8a6, #0f766e); background-size: 200% 200%; animation: sweep 12s ease infinite; }

/* Animations */
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, .45); } 50% { box-shadow: 0 0 0 6px rgba(217, 119, 6, 0); } }
@keyframes nudge { 0%, 100% { transform: rotate(90deg) translateX(0); } 50% { transform: rotate(90deg) translateX(5px); } }
@keyframes sweep { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes rowIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.anim-up { animation: up .7s cubic-bezier(.2,.8,.2,1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; }
.float { animation: float 6s ease-in-out infinite; }
.pulse { animation: pulse 2s ease-in-out infinite; }
.mock-arrow { animation: nudge 1.6s ease-in-out infinite; }
.row-in { animation: rowIn .5s ease both; }
.r1 { animation-delay: .5s; } .r2 { animation-delay: .65s; } .r3 { animation-delay: .8s; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero-grid, .grid-2, .grid-3, .split, .product-hero { grid-template-columns: 1fr; }
  .grid-4, .steps, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .with-sidebar { grid-template-columns: 1fr; }
  .side-panel { position: static; order: 2; }
}
@media (max-width: 560px) {
  .grid-4, .steps, .footer-grid, .feature-grid { grid-template-columns: 1fr; }
  nav { gap: 14px; }
  nav .button-small { display: none; }
  .hero { padding: 40px 0 48px; }
  .section { padding: 48px 0; }
  .dash-kpis b { font-size: .9rem; }
  .logo img { height: 30px; }
}
