/* GENERATED by scripts/extract_prototype.mjs — the prototype's base styles. Do not edit. */
  :root { --n-ink: #16302C; --n-deep: #12332F; --n-primary: #1E6A60; --n-tint: #DFEBE5; --n-line: #1B554C; --n-accent: #8F4A28; --n-glow: #6FC4B4; --n-soft: #9EBDB2; --n-pale: #E8F0E9; --n-muted: #4A5C57; --n-faint: #8A9793; --n-deep-rgb: 18,51,47; --n-glow-rgb: 111,196,180; }
  html[data-catalogue="men"] { --n-ink: #1F1D1B; --n-deep: #1F1D1B; --n-primary: #5A5147; --n-tint: #E8E1D5; --n-line: #3A3631; --n-accent: #8C6420; --n-glow: #C9A56A; --n-soft: #BDB3A4; --n-pale: #EFEAE1; --n-muted: #555049; --n-faint: #8F887E; --n-deep-rgb: 31,29,27; --n-glow-rgb: 201,165,106; }
  :root { --niira-display: Spectral, Georgia, serif; --niira-text: 'Work Sans', 'Helvetica Neue', Arial, sans-serif; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: #FAF6F0; color: var(--n-ink, #16302C); font-family: var(--niira-text); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
  * { box-sizing: border-box; }
  a { color: var(--n-primary, #1E6A60); text-decoration-thickness: 1px; text-underline-offset: 4px; }
  a:hover { color: var(--n-line, #1B554C); }
  button { font: inherit; }
  :focus-visible { outline: 2px solid var(--n-glow, #6FC4B4); outline-offset: 2px; }
  ::selection { background: var(--n-tint, #DFEBE5); }
  @keyframes niiraFall {
    0%   { transform: translateY(-13px) scale(.86, 1.18); opacity: 1; }
    38%  { transform: translateY(0) scale(1, 1); }
    46%  { transform: translateY(1px) scale(1.22, .76); }
    56%  { transform: translateY(0) scale(.96, 1.04); }
    64%, 100% { transform: translateY(0) scale(1, 1); opacity: 1; }
  }
  @keyframes niiraSettleA {
    0%, 34% { transform: scale(.35); opacity: 0; }
    52%     { opacity: .7; }
    74%     { transform: scale(1.1); opacity: .7; }
    100%    { transform: scale(1); opacity: .7; }
  }
  @keyframes niiraSettleB {
    0%, 44% { transform: scale(.3); opacity: 0; }
    62%     { opacity: .38; }
    82%     { transform: scale(1.08); opacity: .38; }
    100%    { transform: scale(1); opacity: .38; }
  }
  @keyframes niiraRing {
    0%, 42%  { transform: scale(.25); opacity: 0; }
    52%      { opacity: .8; }
    100%     { transform: scale(1.65); opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Niira — styles the prototype does not have. Its own base styles (src/gen/base.css) come first
   and its hover rules (src/gen/hover.css) last; both are generated from the prototype. */

/* Fonts: Latin subsets only, served from our own domain. The prototype declared 26 files
   (443 KB) including scripts no page uses; these three are 79.5 KB. */
@font-face {
  font-family: 'Work Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/worksans.72cd8f6784.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: 'Spectral'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/spectral.bcb83e9c56.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: 'Spectral'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/fonts/spectral_italic.7cfafd3583.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;
}

/* FAQ answers are in the page, collapsed; a tap opens one. Without JavaScript a <noscript>
   rule in the page head shows them all. */
[data-faq-a] { display: none; }
[data-faq-a].is-open { display: block; }

/* Phone header. The prototype was drawn at 390 px and 1280 px only, and at phone width its
   navigation runs over the logo and the Women/Men switch. Here the logo and switch keep the
   first row and the door links move to a second row that scrolls sideways. Inline styles in
   the prototype's markup outrank a stylesheet, hence !important. */
@media (max-width: 760px) {
  header > div { flex-wrap: wrap !important; row-gap: 4px !important; padding: 10px 16px 0 !important; }
  header div[role="group"] { margin-left: auto; }
  header nav {
    order: 3; flex: 1 1 100% !important; justify-content: flex-start !important; gap: 20px !important;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin: 0 -16px; padding: 0 16px 2px;
  }
  header nav::-webkit-scrollbar { display: none; }
  header nav a { font-size: 14px !important; }
}

/* The assessment's options are buttons; keep their text left-aligned like the prototype. */
#flow button { font: inherit; }

/* Phone menu: fade the right edge so it reads as "scrolls sideways", with room at the end so
   the last link can be scrolled clear of the fade. */
@media (max-width: 760px) {
  header nav {
    padding-right: 80px !important;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 72px), rgba(0,0,0,.25) calc(100% - 24px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 72px), rgba(0,0,0,.25) calc(100% - 24px), transparent);
  }
}

/* The prototype's lightest grey (#8A9793) is 2.4–3.0 : 1 against its backgrounds, below the
   4.5 : 1 needed for small text. It appears only in the assessment (progress, Back, hints).
   #5A665F is 4.8–6.0 : 1 on all three backgrounds it sits on. */
#flow [style*="#8A9793"] { color: #5A665F !important; }

/* Phone menu: a "›" at the right end of the row says "more this way" on every page, whatever
   the link widths (the fade alone only reads as a cue when part of the next word shows).
   site.js hides it once the row is scrolled to its end. */
@media (max-width: 760px) {
  header > div { position: relative !important; }
  header > div::after {
    content: '\203A'; position: absolute; right: 0; bottom: 0; height: 34px; width: 30px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 600; line-height: 1; color: var(--n-primary, #1E6A60); pointer-events: none; transition: opacity 160ms;
  }
  /* The link row stops 30 px short of the screen edge; the "›" lives in that strip, so it can
     never sit on top of a link's letters. */
  header nav { margin-right: 14px !important;
  }
  header.nav-end > div::after { opacity: 0; }
}

/* ---------------------------------------------------------------- Better You entry points
   Markup: src/better-you/site-inserts.mjs, inserted by scripts/build.mjs. */
.by-navcam { flex: none; align-self: center; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--n-primary, #1E6A60); background: var(--n-tint, #DFEBE5); margin-right: clamp(0px, .6vw, 8px); transition: background 160ms, color 160ms; }
.by-navcam:hover, .by-navcam:focus-visible { background: var(--n-primary, #1E6A60); color: #FAF6F0; }
.by-herolink { margin: 10px 0 0; font-size: .875rem; }
.by-herolink a { color: var(--n-tint, #DFEBE5); text-decoration: none; border-bottom: 1px solid var(--n-glow, #6FC4B4); padding: 6px 0 2px; font-weight: 600; }
.by-herolink a:hover { color: #FAF6F0; }
.by-band { background: var(--n-deep, #12332F); color: #FAF6F0; padding: clamp(48px, 7vw, 96px) 24px; }
.by-band-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.by-band h2, .by-door h2 { font-family: var(--niira-display); font-weight: 400; letter-spacing: -.02em; margin: 0 0 12px; }
.by-band h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.06; }
.by-band p { color: var(--n-tint, #DFEBE5); margin: 0 0 22px; font-size: 1.0625rem; max-width: 34ch; }
.by-cta { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border-radius: 999px; background: var(--n-tint, #DFEBE5); color: var(--n-ink, #16302C);
  font-weight: 600; font-size: 16px; text-decoration: none; transition: background 180ms; }
.by-cta:hover { background: #FAF6F0; }
.by-band .by-fine, .by-door .by-fine { margin: 12px 0 0; font-size: .8125rem; color: var(--n-soft, #9EBDB2); }
.by-pair { position: relative; aspect-ratio: 4 / 5; max-height: 480px; width: 100%; border-radius: 18px; overflow: hidden; background: #C9B79E; }
.by-pair .by-b, .by-pair .by-a { position: absolute; inset: 0; background-size: cover; background-position: 50% 22%; }
.by-pair .by-a { clip-path: inset(0 0 0 50%); }
.by-pair .by-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #FAF6F0; }
.by-pair .by-tl, .by-pair .by-tr, .by-pair .by-lb { position: absolute; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(18,51,47,.72); color: #FAF6F0; padding: 3px 8px; border-radius: 999px; }
.by-pair .by-tl { left: 10px; top: 10px; } .by-pair .by-tr { right: 10px; top: 10px; } .by-pair .by-lb { right: 10px; bottom: 10px; background: var(--n-deep, #12332F); }
.by-door { background: var(--n-deep, #12332F); color: #FAF6F0; padding: clamp(40px, 6vw, 72px) 24px; border-bottom: 1px solid rgba(250,246,240,.12); }
.by-door-in { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.by-door h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; }
.by-door p { color: var(--n-tint, #DFEBE5); margin: 0 0 20px; }
.by-door .by-pair { aspect-ratio: 1 / 1; }
@media (max-width: 760px) {
  .by-band-in, .by-door-in { grid-template-columns: 1fr; }
  .by-band .by-pair { order: -1; max-height: 420px; }
  .by-door .by-pair { max-height: 260px; aspect-ratio: auto; height: 260px; }
  .by-navcam { width: 30px; height: 30px; }
}

.by-comp { position: relative; border-radius: 18px; overflow: hidden; background: #F4F2EE; line-height: 0; }
.by-comp img { display: block; width: 100%; height: auto; }
.by-comp .by-lb { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--n-deep, #12332F); color: #FAF6F0; padding: 4px 9px; border-radius: 999px; line-height: 1.2; }
.by-band-in:has(.by-comp) { grid-template-columns: .8fr 1.2fr; }
.by-door-in:has(.by-comp) { grid-template-columns: minmax(0, 520px) 1fr; }
@media (max-width: 760px) { .by-band-in:has(.by-comp), .by-door-in:has(.by-comp) { grid-template-columns: 1fr; } }

/* Legal pages: Privacy, Your data, Terms, Telemedicine (src/legal-pages.mjs; design footer-links v0.1) */
.lg { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) 22px 80px; line-height: 1.6; color: var(--n-ink, #16302C); }
.lg h1 { font-family: var(--niira-display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; margin: 0 0 12px; }
.lg h2 { font-family: var(--niira-display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; margin: 36px 0 10px; scroll-margin-top: 90px; }
.lg a { color: var(--n-primary, #1E6A60); }
.lg-lede { color: var(--n-muted, #4A5C57); margin: 0 0 6px; }
.lg-upd { color: var(--n-muted, #4A5C57); font-size: .85rem; margin: 0; }
.lg-draft { display: inline-block; background: #F6E9C9; border-radius: 10px; padding: 8px 14px; font-size: .9rem; margin: 0 0 20px; }
.lg-tba { color: #6B5A3A; font-style: italic; }
.lg-fine { color: var(--n-muted, #4A5C57); font-size: .9rem; }
.lg-plain { list-style: none; padding: 0; } .lg-plain li { margin: 0 0 6px; }
.lg-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 8px 0; }
.lg-table th, .lg-table td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid #E2D9CD; }
.lg-table th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--n-muted, #4A5C57); font-weight: 500; }
.lg-anch { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.lg-anch a { background: var(--n-tint, #DFEBE5); color: var(--n-primary, #1E6A60); border-radius: 999px; padding: 6px 14px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.lg-form { background: #F0E4D6; border-radius: 16px; padding: 18px; margin: 14px 0; }
.lg-field { display: block; margin: 0 0 14px; border: 0; padding: 0; font-weight: 500; }
.lg-field > span:first-child, .lg-field legend { display: block; margin: 0 0 6px; font-size: .9375rem; padding: 0; }
.lg-field input[name], .lg-field textarea { width: 100%; box-sizing: border-box; border: 1.5px solid #CFC4B6; border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fff; }
.lg-field input[name] { height: 48px; }
.lg-phone { display: flex; gap: 8px; align-items: center; } .lg-phone b { flex: none; height: 48px; display: flex; align-items: center; padding: 0 12px; border-radius: 12px; background: #FAF6F0; }
.lg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-chips label { cursor: pointer; position: relative; } .lg-chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lg-chips span { display: inline-block; border: 1.5px solid #CFC4B6; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .9rem; font-weight: 500; }
.lg-chips input:checked + span { background: var(--n-tint, #DFEBE5); border-color: var(--n-primary, #1E6A60); color: var(--n-deep, #12332F); }
.lg-chips input:focus-visible + span { outline: 2px solid var(--n-primary, #1E6A60); outline-offset: 2px; }
.lg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lg-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border: 0; border-radius: 999px; background: var(--n-deep, #12332F); color: #FAF6F0; font: 600 16px var(--niira-text); cursor: pointer; }
.lg-btn:disabled { opacity: .6; cursor: wait; }
.lg-err { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #F6E4E4; color: #8C2F2F; }
.lg-done { background: var(--n-tint, #DFEBE5); border-radius: 16px; padding: 18px; margin: 14px 0; }
/* footer links (build: siteFooter) */
footer a.ft { color: inherit; text-decoration: none; }
footer a.ft:hover, footer a.ft:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* GENERATED by scripts/extract_prototype.mjs — the prototype's hover styles. Do not edit. */
[data-hover="hv-1"]:hover { color: var(--n-deep, #12332F) !important; border-bottom-color: var(--n-primary, #1E6A60) !important; }
[data-hover="hv-2"]:hover { background: #FAF6F0 !important; }
[data-hover="hv-3"]:hover { background: #F0E4D6 !important; padding-left: 18px !important; }
[data-hover="hv-4"]:hover { background: var(--n-tint, #DFEBE5) !important; }
[data-hover="hv-5"]:hover { background: var(--n-deep, #12332F) !important; }
[data-hover="hv-6"]:hover { color: var(--n-primary, #1E6A60) !important; }
[data-hover="hv-7"]:hover { border-color: var(--n-primary, #1E6A60) !important; }
