/* OwlMind website — DietOwl brand system.
 * Palette: Deep Pine / Emerald / Electric Lime / Golden Sun / Ember.
 * Type: Manrope for structure, Lora for accents.
 */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  /* DietOwl brand palette */
  --deep-pine:      #0B1A10;
  --emerald:        #14532D;
  --emerald-2:      #1d6b3b;
  --electric-lime:  #C8F000;
  --golden-sun:     #F5C227;
  --ember:          #FF5733;

  /* Working tokens */
  --bg:             var(--deep-pine);
  --bg-2:           #102a18;
  --surface:        #14352208;
  --surface-card:   rgba(20, 83, 45, 0.18);
  --surface-elev:   rgba(200, 240, 0, 0.05);
  --border:         rgba(200, 240, 0, 0.10);
  --border-strong:  rgba(200, 240, 0, 0.22);
  --text:           #F4F1E8;
  --text-muted:     #9CB29F;
  --text-soft:      #C3D1C6;

  /* Type tokens */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1120px;
}

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

html, body {
  background:
    radial-gradient(ellipse at 20% -10%, rgba(20, 83, 45, 0.55), transparent 60%),
    radial-gradient(ellipse at 90% 110%, rgba(245, 194, 39, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--electric-lime);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}

a:hover { border-bottom-color: var(--electric-lime); }

/* ============== Layout shell ============== */

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

.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 26, 16, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand img {
  height: 36px;
  width: 36px;
  border-radius: 10px;
  display: block;
}

.nav {
  display: flex;
  gap: 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.nav a {
  color: var(--text-soft);
  border-bottom: none;
}

.nav a:hover { color: var(--electric-lime); }

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

.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--electric-lime);
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  margin-bottom: 24px;
  background: rgba(200, 240, 0, 0.05);
}

.hero-logo {
  width: 116px;
  height: 116px;
  border-radius: 24px;
  margin-bottom: 28px;
  display: block;
  margin-inline: auto;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

.hero h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--text);
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--golden-sun);
}

.hero .tagline {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============== Buttons ============== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease),
              border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.btn-primary {
  background: var(--electric-lime);
  color: var(--deep-pine);
}
.btn-primary:hover {
  background: #d6ff14;
  transform: translateY(-1px);
  border-bottom: 1px solid transparent;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: rgba(200, 240, 0, 0.06);
  border-color: var(--electric-lime);
  color: var(--electric-lime);
  border-bottom: 1px solid var(--electric-lime);
}

/* ============== Sections ============== */

section { padding: 80px 0; }

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--golden-sun);
  margin-bottom: 12px;
}

section h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 14px;
  max-width: 680px;
}

section .lead {
  color: var(--text-soft);
  font-size: 16px;
  max-width: 640px;
  margin-bottom: 44px;
}

/* ============== Feature cards ============== */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.feature {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
              background 0.25s var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: rgba(20, 83, 45, 0.28);
}

.feature .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(200, 240, 0, 0.12);
  color: var(--electric-lime);
  font-size: 20px;
  margin-bottom: 16px;
}

.feature h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
  color: var(--text);
}

.feature p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============== Content pages ============== */

.content { padding: 60px 0 100px; }

.content h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 42px);
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.content .meta {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.4px;
  margin-bottom: 32px;
}

.content h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.4px;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--text);
}

.content h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text);
}

.content p,
.content ul,
.content ol {
  color: var(--text-soft);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
}

.content ul, .content ol { padding-left: 22px; }
.content li { margin-bottom: 6px; }

.content strong { color: var(--text); font-weight: 700; }

.content code {
  background: rgba(20, 83, 45, 0.4);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--electric-lime);
}

.callout {
  background: linear-gradient(135deg,
    rgba(200, 240, 0, 0.08),
    rgba(245, 194, 39, 0.05));
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--electric-lime);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  color: var(--text);
  font-size: 15px;
}

.callout strong { color: var(--electric-lime); }

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(11, 26, 16, 0.5);
}

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

.site-footer .footer-links a {
  margin-right: 18px;
  color: var(--text-muted);
  border-bottom: none;
  font-weight: 500;
}

.site-footer .footer-links a:last-child { margin-right: 0; }

.site-footer .footer-links a:hover { color: var(--electric-lime); }

.site-footer a.brand-inline {
  color: inherit;
  border-bottom: none;
  font-weight: 600;
}

.site-footer a.brand-inline:hover { color: var(--electric-lime); }

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

@media (max-width: 768px) {
  .site-header { padding: 16px 0; }
  .nav { gap: 18px; font-size: 12px; }
  .hero { padding: 48px 0 40px; }
  section { padding: 48px 0; }
  .feature { padding: 22px 20px; }
  .callout { padding: 16px 18px; }
}
