:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --band: #eef2f6;
  --ink: #12202b;
  --muted: #4c5b68;
  --line: #d8e0e7;
  --brand: #143a52;
  --brand-ink: #ffffff;
  --accent: #ffb454;
  --accent-ink: #3a2300;
  --link: #0f5a86;
  --focus: #0f5a86;
  --shadow: 0 1px 2px rgba(18, 32, 43, .06), 0 8px 24px rgba(18, 32, 43, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e171e;
    --surface: #15222c;
    --band: #121d26;
    --ink: #eaf0f5;
    --muted: #a6b4c0;
    --line: #26384a;
    --brand: #ffb454;
    --brand-ink: #261700;
    --accent: #ffb454;
    --accent-ink: #261700;
    --link: #7cc4f0;
    --focus: #7cc4f0;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--accent); }
@media (prefers-color-scheme: dark) { .mark { color: var(--brand-ink); } }
.brand-name { font-size: 1rem; line-height: 1.2; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
nav a:hover { color: var(--ink); }
nav a.btn { color: var(--brand-ink); }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: 13px 22px; border-radius: 10px; font-weight: 650; text-decoration: none; border: 2px solid var(--brand); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.small { padding: 8px 16px; font-size: .92rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* type */
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--link); }
.lead { font-size: 1.15rem; color: var(--muted); margin: 20px 0 0; max-width: 62ch; }
.sub { color: var(--muted); margin: 10px 0 0; }

/* hero */
.hero { padding: clamp(48px, 9vw, 104px) 0 clamp(40px, 7vw, 80px); }
.hero-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr; align-items: center; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 22px; box-shadow: var(--shadow); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); }
.ticks li strong { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 4px); width: 5px; height: 9px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* sections */
.band { background: var(--band); border-block: 1px solid var(--line); padding: clamp(44px, 7vw, 80px) 0; }
.process, .contact { padding: clamp(44px, 7vw, 80px) 0; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.num { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .08em; color: var(--accent-ink); background: var(--accent); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
.steps { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: s; border-top: 3px solid var(--accent); padding-top: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 800; color: var(--link); font-size: .85rem; letter-spacing: .08em; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
.apps { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: center; }
.app-card { display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s ease; }
.app-card:hover { transform: translateY(-2px); }
.app-name { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.app-desc { color: var(--muted); }
.app-link { color: var(--link); font-weight: 650; margin-top: 6px; }
.contact { text-align: center; }
.contact .lead { margin-inline: auto; }
.contact .cta { justify-content: center; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 22px 0 34px; color: var(--muted); font-size: .92rem; }
.foot-bar { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a { color: var(--muted); }

/* small screens */
@media (max-width: 880px) {
  .hero-grid, .apps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  nav a:not(.btn) { display: none; }
  .brand-name { font-size: .92rem; }
  .steps { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; text-align: center; }
}
