/* Bacon Digital Labs — site styles */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-inverse: #0f172a;
  --bg-inverse-alt: #16213a;
  --text: #101521;
  --text-muted: #4b5568;
  --text-on-inverse: #f3f5f9;
  --text-on-inverse-muted: #aab3c5;
  --border: #e4e7ee;
  --border-inverse: rgba(255, 255, 255, 0.12);
  --accent: #f59e0b;
  --accent-strong: #d9820a;
  --accent-contrast: #171308;
  --card-bg: #ffffff;
  --shadow: 0 1px 2px rgba(16, 21, 33, 0.04), 0 8px 24px -12px rgba(16, 21, 33, 0.12);
  --radius: 14px;
  --max-width: 1120px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f16;
    --bg-alt: #121826;
    --bg-inverse: #05070c;
    --bg-inverse-alt: #0b0f16;
    --text: #eef1f7;
    --text-muted: #a7b0c2;
    --text-on-inverse: #f3f5f9;
    --text-on-inverse-muted: #a7b0c2;
    --border: #232b3d;
    --border-inverse: rgba(255, 255, 255, 0.1);
    --card-bg: #121826;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-mark-bg { fill: var(--bg-inverse); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}

.primary-nav a { text-decoration: none; color: var(--text-muted); }
.primary-nav a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: var(--accent-contrast) !important;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent-strong); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px 22px;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.05s ease, background-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn-primary:hover { background: var(--accent-strong); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-alt); }

.btn-lg { padding: 15px 26px; font-size: 1.02rem; }

/* Hero */
.hero {
  background:
    radial-gradient(1100px 480px at 15% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    var(--bg-inverse);
  color: var(--text-on-inverse);
  padding: 96px 0 84px;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 18px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin: 0 0 20px;
  max-width: 20ch;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--text-on-inverse-muted);
  max-width: 60ch;
  margin: 0 0 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

.hero .btn-ghost {
  border-color: var(--border-inverse);
  color: var(--text-on-inverse);
}
.hero .btn-ghost:hover { background: rgba(255,255,255,0.06); }

.hero-note {
  color: var(--text-on-inverse-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Sections */
.section { padding: 76px 0; }
.section:nth-of-type(even) { background: var(--bg-alt); }

.section-kicker {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  margin: 0 0 16px;
}

.section-lede {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 68ch;
  margin: 0 0 40px;
}

/* Channel cards */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.channel-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-strong);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.channel-card h3 { font-size: 1.08rem; margin: 0 0 8px; }
.channel-card p { color: var(--text-muted); margin: 0; font-size: 0.96rem; }

/* Offer grid */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.offer-col h3 { font-size: 1.1rem; margin: 0 0 16px; }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  border: 1.5px solid var(--accent-strong);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.55em;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: rotate(-45deg);
}

/* Phases */
.phase-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }

.phase {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}

.phase-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent-strong);
}

.phase h3 { margin: 0 0 8px; font-size: 1.1rem; }
.phase p { margin: 0; color: var(--text-muted); }

/* Pricing */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
  max-width: 520px;
}

.pricing-head { margin-bottom: 20px; }

.pricing-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-strong);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 14px;
}

.pricing-amount {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0;
}
.pricing-amount span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }

.pricing-details {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.pricing-details li { color: var(--text-muted); font-size: 0.95rem; }

.pricing-fine {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 18px 0 0;
}

.not-included {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.not-included h3 { font-size: 1rem; margin: 0 0 10px; }
.not-included p { color: var(--text-muted); font-size: 0.92rem; margin: 0; max-width: 74ch; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-inner p { color: var(--text-muted); font-size: 1.02rem; }

.about-facts {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-facts div { display: flex; flex-direction: column; gap: 2px; }
.about-facts dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.about-facts dd { margin: 0; font-weight: 600; }

/* Contact */
.contact-inner { max-width: 760px; }
.contact-card { margin-top: 8px; }
.contact-note { color: var(--text-muted); font-size: 0.9rem; margin: 14px 0 0; }

/* Footer */
.site-footer {
  background: var(--bg-inverse);
  color: var(--text-on-inverse-muted);
  padding: 36px 0;
}
.footer-inner p { margin: 0 0 8px; font-size: 0.88rem; }
.footer-fine { max-width: 70ch; color: color-mix(in srgb, var(--text-on-inverse-muted) 85%, transparent); }

/* Responsive */
@media (max-width: 820px) {
  .about-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .primary-nav a:last-child { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
}
