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

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --rule: #e2e8f0;
  --surface: #f8fafc;
  --white: #ffffff;
  --accent: #4f46e5;
  --accent-light: #eef2ff;
  --radius: 8px;
  --max: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
header {
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.logo span { color: var(--accent); }

nav { display: flex; gap: 32px; }

nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

nav a:hover { color: var(--white); text-decoration: none; }

/* ── Hero ── */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 96px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 em { font-style: normal; color: #818cf8; }

.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.15s;
}

.btn:hover { opacity: 0.88; text-decoration: none; }

/* ── Section shared ── */
section { padding: 80px 0; }
section + section { border-top: 1px solid var(--rule); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

p { color: var(--ink-2); margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ── About ── */
#about { background: var(--surface); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.company-meta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-item .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.meta-item .value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

/* ── Products ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.product-card {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 28px;
  background: var(--white);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border-color: #c7d2fe;
}

.product-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.product-card h3 { margin-bottom: 6px; }
.product-card p { font-size: 0.9rem; }

.product-card .product-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── Contact ── */
#contact { background: var(--surface); }

.contact-block {
  max-width: 560px;
}

.contact-block address {
  font-style: normal;
  color: var(--ink-2);
  line-height: 1.8;
  margin-top: 8px;
}

/* ── Legal pages ── */
.legal-hero {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 48px;
}

.legal-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-hero .updated {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  margin-top: 8px;
}

.legal-body { padding: 64px 0; max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 1.25rem; margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 0.95rem; color: var(--ink-2); }
.legal-body ul { padding-left: 20px; margin-bottom: 16px; }
.legal-body li { margin-bottom: 6px; }

/* ── Footer ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 40px 0;
}

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

footer .logo { font-size: 1rem; }

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

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: color 0.15s;
}

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

.footer-copy { font-size: 0.8rem; }

/* ── Responsive ── */
@media (max-width: 680px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  nav { gap: 20px; }
  footer .container { flex-direction: column; align-items: flex-start; }
}
