:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --dark: #0b0d10;
  --dark-card: #12161c;
  --dark-border: #232933;
  --text: #0b0d10;
  --muted: #525866;
  --subtle: #868e9c;
  --border: #e5e7eb;
  --accent: #10b981;
  --accent-dark: #059669;

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w: 1040px;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a {
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--text);
}

main {
  flex: 1;
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--border);
  background-image:
    linear-gradient(to right, rgba(11, 13, 16, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 13, 16, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.92) 72%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.hero p {
  margin: 0 0 32px;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-dark {
  background: var(--dark);
  color: #ffffff;
  border: 1px solid var(--dark);
}

.btn-dark:hover {
  background: #1f242c;
  border-color: #1f242c;
}

.btn-light {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-light:hover {
  border-color: var(--dark);
}

.btn-accent {
  background: #ffffff;
  color: var(--dark);
  border: 1px solid #ffffff;
}

.btn-accent:hover {
  background: #e9ecef;
  border-color: #e9ecef;
}

.btn-ghost-dark {
  background: transparent;
  color: #d1d5db;
  border: 1px solid var(--dark-border);
}

.btn-ghost-dark:hover {
  color: #ffffff;
  border-color: #4b5563;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
}

/* Product Showcase */
.showcase {
  background: var(--dark);
  color: #f9fafb;
  border-radius: 14px;
  border: 1px solid var(--dark-border);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.showcase-body {
  display: flex;
  flex-direction: column;
}

.showcase-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.showcase h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.showcase-desc {
  margin: 0 0 24px;
  color: #9ca3af;
  font-size: 0.98rem;
  max-width: 48ch;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.showcase-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-frame {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.2s ease;
}

.showcase-visual:hover .preview-frame {
  border-color: #4b5563;
  transform: translateY(-2px);
}

.preview-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.preview-caption {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #6b7280;
  text-align: center;
}

.spec-panel {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--dark-border);
}

.spec-row:first-child {
  padding-top: 2px;
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}

.spec-k {
  color: #6b7280;
}

.spec-v {
  color: #f3f4f6;
  text-align: right;
}

/* Approach Grid */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.pillar h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pillar p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  font-size: 0.88rem;
  color: var(--subtle);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.footer-links a:hover {
  color: var(--text);
}

/* 404 */
.not-found {
  padding: 112px 0;
}

.not-found h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.not-found p {
  margin: 0 0 28px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .showcase {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 64px 0 56px;
  }

  .section {
    padding: 56px 0;
  }

  .nav {
    gap: 18px;
  }
}
