/* Diet2Fit marketing site — styles.css
   Self-contained, responsive, no JS. Brand green: #1B7A5A / #2E8B6E. */

:root {
  --green-900: #14543e;
  --green-700: #1b7a5a;
  --green-600: #2e8b6e;
  --green-500: #2e7d52;
  --green-100: #e8f5ef;
  --green-50: #f3faf6;
  --ink: #14211c;
  --ink-soft: #45564f;
  --muted: #7a8a83;
  --line: #e6ece9;
  --bg: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 84, 62, 0.10);
  --shadow-sm: 0 2px 10px rgba(20, 84, 62, 0.07);
  --maxw: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.accent { color: var(--green-700); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  box-shadow: 0 8px 18px rgba(27, 122, 90, 0.28);
}
.btn--primary:hover { box-shadow: 0 12px 24px rgba(27, 122, 90, 0.34); }
.btn--ghost { background: #fff; color: var(--green-700); border-color: var(--green-100); }
.btn--ghost:hover { background: var(--green-50); }
.btn--light { background: #fff; color: var(--green-700); }
.btn--light:hover { box-shadow: var(--shadow); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-weight: 500; color: var(--ink-soft); }
.nav__links a:hover { color: var(--green-700); }
.nav__links .btn { padding: 9px 16px; }

/* Hero */
.hero {
  background: radial-gradient(1100px 460px at 78% -8%, var(--green-100), transparent 60%),
              linear-gradient(180deg, var(--green-50), #fff 60%);
  padding: 72px 0 84px;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 36ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero__note { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* Hero phone mock */
.hero__art { display: flex; justify-content: center; }
.phone {
  width: 290px;
  height: 580px;
  border-radius: 40px;
  background: linear-gradient(160deg, #ffffff, #eef6f1);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
}
.phone::before {
  content: "";
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 7px; border-radius: 99px; background: #d6e3dc;
}
.phone__screen {
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--green-50), #fff);
  border: 1px solid var(--line);
  padding: 28px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chip {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 13px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.chip--score b { color: var(--green-700); }
.chip--reminder { align-self: stretch; color: var(--ink-soft); }
.ring {
  width: 132px; height: 132px; margin: 6px auto;
  border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: conic-gradient(var(--green-600) 0 76%, #e3efe9 76% 100%);
  position: relative;
}
.ring::after {
  content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff;
}
.ring span, .ring small { position: relative; z-index: 1; }
.ring span { font-size: 1.7rem; font-weight: 800; color: var(--green-700); }
.ring small { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 600; }
.bars { display: flex; gap: 12px; align-items: flex-end; justify-content: space-around; height: 120px; padding: 0 4px; }
.bar { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; height: 100%; justify-content: flex-end; }
.bar i {
  display: block; width: 100%; max-width: 30px; height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--green-500), var(--green-700));
}
.bar label { font-size: 0.66rem; font-weight: 600; color: var(--muted); }

/* Sections */
.section { padding: 80px 0; }
.section--alt { background: var(--green-50); }
.section__head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.section__head p { color: var(--ink-soft); font-size: 1.05rem; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--green-100);
  display: grid; place-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.feature h3 { font-size: 1.12rem; font-weight: 700; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  counter-reset: step;
}
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
}
.step__num {
  display: grid; place-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* Why */
.why { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-soft); font-size: 1.04rem; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-content: center; font-size: 0.78rem; font-weight: 800;
}
.why__card {
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
  color: #fff; border-radius: 20px; padding: 36px;
  display: grid; gap: 22px; box-shadow: var(--shadow);
}
.stat b { font-size: 2.1rem; font-weight: 800; display: block; line-height: 1; }
.stat span { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff; text-align: center; padding: 70px 0;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin-bottom: 24px; }

/* Footer */
.footer { background: #0f3527; color: #cfe3da; padding: 48px 0 30px; }
.footer__inner { display: grid; gap: 18px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: #9fc0b3; margin: 6px 0 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a { color: #cfe3da; font-weight: 500; }
.footer__links a:hover { color: #fff; }
.footer__copy { color: #7fa294; font-size: 0.88rem; margin: 8px 0 0; }

/* Legal / content pages */
.legal { padding: 56px 0 72px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: 2.1rem; font-weight: 800; }
.legal .updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; font-weight: 700; margin-top: 32px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 20px; }
.back-link { display: inline-block; margin-top: 32px; color: var(--green-700); font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 1; }
  .hero__art { order: 2; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav__links { gap: 14px; }
  .nav__links a:not(.btn) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 60px; }
  .section { padding: 56px 0; }
}
