*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #1a1412;
  --bg-elevated: #120e0c;
  --bg-panel: #221a17;
  --text: #f5ebe6;
  --text-muted: #c4b0a8;
  --text-dim: #9a847a;
  --accent: #c45c3e;
  --accent-hover: #d46b4c;
  --accent-soft: rgba(196, 92, 62, 0.14);
  --border: #3d302b;
  --max-width: 1080px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, var(--accent-soft), transparent),
    var(--bg);
}

a {
  color: var(--text-dim);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.brand img {
  width: 40px;
  height: auto;
}

.brand:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-nav a:not(.btn) {
  padding: 0.35rem 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0 4rem;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(100%, 280px);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-lg {
  padding: 0.8rem 1.35rem;
  font-size: 0.9375rem;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  color: #fff;
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-ghost {
  color: var(--text-dim);
  background: transparent;
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}

.section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 60ch;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.about-card {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-panel);
}

.about-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--accent);
}

.about-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.product-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--bg-panel), var(--bg-elevated));
}

.product-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #052e16;
  background: #22c55e;
}

.product-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.product-tagline {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-block {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg-panel);
}

.contact-block p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
}

.contact-block a {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
}

.contact-block .contact-row + .contact-row {
  margin-top: 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 1.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: min(60%, 200px);
  }

  .hero-actions {
    justify-content: center;
  }

  .product-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-mark {
    margin: 0 auto;
  }

  .product-links {
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-meta {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .site-nav a:not(.btn) {
    display: none;
  }
}
