/* NativeHelpy — light, elegant, professional. No framework, no tracking, no dark mode. */
:root {
    --bg: #fbfbf7;            /* warm ivory, very discreet */
    --surface: #ffffff;
    --surface-2: #eef2f9;    /* light blue-grey */
    --surface-3: #f5f7fc;
    --ink: #0f2545;          /* deep navy */
    --ink-2: #47587a;
    --ink-3: #74829e;
    --accent: #2256d6;       /* cobalt blue */
    --accent-ink: #ffffff;
    --accent-weak: #e9eefc;
    --accent-2: #0fa394;     /* turquoise, used sparingly */
    --accent-2-weak: #e1f5f1;
    --border: #e6eaf2;
    --border-strong: #d4dbe8;
    --radius: 14px;
    --radius-lg: 22px;
    --max: 1180px;
    --shadow-sm: 0 1px 2px rgba(15, 37, 69, .05);
    --shadow: 0 14px 40px rgba(15, 37, 69, .08), 0 2px 6px rgba(15, 37, 69, .05);
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
    line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.02em; margin: 0; color: var(--ink); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.08rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand b { color: var(--accent); margin-left: 1px; }
img.brand-mark { border-radius: 8px; box-shadow: 0 3px 10px rgba(34, 86, 214, .25); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .95rem; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background .18s, border-color .18s, box-shadow .18s, transform .12s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(34, 86, 214, .25); }
.btn-primary:hover { background: #1c49bd; box-shadow: 0 10px 24px rgba(34, 86, 214, .32); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--surface-3); }
.btn-lg { padding: 13px 24px; font-size: 1rem; }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(251, 251, 247, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.head-in { display: flex; align-items: center; gap: 14px; height: 62px; }
.head-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.head-nav a:not(.btn) { color: var(--ink-2); font-size: .92rem; font-weight: 500; padding: 8px 11px; border-radius: 8px; }
.head-nav a:not(.btn):hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.head-nav .nav-ns { color: var(--accent); font-weight: 600; }
.head-nav .nav-cta { margin-left: 6px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border-strong); border-radius: 9px; color: var(--ink); padding: 6px; cursor: pointer; }
@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .head-nav { position: fixed; inset: 62px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 14px 16px; box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
    .head-nav.open { opacity: 1; transform: none; pointer-events: auto; }
    .head-nav a:not(.btn) { padding: 12px 10px; font-size: 1rem; }
    .head-nav .nav-cta { margin: 8px 0 0; }
}

/* sections */
.band { padding: clamp(52px, 7vw, 92px) 0; }
.band.alt { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow, .section-eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 760; }
.section-lede { color: var(--ink-2); max-width: 46rem; margin: 14px 0 0; font-size: 1.05rem; }

/* A. hero */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(44px, 6vw, 80px); background:
    radial-gradient(1100px 440px at 88% -8%, var(--accent-weak), transparent 60%),
    radial-gradient(760px 360px at 2% 8%, var(--accent-2-weak), transparent 55%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; }
.hero .lede { color: var(--ink-2); font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); margin: 20px 0 0; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-note { margin: 20px 0 0; font-size: .92rem; color: var(--ink-3); }
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero .lede { max-width: none; }
    .demo { width: 100%; }
}

/* demo panel */
.demo { margin: 0; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.demo-cap { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: .82rem; color: var(--ink-3); }
.demo-tag { font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-2-weak); border: 1px solid rgba(15, 163, 148, .25); padding: 2px 8px; border-radius: 999px; }
.demo-tabs { display: flex; gap: 2px; padding: 10px 14px 0; flex-wrap: wrap; }
.demo-tabs button { font: inherit; font-size: .84rem; font-weight: 600; color: var(--ink-2); background: none; border: 0; border-radius: 9px 9px 0 0; padding: 8px 12px; cursor: pointer; border-bottom: 2px solid transparent; }
.demo-tabs button:hover { background: var(--surface-2); }
.demo-tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.demo-panel { padding: 16px 20px 22px; }
.demo-q { display: flex; gap: 10px; align-items: baseline; font-weight: 650; color: var(--ink); margin: 6px 0 12px; }
.demo-q span { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.demo-a { margin: 0 0 14px; color: var(--ink-2); background: var(--surface-3); border: 1px solid var(--border); border-left: 3px solid var(--accent-2); border-radius: 10px; padding: 12px 14px; font-size: .96rem; }
.demo-src { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; }
.demo-src::before { content: ""; width: 14px; height: 14px; background: var(--accent); -webkit-mask: var(--ic-link) center/contain no-repeat; mask: var(--ic-link) center/contain no-repeat; }

/* B. benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.benefits article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.benefits h3 { font-size: 1.06rem; margin: 14px 0 7px; }
.benefits p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.bi { display: inline-block; width: 42px; height: 42px; border-radius: 11px; background: var(--accent-weak); position: relative; }
.bi::after { content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; background: var(--accent); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.bi-find::after { -webkit-mask-image: var(--ic-find); mask-image: var(--ic-find); }
.bi-source::after { -webkit-mask-image: var(--ic-doc); mask-image: var(--ic-doc); }
.bi-link::after { -webkit-mask-image: var(--ic-link); mask-image: var(--ic-link); }
.bi-fit::after { -webkit-mask-image: var(--ic-layers); mask-image: var(--ic-layers); }
.bi-local::after { -webkit-mask-image: var(--ic-chip); mask-image: var(--ic-chip); }
.bi-update::after { -webkit-mask-image: var(--ic-refresh); mask-image: var(--ic-refresh); }
.bi-local, .bi-update { background: var(--accent-2-weak); }
.bi-local::after, .bi-update::after { background: var(--accent-2); }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* C. products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-shot { display: block; aspect-ratio: 1024 / 500; background: var(--surface-2); border-bottom: 1px solid var(--border); overflow: hidden; }
.product-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-shot:hover img { transform: scale(1.03); }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.product-head img { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); }
.product-head h3 { font-size: 1.16rem; }
.product-head span { font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.product-body p { color: var(--ink-2); font-size: .93rem; margin: 0 0 14px; flex: 1; }
.product-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; font-size: .9rem; }
.product-link span { transition: transform .15s; }
.product-link:hover span { transform: translateX(3px); }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* D. how */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 1.02rem; margin-bottom: 7px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.how-foot { margin: 22px 0 0; color: var(--ink-3); font-size: .95rem; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* E. domains */
.domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.domains div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.domains h3 { font-size: 1.02rem; margin-bottom: 7px; }
.domains p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.domain-wide { grid-column: 1 / -1; border-color: var(--border-strong) !important; background: var(--surface-3) !important; }
@media (max-width: 900px) { .domains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .domains { grid-template-columns: 1fr; } }

/* F. integration */
.three-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.three-cols article { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.three-cols h3 { font-size: 1.06rem; margin-bottom: 8px; }
.three-cols p { margin: 0; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 820px) { .three-cols { grid-template-columns: 1fr; } }

/* G. faq */
.faq { max-width: 820px; margin: 34px 0 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 650; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 11px; height: 11px; margin-top: -6px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--ink-2); font-size: .96rem; }

/* H. cta */
.cta { padding: clamp(56px, 8vw, 100px) 0; background: radial-gradient(760px 320px at 50% -10%, var(--accent-weak), transparent 60%); }
.cta-in { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-in > p { color: var(--ink-2); margin: 14px auto 26px; font-size: 1.05rem; }
.cta-in .hero-cta { justify-content: center; }
.cta-mail { font-size: .92rem; color: var(--ink-3); margin-top: 18px; }

/* footer */
.site-foot { border-top: 1px solid var(--border); background: var(--surface); padding: 48px 0 28px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }
.foot-brand { max-width: 340px; }
.foot-brand p { color: var(--ink-3); font-size: .9rem; margin: 14px 0 0; }
.foot-cols { display: flex; gap: 56px; }
.foot-cols h2 { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin: 7px 0; }
.foot-cols a { color: var(--ink-2); font-size: .92rem; }
.foot-base { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--ink-3); font-size: .82rem; }

/* reveal on scroll — short and subtle */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* inline icon masks (data URIs, no network, no stock imagery) */
:root {
    --ic-find: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M10 2a8 8 0 016.32 12.9l5.39 5.4-1.41 1.4-5.4-5.39A8 8 0 1110 2zm0 2a6 6 0 100 12 6 6 0 000-12z"/></svg>');
    --ic-doc: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M6 2h8l4 4v16H6V2zm7 1.5V7h3.5L13 3.5zM8 10h8v2H8v-2zm0 4h8v2H8v-2z"/></svg>');
    --ic-link: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M3.9 12a3.1 3.1 0 013.1-3.1h4V7H7a5 5 0 000 10h4v-1.9H7A3.1 3.1 0 013.9 12zM13 7v1.9h4A3.1 3.1 0 0117 15h-4V17h4a5 5 0 000-10h-4zm-5 4h8v2H8v-2z"/></svg>');
    --ic-layers: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 3l9 5-9 5-9-5 9-5zm0 7.3L5.7 7 12 3.6 18.3 7 12 10.3zM3 12l9 5 9-5 1.8 1L12 19 1.2 13 3 12z"/></svg>');
    --ic-chip: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 2v2H7a2 2 0 00-2 2v2H3v2h2v2H3v2h2v2a2 2 0 002 2h2v2h2v-2h2v2h2v-2h2a2 2 0 002-2v-2h2v-2h-2v-2h2V8h-2V6a2 2 0 00-2-2h-2V2h-2v2h-2V2H9zm-2 5h10v10H7V7zm2 2v6h6V9H9z"/></svg>');
    --ic-refresh: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 6V3L8 7l4 4V8a4 4 0 11-4 4H6a6 6 0 106-6zm0 0"/></svg>');
}
