/* Linteli Labs website styles
   Layout: calm light pages; sections alternate Mist / Pale Aqua; dark only for the closing band and footer.
   Brand: Linteli brand brief (Figtree, slate text, aqua accents, 8-12px radii, thin borders, no gradients). */

:root {
  /* Brand colours */
  --slate: #2F3B45;
  --charcoal-slate: #3A4651;
  --aqua: #3BA9B4;
  --deep-aqua: #2A7F89;
  --pale-aqua: #D6F1F3;
  --cool-grey: #B9C3CB;
  --mist: #F5F8F9;
  --muted-text: #5B6874;
  --light-aqua: #9FE0E6;

  /* Supporting tones */
  --white: #FFFFFF;
  --teal-ink: #1F5E65;        /* small aqua-tinted text that must pass contrast */
  --teal-link: #1F6A72;
  --body-on-aqua: #44525E;
  --line: #DCE3E8;
  --line-soft: #E3E9ED;
  --track: #E3E9ED;
  --chip-grey: #EEF2F4;
  --on-dark: #C9D3DA;
  --on-dark-strong: #DCE3E8;
  --on-dark-line: #4B5864;
  --warn-ink: #8A4B14;
  --warn-bg: #FCEBD9;
  --dots: #C9D2D9;

  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius-s: 8px;
  --radius-m: 10px;
  --radius-l: 12px;
  --radius-xl: 14px;
  --gutter: clamp(20px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { 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;
  background: var(--mist);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-link); }
a:hover { color: var(--slate); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; color: var(--slate); }
p { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--slate); padding: 10px 16px; border-radius: var(--radius-s); z-index: 100; }
.skip-link:focus { left: 16px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Section backgrounds ---------- */
.section { padding-block: 104px; }
.section--mist { background: var(--mist); }
.section--aqua { background: var(--pale-aqua); }
.section--dark { background: var(--slate); color: var(--white); padding-block: 80px; }
@media (max-width: 760px) { .section { padding-block: 72px; } .section--dark { padding-block: 60px; } }

.section__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 52px; }
.section__head--split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.section__head--split > div { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; max-width: 720px; }

.eyebrow { display: inline-flex; align-self: flex-start; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-ink); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--aqua); }
.section--dark .eyebrow { color: var(--light-aqua); }
.h1 { font-size: clamp(40px, 5.2vw, 62px); line-height: 1.05; letter-spacing: -0.025em; }
.h1--long { font-size: clamp(34px, 3.8vw, 48px); line-height: 1.1; }
.h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.02em; }
.h2--small { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted-text); max-width: 600px; }
.body-l { font-size: 18px; line-height: 1.65; color: var(--muted-text); }
.section--aqua .body-l { color: var(--body-on-aqua); }
.body-l strong { color: var(--slate); font-weight: 600; }
.section--dark .h2, .section--dark h2 { color: var(--white); }
.section--dark .body-l { color: var(--on-dark); }
.mono { font-family: var(--font-mono); }
.inteli { color: var(--deep-aqua); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: var(--radius-m); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--deep-aqua); color: var(--white); }
.btn--primary:hover { background: var(--teal-ink); color: var(--white); }
.btn--dark { background: var(--slate); color: var(--white); }
.btn--dark:hover { background: var(--charcoal-slate); color: var(--white); }
.btn--outline { min-height: 44px; padding: 0 20px; font-size: 15px; background: var(--white); color: var(--slate); border-color: var(--cool-grey); }
.btn--outline:hover { border-color: var(--slate); color: var(--slate); }
.btn--outline[aria-current="page"] { background: var(--slate); border-color: var(--slate); color: var(--white); }
.btn--link { padding: 0 8px; color: var(--slate); background: none; }
.btn--link:hover { color: var(--teal-link); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--mist); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(245, 248, 249, 0.94); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; padding: 6px 0; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--slate); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__links a:hover { border-bottom-color: var(--cool-grey); }
.nav__links a[aria-current="page"] { border-bottom-color: var(--aqua); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-m); border: 1px solid var(--cool-grey); background: var(--white); color: var(--slate); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px max(var(--gutter), env(safe-area-inset-left, 0px)) 16px; }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav__links a[aria-current="page"] { border-bottom-color: var(--line-soft); color: var(--teal-link); }
  .nav { gap: 12px; }
}

/* ---------- Hero ---------- */
.hero { background-color: var(--mist); background-image: radial-gradient(var(--dots) 1px, transparent 1.2px); background-size: 24px 24px; border-bottom: 1px solid var(--line); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-block: 104px 96px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__aside { flex: 1 1 380px; min-width: 0; max-width: 560px; }
@media (max-width: 760px) { .hero__inner { padding-block: 64px; gap: 44px; } }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: var(--pale-aqua); border: 1px solid var(--light-aqua); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--teal-ink); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--deep-aqua); }

.stat-card { max-width: 440px; margin-left: auto; background: var(--white); border: 1px solid var(--cool-grey); border-radius: var(--radius-xl); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.stat-card__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted-text); }
.stat-card__value { display: flex; align-items: baseline; gap: 6px; font-weight: 600; line-height: 0.9; }
.stat-card__value span:first-child { font-size: 96px; letter-spacing: -0.04em; }
.stat-card__value span:last-child { font-size: 44px; color: var(--deep-aqua); }
.stat-card p { font-size: 18px; line-height: 1.5; }
.stat-card__source { border-top: 1px solid var(--line-soft); padding-top: 16px; font-size: 13px; color: var(--muted-text); text-decoration: none; }
@media (max-width: 960px) { .stat-card { margin-left: 0; } }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); }
.section--aqua .card { border-color: var(--light-aqua); }

/* ---------- Research charts ---------- */
.research { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.chart { flex: 1 1 560px; min-width: 0; margin: 0; padding: 30px; border-radius: var(--radius-xl); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.chart__title { font-size: 19px; font-weight: 600; }
.chart__sub { font-size: 14px; color: var(--muted-text); }
.bars { display: flex; flex-direction: column; gap: 20px; }
.bar__head { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; margin-bottom: 8px; }
.bar__head strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar__track { height: 14px; border-radius: 4px; background: var(--track); }
.bar__fill { height: 14px; border-radius: 4px; background: var(--deep-aqua); width: var(--v); transition: background-color .15s ease; }
.bar:hover .bar__fill { background: var(--teal-ink); }
.axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted-text); border-top: 1px solid var(--line); padding-top: 10px; }
.source-link { font-size: 13px; color: var(--muted-text); text-decoration: none; }
.source-link:hover { color: var(--slate); text-decoration: underline; }
.rings { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ring-card { margin: 0; padding: 26px; border-radius: var(--radius-xl); display: flex; align-items: center; gap: 22px; }
.ring { position: relative; width: 112px; height: 112px; flex: 0 0 112px; }
.ring svg { width: 112px; height: 112px; display: block; }
.ring span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 600; }
.ring-card figcaption { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.45; }
@media (max-width: 960px) { .rings { flex: 1 1 100%; } }
@media (max-width: 420px) { .ring-card { flex-direction: column; align-items: flex-start; } }

/* ---------- Flow diagram (DataInteli <-> Excel) ---------- */
.flow { margin: 0; display: flex; flex-wrap: wrap; align-items: stretch; padding: 24px; border-radius: 16px; }
.flow--large { padding: 32px; }
.flow__node { flex: 1 1 300px; min-width: 0; border-radius: var(--radius-l); display: flex; flex-direction: column; }
.flow__node--product { background: var(--pale-aqua); border: 1px solid var(--light-aqua); }
.flow__node--excel { background: var(--mist); border: 1px solid var(--line); }
.flow--large .flow__node { overflow: hidden; }
.flow--large .flow__node--product, .flow--large .flow__node--excel { background: var(--white); }
.flow__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; }
.flow--large .flow__node--product .flow__head { background: var(--pale-aqua); border-bottom: 1px solid var(--light-aqua); }
.flow--large .flow__node--excel .flow__head { background: var(--mist); border-bottom: 1px solid var(--line); }
.flow__icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: var(--radius-m); background: var(--white); border: 1px solid var(--light-aqua); display: flex; align-items: center; justify-content: center; }
.flow__node--excel .flow__icon { border-color: var(--line); }
.flow__icon svg { width: 20px; height: 20px; }
.flow__name { font-size: 18px; font-weight: 600; line-height: 1.3; }
.flow__name .inteli { color: var(--teal-link); }
.flow__meta { font-size: 13px; color: var(--body-on-aqua); }
.flow__node--excel .flow__meta { color: var(--muted-text); }
.flow__body { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.flow--large .flow__body { padding-top: 16px; }
.flow__arrows { flex: 0 1 230px; min-width: 190px; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 20px 22px; }
.flow__arrow { display: flex; flex-direction: column; gap: 6px; }
.flow__arrow--back { align-items: flex-end; text-align: right; }
.flow__arrow svg { width: 100%; height: 16px; display: block; }
.flow__arrow-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--teal-ink); }
.flow__arrow-note { font-size: 13px; line-height: 1.45; color: var(--muted-text); }
@media (max-width: 760px) { .flow__node, .flow__arrows { flex: 1 1 100%; } .flow__arrows { padding: 20px 4px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-s); background: var(--white); border: 1px solid var(--light-aqua); }
.chip--sheet { font-size: 12.5px; font-weight: 400; padding: 5px 10px; border-radius: 6px; border-color: var(--line); color: var(--body-on-aqua); }
.chip--sheet.is-active { background: var(--slate); border-color: var(--slate); color: var(--white); }
.tree-node { padding: 8px 10px; border-radius: var(--radius-s); border: 1px solid var(--line); font-size: 14px; }
.tree-node--root { background: var(--pale-aqua); border-color: var(--pale-aqua); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tree-node--root::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--deep-aqua); }
.tree-node--l1 { margin-left: 22px; }
.tree-node--l2 { margin-left: 44px; }
.label-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted-text); }
.sheet { width: 100%; border-collapse: collapse; border: 1px solid var(--line); font-family: var(--font-mono); font-size: 11.5px; }
.sheet th, .sheet td { padding: 7px 8px; text-align: left; border: 1px solid var(--line-soft); font-weight: 400; }
.sheet th { background: var(--chip-grey); font-weight: 500; }
.sheet td.is-edited { background: var(--pale-aqua); }

/* ---------- Before / after records ---------- */
.compare { display: flex; flex-wrap: wrap; align-items: stretch; gap: 20px; margin-top: 28px; }
.record { flex: 1 1 320px; min-width: 0; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.record--before { border-color: var(--cool-grey); }
.record--after { border-color: var(--aqua); }
.record__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.badge--warn { color: var(--warn-ink); background: var(--warn-bg); }
.badge--ok { color: var(--teal-ink); background: var(--pale-aqua); }
.record__rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.record__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.record__rows li:last-child { border-bottom: 0; }
.record__rows .l1 { padding-left: 18px; }
.record__rows .l2 { padding-left: 36px; }
.record__rows .k { color: var(--muted-text); }
.record__rows .v { font-family: var(--font-mono); font-size: 13px; display: inline-flex; gap: 8px; align-items: center; text-align: right; }
.record__rows .v--warn { color: var(--warn-ink); }
.record__rows .v svg { width: 14px; height: 14px; flex: 0 0 14px; }
.steps-mini { flex: 0 1 220px; min-width: 200px; display: flex; flex-direction: column; justify-content: center; gap: 12px; list-style: none; margin: 0; padding: 0; }
.steps-mini li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-size: 15px; font-weight: 600; }
.steps-mini .mono { font-size: 12px; font-weight: 400; color: var(--teal-ink); }
@media (max-width: 760px) { .steps-mini { flex: 1 1 100%; } }

/* ---------- Why grid ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--light-aqua); border: 1px solid var(--light-aqua); border-radius: var(--radius-l); overflow: hidden; }
.why > div { background: var(--white); padding: 30px 26px; display: flex; flex-direction: column; gap: 10px; }
.why h3 { font-size: 19px; }
.why p { font-size: 15px; color: var(--muted-text); }

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.about__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about__copy p { font-size: 17px; line-height: 1.7; color: var(--muted-text); }
.facts { flex: 1 1 340px; min-width: 0; padding: 8px 26px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted-text); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- CTA band ---------- */
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta > div { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }

/* ---------- Sources + footer ---------- */
.sources { background: var(--charcoal-slate); color: var(--on-dark); border-bottom: 1px solid var(--on-dark-line); }
.sources .container { padding-block: 32px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.6; }
.sources h2 { font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0.06em; color: var(--light-aqua); }
.sources ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.sources a { color: var(--on-dark-strong); }
.site-footer { background: var(--charcoal-slate); color: var(--on-dark); }
.site-footer .container { padding-block: 40px 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__brand img { height: 30px; width: auto; align-self: flex-start; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.site-footer nav a { color: var(--on-dark-strong); text-decoration: none; }
.site-footer nav a:hover { color: var(--white); text-decoration: underline; }
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { width: 40px; height: 40px; border-radius: var(--radius-m); border: 1px solid var(--on-dark-line); display: flex; align-items: center; justify-content: center; color: var(--on-dark-strong); }
.social a:hover { color: var(--white); border-color: var(--on-dark); }
.social svg { width: 18px; height: 18px; }
.site-footer__legal { width: 100%; font-size: 13px; color: #AEB9C2; border-top: 1px solid var(--on-dark-line); padding-top: 20px; }

/* ---------- Product page ---------- */
.product-badge { display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.product-badge__icon { width: 48px; height: 48px; border-radius: var(--radius-l); background: var(--pale-aqua); border: 1px solid var(--light-aqua); display: flex; align-items: center; justify-content: center; }
.product-badge svg { width: 24px; height: 24px; }
.status-note { font-family: var(--font-mono); font-size: 12px; color: var(--muted-text); }
.mock { border: 1px solid var(--cool-grey); border-radius: var(--radius-xl); background: var(--white); overflow: hidden; }
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); background: #FBFCFD; }
.mock__title { display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 600; }
.sample-tag { font-family: var(--font-mono); font-size: 11px; color: var(--muted-text); padding: 4px 8px; border: 1px dashed var(--cool-grey); border-radius: 6px; white-space: nowrap; }
.mock__query { margin: 16px 20px 8px; font-family: var(--font-mono); font-size: 12px; background: var(--mist); border: 1px solid var(--line-soft); border-radius: var(--radius-s); padding: 10px 12px; overflow-x: auto; white-space: nowrap; }
.mock__tree { list-style: none; margin: 0; padding: 6px 20px 16px; font-size: 14px; }
.mock__tree li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #EEF2F4; }
.mock__tree li:last-child { border-bottom: 0; }
.mock__tree .l1 { padding-left: 20px; }
.mock__tree .l2 { padding-left: 40px; }
.mock__tree .l3 { padding-left: 60px; }
.mock__tree .root { font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.mock__tree .root::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--deep-aqua); }
.mock__tree .tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--teal-ink); background: var(--pale-aqua); padding: 2px 6px; border-radius: 5px; }
.mock__tree .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted-text); }
.mock__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line-soft); background: var(--mist); font-size: 13px; }
.mock__foot span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.mock__foot svg { width: 16px; height: 16px; }
.mock__btn { font-weight: 600; padding: 7px 12px; border-radius: var(--radius-s); border: 1px solid var(--cool-grey); background: var(--white); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; list-style: none; padding: 0; }
.steps li { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.steps h3 { font-size: 19px; }
.steps p { font-size: 15px; color: var(--muted-text); }
.steps .mono { font-size: 13px; color: var(--teal-ink); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feature__icon { width: 44px; height: 44px; border-radius: var(--radius-m); background: var(--pale-aqua); display: flex; align-items: center; justify-content: center; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; }
.feature p { font-size: 15px; color: var(--muted-text); }

.usecases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.usecase { padding: 22px 24px; display: flex; gap: 18px; }
.usecase--featured { border-color: var(--aqua) !important; }
.usecase > .mono { font-size: 13px; color: var(--teal-ink); padding-top: 3px; }
.usecase > div { display: flex; flex-direction: column; gap: 8px; }
.usecase h3 { font-size: 17px; }
.usecase p { font-size: 14.5px; line-height: 1.55; color: var(--muted-text); }
.who { align-self: flex-start; font-size: 12px; color: var(--body-on-aqua); background: var(--chip-grey); padding: 3px 9px; border-radius: 999px; }
.usecase--featured .who { color: var(--teal-ink); background: var(--pale-aqua); }

.roadmap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 22px 26px; margin-top: 40px; border: 1px dashed var(--cool-grey); border-radius: var(--radius-l); background: var(--white); }
.roadmap__name { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.roadmap__name svg { width: 20px; height: 20px; }
.roadmap p { font-size: 15px; color: var(--muted-text); }

/* ---------- Contact page ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-block: 88px 104px; }
.contact__intro { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-list { list-style: none; margin: 8px 0 0; padding: 6px 24px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .feature__icon { width: 40px; height: 40px; flex: 0 0 40px; }
.contact-list .feature__icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 13px; color: var(--muted-text); }
.contact-list strong, .contact-list a { font-size: 16px; font-weight: 600; color: var(--slate); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--teal-link); text-decoration: underline; }
.form { flex: 1 1 460px; min-width: 0; padding: 32px; border-color: var(--cool-grey); border-radius: var(--radius-xl); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.form h2 { grid-column: 1 / -1; font-size: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { min-height: 46px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--cool-grey); background: var(--mist); color: var(--slate); font: inherit; font-size: 15px; font-weight: 400; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--deep-aqua); box-shadow: 0 0 0 3px rgba(59, 169, 180, 0.25); background: var(--white); }
.form .btn { grid-column: 1 / -1; justify-content: center; }
.form__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted-text); }
.form__status { grid-column: 1 / -1; font-size: 14px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--pale-aqua); color: var(--teal-ink); }

/* ---------- Hero data card (home + product) ---------- */
.data-card { max-width: 500px; margin-left: auto; background: var(--white); border: 1px solid var(--cool-grey); border-radius: var(--radius-xl); overflow: hidden; }
.data-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); background: #FBFCFD; }
.data-card__title { display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 600; }
.data-card .record__rows { border-top: 0; padding: 4px 20px 8px; }
.data-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line-soft); background: var(--mist); font-size: 13px; color: var(--muted-text); }
.data-card__foot s { color: var(--warn-ink); }
@media (max-width: 960px) { .data-card { margin-left: 0; } }

/* ---------- Problem cards (home) ---------- */
.problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.problem { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.problem__num { font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.problem__num span { color: var(--deep-aqua); font-size: 32px; margin-left: 2px; }
.problem .bar__track { height: 10px; }
.problem .bar__fill { height: 10px; }
.problem h3 { font-size: 20px; }
.problem p { font-size: 15px; color: var(--muted-text); }
.problem .source-link { margin-top: auto; }

/* ---------- Answer block (home) ---------- */
.answer { display: flex; flex-direction: column; gap: 32px; }

/* ---------- Pillars (product) ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.pillar { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.pillar h3 { font-size: 22px; }
.pillar > p { font-size: 15.5px; color: var(--muted-text); }
.ticks { list-style: none; margin: 4px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; padding-block: 88px 104px; }
.legal h1 { font-size: clamp(34px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0 10px; }
.legal .updated { color: var(--muted-text); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: #3E4A55; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
