/* meetyuli.com hybrid styles: draft B's layout in the yuli palette.
   Used by the restyled pages; the rest still use site.css until they are moved over. */

  /* Layout: draft B's structure (sticky header, centered hero, card rows) in the yuli palette. Single light look, matching the live site. */
  :root {
    color-scheme: light only;
    --cream:  #FDF8EE;
    --ink:    #1A1A1A;
    --grey:   #666666;
    --sage:   #88A18A;
    --gold:   #DFC484;
    --forest: #1E3D2F;            /* draft B's forest, chosen by Cher */
    --forest-hover: #2A5240;
    --card:   #FFFFFF;
    --tint:   color-mix(in srgb, var(--sage) 12%, var(--cream));
    --tint-2: color-mix(in srgb, var(--sage) 22%, var(--cream));
    --gold-tint: color-mix(in srgb, var(--gold) 22%, var(--cream));
    --hair:   color-mix(in srgb, var(--sage) 40%, transparent);
    --font: 'Nunito', system-ui, sans-serif;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: var(--font); font-weight: 300; background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.55; letter-spacing: 0.01em; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
  ::selection { background: color-mix(in srgb, var(--gold) 55%, transparent); }
  h1, h2, h3 { font-weight: 300; text-wrap: balance; }

    .wrap { max-width: 1040px; margin: 0 auto; padding-inline: 24px; }
  @media (max-width: 480px) { .wrap { padding-inline: 16px; } }

  /* header */
  .site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--cream) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
  .head-in { display: flex; align-items: center; gap: 1.25rem; padding-block: 0.9rem; }
  .brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
  .wordmark { font-size: 1.6rem; font-weight: 300; letter-spacing: 0.08em; color: var(--forest); display: inline-flex; align-items: center; gap: 0.4rem; }
  .wordmark .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
  .head-tag { font-size: 0.78rem; color: var(--grey); padding-left: 0.75rem; border-left: 1px solid var(--hair); }
  .nav { display: flex; gap: 0.15rem; font-size: 0.9rem; }
  .nav a { text-decoration: none; padding: 0.4rem 0.8rem; border-radius: 999px; transition: background 0.2s; }
  .nav a:hover { background: var(--tint); }
  .nav a[aria-current="page"] { background: var(--tint-2); color: var(--forest); font-weight: 400; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0.7rem 1.4rem; border-radius: 999px; font: inherit; font-size: 0.9rem; font-weight: 400; text-decoration: none; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
  .btn-solid { background: var(--forest); color: var(--cream); border: 1px solid var(--forest); }
  .btn-solid:hover { background: var(--forest-hover); }
  .btn-line { background: transparent; color: var(--forest); border: 1px solid color-mix(in srgb, var(--forest) 25%, transparent); }
  .btn-line:hover { background: var(--tint); }
  .btn-sm { min-height: 38px; padding: 0.5rem 1rem; font-size: 0.8rem; }
  .btn-sm .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
  .menu { display: none; position: relative; }
  .menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair); display: grid; place-items: center; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 0; top: 48px; background: var(--card); border: 1px solid var(--hair); border-radius: 16px; padding: 0.5rem; display: grid; min-width: 200px; box-shadow: 0 10px 30px rgba(26,26,26,0.08); }
  .menu nav a { padding: 0.6rem 0.8rem; border-radius: 10px; text-decoration: none; }
  .menu nav a:hover { background: var(--tint); }
  /* header: links never wrap; the tagline drops first, then the nav folds into the menu */
  .site-header .wrap { max-width: 1200px; }
  .nav a, .btn, .head-tag { white-space: nowrap; }
  @media (max-width: 80em) { .head-tag { display: none; } }
  @media (max-width: 70em) { .nav { display: none; } .menu { display: block; } }
  @media (max-width: 420px) { .btn-sm .label-long { display: none; } }

  /* hero */
  .hero { text-align: center; padding-block: 5rem 4rem; display: grid; gap: 1.4rem; justify-items: center; }
  .pill { display: inline-block; padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--tint); font-size: 0.8rem; color: var(--grey); letter-spacing: 0.03em; }
  .hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.15; letter-spacing: -0.005em; max-width: 22ch; }
  .hero .second { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--grey); }
  .hero .thesis { color: var(--forest); max-width: 40ch; }
  .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; padding-top: 0.6rem; }

  /* sections */
  section.block { padding-block: 3.5rem; border-top: 1px solid var(--hair); }
  .eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--forest); font-weight: 400; }
  .sec-title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 0.4rem; }
  .sec-head { display: grid; gap: 0.2rem; margin-bottom: 2rem; }
  .sec-head.center { text-align: center; justify-items: center; }
  #principles-title { max-width: 34ch; }

  .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  @media (max-width: 820px) { .grid3 { grid-template-columns: 1fr; } }
  .grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  @media (max-width: 960px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } }

  .principle { padding: 2rem; border-radius: 20px; background: var(--tint); border: 1px solid transparent; display: grid; gap: 0.5rem; align-content: start; }
  .principle .num { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); font-variant-numeric: tabular-nums; }
  .principle h3 { font-size: 1.2rem; font-weight: 400; }
  .principle p { font-size: 0.95rem; color: var(--grey); }
  .sum-line { text-align: center; margin-top: 2rem; color: var(--forest); font-size: 1.05rem; }

  /* where yuli is today */
  .today { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; }
  @media (max-width: 820px) { .today { grid-template-columns: 1fr; } }
  .stat { background: var(--card); border: 1px solid var(--hair); border-radius: 20px; padding: 2rem; display: grid; gap: 0.6rem; align-content: start; }
  .stat .big { font-size: 3rem; line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }
  .stat p { font-size: 0.95rem; }
  .stat .note { font-size: 0.82rem; color: var(--grey); }
  .facts { list-style: none; display: grid; gap: 0.9rem; background: var(--card); border: 1px solid var(--hair); border-radius: 20px; padding: 2rem; }
  .facts li { display: grid; grid-template-columns: 12px 1fr; gap: 0.8rem; font-size: 0.95rem; }
  .facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 0.5rem; }
  .facts b { font-weight: 400; }

  /* paths */
  .path { display: grid; gap: 0.4rem; align-content: start; padding: 1.6rem; border-radius: 16px; background: var(--card); border: 1px solid var(--hair); text-decoration: none; transition: box-shadow 0.2s, border-color 0.2s; }
  .path:hover { box-shadow: 0 8px 24px rgba(26,26,26,0.07); border-color: var(--sage); }
  .path .who { font-weight: 400; color: var(--forest); }
  .path .what { font-size: 0.9rem; color: var(--grey); }
  .path .go { margin-top: 0.8rem; font-size: 0.85rem; color: var(--forest); font-weight: 400; }

  /* connect */
  .connect-card { max-width: 640px; margin: 0 auto; background: var(--tint); border-radius: 28px; padding: clamp(1.5rem, 5vw, 3rem); display: grid; gap: 1.4rem; }
  .connect-card .sec-head { margin-bottom: 0; }
  .connect-card .lede { color: var(--grey); font-size: 0.95rem; }
  .warn { display: grid; grid-template-columns: 18px 1fr; gap: 0.7rem; padding: 1rem; border-radius: 14px; background: var(--gold-tint); border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); font-size: 0.88rem; }
  .warn svg { margin-top: 0.15rem; }
  form { display: grid; gap: 1rem; }
  label { display: block; font-size: 0.85rem; margin-bottom: 0.3rem; font-weight: 400; }
  input, textarea { width: 100%; font: inherit; font-size: 0.95rem; padding: 0.75rem 1rem; border-radius: 12px; border: 1px solid var(--hair); background: var(--card); color: var(--ink); }
  input:focus, textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; }
  .privacy { font-size: 0.78rem; color: var(--grey); text-align: center; }
  .success { text-align: center; display: grid; gap: 0.4rem; padding-block: 1.5rem; }
  .success .tick { width: 40px; height: 40px; border-radius: 50%; background: var(--tint-2); color: var(--forest); display: grid; place-items: center; margin: 0 auto 0.4rem; }

  /* footer */
  footer { border-top: 1px solid var(--hair); padding-block: 2.5rem; margin-top: 3rem; text-align: center; display: grid; gap: 0.35rem; justify-items: center; }
  footer .tagline { color: var(--grey); font-size: 0.9rem; }
  footer .mail { color: var(--forest); font-size: 0.9rem; }
  footer small { color: var(--grey); font-size: 0.75rem; margin-top: 0.6rem; }

  @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

  /* evidence page */
  .ev-hero { text-align: center; padding-block: 4.5rem 3rem; display: grid; gap: 1.2rem; justify-items: center; }
  .ev-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.15; max-width: 20ch; }
  .ev-hero .lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--grey); max-width: 52ch; }
  .pill .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 0.5rem; vertical-align: middle; }

  .grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  @media (max-width: 960px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } }
  .fig { background: var(--card); border: 1px solid var(--hair); border-radius: 20px; padding: 1.5rem; display: grid; gap: 0.5rem; align-content: start; }
  .fig .n { font-size: 2.4rem; line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }
  .fig p { font-size: 0.92rem; }
  .fig cite, .cite { font-style: normal; font-size: 0.78rem; color: var(--grey); }
  .fig.dark { background: var(--forest); border-color: var(--forest); color: var(--cream); }
  .fig.dark .n { color: var(--gold); }
  .fig.dark cite { color: color-mix(in srgb, var(--cream) 75%, transparent); }
  .measure-note { margin-top: 1rem; font-size: 0.82rem; color: var(--grey); text-align: center; }

  .tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; background: var(--card); border: 1px solid var(--hair); padding: 0.35rem; border-radius: 999px; width: fit-content; max-width: 100%; margin-bottom: 1.5rem; }
  .tab { font: inherit; font-size: 0.88rem; border: 0; background: transparent; color: var(--grey); padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer; min-height: 40px; }
  .tab[aria-selected="true"] { background: var(--forest); color: var(--cream); }
  .tab:not([aria-selected="true"]):hover { color: var(--forest); }
  @media (max-width: 560px) { .tabs { border-radius: 20px; } .tab { flex: 1 1 100%; text-align: left; } }

  .panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem; background: var(--card); border: 1px solid var(--hair); border-radius: 24px; padding: clamp(1.4rem, 4vw, 2.6rem); align-items: center; }
  @media (max-width: 860px) { .panel { grid-template-columns: 1fr; } }
  .panel-copy { display: grid; gap: 1rem; }
  .panel-copy h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
  .panel-copy > p { color: var(--ink); }
  .mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
  @media (max-width: 560px) { .mini { grid-template-columns: 1fr; } }
  .mini div { background: var(--tint); border-radius: 14px; padding: 1rem; display: grid; gap: 0.3rem; }
  .mini b { font-weight: 400; color: var(--forest); font-size: 0.95rem; }
  .mini p { font-size: 0.88rem; color: var(--grey); }
  .means { background: var(--gold-tint); border-radius: 16px; padding: 1rem 1.2rem; display: grid; gap: 0.25rem; }
  .means b { font-weight: 400; color: var(--forest); font-size: 0.9rem; }
  .means p { font-size: 0.92rem; }
  .visual { background: var(--tint); border-radius: 18px; padding: 1.6rem; display: grid; gap: 0.9rem; justify-items: center; text-align: center; }
  .visual .cap { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--grey); }
  .people { display: flex; gap: 1rem; }
  .people span { width: 54px; height: 54px; border-radius: 50%; background: transparent; border: 2px solid var(--sage); }
  .people span.silent { background: var(--forest); border-color: var(--forest); }
  .bars { width: 100%; display: grid; gap: 0.7rem; text-align: left; }
  .bar-row { display: grid; gap: 0.3rem; font-size: 0.85rem; }
  .bar-track { height: 14px; border-radius: 999px; background: var(--card); overflow: hidden; }
  .bar-fill { height: 100%; border-radius: 999px; background: var(--forest); }
  .bar-fill.light { background: var(--gold); }
  .visual .huge { font-size: 4rem; line-height: 1; color: var(--forest); font-variant-numeric: tabular-nums; }

  .compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  @media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
  .col { border-radius: 24px; padding: clamp(1.4rem, 4vw, 2.4rem); display: grid; gap: 1.2rem; align-content: start; }
  .col.them { background: var(--card); border: 1px solid var(--hair); }
  .col.us { background: var(--forest); color: var(--cream); }
  .col .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; }
  .col.them .label { color: var(--grey); }
  .col.us .label { color: var(--gold); }
  .col h3 { font-size: 1.4rem; margin-top: 0.2rem; }
  .col ul { list-style: none; display: grid; gap: 0.9rem; }
  .col li { display: grid; grid-template-columns: 20px 1fr; gap: 0.7rem; font-size: 0.95rem; }
  .col li svg { margin-top: 0.2rem; }
  .col.them li svg { color: var(--grey); }
  .col.us li svg { color: var(--gold); }
  .col .box { border-radius: 14px; padding: 1rem 1.1rem; font-size: 0.9rem; display: grid; gap: 0.25rem; }
  .col.them .box { background: var(--tint); }
  .col.us .box { background: color-mix(in srgb, var(--cream) 12%, transparent); }
  .col .box b { font-weight: 400; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
  .col.us .box b { color: var(--gold); }
  .col.them .box b { color: var(--grey); }

  .invite { background: var(--card); border: 1px solid var(--hair); border-radius: 28px; padding: clamp(1.5rem, 5vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
  @media (max-width: 820px) { .invite { grid-template-columns: 1fr; } }
  .invite p { color: var(--grey); max-width: 58ch; }
  .invite .actions { justify-content: flex-start; flex-direction: column; padding-top: 0; }
  @media (max-width: 820px) { .invite .actions { flex-direction: row; } }

  .sources { list-style: none; display: grid; gap: 0.7rem; font-size: 0.85rem; color: var(--grey); counter-reset: src; }
  .sources li { padding-left: 2rem; position: relative; }
  .sources li::before { counter-increment: src; content: counter(src); position: absolute; left: 0; color: var(--forest); font-variant-numeric: tabular-nums; }
  .sources i { font-style: italic; }

  /* site chrome additions */
  .skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 30; padding: 0.7rem 1.2rem; border-radius: 999px; background: var(--gold); color: var(--ink); text-decoration: none; }
  .skip-link:focus { top: 1rem; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .optional { color: var(--grey); font-weight: 300; }
  .form-page { max-width: 640px; margin: 0 auto; padding-block: 4rem 2rem; display: grid; gap: 1.4rem; }
  .form-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
  .form-page .lede { color: var(--grey); }
  /* tabs only appear once the script runs; without it every panel shows */
  .tabs { display: none; }
  .js .tabs { display: flex; }
  .panel + .panel { margin-top: 1.25rem; }
  .js .panel + .panel { margin-top: 0; }
  .invite-copy { margin-top: 0.6rem; }
