:root {
  --bg: #0b0f0d;
  --bg-alt: #111512;
  --text: #f2f4f2;
  --text-muted: #a4b0ab;
  --border: #212823;
  --accent: #34d399;
  --accent-ink: #06231a;
  --card: #131813;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --maxw: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.nav .wrap,
footer .wrap {
  padding-bottom: 0;
}

/* Nav */
.nav {
  padding: 28px 0;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-link .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--text-muted);
}

.nav-links a {
  text-decoration: none;
}

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

/* Hero */
.hero {
  padding: 64px 0 56px;
  text-align: center;
}

h1 {
  font-size: 50px;
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero p.lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 88px 0;
}

.section-philosophy {
  padding-bottom: 140px;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: 32px;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0;
}

/* Philosophy grid */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.principle {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

/* Products */
.product-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 16px;
}

.product-card img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
}

.product-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.product-meta {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.product-card .go {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  border: 1px solid var(--accent);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
}

.product-card.placeholder {
  opacity: 0.6;
}

.product-card.placeholder .icon-ph {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-muted);
}

/* Legal pages */
.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 0 96px;
}

.legal h1 {
  font-size: 34px;
  margin: 0 0 8px;
}

.legal .legal-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 20px;
  margin: 40px 0 12px;
  font-weight: 700;
}

.legal p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 14px;
}

.legal address {
  font-style: normal;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.legal a {
  color: var(--accent);
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.legal ul {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 6px;
}

/* Footer */
footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

footer a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
}

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

footer .foot-links {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  justify-content: center;
}

@media (max-width: 860px) {
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card {
    grid-template-columns: 64px 1fr;
    padding: 22px;
  }
  .product-card img,
  .product-card .icon-ph {
    width: 64px;
    height: 64px;
  }
  .product-card .go {
    grid-column: 2;
    display: inline-block;
    margin-top: 14px;
    text-align: center;
  }
  h1 {
    font-size: 34px;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 520px) {
  .principles {
    grid-template-columns: 1fr;
  }
}
