:root {
  --bg: #ffffff;
  --alt: #f3f7f6;
  --text: #0f1f1d;
  --muted: #566a66;
  --brand: #0f766e;
  --brand-2: #14b8a6;
  --accent: #6366f1;
  --border: #e1e9e7;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(15,31,29,.05), 0 12px 32px -12px rgba(15,31,29,.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1211;
    --alt: #0f1a19;
    --text: #e8f0ee;
    --muted: #94aaa5;
    --brand: #2dd4bf;
    --brand-2: #5eead4;
    --accent: #818cf8;
    --border: #1f302d;
    --card: #101c1b;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -16px rgba(0,0,0,.7);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: var(--brand); }

header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--border); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
nav a { margin-left: 26px; color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
nav a:hover { color: var(--text); }

.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90%; z-index: -1;
  background: radial-gradient(600px 300px at 20% 20%, color-mix(in srgb, var(--brand-2) 28%, transparent), transparent 70%),
              radial-gradient(500px 300px at 85% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.hero .wrap { display: grid; gap: 56px; grid-template-columns: 1.05fr .95fr; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--border); background: var(--card); border-radius: 999px; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 25%, transparent); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 20px; }
.grad { background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: 1.15rem; color: var(--muted); max-width: 52ch; margin: 0 0 30px; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 8px 20px -8px var(--brand); }
@media (prefers-color-scheme: dark) { .btn { color: #04201c; } }
.btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); box-shadow: none; margin-left: 10px; }

/* product mockup */
.mock { background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.2deg); }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--alt); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-body { padding: 20px; }
.mock-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-title b { font-size: .95rem; }
.pill { font-size: .72rem; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.pill.ok { background: color-mix(in srgb, #22c55e 18%, transparent); color: #16a34a; }
.pill.wait { background: color-mix(in srgb, #f59e0b 20%, transparent); color: #d97706; }
.row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--border); font-size: .88rem; }
.row span:first-child { color: var(--muted); }
.total { display: flex; justify-content: space-between; margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--alt); font-weight: 700; }

.stats { padding: 8px 0 56px; }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat { text-align: center; padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.stat b { display: block; font-size: 1.7rem; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .9rem; }

section { padding: 72px 0; }
section.alt { background: var(--alt); }
.eyebrow { color: var(--brand); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; }
.lead { color: var(--muted); margin: 0 0 40px; max-width: 58ch; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, transparent), color-mix(in srgb, var(--accent) 18%, transparent)); }
.ico svg { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }

.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { position: relative; padding: 26px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

.customer { display: flex; align-items: center; gap: 22px; padding: 30px; border-radius: 20px; border: 1px solid var(--border); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, var(--card)), color-mix(in srgb, var(--accent) 8%, var(--card))); }
.customer .mark { flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent)); }
.customer b { font-size: 1.2rem; }
.customer p { margin: 4px 0 0; color: var(--muted); }

footer { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 820px) {
  .hero { padding: 56px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .mock { transform: none; }
  nav a { margin-left: 16px; }
  .btn.ghost { margin: 10px 0 0; }
  .customer { flex-direction: column; text-align: center; }
}

.logo { white-space: nowrap; }
nav a { white-space: nowrap; }
@media (max-width: 520px) { nav a:nth-child(2) { display: none; } nav a { margin-left: 14px; } }
