:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --accent: #06b6d4;
  --accent-deep: #0891b2;
  --accent-dev: #6366f1;
  --accent-dev-deep: #4f46e5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dev) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
}

.header-links {
  display: flex;
  gap: 24px;
}

.header-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.header-links a:hover { color: var(--ink); }

/* Hero */
.hero {
  padding: 80px 0 64px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container { position: relative; }

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lead {
  max-width: 620px;
  margin: 0 0 48px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-soft);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  opacity: 0.9;
}

.card--dev::before { background: var(--accent-dev); }

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.card--dev .card-tag { color: var(--accent-dev-deep); }

.card h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.card--dev .card-list li::before { background: var(--accent-dev); }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-deep);
}

.card--dev .card-cta { color: var(--accent-dev-deep); }

.card-cta svg { transition: transform 0.2s ease; }
.card:hover .card-cta svg { transform: translateX(4px); }

/* About */
.about {
  padding: 80px 0;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.about h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 16px;
}

.facts {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.facts dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.facts dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.facts dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.facts dt {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.facts dd {
  margin: 0;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  text-align: right;
}

/* Footer */
.site-footer {
  padding: 56px 0 32px;
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 16px;
}

.footer-meta {
  margin: 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col p {
  margin: 4px 0;
  font-size: 14.5px;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--accent-deep); }

.footer-bottom {
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom p { margin: 0; }

/* Mobile */
@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
  .about { padding: 56px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .card { padding: 28px; }
  .header-links { gap: 16px; }
  .header-links a { font-size: 13px; }
}

@media (max-width: 480px) {
  .header-links a:first-child { display: none; }
}

/* Focus states */
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.card--dev:focus-visible { outline-color: var(--accent-dev); }
