/* Xaldos landing (xaldos.com). Same palette as the dashboard (brand spec 2026-11-09): tinted canvas, white
   surfaces, one strong blue, geometric motifs in blue tints, no shadows, no gradients. Static: no build step. */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  color-scheme: light dark;
  --canvas: light-dark(#f7faff, #0b0f14);
  --surface: light-dark(#ffffff, #121821);
  --text: light-dark(#1b2027, #f3f6fb);
  --text-2: light-dark(#697382, #a6b0bf);
  --text-3: light-dark(#939dac, #7b8696);
  --accent: #005ad6;
  --accent-text: light-dark(#005ad6, #4a8cff);
  --accent-soft: light-dark(#dcefff, #11243d);
  --on-accent: #ffffff;
  --border: light-dark(rgba(27, 32, 39, 0.08), rgba(243, 246, 251, 0.1));
  --border-strong: light-dark(rgba(27, 32, 39, 0.18), rgba(243, 246, 251, 0.22));
  --ok: light-dark(#1d7a4c, #4cc38a);
  --ok-soft: light-dark(rgba(29, 122, 76, 0.12), rgba(76, 195, 138, 0.14));
  --warn: light-dark(#9a6200, #e0a63f);
  --warn-soft: light-dark(rgba(154, 98, 0, 0.12), rgba(224, 166, 63, 0.14));
  --motif-1: #dcefff;
  --motif-2: #9cc5ff;
  --motif-3: #4a8cff;
  --motif-4: #005ad6;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
  --r-card: 24px;
  --r-control: 12px;
  --r-pill: 9999px;
  --measure: 1200px;
  --gutter: 24px;
}
:root[data-theme='light'] { color-scheme: light; }
:root[data-theme='dark'] { color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 500; margin: 0; letter-spacing: -0.015em; line-height: 1.1; }
p { margin: 0; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--font-mono); }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 50; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r-control);
  font-weight: 500; font-size: 16px; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: light-dark(#0049ad, #1f6fe6); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--text); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.75; fill: none; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.wordmark:hover { text-decoration: none; }
.wordmark .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-actions .btn-secondary { display: none; }
}

/* ---- Hero ---- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 10px;
  border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-text);
  font-size: 14px; font-weight: 500;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); margin-top: 24px; max-width: 12ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); margin-top: 20px; max-width: 34em; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* Stagger on load */
.reveal { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }
.reveal:nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Product preview (right side of the hero) ---- */
.preview { position: relative; animation: rise 0.9s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.preview .motif { position: absolute; z-index: 0; inset: -28px -28px auto auto; width: 44%; aspect-ratio: 1; }
.preview-card {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 24px; margin-top: 40px; margin-right: 24px;
}
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview-head .label { font-size: 13px; color: var(--text-2); }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 500; }
.chip-today { background: var(--accent-soft); color: var(--accent-text); }
.chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-muted { background: light-dark(rgba(27, 32, 39, 0.06), rgba(243, 246, 251, 0.08)); color: var(--text-2); }
.figure { font-size: 40px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin-top: 8px; }
.figure small { font-size: 13px; font-weight: 400; color: var(--text-2); display: block; margin-top: 6px; letter-spacing: 0; }
.preview-stats { display: flex; gap: 24px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.stat { display: grid; gap: 2px; }
.stat b { font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.stat span { font-size: 13px; color: var(--text-2); }
.preview-rows { margin-top: 20px; border-top: 1px solid var(--border); }
.row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; height: 48px; border-bottom: 1px solid var(--border); font-size: 14px; }
.row .ref { font-family: var(--font-mono); color: var(--text-2); font-size: 13px; }
.row .who { display: grid; gap: 1px; min-width: 0; }
.row .who span { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .amt { font-variant-numeric: tabular-nums; font-weight: 500; }
.row .amt.in { color: var(--ok); }
.preview-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: 13px; color: var(--text-2); }
.preview-foot .pulse { display: inline-flex; align-items: center; gap: 8px; }
.preview-foot .pulse::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .preview-card { margin-right: 0; margin-top: 24px; }
  .preview .motif { width: 36%; inset: -12px -8px auto auto; }
}

/* ---- Bank strip ---- */
.banks { padding: 40px 0 8px; }
.banks p { font-size: 14px; color: var(--text-2); text-align: center; }
.bank-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; list-style: none; margin: 16px 0 0; padding: 0; }
.bank {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; color: var(--text);
}
.bank .logo { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; overflow: hidden; }
.bank .logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.bank .logo.mono { background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 600; border-color: transparent; }
.bank .tag { font-size: 11px; font-weight: 500; color: var(--text-3); margin-left: 2px; }

/* ---- Sections ---- */
.section { padding: 88px 0; }
.section-head { max-width: 40em; }
.kicker { font-size: 14px; font-weight: 500; color: var(--accent-text); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.section h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; text-wrap: balance; }
.section .sub { color: var(--text-2); font-size: 18px; margin-top: 14px; text-wrap: pretty; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; display: grid; gap: 14px; align-content: start; }
.card h3 { font-size: 20px; }
.card p { color: var(--text-2); font-size: 15.5px; }
.card .glyph { width: 56px; height: 56px; }
.card .glyph svg { width: 100%; height: 100%; }
.card-accent { background: var(--accent-soft); border-color: transparent; }
.card-accent p { color: var(--text); opacity: 0.85; }
.card-dark { background: light-dark(#1b2027, #e9eef7); color: light-dark(#f3f6fb, #1b2027); border-color: transparent; }
.card-dark p { color: inherit; opacity: 0.8; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Pain section: a quote-like list */
.pain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.pain blockquote { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; font-size: 19px; letter-spacing: -0.01em; line-height: 1.35; display: grid; gap: 18px; align-content: space-between; }
.pain blockquote footer { font-size: 14px; color: var(--text-2); letter-spacing: 0; }
.pain .q { color: var(--accent-text); font-size: 48px; line-height: 0.6; font-weight: 500; }
@media (max-width: 900px) { .pain { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 13px; color: var(--accent-text); }
.step h3 { font-size: 22px; }
.step p { color: var(--text-2); font-size: 15.5px; }
.step .shape { position: absolute; right: -16px; bottom: -16px; width: 96px; height: 96px; opacity: 0.9; }
.step code { font-family: var(--font-mono); font-size: 13px; background: var(--accent-soft); color: var(--accent-text); padding: 2px 6px; border-radius: 6px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Rules strip: how matching works */
.rules { margin-top: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rule { padding: 24px; display: grid; gap: 8px; border-right: 1px solid var(--border); }
.rule:last-child { border-right: 0; }
.rule .t { font-size: 13px; color: var(--text-2); }
.rule .v { font-family: var(--font-mono); font-size: 15px; }
.rule .d { font-size: 14px; color: var(--text-2); }
@media (max-width: 900px) {
  .rules { grid-template-columns: 1fr 1fr; }
  .rule { border-bottom: 1px solid var(--border); }
  .rule:nth-child(2n) { border-right: 0; }
  .rule:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .rules { grid-template-columns: 1fr; }
  .rule { border-right: 0; }
  .rule:nth-last-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .rule:last-child { border-bottom: 0; }
}

/* Developers */
.dev { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; margin-top: 40px; }
.dev-list { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.dev-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.dev-list li b { font-weight: 500; display: block; font-size: 17px; }
.dev-list li span { color: var(--text-2); font-size: 15px; }
.dev-list .ico { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); display: grid; place-items: center; }
.dev-list .ico svg { width: 16px; height: 16px; stroke: var(--accent-text); stroke-width: 1.75; fill: none; }
.code { background: light-dark(#1b2027, #0b0f14); color: #e9eef7; border-radius: var(--r-card); border: 1px solid light-dark(transparent, var(--border)); overflow: hidden; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid rgba(243, 246, 251, 0.1); font-family: var(--font-mono); font-size: 12px; color: #a6b0bf; }
.code-head .tabs { display: flex; gap: 14px; }
.code-head .tabs button { background: none; border: 0; color: #a6b0bf; font-family: var(--font-mono); font-size: 12px; padding: 4px 0; cursor: pointer; border-bottom: 1px solid transparent; }
.code-head .tabs button[aria-selected='true'] { color: #fff; border-bottom-color: #4a8cff; }
.code pre { margin: 0; padding: 20px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.6; }
.code [hidden] { display: none; }
.c-k { color: #9cc5ff; } .c-s { color: #b8e6c3; } .c-c { color: #7b8696; } .c-n { color: #ffd59e; }
@media (max-width: 900px) { .dev { grid-template-columns: 1fr; gap: 24px; } }

/* Assistants band */
.band { margin-top: 24px; background: var(--accent-soft); border-radius: var(--r-card); padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.band h3 { font-size: 24px; }
.band p { color: var(--text); opacity: 0.8; margin-top: 8px; max-width: 46em; }
.band .motif { width: 120px; height: 120px; }
@media (max-width: 700px) { .band { grid-template-columns: 1fr; } .band .motif { display: none; } }

/* Security */
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.sec { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px 28px; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.sec .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.sec .ico svg { width: 20px; height: 20px; stroke: var(--accent-text); stroke-width: 1.75; fill: none; }
.sec h3 { font-size: 18px; }
.sec p { color: var(--text-2); font-size: 15px; margin-top: 6px; }
@media (max-width: 760px) { .sec-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: 0 0 auto; width: 10px; height: 10px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg); transition: transform 0.2s; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--text-2); padding: 0 0 20px; font-size: 16px; max-width: 60ch; }

/* Final CTA */
.final { padding: 40px 0 96px; }
.final-card { position: relative; overflow: hidden; background: var(--accent); color: var(--on-accent); border-radius: var(--r-card); padding: 56px 48px; display: grid; gap: 20px; }
.final-card h2 { font-size: clamp(30px, 4vw, 44px); max-width: 16ch; text-wrap: balance; }
.final-card p { opacity: 0.85; max-width: 44em; font-size: 18px; }
.final-card .btn-light { background: #fff; color: var(--accent); }
.final-card .btn-light:hover { background: #dcefff; }
.final-card .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.final-card .btn-ghost:hover { border-color: #fff; }
.final-card .motif { position: absolute; right: -24px; top: -24px; width: 280px; height: 280px; opacity: 0.9; }
@media (max-width: 760px) { .final-card { padding: 36px 24px; } .final-card .motif { width: 160px; height: 160px; opacity: 0.6; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--text-2); font-size: 14px; }
.foot small { display: block; color: var(--text-3); font-size: 13px; margin-top: 10px; max-width: 48em; }
.theme-btn { background: none; border: 1px solid var(--border-strong); border-radius: var(--r-pill); height: 32px; padding: 0 12px; color: var(--text-2); font-size: 13px; cursor: pointer; }

/* Motif shapes drawn in blue tints; the only decoration. */
.motif .t1 { fill: var(--motif-1); } .motif .t2 { fill: var(--motif-2); } .motif .t3 { fill: var(--motif-3); } .motif .t4 { fill: var(--motif-4); }
.on-accent .t1 { fill: #dcefff; } .on-accent .t2 { fill: #9cc5ff; } .on-accent .t3 { fill: #4a8cff; } .on-accent .t4 { fill: #0049ad; }
:root[data-theme='dark'] .motif:not(.on-accent) { opacity: 0.55; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .motif:not(.on-accent) { opacity: 0.55; } }
