* {
  box-sizing: border-box;
}

:root {
  --bg: #0f1115;
  --bg-soft: #151922;
  --panel: rgba(255,255,255,0.04);
  --panel-border: rgba(255,255,255,0.08);
  --text: #f3f4f6;
  --muted: #c5cad3;
  --soft: #9ca3af;
  --accent: #34d399;
  --accent-soft: rgba(52,211,153,0.14);
  --accent-border: rgba(52,211,153,0.3);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top, rgba(52,211,153,0.12), transparent 32%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(720px, calc(100% - 2rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(15, 17, 21, 0.86);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.14rem;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: block;
  flex: 0 0 auto;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a:hover,
.secondary-link:hover,
.contact-intro a:hover {
  color: #ffffff;
}

.hero {
  padding: 7rem 0 6rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 2rem;
  align-items: center;
}

.hero-content {
  max-width: 760px;
}

.hero-panel {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid var(--panel-border);
  border-radius: 1.2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}

.panel-label {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  font-size: 0.82rem;
}

.focus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.focus-list li {
  display: grid;
  gap: 0.25rem;
}

.focus-list span {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.08rem;
}

.focus-list strong {
  font-size: 1.05rem;
}

.focus-list em {
  font-style: normal;
  color: var(--muted);
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.98;
  margin: 0.5rem 0 1.5rem;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-text {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.primary-button,
button {
  display: inline-block;
  background: #ffffff;
  color: #0f1115;
  border: none;
  padding: 0.95rem 1.4rem;
  border-radius: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.primary-button:hover,
button:hover {
  transform: translateY(-1px);
}

.secondary-link {
  color: var(--muted);
  text-decoration: none;
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background: rgba(255,255,255,0.03);
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

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

.card,
.featured-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 1rem;
}

.card {
  padding: 1.5rem;
}

.featured-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-label {
  color: var(--accent);
  font-size: 0.9rem;
}

.product-card-body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.product-icon-wrapper {
  flex-shrink: 0;
  margin-top: 0.15rem;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  border-radius: 8px;
}

.product-card-text {
  flex: 1;
}

.product-title-link {
  color: inherit;
  text-decoration: none;
}

.product-title-link:hover {
  text-decoration: underline;
}

.status-pill {
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 0.85rem;
}

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

.contact-intro {
  margin-top: 1rem;
}

.contact-intro a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

input,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #ffffff;
}

textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-note {
  margin: 0.25rem 0 0;
  color: var(--soft);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  color: var(--soft);
  font-size: 0.95rem;
}

.error-page {
  min-height: 100vh;
}

.error-shell {
  width: min(760px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.error-brand {
  width: fit-content;
}

.error-card {
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid var(--panel-border);
  border-radius: 1.2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}

.error-card h1 {
  max-width: 100%;
}

.error-card p {
  color: var(--muted);
  max-width: 600px;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .nav,
  .footer-inner,
  .featured-card,
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    gap: 1rem;
  }

  .hero {
    padding-top: 5rem;
  }

  h1 {
    max-width: 100%;
  }
}
