@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #0a0a0a;
  --primary-active: #1f1f1f;
  --canvas: #fffaf0;
  --surface-soft: #faf5e8;
  --surface-card: #f5f0e0;
  --brand-pink: #ff4d8b;
  --brand-teal: #1a3a3a;
  --brand-lavender: #b8a4ed;
  --brand-peach: #ffb084;
  --brand-ochre: #e8b94a;
  --ink: #0a0a0a;
  --body: #3a3a3a;
  --muted: #6a6a6a;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  
  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-section: 96px;

  --rounded-md: 12px;
  --rounded-lg: 16px;
  --rounded-xl: 24px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--canvas);
  color: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 500;
}

/* Typography styles based on DESIGN.md */
.display-xl {
  font-size: 72px;
  line-height: 1;
  letter-spacing: -2.5px;
}
.display-lg {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -2px;
}
.display-md {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.display-sm {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.title-lg { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.3px; }
.title-md { font-size: 18px; font-weight: 600; line-height: 1.4; }
.body-md { font-size: 16px; font-weight: 400; }
.nav-link { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--rounded-md);
  padding: 12px 20px;
  height: 44px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn-primary:hover {
  background-color: var(--primary-active);
}

.btn-on-color {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--rounded-md);
  padding: 12px 20px;
  height: 44px;
  text-decoration: none;
  transition: transform 0.2s;
}
.btn-on-color:hover {
  transform: translateY(-2px);
}

/* Header */
header {
  height: 64px;
  background-color: var(--canvas);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
}
.logo-wrapper img {
  height: 32px;
}
.logo-wrapper span {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.5px;
}

nav.main-nav {
  display: flex;
  gap: var(--spacing-xl);
}
.header-actions {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}
.header-actions a.nav-link {
  font-weight: 600;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Hero Section */
.hero-band {
  padding: var(--spacing-section) 0;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--spacing-xxl);
  align-items: center;
}
.hero-content h1 {
  margin-bottom: var(--spacing-lg);
}
.hero-content p {
  font-size: 20px;
  color: var(--body);
  margin-bottom: var(--spacing-xl);
  max-width: 540px;
}
.hero-illustration {
  background-color: var(--surface-soft);
  border-radius: var(--rounded-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Feature/Product Section */
.products-section {
  padding: var(--spacing-section) 0;
}
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-xxl);
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.product-card:hover {
  transform: translateY(-8px);
}
.product-content {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-content h3 {
  margin-bottom: var(--spacing-md);
}
.product-content p {
  margin-bottom: var(--spacing-lg);
  font-size: 18px;
}
.product-features {
  list-style: none;
  margin-bottom: var(--spacing-xl);
}
.product-features li {
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.product-features li::before {
  content: '✓';
  font-weight: bold;
  opacity: 0.8;
}

.product-image {
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img {
  width: 100%;
  border-radius: var(--rounded-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Card variants */
.card-pink { background-color: var(--brand-pink); color: var(--on-primary); }
.card-pink .product-content h3, .card-pink .product-content p { color: var(--on-primary); }
.card-pink .product-features li { color: var(--on-primary); }

.card-teal { background-color: var(--brand-teal); color: var(--on-dark); }
.card-teal .product-content h3, .card-teal .product-content p { color: var(--on-dark); }
.card-teal .product-features li { color: var(--on-dark); }

.card-ochre { background-color: var(--brand-ochre); color: var(--ink); }
.card-ochre .product-content h3, .card-ochre .product-content p { color: var(--ink); }
.card-ochre .product-features li { color: var(--ink); }

/* Pre-footer CTA */
.cta-band {
  background-color: var(--surface-soft);
  border-radius: var(--rounded-xl);
  padding: 80px;
  text-align: center;
  margin: var(--spacing-section) auto;
  max-width: 1000px;
}
.cta-band h2 {
  margin-bottom: var(--spacing-md);
}
.cta-band p {
  margin-bottom: var(--spacing-xl);
  font-size: 18px;
  color: var(--muted);
}

/* Footer */
footer {
  background-color: var(--surface-soft);
  padding: 80px 40px;
  color: var(--body);
}
.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xxl);
}
.footer-col h4 {
  margin-bottom: var(--spacing-lg);
  font-size: 16px;
  color: var(--ink);
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: var(--spacing-sm);
}
.footer-col ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.footer-col ul li a:hover {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-band {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto var(--spacing-xl);
  }
  .product-card {
    grid-template-columns: 1fr;
  }
  .product-image {
    padding: 0 48px 48px;
  }
  nav.main-nav {
    display: none;
  }
}
