/* bryo on the premium landing (v12 layout: framed hero with a hand holding the phone,
   dark statement block, compare cards). Loaded after styles.css. The OVO wine and cream
   become bryo ink and soft lavender; pink and blue mark the two partners, purple what
   they share. Tokens from Milos's brand kit (The Blend), 26 Nov 2026. */
@font-face { font-family: "DM Serif Display"; src: url(fonts/dmserif.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dmsans.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --bryo-ink: #1E1B3A; --bryo-ink-2: #34305A; --bryo-paper: #F7F5FB; --bryo-frame: #EEEAF6;
  --bryo-pink: #FF7AA2; --bryo-blue: #6FA8FF; --bryo-purple: #7B5CD6; --bryo-purple-text: #6A48C9;
  --bryo-muted: #55526E; --bryo-line: #ECE8F3; --bryo-border: #C9C2DA; --bryo-on-ink-muted: #DCD6EC;
  --bryo-shadow: 0 24px 48px -28px rgba(30, 27, 58, .45);

  --bg: #fff; --card: #fff; --soft: var(--bryo-paper);
  --cream: var(--bryo-frame); --cream-2: var(--bryo-paper);
  --line: var(--bryo-line); --ink: var(--bryo-ink); --ink-2: var(--bryo-muted);
  --wine: var(--bryo-ink); --action: var(--bryo-ink); --action-deep: #110f24; --on-action: #fff;
  --yolk: var(--bryo-pink); --blush: #ffe3ec; --accent: var(--bryo-purple-text);
  /* Severity is its own scale, never the partner colours: green, amber, orange, red */
  --sev-ok: #2E9E6B; --sev-ok-bg: #E5F4EC;
  --sev-mixed: #C9962A; --sev-mixed-bg: #FBF2DC;
  --sev-concern: #E2742B; --sev-concern-bg: #FDEADB;
  --sev-harm: #D23C4B; --sev-harm-bg: #FBE2E5;
  --high: var(--sev-harm); --high-t: #B42F3D;
  --mod: var(--sev-concern); --mod-t: #A9531A;
  --low: var(--sev-ok); --low-t: #217A52;
  --unk: #8A84A0;
  --nav: rgba(255, 255, 255, .9);
  --serif: "DM Serif Display", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}

/* Type: DM Serif Display has one weight; drop the variable-font settings of the old headings */
body.bryo { font-family: var(--body); color: var(--bryo-ink); }
.bryo h1, .bryo h2, .bryo h3, .bryo .brand, .bryo .scr-brand, .bryo .scr-h, .bryo .scr-cabs b, .bryo .fl-g,
.bryo .st-stats dt, .bryo .grades tbody th, .bryo .says h3, .bryo .plan h3, .bryo .plan .price b,
.bryo .rank li::before, .bryo .a-h, .bryo .ask-doc, .bryo .cmp h3, .bryo .st-text {
  font-family: var(--serif); font-weight: 400; font-variation-settings: normal; font-stretch: normal; letter-spacing: -0.01em;
}
.bryo h1, .bryo h2 { color: var(--bryo-ink); }
.bryo .h2-copy h1 { letter-spacing: -0.015em; }
.bryo a { text-underline-offset: .2em; }

/* Header */
.bryo .brand img { display: block; height: 32px; width: auto; }
.bryo .navlink { font-family: var(--body); font-weight: 500; color: var(--bryo-ink); }
.bryo .navlink.strong { text-decoration: none; padding: .55rem 1.1rem; border-radius: 999px; background: var(--bryo-pink); font-weight: 700; }

/* Buttons: pills. Pink carries ink text; purple carries white. */
.bryo .btn { border-radius: 999px; font-family: var(--body); font-weight: 700; letter-spacing: 0; min-height: 3.25rem; padding: 0 1.6rem; background: var(--bryo-pink); color: var(--bryo-ink); }
.bryo .btn:hover { background: #ff6896; }
.bryo .btn.light { background: #fff; color: var(--bryo-ink); }
.bryo .btn.ghost, .bryo .btn.quiet { background: #fff; color: var(--bryo-ink); box-shadow: inset 0 0 0 1.5px var(--bryo-border); }
.bryo .btn.small { border-radius: 999px; min-height: 2.5rem; }
.bryo .btn:focus-visible, .bryo a:focus-visible { outline: 3px solid var(--bryo-purple-text); outline-offset: 3px; }

/* Hero frame: lavender instead of cream */
.bryo .h2-frame { background: var(--bryo-frame); }
.bryo .h2-note { color: var(--bryo-muted); }
/* The app screen inside the photo, in the bryo app style */
.bryo .scr-brand { display: inline-flex; align-items: center; gap: 1.6cqw; color: var(--bryo-ink); font-size: 7cqw; }
.bryo .scr-brand img { width: 6cqw; height: 6cqw; }
.bryo .scr-stage { background: var(--bryo-paper); color: var(--bryo-purple-text); font-size: 3.8cqw; font-weight: 700; }
.bryo .scr-h { color: var(--bryo-ink); }
.bryo .scr-list li { border-color: var(--bryo-line); }
.bryo .scr-cabs span { background: var(--bryo-paper); }
.bryo .scr-cabs span:first-child { box-shadow: inset 1.2cqw 0 0 var(--bryo-pink); }
.bryo .scr-cabs span:last-child { box-shadow: inset 1.2cqw 0 0 var(--bryo-blue); }
.bryo .scr-cabs b { color: var(--bryo-ink); }
/* Floating cards: the question is hers (pink), the grade card is ink */
.bryo .h2-float { box-shadow: var(--bryo-shadow); border-radius: 1.25rem; }
.bryo .fl-q { background: var(--bryo-pink); color: var(--bryo-ink); }
.bryo .h2-float.med { background: #fff; color: var(--bryo-ink); }
.bryo .h2-float.med .fl-src, .bryo .h2-float.med .fl-k, .bryo .h2-float.med .fl-d { color: var(--bryo-muted); }
.bryo .fl-g::before { background: var(--sev-concern); }
.bryo .fl-src { color: var(--bryo-purple-text); }

/* Statement block: ink, 241 in the blend colour */
.bryo .st-frame { background: var(--bryo-ink); }
.bryo .st-text { color: #fff; }
.bryo .st-stats dd { color: var(--bryo-on-ink-muted); }
.bryo .st-stats div:nth-child(1) dt { color: #b7a3f2; }
.bryo .st-stats div:nth-child(2) dt { color: var(--bryo-pink); }
.bryo .st-stats div:nth-child(3) dt { color: var(--bryo-blue); }

/* Compare: the bryo card is ink, its ticks blend pink and blue */
.bryo .cmp { background: var(--bryo-paper); }
.bryo .cmp.ovo { background: var(--bryo-ink); }
.bryo .cmp.ovo li { border-color: rgba(255, 255, 255, .14); }
.bryo .cmp.ovo li::before { color: var(--bryo-pink); }

/* Ask bryo: her questions pink, his blue, citations purple */
.bryo #ask .q { color: var(--bryo-ink); }
.bryo #ask .q.her { background: var(--bryo-pink); }
.bryo #ask .q.him { background: var(--bryo-blue); }
.bryo #ask .q .q-who { color: var(--bryo-ink); opacity: .7; }
.bryo #ask .a-h { color: var(--bryo-ink); font-size: 1.05rem; }
.bryo #ask .a-h img { display: block; }
.bryo .cite { background: var(--bryo-purple); color: #fff; }
.bryo .ask-doc { color: var(--bryo-ink); background: var(--bryo-paper); }
.bryo .ent b, .bryo .rank b { font-family: var(--body); font-weight: 700; }

/* Product check */
.bryo #check .seg button[aria-selected=true] { background: var(--bryo-ink); color: #fff; }
.bryo #check textarea, .bryo #check input { font-family: var(--body); }

.bryo #medicines .exception-note p { color: var(--bryo-purple-text); }
.bryo #medicines .says > div:first-child { background: var(--bryo-ink); }
.bryo .plain-list.never li { text-decoration-color: var(--bryo-pink); }

/* Plans: the couple card is ink with a pink button */
.bryo #plans .plan.couple { background: var(--bryo-ink); }
.bryo #plans .plan.couple .btn { background: var(--bryo-pink); color: var(--bryo-ink); }
.bryo #plans .plan.couple li::before { background: var(--bryo-pink); }
.bryo #plans .plan li::before { background: var(--bryo-purple); }

/* Waitlist block: ink, pink button */
.bryo #waitlist > .wrap { background: var(--bryo-ink); }
.bryo #waitlist .waitlist .field .btn { background: var(--bryo-pink); color: var(--bryo-ink); }
.bryo #waitlist .sub, .bryo #waitlist .choice legend { color: var(--bryo-on-ink-muted); }
.bryo #waitlist .choice span { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.bryo #waitlist .choice input:checked + span { background: #fff; color: var(--bryo-ink); }
.bryo #waitlist .sub a { color: var(--bryo-pink); }

/* Footer */
.bryo footer .brand img { height: 28px; }

/* Screen position on the bryo photo (2864x2160, measured 26 Nov) */
.bryo .h2-screen { left: 41.55%; top: 41.35%; width: 17.1%; height: 50.2%; }
.b-logo img { display: block; height: 32px; width: auto; }
@media (max-width: 48rem) { .bryo #medicines .grades td { padding-left: 1.25rem; padding-right: 1.25rem; } }

/* The brand name inside running text: DM Serif, purple (lighter purple on ink) */
.bryo .bw { font-family: var(--serif); font-weight: 400; font-size: 1.08em; letter-spacing: -0.01em; color: var(--bryo-purple-text); }
.bryo h1 .bw, .bryo h2 .bw, .bryo h3 .bw { font-size: 1em; }
.bryo .st-frame .bw, .bryo .cmp.ovo .bw, .bryo .plan.couple .bw, .bryo .says > div:first-child .bw { color: #b7a3f2; }

/* For clinics: lavender frame with a booking button */
.bryo .clinics { padding-block: .75rem 0; }
.bryo .cl-frame { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; border-radius: 1.75rem; background: var(--bryo-frame); padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem); }
.bryo .cl-copy { max-width: 38rem; }
.bryo .cl-copy h2 { margin: 0 0 .75rem; }
.bryo .cl-copy p { margin: 0; color: var(--bryo-muted); font-size: 1.125rem; line-height: 1.55; }
.bryo .cl-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.bryo .faq summary { font-family: var(--body); }

/* Medicine grades: one scale from reassuring to known harm. Ink text on a light tint,
   a dot in the scale colour, always the word. */
.bryo #medicines .g, .bryo .g-scale .g { display: inline-flex; align-items: center; gap: .45rem; width: fit-content; padding: 5px 12px 5px 10px; border-radius: 999px; font: 700 13px/1.4 var(--body); letter-spacing: 0; color: var(--bryo-ink); background: var(--g-bg, #EFEDF4); margin-bottom: 6px; box-shadow: none; }
.bryo #medicines .g::before, .bryo .g-scale .g::before { content: ""; display: block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--g-dot, transparent); }
.bryo .g-ok { --g-bg: var(--sev-ok-bg); --g-dot: var(--sev-ok); }
.bryo .g-mixed { --g-bg: var(--sev-mixed-bg); --g-dot: var(--sev-mixed); }
.bryo .g-concern { --g-bg: var(--sev-concern-bg); --g-dot: var(--sev-concern); }
.bryo .g-harm { --g-bg: var(--sev-harm-bg); --g-dot: var(--sev-harm); }
.bryo #medicines .g-none, .bryo .g-scale .g-none { --g-bg: #F2F0F7; color: var(--bryo-muted); }
.bryo #medicines .g-none::before, .bryo .g-scale .g-none::before { background: transparent; box-shadow: inset 0 0 0 1.5px #8A84A0; }
.bryo #medicines .g-na, .bryo .g-scale .g-na { --g-bg: #F2F0F7; color: var(--bryo-muted); font-weight: 600; }
.bryo #medicines .g-na::before, .bryo .g-scale .g-na::before { width: 9px; height: 2px; border-radius: 0; background: #8A84A0; }
.bryo #medicines .grades td .g { display: flex; }
/* Legend above the table */
.bryo .g-scale { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.5rem 0 1.25rem; padding: 0; }
.bryo .g-scale li { display: flex; align-items: center; }
.bryo .g-scale li:not(.g-scale-sep):not(:last-child):not(:nth-child(4))::after { content: ""; width: 14px; height: 1.5px; margin-left: .5rem; background: var(--bryo-border); }
.bryo .g-scale .g { margin: 0; }
.bryo .g-scale-sep { margin-left: 1rem; padding-left: 1.25rem; border-left: 1px solid var(--bryo-border); }
/* Table card: room above the header row */
.bryo #medicines .grades thead th { padding-top: 1.4rem; padding-bottom: 1rem; font: 700 13px/1.3 var(--body); color: var(--bryo-muted); }
.bryo #medicines .grades { border-radius: 1.25rem; }
@media (max-width: 48rem) { .bryo .g-scale-sep { margin-left: 0; padding-left: 0; border-left: 0; } .bryo .g-scale li::after { display: none; } }

/* Founder's note: a letter in a soft frame. The heading and the signature sit beside the
   text on wide screens and above it on a phone. */
.bryo .story { padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem); }
.bryo .st-letter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5.5rem); border-radius: 1.75rem; background: var(--bryo-paper); padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem); }
.bryo .st-letter-head { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.bryo .st-letter-head h2 { margin: 0; font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.05; max-width: 9ch; }
.bryo .st-sign { margin: 0; display: grid; gap: .15rem; }
.bryo .st-sign b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1.2; }
.bryo .st-sign span { color: var(--bryo-muted); font-size: 1rem; }
.bryo .st-letter-body { max-width: 38rem; }
.bryo .st-letter-body p { margin: 0 0 1.15em; font-size: 1.125rem; line-height: 1.65; color: var(--bryo-ink); }
.bryo .st-letter-body p:last-child { margin-bottom: 0; }
.bryo .st-letter-body .st-ask { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.25; letter-spacing: -0.01em; margin-block: 1.6em 1.4em; }
@media (max-width: 52rem) {
  .bryo .st-letter { grid-template-columns: 1fr; gap: 1.75rem; }
  .bryo .st-letter-head { display: contents; }
  .bryo .st-letter-head h2 { max-width: none; }
  .bryo .st-sign { order: 3; margin-top: .5rem; }
}

/* Hero, 27 Nov: one button. The second action is a text link with an arrow. */
.bryo .hero-cta { align-items: center; }
.bryo .hero-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: 0 .5rem; color: var(--bryo-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: var(--bryo-border, #C9C2DA); }
.bryo .hero-link:hover { text-decoration-color: currentColor; }
.bryo .hero-link .hl-arrow { transition: transform .18s ease-out; }
.bryo .hero-link:hover .hl-arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .bryo .hero-link .hl-arrow { transition: none; } }

/* Ink is kept for proof: the numbers, the comparison and the clinics block.
   The clinics block is ink; the waitlist after it is a lavender frame. */
.bryo .cl-frame { background: var(--bryo-ink); }
.bryo .cl-copy h2 { color: #fff; }
.bryo .cl-copy p { color: var(--bryo-on-ink-muted); }
.bryo .cl-frame .bw { color: #b7a3f2; }
.bryo #waitlist > .wrap { background: var(--bryo-frame); color: var(--bryo-ink); }
.bryo #waitlist h2, .bryo #waitlist .form-msg, .bryo #waitlist .invite { color: var(--bryo-ink); }
.bryo #waitlist .sub, .bryo #waitlist .choice legend { color: var(--bryo-muted); }
.bryo #waitlist .sub a { color: var(--bryo-ink); }
.bryo #waitlist .choice span { background: #fff; color: var(--bryo-ink); box-shadow: inset 0 0 0 1px #C9C2DA; }
.bryo #waitlist .choice input:checked + span { background: var(--bryo-ink); color: #fff; box-shadow: none; }
.bryo .h2-copy h1 .h1-s { white-space: nowrap; }
