  :root {
    --bg: #0a0a0a;
    --bg2: #121212;
    --card: #161616;
    --line: #2a2a2a;
    --text: #f4f4f4;
    --muted: #9a9a9a;
    --blue: #4c76b4;
    --blue-bright: #6aa0e8;
    --glow: 0 0 24px rgba(106, 160, 232, 0.35);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: Inter, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }

  .draft-banner {
    position: sticky; top: 0; z-index: 50;
    background: #1a1400; color: #f0c14b;
    text-align: center; font-size: 12px; font-weight: 600;
    letter-spacing: 0.04em; padding: 8px 12px;
    border-bottom: 1px solid #3a3000;
  }

  /* NAV */
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1120px; margin: 0 auto; padding: 18px 24px;
  }
  .nav-logo { height: 42px; width: auto; }
  .nav-links { display: flex; gap: 28px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .nav-links a:hover { color: var(--text); }
  .nav-cta {
    background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 999px;
    box-shadow: var(--glow);
  }
  .nav-cta:hover { background: var(--blue-bright); color: #fff; }

  /* HERO */
  .hero {
    position: relative;
    min-height: 88vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 48px 24px 72px;
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 70% 50% at 50% 20%, rgba(76,118,180,0.18), transparent 60%),
      url(../assets/hero-digest.jpeg) center 18% / cover no-repeat;
    opacity: 0.22;
    filter: saturate(0.85) brightness(0.55);
    pointer-events: none;
  }
  .hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.85) 55%, var(--bg) 100%);
    pointer-events: none;
  }
  .hero-inner { position: relative; z-index: 1; max-width: 720px; }
  .hero-portrait {
    width: 128px; height: 128px; border-radius: 50%;
    border: 2px solid var(--blue-bright);
    box-shadow: var(--glow), 0 0 0 6px rgba(76,118,180,0.15);
    margin: 0 auto 28px;
    object-fit: cover;
  }
  .hero-logo {
    width: min(340px, 78vw);
    margin: 0 auto 28px;
    filter: drop-shadow(0 0 18px rgba(106,160,232,0.25));
  }
  .pillars {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
    margin: 8px 0 36px;
  }
  .pillar {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 8px 22px;
    border-right: 1px solid rgba(255,255,255,0.18);
  }
  .pillar:last-child { border-right: none; }
  .pillar-label {
    font-family: Oswald, Inter, sans-serif;
    font-weight: 600; font-size: 20px; letter-spacing: 0.14em;
    text-shadow: 0 0 14px rgba(106,160,232,0.55);
  }
  .pillar-icon {
    width: 28px; height: 28px; color: var(--blue-bright);
    filter: drop-shadow(0 0 8px rgba(106,160,232,0.7));
  }
  .hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 14px;
  }
  .hero-sub {
    color: var(--muted); font-size: 17px; max-width: 480px; margin: 0 auto 32px;
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: 999px;
    font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  }
  .btn-primary { background: var(--blue); color: #fff; box-shadow: var(--glow); }
  .btn-primary:hover { background: var(--blue-bright); }
  .btn-ghost {
    border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.03);
  }
  .btn-ghost:hover { border-color: var(--blue); }

  /* SECTIONS */
  section { padding: 72px 24px; }
  .wrap { max-width: 1120px; margin: 0 auto; }
  .section-kicker {
    font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--blue-bright); margin-bottom: 10px;
  }
  .section-title {
    font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  .section-lead { color: var(--muted); max-width: 560px; margin-bottom: 40px; font-size: 16px; }

  /* FOUR PILLARS GRID */
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  @media (max-width: 900px) {
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
  }
  @media (max-width: 560px) {
    .grid-4 { grid-template-columns: 1fr; }
    .pillar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 14px 18px; width: 100%; }
    .pillar:last-child { border-bottom: none; }
  }
  .card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 22px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .card:hover {
    border-color: rgba(106,160,232,0.45);
    box-shadow: var(--glow);
  }
  .card-icon {
    width: 40px; height: 40px; margin-bottom: 16px;
    color: var(--blue-bright);
    filter: drop-shadow(0 0 10px rgba(106,160,232,0.5));
  }
  .card h3 {
    font-family: Oswald, Inter, sans-serif;
    font-size: 22px; letter-spacing: 0.1em; margin-bottom: 8px;
  }
  .card p { color: var(--muted); font-size: 14px; }

  /* RECEIPTS */
  #receipts { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .receipt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  @media (max-width: 800px) { .receipt-grid { grid-template-columns: 1fr; } }
  .receipt {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
  }
  .receipt-thumb {
    aspect-ratio: 9/16;
    max-height: 320px;
    width: 100%;
    object-fit: cover;
    background: #000;
  }
  .receipt-body { padding: 16px 18px 20px; }
  .receipt-date {
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--blue-bright); margin-bottom: 6px;
  }
  .receipt h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
  .receipt p { font-size: 13px; color: var(--muted); }
  .score-pill {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 12px; padding: 6px 10px; border-radius: 999px;
    background: rgba(76,118,180,0.15); border: 1px solid rgba(106,160,232,0.35);
    font-size: 12px; font-weight: 700; color: var(--blue-bright);
  }

  /* ABOUT */
  .about-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: center;
  }
  @media (max-width: 700px) {
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-grid .section-lead { margin-left: auto; margin-right: auto; }
  }
  .about-photo {
    width: 200px; height: 200px; border-radius: 50%;
    border: 2px solid var(--blue);
    box-shadow: var(--glow);
    object-fit: cover;
    margin: 0 auto;
  }
  .about-points {
    list-style: none; margin-top: 20px;
    display: grid; gap: 10px;
  }
  .about-points li {
    display: flex; gap: 10px; align-items: flex-start;
    color: var(--muted); font-size: 14px;
  }
  .about-points li::before {
    content: "";
    width: 8px; height: 8px; margin-top: 6px; flex-shrink: 0;
    border-radius: 50%; background: var(--blue-bright);
    box-shadow: 0 0 8px rgba(106,160,232,0.7);
  }

  /* CTA */
  .cta-band {
    text-align: center;
    padding: 80px 24px;
    background:
      radial-gradient(ellipse 60% 80% at 50% 50%, rgba(76,118,180,0.2), transparent 70%),
      var(--bg);
  }
  .cta-band h2 {
    font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 12px;
  }
  .cta-band p { color: var(--muted); margin-bottom: 28px; }

  /* FOOTER */
  footer {
    border-top: 1px solid var(--line);
    padding: 28px 24px;
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: space-between; align-items: center;
    max-width: 1120px; margin: 0 auto;
    color: var(--muted); font-size: 13px;
  }
  footer .mark { height: 28px; opacity: 0.85; }

  /* BLOG */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  @media (max-width: 800px) { .blog-grid { grid-template-columns: 1fr; } }
  .blog-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: block;
  }
  .blog-card:hover {
    border-color: rgba(106,160,232,0.45);
    box-shadow: var(--glow);
  }
  .blog-meta {
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--blue-bright); margin-bottom: 10px;
  }
  .blog-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
  .blog-card p { color: var(--muted); font-size: 14px; }
  .article {
    max-width: 720px; margin: 0 auto; padding: 48px 24px 80px;
  }
  .article .blog-meta { margin-bottom: 14px; }
  .article h1 {
    font-size: clamp(28px, 4vw, 40px); font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 18px;
  }
  .article .lede { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
  .article p { margin-bottom: 16px; color: #ddd; font-size: 16px; line-height: 1.65; }
  .article h2 { font-size: 22px; margin: 32px 0 12px; }
  .back-link {
    display: inline-block; margin-bottom: 24px;
    color: var(--muted); font-size: 13px; font-weight: 600;
  }
  .back-link:hover { color: var(--blue-bright); }

  /* NUTRITION */
  .nutri-hero {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center;
    margin-bottom: 40px;
  }
  @media (max-width: 800px) { .nutri-hero { grid-template-columns: 1fr; } }
  .nutri-plate {
    border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
    aspect-ratio: 4/3; object-fit: cover; width: 100%;
  }
  .stat-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    margin: 20px 0 28px;
  }
  @media (max-width: 700px) { .stat-row { grid-template-columns: 1fr 1fr; } }
  .stat {
    background: var(--card); border: 1px solid var(--line);
    border-radius: 14px; padding: 16px;
  }
  .stat .label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
  }
  .stat .value { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
  .stat .value span { font-size: 13px; font-weight: 600; color: var(--muted); }
  .day-list { display: grid; gap: 12px; margin-bottom: 36px; }
  .day-row {
    display: grid; grid-template-columns: 140px 1fr auto; gap: 16px;
    align-items: center;
    background: var(--card); border: 1px solid var(--line);
    border-radius: 14px; padding: 16px 18px; cursor: pointer;
    transition: border-color 0.2s;
  }
  .day-row:hover, .day-row.active {
    border-color: rgba(106,160,232,0.5);
  }
  .day-row .date { font-weight: 800; }
  .day-row .meta { color: var(--muted); font-size: 13px; }
  .day-row .macros { font-size: 13px; font-weight: 700; color: var(--blue-bright); text-align: right; }
  .meal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
  .meal-table th {
    text-align: left; font-size: 11px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--muted);
    padding: 10px 12px; border-bottom: 1px solid var(--line);
  }
  .meal-table td {
    padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top;
  }
  .meal-table tr:hover td { background: rgba(255,255,255,0.02); }
  .upload-box {
    border: 1px dashed rgba(106,160,232,0.45);
    border-radius: 16px; padding: 28px; text-align: center;
    background: rgba(76,118,180,0.08); margin-bottom: 36px;
  }
  .upload-box h3 { margin-bottom: 8px; }
  .upload-box p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
  .upload-box input[type=file] { display: none; }
  .disclaimer {
    font-size: 12px; color: #666; margin-top: 24px; max-width: 640px;
  }
  .page-hero {
    padding: 48px 24px 24px; max-width: 1120px; margin: 0 auto;
  }
  .teaser-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  }
  @media (max-width: 800px) { .teaser-grid { grid-template-columns: 1fr; } }
