/* ============================================
   COASTLINE BRAND SYSTEM v2.0
   Shared across all 4 domains
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Primary Palette — Ocean */
  --coast-deep: #0c1b2a;
  --coast-mid: #1a3a5c;
  --coast-light: #2d6a8a;
  --coast-surf: #4db8a4;
  --coast-foam: #e8f5f0;

  /* Warm Accent — Sand */
  --sand-dark: #8b6914;
  --sand-mid: #c49b66;
  --sand-light: #f5edd6;

  /* Neutral */
  --ink: #1a1a2e;
  --ink-light: #4a4a6a;
  --ink-muted: #8888a0;
  --cloud: #f7f8fa;
  --white: #ffffff;

  /* Accent per domain (subtle, same family) */
  --accent-ai: #4db8a4;       /* teal — platform */
  --accent-dk: #c49b66;       /* gold — personal */
  --accent-ii: #e06030;       /* ember — accelerator */

  /* Type */
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Transition */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-ui); color: var(--ink); background: var(--white); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Typography --- */
.t-display { font-family: var(--font-display); font-weight: 400; }
.t-ui { font-family: var(--font-ui); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 300; letter-spacing: -0.01em; line-height: 1.25; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
p { max-width: 65ch; }

/* --- Layout --- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 var(--space-md); }
.section { padding: var(--space-xl) 0; }
.section--tight { padding: var(--space-lg) 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-family: var(--font-ui); font-size: 1rem; font-weight: 600;
  transition: all 0.3s var(--ease);
  border: none; cursor: pointer;
}
.btn--primary { background: var(--coast-surf); color: var(--coast-deep); }
.btn--primary:hover { background: #3da893; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(77,184,164,0.3); }
.btn--ghost { background: transparent; border: 1.5px solid rgba(255,255,255,0.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--dark { background: var(--coast-deep); color: #fff; }
.btn--dark:hover { background: #152d42; transform: translateY(-2px); }

/* --- Navigation Bar (ecosystem) --- */
.eco-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--space-md);
  background: var(--coast-deep);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  position: sticky; top: 0; z-index: 100;
}
.eco-nav__brand { font-weight: 700; color: #fff; font-size: 1rem; }
.eco-nav__links { display: flex; gap: 24px; }
.eco-nav__links a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.eco-nav__links a:hover, .eco-nav__links a.active { color: var(--coast-surf); }

/* --- Hero --- */
.hero {
  min-height: 85vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: var(--space-xl) var(--space-md);
  position: relative; overflow: hidden;
}
.hero--dark { background: var(--coast-deep); color: #fff; }
.hero__eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--coast-surf);
  margin-bottom: var(--space-sm);
}
.hero h1 { margin-bottom: var(--space-sm); }
.hero__sub { font-size: 1.15rem; opacity: 0.75; max-width: 540px; margin: 0 auto var(--space-md); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* --- Cards --- */
.card {
  background: var(--white); border-radius: var(--radius-md);
  padding: var(--space-md); border: 1px solid #e8ecf0;
  transition: all 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.06); }

/* --- Footer --- */
.site-footer {
  background: var(--coast-deep); color: rgba(255,255,255,0.5);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  text-align: center; font-size: 0.9rem;
}
.site-footer a { color: var(--coast-surf); }
.site-footer__links { display: flex; justify-content: center; gap: 32px; margin-bottom: var(--space-sm); flex-wrap: wrap; }
.site-footer__links a { color: rgba(255,255,255,0.6); }
.site-footer__links a:hover { color: var(--coast-surf); }

/* --- Mobile --- */
@media (max-width: 768px) {
  .hero { min-height: 75vh; padding: var(--space-lg) var(--space-sm); }
  .eco-nav__links { gap: 12px; font-size: 0.78rem; }
  .section { padding: var(--space-lg) 0; }
  .container { padding: 0 var(--space-sm); }
}
</style>
