/* =========================================================
   Planelli Shared Site Styles
   Shared header, footer, legal pages, and core layout helpers
   ========================================================= */

:root {
  --plateful-bg: #fcfbf8;
  --plateful-text: #1f2933;
  --plateful-heading: #12202f;
  --plateful-muted: #52606d;
  --plateful-border: #e7e1d8;
  --plateful-teal: #14b8a6;
  --plateful-teal-dark: #0f766e;
  --plateful-card: #ffffff;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--plateful-text);
  background: var(--plateful-bg);
  line-height: 1.75;
}

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

a:hover {
  text-decoration: underline;
}

/* Header */

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--plateful-border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 2.15rem;
  font-family: Georgia, "Times New Roman", serif;
  color: #14202b;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand:hover {
  text-decoration: none;
}

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

.brand-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.brand span {
  display: flex;
  align-items: center;
  height: 62px;
  transform: translateY(10px);
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 1.08rem;
  align-items: center;
}

.nav-links a:not(.button) {
  display: flex;
  align-items: center;
  height: 62px;
  font-weight: 600;
  transform: translateY(5px);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-sizing: border-box;
  margin-top: 10px;
  margin-right: 10px;
  padding: 12px 18px;
  background: var(--plateful-teal);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  border: 0;
  cursor: pointer;
}

.button:hover {
  text-decoration: none;
  background: var(--plateful-teal-dark);
}

.recipe-card .button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-sizing: border-box;
  min-width: 112px;
  margin-top: auto;
  text-align: center;
  line-height: 1.2;
}

/* Legal / Standard Content Pages */

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 20px 64px;
}

.eyebrow {
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--plateful-teal-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

h1, h2, h3 {
  color: var(--plateful-heading);
  line-height: 1.12;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

h2 {
  font-size: 1.65rem;
  margin-top: 42px;
  margin-bottom: 12px;
}

p,
li {
  font-size: 1.08rem;
}

ul {
  padding-left: 24px;
}

.lede {
  font-size: 1.22rem;
  color: var(--plateful-muted);
  max-width: none;
}

.legal-card {
  background: var(--plateful-card);
  border: 1px solid var(--plateful-border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 34px rgba(20, 32, 43, 0.06);
}

.updated {
  font-family: Arial, sans-serif;
  color: var(--plateful-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.notice {
  background: #eefaf8;
  border: 1px solid #bdebe4;
  border-radius: 14px;
  padding: 18px 20px;
  font-family: Arial, sans-serif;
  color: #174e49;
  margin: 28px 0;
}

/* Footer */

.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 50px;
  border-top: 1px solid var(--plateful-border);
  color: #6b7480;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
}

.footer p {
  font-size: 0.95rem;
  margin: 0.35rem 0;
}

.footer-links {
  margin-top: 1rem;
}

/* Marketing pages */

.hero {
  border-bottom: 1px solid var(--plateful-border);
  background: linear-gradient(180deg, #f5faf8 0%, var(--plateful-bg) 100%);
}

.hero-grid,
.two-col {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.section {
  padding: 38px 0 0;
}

.subhead,
.dek,
.lead {
  color: var(--plateful-muted);
  max-width: 780px;
}

.subhead,
.dek {
  font-size: 1.2rem;
  margin-bottom: 22px;
}

.lead {
  font-size: 1.08rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 24px;
  font-family: Arial, sans-serif;
  color: #66727f;
  font-size: 0.94rem;
}

.trial-note,
.small-note,
.microcopy {
  margin-top: 12px;
  font-family: Arial, sans-serif;
  color: #66727f;
  font-size: 0.94rem;
  line-height: 1.55;
}

.card-grid,
.feature-grid,
.step-grid,
.reset-grid {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.card-grid,
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-grid,
.reset-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card,
.step-card,
.section-card,
.offer-card,
.faq-card,
.hero-card,
.form-card,
.status-box {
  background: #fff;
  border: 1px solid var(--plateful-border);
  border-radius: 18px;
  padding: 24px;
}

.feature-card p,
.step-card p,
.section-card p,
.offer-card p,
.faq-card p,
.hero-card p,
.form-card p,
.hero-card li,
.offer-card li {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #556372;
  line-height: 1.65;
}

.hero-card ul,
.offer-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.feature-card h3,
.step-card h3,
.section-card h3,
.faq-card h3,
.offer-card h3,
.hero-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.cta-box {
  margin-top: 22px;
  padding: 28px;
  background: #12202f;
  border-radius: 18px;
}

.cta-box h2,
.cta-box p {
  color: #fff;
}

.cta-box .small-note {
  color: #d7e5e3;
}

.hero-image-card {
  background: #fff;
  border: 1px solid var(--plateful-border);
  border-radius: 18px;
  overflow: hidden;
}

.hero-image {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(rgba(15, 23, 42, 0.20), rgba(15, 23, 42, 0.20)),
    url('/images/family-dinner.jpg') center/cover no-repeat;
}

.hero-caption {
  padding: 16px 18px 18px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #66727f;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label,
input,
select {
  font-family: Arial, sans-serif;
}

label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #24313d;
}

input,
select {
  padding: 12px 14px;
  border: 1px solid #ddd6cc;
  border-radius: 12px;
  background: #fff;
  color: #556372;
  font-size: 1rem;
  line-height: 1.4;
}

.status-box {
  display: none;
  margin-top: 18px;
}

.status-box.success {
  display: block;
  background: #f2fbf9;
  border-color: #b7e4db;
}

.status-box.error {
  display: block;
  background: #fff7f7;
  border-color: #f0caca;
}

/* Mobile */

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a:not(.button) {
    height: auto;
    transform: none;
  }

  .brand span {
    height: auto;
    transform: translateY(5px);
  }

  .brand-logo {
    height: 38px;
    max-width: 190px;
  }

  .legal-card {
    padding: 22px;
  }

  .hero-grid,
  .two-col,
  .card-grid,
  .feature-grid,
  .step-grid,
  .reset-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}
