
:root {
  --cream: #fff8ef;
  --cream-2: #fff2dc;
  --paper: rgba(255, 252, 244, 0.88);
  --paper-solid: #fffaf2;
  --brown: #3a2a1a;
  --muted: #7a6a58;
  --terracotta: #c96f4a;
  --terracotta-dark: #a95435;
  --sage: #8fae7e;
  --honey: #e8b86d;
  --border: rgba(201, 111, 74, 0.18);
  --shadow: 0 24px 70px rgba(122, 82, 42, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1120px;
}

* { 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(--brown);
  background: var(--cream);
  min-height: 100vh;
}

body.with-bg {
  background:
    linear-gradient(rgba(255, 248, 239, 0.74), rgba(255, 248, 239, 0.84)),
    url("assets/background_recipe.png") center top / cover fixed no-repeat;
}

a {
  color: var(--terracotta-dark);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 239, 0.78);
  border-bottom: 1px solid rgba(201, 111, 74, 0.12);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brown);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(169, 84, 53, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 650;
  color: var(--muted);
}

.nav-links a { color: var(--muted); }
.nav-links a.primary {
  color: white;
  background: var(--terracotta);
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(201, 111, 74, 0.22);
}

.hero {
  padding: 82px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: 50px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--terracotta-dark);
  font-weight: 760;
  font-size: 0.92rem;
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  margin: 22px 0 18px;
}

h1 .accent {
  color: var(--terracotta);
}

.lead {
  font-size: clamp(1.16rem, 2.2vw, 1.42rem);
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--terracotta);
  box-shadow: 0 14px 34px rgba(201, 111, 74, 0.24);
}

.button.secondary {
  color: var(--terracotta-dark);
  background: rgba(255, 250, 242, 0.72);
  border-color: var(--border);
}

.hero-card {
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  border: 1px solid rgba(232, 184, 109, 0.26);
  pointer-events: none;
}

.hero-card img {
  width: 100%;
  display: block;
  border-radius: 26px;
}

.section {
  padding: 54px 0;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 0 0 14px;
}

.section-kicker {
  color: var(--terracotta-dark);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card {
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 44px rgba(122, 82, 42, 0.08);
}

.card .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(201, 111, 74, 0.12);
  color: var(--terracotta-dark);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.45rem;
  margin: 0 0 9px;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: center;
}

.panel {
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow);
}

.panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.privacy-note {
  background: rgba(143, 174, 126, 0.14);
  border: 1px solid rgba(143, 174, 126, 0.28);
  color: #465c3d;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  line-height: 1.6;
}

.legal-layout {
  padding: 54px 0 80px;
}

.legal-doc {
  background: rgba(255, 250, 242, 0.93);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 54px);
}

.legal-doc h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  margin-top: 0;
}

.legal-doc h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin: 38px 0 14px;
}

.legal-doc h3 {
  font-size: 1.2rem;
  margin: 24px 0 8px;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-doc code {
  background: rgba(201, 111, 74, 0.10);
  padding: 2px 6px;
  border-radius: 6px;
}

.placeholder {
  background: rgba(201, 111, 74, 0.09);
  border: 1px dashed rgba(201, 111, 74, 0.45);
  padding: 2px 6px;
  border-radius: 7px;
  color: var(--terracotta-dark);
  font-weight: 700;
}

.footer {
  border-top: 1px solid rgba(201, 111, 74, 0.12);
  background: rgba(255, 248, 239, 0.82);
  padding: 34px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero-grid,
  .split,
  .cards {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 48px;
  }
}
