@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/poppins-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Junie Health UI v5 (Nov 29, 2026): Scott's design export, implemented in-house.
   Monochrome brand tokens; the export's green is mapped to black and greys.
   Test strip artwork follows the strip design of record. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Outfit", system-ui, sans-serif; font-weight: 400; color: #030305; background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: #030305; color: #fff; }
:focus-visible { outline: 2px solid #030305; outline-offset: 2px; }
.pg { max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px; font: 500 16px "Outfit", sans-serif; border: 1px solid #030305; background: #030305; color: #fff; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease; }
.btn:hover { transform: translateY(-1px); background: #2B2B2C; border-color: #2B2B2C; }
.btn.o:hover { background: rgba(3, 3, 5, .05); }
.btn.w:hover { background: #EDEDEF; border-color: #EDEDEF; }
.btn.ow:hover { background: rgba(255, 255, 255, .12); }
.btn.o { background: transparent; color: #030305; }
.btn.w { background: #fff; color: #030305; border-color: #fff; }
.btn.ow { background: transparent; color: #fff; border-color: #fff; }
.btn.small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-dark { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px; font: 500 16px "Outfit", sans-serif; border: 1px solid #030305; background: #030305; color: #fff; cursor: pointer; }
.btn-block { width: 100%; }
.ey { font-size: 14px; font-weight: 500; margin: 0 0 8px; }
.h2 { margin: 0; font-size: clamp(34px, 4.4vw, 56px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.sec { padding: clamp(56px, 7vw, 100px) 0 0; scroll-margin-top: 90px; }

/* Topbar + header */
.topbar { background: #030305; color: #fff; text-align: center; font-size: 14px; padding: 12px 16px; }
.topbar button { background: none; border: 0; color: #fff; font: inherit; font-weight: 500; text-decoration: underline; cursor: pointer; padding: 0; }
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid #E4E4E7; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.header-logo { height: 40px; width: auto; display: block; }
.main-nav { display: flex; gap: clamp(14px, 2.4vw, 32px); font-size: 15px; font-weight: 500; }
.main-nav a { padding: 10px 0; text-underline-offset: 5px; }
.main-nav a:hover { text-decoration: underline; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #030305; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 860px) {
  .main-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; max-height: 0; overflow: hidden; transition: max-height .3s ease; background: #fff; }
  .mobile-menu.open { max-height: 480px; border-top: 1px solid #E4E4E7; }
  .mobile-menu a { display: flex; align-items: center; min-height: 54px; padding: 0 clamp(16px, 3vw, 40px); font-size: 17px; font-weight: 500; border-bottom: 1px solid #F5F5F6; }
  .mobile-menu a:last-child { border-bottom: none; }
}

/* Hero panel */
.hero-panel { border-radius: 32px; background: #030305; color: #fff; padding: clamp(28px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; overflow: hidden; }
.hero-copy { flex: 1 1 380px; }
.hero-copy .ey { color: #97979C; }
.hero-h1 { margin: 0; font-size: clamp(42px, 6.4vw, 92px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.hero-sub { margin: 20px 0 28px; font-size: 20px; line-height: 1.5; max-width: 420px; color: #D4D4D8; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { flex: 1 1 320px; display: flex; flex-direction: column; align-items: center; }
.hero-art svg { width: 100%; max-width: 440px; height: auto; }
.concept-note { font-size: 12px; margin-top: 8px; color: #97979C; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: riseSpring .8s cubic-bezier(.22, 1, .36, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .09s; }
  .hero-copy > *:nth-child(3) { animation-delay: .18s; }
  .hero-copy > *:nth-child(4) { animation-delay: .27s; }
  .hero-art { animation: riseSpring .9s cubic-bezier(.22, 1, .36, 1) .18s both; }
}
@keyframes riseSpring { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Explore carousel */
.car { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.car::-webkit-scrollbar { display: none; }
.car > a .car-card { transition: transform .3s ease, box-shadow .3s ease; }
.car > a:hover .car-card { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(3, 3, 5, .06), 0 18px 36px rgba(3, 3, 5, .10); }
.car > a { flex: 0 0 min(280px, 78vw); scroll-snap-align: start; }
.car-card { border-radius: 24px; height: 300px; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(3, 3, 5, .05); }
.car-label { font-size: 18px; font-weight: 500; margin-top: 14px; }

/* Planned test panels */
.panels { display: flex; flex-wrap: wrap; gap: 16px; }
.panel { flex: 1 1 420px; min-height: 600px; border-radius: 32px; padding: clamp(28px, 3vw, 44px); box-sizing: border-box; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.panel .ey { opacity: .75; }
.panel-sub { margin: 12px 0 24px; font-size: 18px; line-height: 1.5; max-width: 300px; min-height: 54px; }
.panel-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.panel-strip { margin-top: auto; display: flex; justify-content: center; transform: rotate(-12deg) translateY(36px); }
.panel-strip svg { width: 150px; height: auto; filter: drop-shadow(0 16px 22px rgba(3, 3, 5, .16)); }
@media (max-width: 640px) { .panel { min-height: 520px; } }

/* Why Mini Lab */
.why-grid { display: flex; flex-wrap: wrap; gap: 32px; }
.why-item { flex: 1 1 220px; }
.why-icon { width: 48px; height: 48px; border-radius: 50%; background: #030305; display: flex; align-items: center; justify-content: center; }
.why-item h3 { font-size: 20px; font-weight: 500; margin: 20px 0 8px; }
.why-item p { margin: 0; color: #535358; font-size: 16px; line-height: 1.55; }

/* How it will work */
.how-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.how-card { flex: 1 1 260px; background: #F5F5F6; border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(3, 3, 5, .04); padding: 32px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.how-num { width: 44px; height: 44px; border-radius: 50%; background: #030305; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 500; }
.how-card h3 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; margin: 32px 0 8px; }
.how-card p { margin: 0; color: #535358; font-size: 16px; line-height: 1.55; }

/* FAQ */
.faq-wrap { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.faq-wrap .h2 { flex: 1 1 240px; }
.faq-list { flex: 3 1 480px; }
details { border-top: 1px solid #E4E4E7; padding: 22px 0; }
details:last-child { border-bottom: 1px solid #E4E4E7; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 44px; font-size: clamp(18px, 2vw, 22px); font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; }
details[open ] summary::after { content: "−"; }
details p { margin: 14px 0 0; max-width: 640px; color: #535358; font-size: 16px; line-height: 1.6; }

/* Join panel */
.join-panel { background: #030305; color: #fff; border-radius: 32px; padding: clamp(32px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.join-blob { position: absolute; right: -80px; top: -100px; width: 320px; height: 320px; border-radius: 50%; background: linear-gradient(135deg, #3A3A40, #1A1A1F); }
.join-copy { position: relative; flex: 1 1 320px; }
.join-copy p { margin: 14px 0 0; font-size: 18px; color: #D4D4D8; max-width: 380px; }
.join-form { position: relative; flex: 1 1 340px; max-width: 480px; }
.join-form label { display: block; font-size: 14px; color: #97979C; margin-bottom: 8px; }
.join-row { display: flex; flex-wrap: wrap; gap: 10px; }
.join-row input { flex: 1 1 200px; min-height: 48px; box-sizing: border-box; border-radius: 999px; border: 0; padding: 0 22px; font: 400 16px "Outfit", sans-serif; background: #fff; color: #030305; }
.join-row input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.join-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: #97979C; }
.join-done { font-size: 17px; line-height: 1.55; color: #fff; }

/* Footer */
.site-footer { background: #F5F5F6; margin-top: clamp(56px, 7vw, 100px); }
.footer-in { padding-top: 56px; padding-bottom: 40px; }
.footer-logo { width: 170px; height: auto; display: block; margin-bottom: 36px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px; }
.footer-col { flex: 1 1 160px; }
.footer-col h4 { margin: 0 0 14px; font-size: 15px; font-weight: 500; }
.footer-col a, .footer-col button { display: block; color: #535358; font-size: 15px; padding: 7px 0; background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: #030305; }
.footer-legal { border-top: 1px solid #D4D4D8; margin-top: 40px; padding-top: 28px; color: #535358; font-size: 13px; line-height: 1.65; max-width: 960px; }
.footer-legal b { font-weight: 500; color: #030305; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; margin-top: 32px; font-size: 13px; color: #535358; }

/* Dialogs (carried from the previous UI) */
.dialog-backdrop { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: rgba(3, 3, 5, .4); padding: 20px; backdrop-filter: blur(4px); }
.dialog-backdrop[hidden] { display: none; }
.dialog { position: relative; width: 100%; max-width: 448px; border-radius: 24px; background: #fff; padding: 32px; box-shadow: 0 25px 50px rgba(3, 3, 5, .25); }
.dialog-close { position: absolute; right: 12px; top: 12px; display: flex; height: 44px; width: 44px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: none; cursor: pointer; color: #030305; }
.dialog .eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .17em; color: #535358; margin: 20px 0 16px; }
.dialog h2 { font-size: 30px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 16px; }
.dialog-copy { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: #535358; }
.dialog-label { display: block; margin-bottom: 8px; font-size: 14px; }
.dialog input { min-height: 48px; width: 100%; border-radius: 12px; border: 1px solid #C9C9CE; padding: 0 16px; font-size: 16px; font-family: inherit; box-sizing: border-box; }
.dialog input:focus { outline: none; border-color: #030305; box-shadow: 0 0 0 3px rgba(3, 3, 5, .14); }
.dialog-note { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: #535358; }
.dialog-error { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: #030305; }
@media (max-width: 640px) {
  .dialog-backdrop { padding: 12px; align-items: flex-end; }
  .dialog { padding: 26px 22px; border-radius: 22px; max-height: 88vh; overflow-y: auto; }
  .dialog h2 { font-size: 26px; }
}

/* Motion reveals */
.m-init { opacity: 0; transform: translateY(24px); }
.m-in { opacity: 1; transform: translateY(0); transition: opacity .6s ease var(--d, 0ms), transform .8s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .m-init { opacity: 1; transform: none; } .m-in { transition: none; } html { scroll-behavior: auto; } .btn, .car-card, .nav-toggle span, .mobile-menu { transition: none; } }

/* v5.1 (Nov 29, 2026): hi-res logo + TM, hero photo */
.tm { font-size: 8px; font-weight: 500; letter-spacing: .04em; vertical-align: super; margin-left: 2px; }
.hero-photo { width: 100%; max-width: 440px; border-radius: 24px; display: block; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px rgba(0, 0, 0, .5), 0 6px 18px rgba(0, 0, 0, .4); }

/* Unique panel designs (Nov 29, 2026) */
.panel-wm { position: absolute; font-size: clamp(150px, 18vw, 240px); font-weight: 500; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.25px currentColor; opacity: .11; pointer-events: none; user-select: none; }
.panel.flip { align-items: flex-end; text-align: right; }
.panel.flip .panel-sub { margin-left: auto; }
.panel.flip .panel-btns { justify-content: flex-end; }
.panel.flip .panel-bars { justify-content: flex-end; }
.panel-bars { display: flex; gap: 6px; margin-top: 22px; position: relative; z-index: 1; }
.panel-bars i { display: block; width: 26px; height: 8px; border-radius: 99px; background: currentColor; opacity: .5; }

@media (max-width: 860px) {
  .header-logo { height: 34px; }
  .header-in { min-height: 64px; }
  .topbar { font-size: 13px; }
}

/* REDESIGN 2026-11-30: hero integration + planned test cards */
.hero-panel{position:relative}
.hero-photo{max-width:620px;border-radius:0;box-shadow:none;filter:drop-shadow(0 34px 44px rgba(0,0,0,.5)) drop-shadow(0 0 90px rgba(255,255,255,.06))}
.concept-note{position:absolute;right:30px;bottom:20px;margin:0}
@media (min-width:861px){.hero-art{margin-right:-28px}}
@media (max-width:860px){.concept-note{right:20px;bottom:14px}}
.panel{min-height:560px}
.panel-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;position:relative;z-index:1}
.panel-idx{font-size:13px;letter-spacing:.14em;opacity:.75;font-weight:500}
.panel-pill{font-size:12px;letter-spacing:.06em;text-transform:uppercase;font-weight:500;padding:6px 12px;border:1px solid currentColor;border-radius:99px;opacity:.85}
.panel-meter{display:flex;gap:5px;margin-top:24px;position:relative;z-index:1}
.panel-meter i{display:block;width:22px;height:6px;border-radius:99px;background:currentColor;opacity:.14}
.panel-meter i.on{opacity:.85}
.panel-stage{position:relative;margin-top:auto;display:flex;justify-content:center;padding-top:44px;z-index:1}
.panel-stage::before{content:"";position:absolute;left:50%;top:56%;width:350px;height:350px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,var(--disc,rgba(255,255,255,.13)),rgba(255,255,255,0) 65%);pointer-events:none}
.panel-strip{margin-top:0;transform-origin:50% 60%}
.panel-strip svg{width:158px;filter:drop-shadow(0 22px 26px rgba(3,3,5,.20))}
.concept-note{position:static;margin:16px 0 0;font-size:12.5px;color:#71717A}
.hero-photo{max-width:560px}
.panel{min-height:600px}
.panel-btns{z-index:2}
.panel-stage{pointer-events:none;z-index:0;padding-top:30px}
.panel-stage::before{width:270px;height:270px}
.panel-strip svg{width:104px}
.hero-visual{position:absolute;top:0;right:-6px;height:100%;display:flex;align-items:flex-end;pointer-events:none;z-index:0}
.hero-img{height:92%;width:auto;display:block;filter:drop-shadow(0 24px 34px rgba(0,0,0,.5))}
.hero-copy{position:relative;z-index:1;max-width:560px}
@media (max-width:860px){.hero-visual{position:relative;right:0;height:auto;width:100%;justify-content:center;margin-top:10px}.hero-img{height:auto;width:100%;max-width:520px}}
@media (max-width:860px){.hero-visual{position:absolute;top:auto;bottom:0;right:0;height:300px;width:auto;align-items:flex-start;justify-content:flex-end;margin-top:0}.hero-img{height:112%;width:auto;max-width:none}.hero-copy{padding-bottom:168px}}
@media (max-width:860px){.hero-visual{height:auto;width:100%;right:0;align-items:flex-end;justify-content:center}.hero-img{width:100%;height:auto;max-width:430px}.hero-copy{padding-bottom:258px}}
@media (max-width:1150px) and (min-width:861px){.hero-img{height:76%}.hero-copy{max-width:470px}}
