
:root {
  --bg: #fffaf7;
  --surface: #ffffff;
  --text: #241b18;
  --muted: #6f625d;
  --line: #eadfd9;
  --accent: #e7774f;
  --accent-dark: #c95d39;
  --accent-soft: #fde9df;
  --dark: #2c211d;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 247, 0.9);
  border-bottom: 1px solid rgba(234, 223, 217, 0.8);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark,
.mini-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--accent), #f0a16f);
  box-shadow: 0 6px 18px rgba(231, 119, 79, 0.22);
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
}

nav a:not(.nav-cta) { color: var(--muted); }
nav a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
}

.hero {
  padding: 90px 0 82px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 3.9vw, 3.85rem);
  max-width: 760px;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

h3 { font-size: 1.3rem; }

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 14px;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(231, 119, 79, .2);
}

.button.primary:hover { background: var(--accent-dark); }

.button.secondary {
  background: white;
  border: 1px solid var(--line);
}

.button.big {
  min-width: 190px;
  min-height: 56px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #66b47c;
  box-shadow: 0 0 0 5px rgba(102, 180, 124, .12);
}

.hero-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fde0d0, #f6c7b5 45%, transparent 72%);
  filter: blur(2px);
}

.phone {
  position: relative;
  width: min(330px, 82vw);
  border-radius: 36px;
  padding: 14px;
  background: #181412;
  box-shadow: 0 30px 70px rgba(74, 48, 36, 0.24);
  transform: rotate(2deg);
}

.phone-top {
  width: 105px;
  height: 22px;
  border-radius: 999px;
  background: #181412;
  position: absolute;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  z-index: 3;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  padding: 20px 18px 12px;
  border-radius: 24px 24px 0 0;
}

.mini-logo {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: .8rem;
}

.recipe-image {
  height: 205px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.35) 0 5%, transparent 6%),
    linear-gradient(135deg, #9e3f28, #dd7c4f 45%, #efad73 100%);
}

.recipe-body {
  background: white;
  border-radius: 0 0 24px 24px;
  padding: 20px;
}

.tag {
  display: inline-block;
  font-size: .74rem;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 700;
}

.recipe-body h3 { margin: 15px 0 8px; }
.recipe-body p { color: var(--muted); margin: 0; font-size: .92rem; }

.recipe-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
  font-size: .78rem;
}

.recipe-meta span {
  padding: 7px 9px;
  border-radius: 9px;
  background: #f8f3f0;
}

.creator-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #eee5e0;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0b397, #bd6a4b);
}

.creator-row small {
  display: block;
  color: var(--muted);
  margin-top: 1px;
}

.section {
  padding: 100px 0;
}

.alt {
  background: white;
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.large-copy {
  font-size: 1.18rem;
  color: var(--muted);
}

.large-copy p:first-child { margin-top: 0; }

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.compact { margin-bottom: 34px; }

.cards {
  display: grid;
  gap: 20px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 30px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 850;
  font-size: .8rem;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 15px;
  background: white;
  border: 1px solid var(--line);
}

.feature span {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 900;
}

.feature p { margin: 0; }

.note {
  margin-top: 20px;
  color: var(--muted);
  font-size: .88rem;
}

.vision {
  padding-top: 30px;
}

.vision-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 62px;
  border-radius: 32px;
  background: var(--dark);
  color: white;
}

.vision-box p {
  color: #ded2cd;
  font-size: 1.12rem;
  margin: 0;
}

.eyebrow.light { color: #f1a787; }

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
}

.contact-box > div { max-width: 760px; }
.contact-box p:last-child { color: var(--muted); }

footer {
  padding: 60px 0 28px;
  background: white;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-grid p {
  max-width: 440px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: .92rem;
}

.copyright {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }

  .hero {
    padding-top: 58px;
  }

  .hero-grid,
  .split,
  .vision-box {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-card {
    min-height: 470px;
  }

  .cards.three,
  .features {
    grid-template-columns: 1fr;
  }

  .contact-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .vision-box,
  .contact-box {
    padding: 34px;
  }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--max)); }

  .nav { min-height: 66px; }

  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }

  .hero { padding-bottom: 56px; }

  .section { padding: 74px 0; }

  .hero-card::before {
    width: 360px;
    height: 360px;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}


/* --- CookFluence V2: official logo + creator monetisation --- */
.brand-image-link {
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 132px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.app-head {
  min-height: 64px;
  justify-content: flex-start;
}

.app-logo {
  display: block;
  width: 142px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: 190px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.earn-box {
  margin-top: 24px;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff1e9, #fffaf7 62%);
  border: 1px solid #f1c9b7;
  box-shadow: 0 18px 48px rgba(129, 72, 47, .08);
}

.earn-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: var(--accent);
  color: white;
  font-size: 1.75rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(231, 119, 79, .22);
}

.earn-kicker {
  margin: 2px 0 8px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 850;
}

.earn-box h3 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.earn-box p:not(.earn-kicker) {
  margin: 0;
  color: var(--muted);
  max-width: 900px;
}

.earn-box .earn-note {
  margin-top: 12px !important;
  font-size: .88rem;
  font-style: italic;
}

@media (max-width: 600px) {
  .brand-logo {
    width: 145px;
    max-height: 44px;
  }

  .app-logo {
    width: 125px;
    max-height: 38px;
  }

  .footer-logo {
    width: 165px;
  }

  .earn-box {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .earn-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 1.5rem;
  }
}


.value-protection {
  margin-top: 28px;
  padding: 28px 30px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(74, 48, 36, 0.06);
}

.value-protection-kicker {
  margin: 0 0 8px !important;
  color: var(--accent-dark) !important;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .76rem !important;
  font-weight: 850;
}

.value-protection h3 {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.value-protection p {
  margin: 10px 0 0;
}

@media (max-width: 600px) {
  .value-protection {
    padding: 22px;
  }

  h1 {
    font-size: clamp(2.05rem, 10.5vw, 3rem);
  }
}
