:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ink: #0a162d;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #3b5bdb;
  --brand-2: #0ea5c6;
  --grad: linear-gradient(135deg, #12d3df 0%, #2f8cf0 50%, #5b4ff0 100%);
  --radius: 14px;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { padding: 96px 0 88px; background: radial-gradient(900px 420px at 85% -10%, #dff7fb 0%, transparent 60%), radial-gradient(700px 380px at 10% 110%, #eceafe 0%, transparent 60%), linear-gradient(180deg, #f8fafc 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero-grid > *, .about > *, .products > * { min-width: 0; }
.facts dd { overflow-wrap: anywhere; }
.hero-logo { width: 100%; max-width: 340px; justify-self: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 20px; max-width: 820px; }
.hero p { font-size: 1.2rem; color: var(--ink-2); max-width: 680px; margin: 0 0 32px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1e293b; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; margin-left: 10px; }
.btn-ghost:hover { border-color: #cbd5e1; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.2; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 1.08rem; }
.section-head.tight { margin-bottom: 24px; }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: 0 12px 32px -12px rgba(15,23,42,.18); transform: translateY(-2px); border-color: #cbd5e1; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.card-logo { width: 56px; height: 56px; border-radius: 12px; object-fit: contain; }
.card-logo.pad { background: #0b1220; padding: 6px; }
.badge { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.badge.live { background: #dcfce7; color: #166534; }
.badge.soon { background: #fef3c7; color: #92400e; }
.card h3 { margin: 0 0 4px; font-size: 1.3rem; letter-spacing: -.01em; }
.card .kind { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.card p.desc { color: var(--ink-2); margin: 0 0 20px; flex: 1; }
.card ul { margin: 0 0 24px; padding: 0; list-style: none; color: var(--ink-2); font-size: .94rem; }
.card li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.card li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); }
.card a.more { font-weight: 600; }

/* About */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about p { color: var(--ink-2); margin: 0 0 16px; font-size: 1.05rem; }
.facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px; }
.facts dl { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principles h3 { font-size: 1.08rem; margin: 0 0 8px; }
.principles p { color: var(--ink-2); margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact .card { padding: 24px; }
.contact h3 { font-size: 1.05rem; margin: 0 0 6px; }
.contact p { color: var(--ink-2); margin: 0 0 12px; font-size: .95rem; }

/* Legal pages */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 2.2rem; letter-spacing: -.02em; margin: 0 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: #fff; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink-2); }
.footer-grid p { color: var(--muted); margin: 12px 0 0; max-width: 320px; }
.copyright { color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { max-width: 200px; justify-self: start; order: -1; }
  .products, .principles, .contact { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 18px; }
}
@media (max-width: 560px) {
  .nav a:not(.nav-contact) { display: none; }
  .hero { padding: 72px 0 64px; }
  section { padding: 64px 0; }
  .btn-ghost { margin: 12px 0 0; }
}
