/* Greendeel Digital — site styles */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --forest: #073B32;
  --green: #2E7D6B;
  --mint: #59C9A5;
  --mint-light: #D8F3E7;
  --offwhite: #F7F9F8;
  --ink: #182329;
  --muted: #3A4A50;
  --white: #FFFFFF;
  --radius: 20px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); }
.tagline { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .28em; color: var(--green); }
h1, h2, h3 { color: var(--forest); letter-spacing: -.025em; line-height: 1.08; margin: 0; font-weight: 800; }
h1 { font-size: clamp(38px, 6vw, 58px); }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: 21px; letter-spacing: -.01em; }
p { margin: 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--mint-light); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand svg { width: 38px; height: 36px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand-name span { font-weight: 600; font-size: 10px; letter-spacing: .32em; color: var(--green); margin-top: 4px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; padding: 10px 0; }
.nav a:hover { color: var(--green); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 800; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: #0B4F43; color: var(--white); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--mint-light); color: var(--forest); }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Status pill */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--white); color: var(--forest); font-size: 14px; font-weight: 700; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(89,201,165,.25); }

/* DietCheck hero */
.hero { background: var(--mint-light); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; padding-top: 72px; padding-bottom: 72px; }
.hero-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.app-id { display: flex; align-items: center; gap: 14px; }
.app-id img { width: 56px; height: 56px; border-radius: 14px; }
.app-id strong { display: block; font-size: 20px; color: var(--forest); }
.app-id span { font-size: 14px; color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.platform-note { font-size: 15px; color: var(--muted); }
.platform-note strong { color: var(--ink); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }

.phone-col { flex: 1 1 280px; display: flex; justify-content: center; }
.phone { position: relative; width: 290px; max-width: 100%; }
.phone-frame { border-radius: 42px; background: var(--forest); padding: 11px; box-shadow: 0 30px 60px -30px rgba(7,59,50,.55); }
.phone-frame img { border-radius: 32px; width: 100%; aspect-ratio: 640 / 1138; object-fit: cover; }
.store-chip { margin: 20px auto 0; width: max-content; white-space: nowrap; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--ink); color: var(--white); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.store-chip svg { width: 22px; height: 22px; flex: none; }
.store-chip small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); line-height: 1.2; }
.store-chip b { display: block; font-size: 16px; line-height: 1.2; }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: 88px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; max-width: 680px; }

/* Templates */
.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 20px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { border: 1px solid var(--mint-light); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: var(--offwhite); }
.card.featured { background: var(--white); border-color: var(--mint); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--mint-light); display: flex; align-items: center; justify-content: center; }
.card .icon svg { width: 24px; height: 24px; }
.card .meta { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.card p { color: var(--muted); font-size: 16px; }
.shop-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.shop-cta p { color: var(--muted); }

/* About */
.about { background: var(--offwhite); border-top: 1px solid var(--mint-light); }
.about .wrap { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.about-copy { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-copy p { font-size: 17px; color: var(--muted); max-width: 620px; }
.about-copy p.collab { color: var(--ink); }
.pillars { flex: 1 1 300px; display: grid; gap: 12px; align-content: start; }
.pillar { background: var(--white); border: 1px solid var(--mint-light); border-radius: 16px; padding: 18px 20px; }
.pillar strong { display: block; color: var(--forest); font-size: 17px; }
.pillar span { font-size: 15px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--forest); color: var(--mint-light); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 52px; padding-bottom: 52px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--mint); }
.f-col { display: flex; flex-direction: column; gap: 8px; }
.f-col h2 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); font-weight: 700; margin-bottom: 4px; }
.f-brand strong { font-size: 18px; color: var(--white); }
.f-bottom { border-top: 1px solid rgba(216,243,231,.18); }
.f-bottom .wrap { padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: var(--mint-light); gap: 8px 24px; }

/* Legal pages */
.legal { background: var(--offwhite); padding: 48px 0 72px; }
.legal .doc { max-width: 780px; margin: 0 auto; background: var(--white); border: 1px solid var(--mint-light); border-radius: var(--radius); padding: 36px; }
.legal h1 { font-size: 32px; margin-bottom: 6px; }
.legal h2 { font-size: 19px; margin-top: 28px; margin-bottom: 8px; color: var(--green); letter-spacing: -.01em; }
.legal h3 { font-size: 17px; margin-top: 20px; margin-bottom: 6px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--mint-light); color: var(--muted); overflow-wrap: anywhere; }
.legal th { color: var(--ink); }
.legal .meta { font-size: 14px; color: var(--muted); }
.legal .lang { margin: 0 0 20px; font-size: 15px; }
.legal .lang a.on { font-weight: 800; color: var(--forest); text-decoration: none; }
.legal .placeholder { background: var(--mint-light); border-radius: 12px; padding: 12px 16px; color: var(--ink); }
.crumb { font-size: 14px; margin-bottom: 16px; }

@media (max-width: 560px) {
  .hero .wrap { padding-top: 48px; padding-bottom: 64px; }
  .section { padding: 64px 0; }
  .legal .doc { padding: 22px; border-radius: 16px; }
  .legal th, .legal td { padding: 6px 4px; }
  .nav { gap: 2px 16px; }
  .nav a { font-size: 14px; }
}

.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--forest); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
