/* ============================================
   contaCal — Landing Page Styles
   Aesthetic: Warm Editorial Wellness
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
  --cream: #FDFCF8;
  --cream-dark: #F5F0EB;
  --graphite: #1A1A1A;
  --graphite-light: #383838;
  --muted: #666666;
  --muted-light: #A3A3A3;
  --border: #E8E4DF;
  --surface: #FFFFFF;

  --protein: #2563EB;
  --carbs: #16A34A;
  --fat: #D97706;

  --protein-soft: #EFF6FF;
  --carbs-soft: #F0FDF4;
  --fat-soft: #FFFBEB;

  --protein-glow: rgba(37, 99, 235, 0.15);
  --carbs-glow: rgba(22, 163, 74, 0.15);
  --fat-glow: rgba(217, 119, 6, 0.15);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);

  --max-width: 1200px;
  --max-width-narrow: 800px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--graphite);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--graphite-light);
  max-width: 600px;
  font-size: 1.05rem;
}

.text-muted { color: var(--muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

section {
  padding: 100px 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
}

.btn--primary {
  background: var(--graphite);
  color: var(--cream);
}

.btn--primary:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn--secondary {
  background: var(--surface);
  color: var(--graphite);
  border: 1.5px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--graphite);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--graphite);
  padding: 14px 28px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
}

.btn--ghost:hover {
  color: var(--protein);
  border-color: var(--protein);
}

.btn svg, .btn .arrow {
  transition: transform 0.3s ease;
}

.btn:hover svg, .btn:hover .arrow {
  transform: translateX(3px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.nav--scrolled {
  background: rgba(253, 252, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--carbs);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--graphite-light);
  transition: color 0.25s ease;
}

.nav__link:hover {
  color: var(--graphite);
}

.nav__cta {
  font-size: 0.85rem;
  padding: 10px 24px;
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

/* Phone mockup */
.hero__phone {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 340px;
  height: 680px;
  background: var(--graphite);
  border-radius: 48px;
  padding: 14px;
  box-shadow: 0 60px 120px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.06);
  position: relative;
}

.phone-frame__screen {
  width: 100%;
  height: 100%;
  background: var(--surface);
  border-radius: 32px;
  overflow: hidden;
  padding: 36px 22px 22px;
  display: flex;
  flex-direction: column;
}

.phone-frame__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: var(--graphite);
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-ui__greeting {
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 4px;
  margin-top: 16px;
}

.phone-ui__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--graphite);
}

.phone-ui__cals {
  text-align: center;
  margin-bottom: 16px;
}

.phone-ui__cals-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: -0.03em;
  color: var(--graphite);
  line-height: 1;
}

.phone-ui__cals-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}

.phone-ui__macros {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.phone-ui__macro {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  border-radius: 12px;
  background: var(--cream);
}

.phone-ui__macro-bar {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  margin: 0 auto 6px;
  opacity: 0.7;
}

.phone-ui__macro-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--graphite);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 2px;
}

.phone-ui__macro-name {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.phone-ui__meal {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: 12px;
  margin-bottom: 6px;
}

.phone-ui__meal-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.phone-ui__meal-info {
  flex: 1;
}

.phone-ui__meal-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--graphite);
  line-height: 1.3;
}

.phone-ui__meal-detail {
  font-size: 0.55rem;
  color: var(--muted);
}

.phone-ui__meal-cals {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--graphite);
  font-variant-numeric: tabular-nums;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero__badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--carbs);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--protein);
}

.hero__subtitle {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 520px;
  color: var(--graphite-light);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  display: block;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--graphite-light);
  font-weight: 500;
}

/* Floating orbs */
.orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}

.orb--protein {
  background: var(--protein);
  width: 500px;
  height: 500px;
  top: -10%;
  right: 5%;
  animation: float-1 25s ease-in-out infinite;
}

.orb--carbs {
  background: var(--carbs);
  width: 400px;
  height: 400px;
  bottom: 5%;
  right: 25%;
  animation: float-2 20s ease-in-out infinite;
}

.orb--fat {
  background: var(--fat);
  width: 350px;
  height: 350px;
  top: 30%;
  right: -5%;
  animation: float-3 22s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 40px) scale(1.05); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(0.95); }
  66% { transform: translate(-20px, 20px) scale(1.05); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, -40px) scale(1.05); }
  66% { transform: translate(30px, 30px) scale(0.95); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* --- Social Proof --- */
.social-proof {
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  background: var(--surface);
}

.social-proof__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.social-proof__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-proof__stars {
  display: flex;
  gap: 2px;
  color: #F59E0B;
  font-size: 1rem;
}

.social-proof__text {
  font-size: 0.9rem;
  color: var(--graphite-light);
  font-weight: 500;
}

.social-proof__text strong {
  font-weight: 700;
  color: var(--graphite);
}

.social-proof__divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* --- Methods Section --- */
.methods {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.methods__header {
  text-align: center;
  margin-bottom: 56px;
}

.methods__header p {
  margin: 16px auto 0;
}

.methods__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.method-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-top: 3px solid transparent;
}

.method-card:nth-child(1) { border-top-color: var(--protein); }
.method-card:nth-child(2) { border-top-color: var(--carbs); }
.method-card:nth-child(3) { border-top-color: var(--fat); }

.method-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.method-card__number {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  opacity: 0.06;
  position: absolute;
  top: 16px;
  right: 24px;
  letter-spacing: -0.05em;
}

.method-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 1.4rem;
}

.method-card__icon--snap {
  background: var(--protein-soft);
  color: var(--protein);
}

.method-card__icon--speak {
  background: var(--carbs-soft);
  color: var(--carbs);
}

.method-card__icon--type {
  background: var(--fat-soft);
  color: var(--fat);
}

.method-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.method-card__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--graphite-light);
}

/* --- Features Bento --- */
.features__header {
  text-align: center;
  margin-bottom: 56px;
}

.features__header p {
  margin: 16px auto 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bento__card:hover {
  border-color: var(--muted-light);
  box-shadow: var(--shadow-md);
}

.bento__card--wide {
  grid-column: span 2;
}

.bento__card--tall {
  grid-row: span 2;
}

.bento__card-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--protein);
  margin-bottom: 12px;
}

.bento__card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.bento__card-desc {
  font-size: 0.95rem;
  color: var(--graphite-light);
  line-height: 1.7;
}

/* Macro ring visualization */
.macro-rings {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 36px;
}

.macro-ring {
  position: relative;
  width: 110px;
  height: 110px;
}

.macro-ring svg {
  transform: rotate(-90deg);
  width: 110px;
  height: 110px;
}

.macro-ring circle {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
}

.macro-ring .bg { stroke: var(--cream-dark); }
.macro-ring .fill {
  stroke-dasharray: 245;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.macro-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--graphite-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.macro-ring__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--graphite);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Water drops animation */
.water-viz {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.water-drop {
  width: 28px;
  height: 36px;
  background: var(--protein-soft);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: relative;
  opacity: 0.35;
  transition: all 0.4s ease;
}

.water-drop.filled {
  background: #3B82F6;
  opacity: 0.75;
}

/* Barcode scan animation */
.scan-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--carbs), transparent);
  margin-top: 24px;
  border-radius: 2px;
  animation: scan 2.5s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { opacity: 0.3; transform: scaleX(0.6); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* --- Pricing --- */
.pricing {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing__header {
  text-align: center;
  margin-bottom: 56px;
}

.pricing__header p {
  margin: 16px auto 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pricing-card--pro {
  border-color: #1E3A2B;
  background: linear-gradient(135deg, #1E3A2B 0%, #2A4D3A 100%);
  color: var(--cream);
}

.pricing-card--pro .pricing-card__desc,
.pricing-card--pro .pricing-card__feature {
  color: rgba(253, 252, 248, 0.65);
}

.pricing-card--pro .pricing-card__feature::before {
  color: var(--carbs);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--carbs);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 100px;
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.pricing-card__price span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.6;
}

.pricing-card__period {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.pricing-card--pro .pricing-card__period {
  color: rgba(253, 252, 248, 0.5);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pricing-card__feature {
  font-size: 0.9rem;
  color: var(--graphite-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card__feature::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.15;
  flex-shrink: 0;
}

.pricing-card__feature--check::before {
  background: var(--carbs);
  opacity: 0.9;
  width: 6px;
  height: 6px;
  margin: 0 6px;
}

.pricing-card__btn {
  width: 100%;
  justify-content: center;
}

.pricing-card--pro .btn--primary {
  background: var(--cream);
  color: var(--graphite);
}

.pricing-card--pro .btn--primary:hover {
  background: #fff;
}

/* --- CTA --- */
.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.cta__content {
  position: relative;
  z-index: 2;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  margin: 0 auto 48px;
  font-size: 1.1rem;
}

.cta__stores {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--graphite);
  color: var(--cream);
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.store-badge:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.store-badge__label {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.7;
  display: block;
  line-height: 1;
}

.store-badge__label {
  font-size: 0.7rem;
}

.store-badge__name {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

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

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer__logo .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--carbs);
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 64px;
}

.footer__column h5 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer__column a {
  display: block;
  font-size: 0.9rem;
  color: var(--graphite-light);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer__column a:hover {
  color: var(--graphite);
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--graphite);
}

/* --- Legal Pages --- */
.legal {
  padding-top: 140px;
  padding-bottom: 80px;
}

.legal__header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal__header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.legal__date {
  font-size: 0.85rem;
  color: var(--muted);
}

.legal__content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal__content h3 {
  font-size: 1.15rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal__content p {
  margin-bottom: 16px;
  max-width: 100%;
}

.legal__content ul, .legal__content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal__content li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--graphite-light);
}

.legal__content ol li {
  list-style: decimal;
}

.legal__content strong {
  font-weight: 600;
  color: var(--graphite);
}

.legal__content a {
  color: var(--protein);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__content a:hover {
  color: var(--graphite);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  section { padding: 80px 0; }

  .nav__links { display: none; }
  .nav__mobile-toggle { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
  }

  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__phone { display: none; }
  .hero__stats { gap: 32px; }

  .methods__grid { grid-template-columns: 1fr; gap: 16px; }

  .bento {
    grid-template-columns: 1fr;
  }
  .bento__card--wide { grid-column: span 1; }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .footer__inner { flex-direction: column; }
  .footer__links { flex-wrap: wrap; gap: 40px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
  }

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

  .btn { width: 100%; justify-content: center; }

  .macro-rings { gap: 20px; }
  .macro-ring { width: 72px; height: 72px; }
  .macro-ring svg { width: 72px; height: 72px; }

  .cta__stores { flex-direction: column; align-items: center; }

  .footer__links { gap: 32px; }
}
