@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --bg-alt: #ebe6dd;
  --ink: #161616;
  --muted: #5b5b5b;
  --accent: #e36b2c;
  --accent-dark: #b84e1f;
  --surface: #ffffff;
  --line: #d9d3c9;
  --shadow: 0 24px 60px rgba(22, 22, 22, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
}

body[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1114;
  --bg-alt: #14181d;
  --ink: #f4f1ea;
  --muted: #b9b3a9;
  --accent: #ff8b3d;
  --accent-dark: #ffb37a;
  --surface: #161b21;
  --line: #262c35;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #fff8ec 0%, var(--bg) 40%, #efe6d8 100%);
  color: var(--ink);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

body[data-theme="dark"] {
  background: radial-gradient(circle at top, #1b2027 0%, var(--bg) 40%, #0c0e12 100%);
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

body[data-theme="dark"] .site-header {
  background: rgba(15, 17, 20, 0.8);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 46px;
  height: 46px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.nav a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

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

.theme-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.hero {
  padding: 90px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.4rem, 3.6vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(227, 107, 44, 0.25);
}

body[data-theme="dark"] .btn.primary {
  box-shadow: 0 12px 24px rgba(255, 139, 61, 0.3);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-2px);
}

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

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.hero-card li::before {
  content: "+";
  color: var(--accent);
  font-weight: 700;
  margin-right: 10px;
}

.hero-card-footer {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: "IBM Plex Mono", "Courier New", monospace;
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin-bottom: 22px;
}

.section-lead {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 24px;
}

.section.alt {
  background: var(--bg-alt);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  align-items: center;
}

.stats {
  display: grid;
  gap: 16px;
}

.stat {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}

.stat-number {
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.list {
  display: grid;
  gap: 12px;
}

.list-item {
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.contact {
  background: linear-gradient(120deg, #fff4e8 0%, #f7e5d1 100%);
}

body[data-theme="dark"] .contact {
  background: linear-gradient(120deg, #1c222a 0%, #171b22 100%);
}

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

.site-footer {
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

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

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .hero {
    padding-top: 70px;
  }
}
