/* ==========================================================================
   Steady Grove - Parent Company Hub
   Design system aligned with Steady Dad (Inter + Lora, warm neutrals)
   ========================================================================== */

:root {
  /* Colors - Neutral palette for parent brand */
  --sage-50: #F4F6F1;
  --sage-100: #E5EAE0;
  --sage-200: #CDD6C4;
  --sage-300: #A8B89A;
  --sage-400: #8A9E78;
  --sage-500: #6B7F59;
  --sage-600: #566747;
  --sage-700: #44513A;

  --stone-50: #FAF9F5;
  --stone-100: #F5F4F0;
  --stone-200: #E8E6E1;
  --stone-300: #D4D1C9;
  --stone-400: #A9A499;
  --stone-500: #7A756B;
  --stone-600: #5C5850;
  --stone-700: #46433C;
  --stone-800: #2F2D28;

  /* Semantic */
  --color-primary: var(--sage-600);
  --color-primary-hover: var(--sage-700);
  --color-background: var(--stone-50);
  --color-surface: #FFFFFF;
  --color-text: var(--stone-800);
  --color-text-secondary: var(--stone-600);
  --color-text-muted: var(--stone-500);
  --color-border: var(--stone-200);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Lora', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Layout */
  --max-width: 960px;
  --radius: 1rem;
  --radius-sm: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.header-contact {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.header-contact:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
}

.hero h1 {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   Products
   ========================================================================== */

.products {
  padding: 0 0 var(--space-3xl);
}

.section-label {
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 720px;
  margin: 0 auto;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-xl);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

a.product-card:hover {
  border-color: var(--sage-400);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.product-card.coming-soon {
  opacity: 0.5;
  pointer-events: none;
}

/* Product Icon */
.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.product-icon.pine {
  background: #4F8A4A;
}

.product-icon.pine svg {
  color: white;
  fill: white;
}

.product-icon.steel {
  background: #2C9AB7;
}

.product-icon.steel svg {
  color: white;
}

.product-icon.blue {
  background: #5B8FB9;
}

.product-icon.blue svg {
  color: white;
}

.product-icon.muted {
  background: var(--stone-200);
}

.product-icon.muted svg {
  color: var(--stone-500);
}

/* Product Content */
.product-name {
  font-family: var(--font-family);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.product-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
}

.product-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

a.product-card:hover .product-link svg {
  transform: translateX(4px);
}

.badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--stone-200);
  color: var(--stone-600);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  margin-top: auto;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
}

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

.footer-copy {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 640px) {
  .hero {
    padding: var(--space-2xl) 0 var(--space-xl);
  }

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

  .footer .container {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}
