:root {
  --ink: #0A0F1A;
  --surface: #121A2A;
  --line: #22304A;
  --text: #E9EEF5;
  --muted: #A3B0C4;
  --teal: #00D7D2;
  --coral: #FF7A59;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); font: 400 17px/1.6 "Plus Jakarta Sans", system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 4px; background: var(--teal); color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: #3BE6E1; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.link:hover { color: var(--teal); }

/* Header */
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 36px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--teal); }

/* Hero */
.hero { padding-block: 120px 140px; }
.eyebrow { display: flex; align-items: center; gap: 16px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 15px; margin-bottom: 32px; }
.eyebrow::before { content: ""; width: 4px; height: 22px; background: var(--coral); }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); max-width: 23ch; }
.hero p { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); max-width: 52ch; margin-top: 28px; }
.actions { display: flex; align-items: center; gap: 40px; margin-top: 40px; flex-wrap: wrap; }

/* Sections */
section { padding-block: 72px; }
h2 { font-size: clamp(30px, 3vw, 40px); }

/* Services */
.services h2 { margin-bottom: 40px; }
.rows { list-style: none; padding: 0; }
.rows li { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: center; padding-block: 44px; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows .n { color: var(--teal); font-weight: 700; font-size: 20px; }
.rows h3 { font-size: clamp(20px, 2vw, 26px); }
.rows p { color: var(--text); }

/* Products */
.products { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.card { border: 1px solid var(--line); background: var(--surface); border-radius: 4px; padding: 32px; }
.card h3 { color: var(--coral); font-size: clamp(24px, 2.4vw, 32px); }
.card p { margin: 10px 0 24px; }

/* How we work */
.ways h2 { margin-bottom: 48px; }
.ways .cols { display: grid; grid-template-columns: 1fr 1fr; }
.ways .cols > div { padding-right: 56px; }
.ways .cols > div + div { padding: 0 0 0 56px; border-left: 1px solid var(--line); }
.ways h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 16px; }
.ways p { color: var(--muted); font-size: 18px; }

/* Founder + contact */
.meet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); padding-bottom: 96px; }
.founder { padding-right: 48px; }
.founder .name { color: var(--coral); font-weight: 700; font-size: 20px; margin: 28px 0 16px; }
.founder p:not(.name) { color: var(--text); }
.contact { padding-left: 48px; border-left: 1px solid var(--line); }
.contact h2 { margin-bottom: 32px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-weight: 500; }
.field input, .field textarea { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; color: var(--text); font: inherit; padding: 12px 14px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.contact .btn { margin-top: 28px; }
.contact .alt { margin-top: 22px; color: var(--muted); }
.contact .alt a { color: var(--text); }

/* Footer */
.footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 28px 40px; border-top: 1px solid var(--line); color: var(--text); }
.footer nav { display: flex; gap: 40px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--teal); }

/* Legal pages */
.legal { padding-block: 80px 96px; max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
.legal .updated { color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal li + li { margin-top: 6px; }

@media (max-width: 900px) {
  .rows li { grid-template-columns: 56px 1fr; }
  .rows li p { grid-column: 2; }
  .products, .meet { grid-template-columns: 1fr; }
  .ways .cols { grid-template-columns: 1fr; gap: 40px; }
  .ways .cols > div, .ways .cols > div + div { padding: 0; border: 0; }
  .founder { padding: 0 0 56px; }
  .contact { padding: 56px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .header .btn { white-space: nowrap; min-height: 42px; padding: 0 16px; font-size: 15px; }
  .logo svg { width: 140px; height: auto; }
  .hero { padding-block: 72px 88px; }
  .fields { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

/* Logo cursor blink */
.logo .cursor { animation: blink 1.06s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .logo .cursor { animation: none; } }
