@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300&family=DM+Mono:wght@300;400&display=swap');

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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f2f2f2;
  --gray-300: #d4d4d4;
  --gray-500: #737373;
  --gray-700: #404040;
  --accent: #0066CC;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'DM Mono', 'SF Mono', monospace;
  --max-w: 680px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--black);
  color: var(--white);
}

/* ─── Links ─── */
a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ─── Layout ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ─── Header ─── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--black);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-mark {
  display: block;
  height: 24px;
  width: auto;
  transition: opacity 0.2s ease;
}

.logo-link:hover .logo-mark {
  opacity: 0.6;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--black);
}

nav a:hover::after {
  width: 100%;
}

/* ─── Hero (Homepage) ─── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 56px - 200px);
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero-logo {
  display: block;
  width: clamp(220px, 40vw, 340px);
  height: auto;
  margin-bottom: 2.5rem;
}


.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 300;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  max-width: 420px;
  line-height: 1.7;
}

/* ─── Divider ─── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--gray-300);
  margin: 0;
}

/* ─── Product Section ─── */
.products {
  padding: 4rem 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.product-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
}

.product-icon {
  width: 64px;
  height: 64px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon svg {
  width: 28px;
  height: 28px;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.product-nav {
  display: flex;
  gap: 1.5rem;
}

.product-nav a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

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

/* ─── Footer ─── */
footer {
  margin-top: 6rem;
  border-top: 1px solid var(--black);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--gray-500);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.footer-email {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gray-500);
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.footer-email:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ─── Page Header (Subpages) ─── */
.page-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--gray-300);
}

.page-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-breadcrumb a {
  color: var(--gray-500);
}

.page-breadcrumb a:hover {
  color: var(--accent);
}

.page-breadcrumb span {
  color: var(--gray-300);
}

.page-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

/* ─── Legal Content ─── */
.legal-content {
  padding: 3rem 0;
}

.legal-content section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.legal-content section:first-child {
  padding-top: 0;
}

.legal-content section:last-child {
  border-bottom: none;
}

.legal-content h2 {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content strong {
  font-weight: 500;
  color: var(--black);
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--gray-700);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.4rem;
  line-height: 1.75;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 4px;
  height: 1px;
  background: var(--gray-500);
}

.legal-content a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.legal-content a:hover {
  border-bottom-color: var(--accent);
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-300);
  letter-spacing: 0.02em;
}

/* ─── FAQ ─── */
.faq-section {
  padding: 3rem 0;
}

.faq-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--gray-300);
}

.faq-q {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.faq-a {
  font-size: 0.95rem;
  color: var(--gray-500);
  font-weight: 300;
  line-height: 1.75;
}

/* ─── Contact Block ─── */
.contact-block {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  text-align: center;
}

.contact-block p {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.contact-block a {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--black);
  border-bottom: 1px solid var(--gray-300);
  transition: all 0.2s ease;
}

.contact-block a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.12s; }
.animate-in:nth-child(3) { animation-delay: 0.19s; }
.animate-in:nth-child(4) { animation-delay: 0.26s; }
.animate-in:nth-child(5) { animation-delay: 0.33s; }

.hero .hero-logo { animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }
.hero .hero-tagline { animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
.products { animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  .product-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-icon {
    width: 48px;
    height: 48px;
  }

  .product-icon svg {
    width: 22px;
    height: 22px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .product-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .page-header {
    padding: 2.5rem 0 2rem;
  }

  .contact-block {
    padding: 2rem 1.5rem;
  }
}
