/* Phrasefire design tokens: change the brand palette here. */
:root {
  --raspberry: #D62D52;
  --raspberry-dark: #BC2445;
  --pink: #D62D52;
  --ink: #242426;
  --muted: #5F5A5D;
  --blush: #FFF7F9;
  --pink-soft: #FBE8ED;
  --line: #E8DFE2;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 20px 60px #59232e0d, 0 3px 10px #59232e05;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
button, a, summary { outline-offset: 5px; }
:focus-visible { outline: 3px solid var(--pink); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 3.25vw, 46px); line-height: 1.15; font-weight: 650; }
p { line-height: 1.7; }
.container { max-width: 1240px; width: calc(100% - 96px); margin-inline: auto; }
.section { padding-block: 82px; }
.icon { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.eyebrow { font-size: 10px; font-weight: 750; letter-spacing: .16em; color: var(--raspberry); line-height: 1.6; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 49px; padding: 13px 20px; border-radius: 8px; font-size: 12px; font-weight: 650; border: 1px solid transparent; transition: background .18s, box-shadow .18s, transform .18s; }
.button-primary { color: white; background: var(--raspberry); box-shadow: 0 5px 13px #a4334a1c; }
.button-primary:hover { box-shadow: 0 7px 22px #a4334a30; transform: translateY(-2px); background: var(--raspberry-dark); }
.button .icon { width: 16px; height: 16px; }
.button-quiet { background: transparent; padding-inline: 4px; }
.button-quiet .icon { color: var(--raspberry); width: 20px; height: 20px; }
.button-quiet:hover { color: var(--raspberry); }
.skip-link { position: fixed; left: 12px; top: -100px; padding: 15px; z-index: 100; background: white; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { position: sticky; top: 0; z-index: 30; background: #ffffffed; backdrop-filter: blur(16px); border-bottom: 1px solid #f1e9eb; }
.nav-container { max-width: 1360px; width: calc(100% - 72px); min-height: 84px; margin: auto; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; line-height: .95; font-weight: 750; letter-spacing: -.9px; flex-shrink: 0; }
.brand img { border-radius: 10px; }
.brand-medical { display: block; letter-spacing: .27em; font-size: 8px; font-weight: 600; margin-top: 7px; color: var(--muted); }
#main-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex: 1; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-links { margin-inline: auto; }
.nav-links a, .login { font-size: 11px; font-weight: 550; white-space: nowrap; }
.nav-links a:hover, .login:hover { color: var(--raspberry); }
.login { padding: 12px 0; background: none; border: 0; }
.nav-actions .button { min-height: 42px; font-size: 10px; padding: 11px 15px; gap: 9px; }
.menu-toggle { display: none; background: var(--blush); border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; }
.hero { display: grid; grid-template-columns: .82fr 1.18fr; column-gap: 32px; align-items: center; padding-top: 72px; }
.hero-copy { padding-bottom: 20px; min-width: 0; }
.hero .eyebrow { display: flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: .13em; }
.status-dot { width: 6px; height: 6px; background: var(--pink); border-radius: 50%; box-shadow: 0 0 0 4px #cd39570b; flex-shrink: 0; }
h1 { font-size: clamp(48px, 5.5vw, 76px); letter-spacing: -.065em; font-weight: 780; line-height: 1.02; margin: 26px 0 25px; }
h1 span { color: var(--raspberry); background: none; background-clip: text; -webkit-text-fill-color: currentColor; }
.hero-subtitle { font-size: 24px; line-height: 1.35; font-weight: 500; max-width: 400px; letter-spacing: -.6px; }
.hero-description { color: var(--muted); font-size: 14px; max-width: 380px; margin: 18px 0 28px; }
.hero-actions { display: flex; align-items: center; gap: 20px; }
.hero-proof { margin-top: 29px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.hero-proof strong { color: #524346; font-weight: 650; }
.proof-symbol { background: var(--blush); border-radius: 50%; padding: 8px; color: var(--raspberry); }
.proof-symbol .icon { width: 16px; height: 16px; }
.dot-divider { margin: 0 7px; color: var(--muted); }
.hero-product { position: relative; padding-top: 10px; min-width: 0; }
.product-orbit { position: absolute; inset: -85px -20px -60px -55px; z-index: -1; background: radial-gradient(ellipse, #f5dfe398, #fceef15e 45%, transparent 71%); }
.app-window { overflow: hidden; border: 1px solid #DBCCD1; border-radius: 12px; background: white; box-shadow: 0 26px 65px #6b333e14, 0 5px 18px #6b333e06; text-align: left; }
.window-top { height: 29px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; background: #fcf9fa; border-bottom: 1px solid var(--line); font-size: 6px; letter-spacing: .12em; color: #807174; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #ddced1; }
.window-dots i:first-child { background: #dc9eaa; }
.demo-label { background: #f7eaed; color: #8c4755; border-radius: 4px; padding: 3px 6px; font-size: 7px; font-weight: 700; letter-spacing: .06em; }
.app-toolbar { display: flex; align-items: center; padding: 13px 15px; gap: 18px; border-bottom: 1px solid var(--line); }
.app-brand { color: var(--ink); font-size: 13px; font-weight: 750; letter-spacing: -.4px; white-space: nowrap; }
.app-brand .icon { width: 16px; height: 16px; color: var(--pink); }
.app-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid #f0e7e9; background: #FAFAFA; border-radius: 5px; color: var(--muted); font-size: 10px; }
.app-search .icon { width: 11px; height: 11px; }
kbd { font: inherit; }
.app-search kbd { margin-left: auto; color: var(--muted); font-size: 7px; }
.avatar { font-size: 8px; width: 23px; height: 23px; background: #f7e7ea; border-radius: 50%; color: var(--raspberry); display: grid; place-items: center; }
.app-layout { display: grid; grid-template-columns: 150px 1fr; }
.app-sidebar { padding: 22px 8px 15px; border-right: 1px solid var(--line); background: #FCFAFB; position: relative; }
.app-small { font-size: 8px; font-weight: 700; letter-spacing: .12em; color: var(--muted); margin-left: 9px; }
.sidebar-item { display: flex; align-items: center; gap: 7px; font-size: 9px; padding: 10px 8px; margin-top: 4px; color: var(--muted); border-radius: 5px; }
.sidebar-item .icon, .sidebar-bottom .icon { width: 12px; height: 12px; }
.sidebar-item.selected { background: var(--pink-soft); color: var(--raspberry-dark); font-weight: 650; }
.sidebar-bottom { position: absolute; bottom: 18px; left: 17px; font-size: 9px; color: var(--muted); display: flex; gap: 7px; align-items: center; }
.app-document { padding: 20px 22px 12px; }
.breadcrumb { color: var(--muted); font-size: 9px; }
.breadcrumb span { padding: 0 7px; color: #cdbcbf; }
.document-heading { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.document-icon { display: grid; place-items: center; width: 30px; height: 33px; background: var(--blush); color: var(--raspberry); border: 1px solid #f5e1e5; border-radius: 6px; }
.document-icon .icon { width: 17px; height: 17px; }
.saved { font-size: 8px; color: #426657; }
.app-document h3 { font-size: 21px; letter-spacing: -.6px; margin: 13px 0 6px; }
.document-subtitle { font-size: 10px; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.tag-row span { font-size: 8px; padding: 4px 6px; border-radius: 4px; background: var(--blush); color: var(--raspberry-dark); }
.tag-row span:nth-child(2) { background: var(--pink-soft); color: var(--raspberry-dark); }
.document-body { margin-top: 17px; border-top: 1px solid #f3eaec; padding-top: 15px; }
.document-body h4 { font-size: 11px; font-weight: 650; margin-bottom: 6px; }
.document-body p { font-size: 10px; line-height: 1.7; color: var(--muted); margin-bottom: 12px; }
.check-line { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.check-line .icon { width: 11px; height: 11px; color: var(--raspberry); }
.linked-row { display: flex; align-items: center; gap: 5px; padding: 12px 0; margin-top: 16px; border-top: 1px solid #f3eaec; font-size: 9px; color: var(--raspberry-dark); flex-wrap: wrap; }
.linked-row .icon { width: 11px; height: 11px; }
.linked-count { margin-left: auto; font-size: 8px; color: var(--muted); }
.app-footnote { font-size: 8px; color: var(--muted); }
.floating-note { position: absolute; bottom: -25px; left: -26px; display: flex; align-items: center; gap: 11px; background: #fff; padding: 14px 20px 14px 13px; box-shadow: 0 7px 24px #5f202d13; border: 1px solid #f3e5e8; border-radius: 10px; font-size: 10px; font-weight: 600; }
.floating-note > span { padding: 7px; color: var(--raspberry); background: #faeaed; border-radius: 50%; }
.floating-note .icon { width: 16px; height: 16px; }
.floating-note small { display: block; font-size: 8px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.hero-caption { grid-column: 1 / -1; display: flex; justify-content: flex-end; align-items: center; border-top: 1px solid var(--line); margin-top: 42px; padding: 18px 0; font-size: 9px; color: #988387; }
.hero-caption a { color: var(--muted); }
.hero-caption a span { margin-left: 25px; color: var(--raspberry); }
.category-section { background: linear-gradient(110deg, #FFFAFB, var(--blush)); text-align: center; padding: 60px 0 49px; border-block: 1px solid #f4e9eb; }
.category-symbol { display: inline-grid; place-items: center; color: var(--pink); background: white; width: 41px; height: 41px; border-radius: 12px; border: 1px solid #efdfe2; margin-bottom: 24px; }
.category-inner h2 { font-size: clamp(26px, 3.15vw, 43px); line-height: 1.4; letter-spacing: -.045em; }
.category-inner h2 span { color: var(--raspberry); }
.category-inner p { max-width: 700px; margin: 21px auto 28px; color: #514B4E; font-size: 15px; }
.category-rule { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 8px; font-weight: 650; letter-spacing: .2em; color: var(--raspberry-dark); }
.category-rule::before, .category-rule::after { content: ''; width: 70px; height: 1px; background: #e9d7db; }
.section-heading { margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); margin-top: 18px; font-size: 14px; }
.centered { text-align: center; margin-inline: auto; max-width: 690px; }
.centered h2 { text-wrap: balance; }
.workflow-explorer { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 26px; box-shadow: var(--shadow); }
.demo-search { min-height: 51px; border: 1px solid #efd5da; box-shadow: 0 0 0 3px #fbf4f5; display: flex; gap: 12px; align-items: center; border-radius: 9px; padding: 12px 17px; font-size: 14px; }
.demo-search > .icon { color: var(--raspberry); width: 18px; height: 18px; }
.search-hint { color: var(--muted); font-size: 10px; margin-left: auto; }
.demo-search kbd { color: var(--muted); padding: 1px 6px; background: #faf3f4; border: 1px solid var(--line); border-radius: 4px; }
.diagnosis-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 21px 0 28px; }
.diagnosis-chip { background: #FCFAFB; border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; color: var(--muted); font-size: 10px; min-height: 36px; transition: background .15s, color .15s; }
.diagnosis-chip:hover { border-color: var(--raspberry); color: var(--raspberry); }
.diagnosis-chip[aria-pressed='true'] { background: var(--raspberry); border-color: var(--raspberry); color: white; box-shadow: 0 3px 8px #a4334a22; }
.results-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 17px; }
.results-heading h3 { font-size: 15px; letter-spacing: -.25px; }
.results-heading > span { font-size: 9px; color: var(--muted); white-space: nowrap; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.workflow-card { display: flex; flex-direction: column; min-height: 240px; border: 1px solid #DFD4D8; border-radius: 9px; padding: 17px 14px 13px; animation: card-in .2s ease-out; box-shadow: 0 2px 5px #24242604; }
.workflow-primary { border-color: #E4A2B1; background: var(--blush); }
.card-label { display: flex; gap: 6px; align-items: center; font-size: 10px; color: var(--raspberry-dark); font-weight: 650; }
.card-label .icon { width: 13px; height: 13px; }
.workflow-card h4 { font-size: 14px; line-height: 1.5; margin: 18px 0 8px; font-weight: 650; }
.workflow-card p { font-size: 12px; color: var(--muted); line-height: 1.75; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 20px; margin-top: auto; color: var(--muted); font-size: 9px; }
.card-bottom .icon { width: 11px; height: 11px; }
.demo-disclaimer { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 9px; margin-top: 23px; }
.knowledge-section { background: #FAFAFA; border-block: 1px solid #f5edef; }
.knowledge-heading { display: flex; gap: 80px; align-items: flex-end; justify-content: space-between; }
.knowledge-heading h2 { max-width: 590px; }
.knowledge-heading > p { max-width: 300px; font-size: 12px !important; padding-bottom: 4px; }
.knowledge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.knowledge-card { padding: 25px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.feature-icon { width: 40px; height: 40px; display: inline-grid; place-items: center; background: var(--pink-soft); color: var(--raspberry); border-radius: 10px; }
.knowledge-card:nth-child(even) .feature-icon { background: var(--blush); color: var(--raspberry); }
.feature-icon .icon { width: 20px; height: 20px; }
.knowledge-card h3 { font-size: 15px; letter-spacing: -.4px; margin: 21px 0 10px; }
.knowledge-card p { color: var(--muted); font-size: 13px; }
.experience .section-heading { max-width: 670px; margin-bottom: 46px; }
.experience-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: center; }
.steps { padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; gap: 18px; position: relative; padding-bottom: 31px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::after { content: ''; position: absolute; height: calc(100% - 41px); left: 19px; top: 42px; width: 1px; background: #eddcdf; }
.step-number { display: grid; place-items: center; width: 39px; height: 39px; flex-shrink: 0; background: #fcf3f5; border: 1px solid #efdde1; border-radius: 50%; color: var(--raspberry); font-size: 10px; font-weight: 600; }
.steps li:first-child .step-number { background: var(--raspberry); color: white; border-color: var(--raspberry); }
.steps h3 { font-size: 16px; letter-spacing: -.3px; margin: 2px 0 6px; }
.steps p { font-size: 11px; color: var(--muted); }
.experience-product { min-width: 0; padding: 22px; border-radius: 18px; background: #fbf3f5; border: 1px solid #f4e7ea; }
.app-compact .app-layout { grid-template-columns: 126px 1fr; }
.app-compact .app-document { padding-inline: 18px; }
.export-strip { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 0 0; }
.export-strip > span { font-size: 9px; color: #9c737b; }
.export-strip > span .icon { width: 13px; height: 13px; margin-right: 5px; }
.button-small { min-height: 32px; background: white; border: 1px solid #ecd5da; border-radius: 6px; padding: 7px 11px; font-size: 9px; color: var(--raspberry); gap: 6px; }
.button-small .icon { width: 12px; height: 12px; }
.audience-section { padding-top: 20px; padding-bottom: 30px; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.audience-card { position: relative; overflow: hidden; border-radius: 17px; border: 1px solid #eedfe2; padding: 42px; background: var(--blush); scroll-margin-top: 110px; }
.audience-card h2 { font-size: 31px; margin: 18px 0 26px; }
.audience-card ul { padding: 0; list-style: none; position: relative; z-index: 1; }
.audience-card li { display: flex; gap: 11px; align-items: center; font-size: 12px; margin: 16px 0; color: var(--muted); }
.audience-card li .icon { width: 15px; height: 15px; color: var(--raspberry); }
.text-button { background: none; border: none; border-top: 1px solid #e9d9dc; width: 100%; text-align: left; display: flex; justify-content: space-between; padding: 23px 0 0; margin-top: 32px; font-size: 12px; font-weight: 650; color: var(--raspberry); position: relative; z-index: 1; }
.text-button .icon { width: 18px; height: 18px; }
.attendings { background: #881F3B; border-color: #881F3B; color: white; }
.attendings .eyebrow { color: #FBE8ED; }
.attendings li { color: #FFFFFF; }
.attendings li .icon { color: #F9C5D1; }
.attendings .text-button { border-color: #C16B80; color: white; }
.audience-decoration { position: absolute; bottom: 95px; right: -18px; color: #d09fa9; opacity: .09; transform: rotate(-16deg); }
.audience-decoration .icon { width: 150px; height: 150px; }
.proof-section .section-heading { max-width: 680px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proof-card { margin: 0; border: 1px solid #DCCDD2; border-radius: 13px; overflow: hidden; box-shadow: 0 4px 15px #24242605; }
.proof-preview { position: relative; aspect-ratio: 1.6; padding: 25px 24px 0; background: var(--blush); overflow: hidden; }
.proof-card:nth-child(2) .proof-preview { background: #FBF4F6; }
.proof-card:nth-child(3) .proof-preview { background: #F7F5F6; }
.proof-preview > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mini-window { height: 185px; border: 1px solid #ebd6da; background: #ffffffd9; border-radius: 7px 7px 0 0; box-shadow: 0 8px 25px #8633440a; }
.mini-toolbar { display: flex; gap: 3px; padding: 8px; border-bottom: 1px solid #f3e7e9; }
.mini-toolbar span { width: 4px; height: 4px; border-radius: 50%; background: #e0c7cc; }
.mini-layout { display: flex; height: 155px; }
.mini-sidebar { width: 23%; border-right: 1px solid #f3e7e9; padding: 13px 7px; background: #fdf9fa; }
.mini-sidebar b, .mini-sidebar i { display: block; height: 5px; border-radius: 3px; margin-bottom: 12px; background: #eed7dc; }
.mini-sidebar i { height: 3px; background: #f3e8ea; }
.mini-content { flex: 1; padding: 16px 12px; }
.mini-title { width: 65%; height: 7px; background: #dfbcc3; border-radius: 3px; margin-bottom: 18px; }
.mini-row { height: 24px; border: 1px solid #f3e7e9; margin-bottom: 7px; border-radius: 4px; position: relative; }
.mini-row::after { content: ''; position: absolute; top: 10px; left: 12px; width: 65%; height: 3px; background: #eadbde; }
.mini-row.active { background: #fbeff1; border-color: #eacfd4; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-grid i { height: 39px; border: 1px solid #eedfe2; border-radius: 4px; background: #fcf7f8; }
.mini-board { display: flex; gap: 7px; }
.mini-board i { width: 33%; height: 91px; border-radius: 4px; background: repeating-linear-gradient(to bottom, #f8ebee 0, #f8ebee 21px, white 21px, white 27px); border: 1px solid #f4e3e6; }
.placeholder-badge { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); padding: 6px 8px; background: #ffffffed; border: 1px solid #eedce0; border-radius: 4px; color: var(--muted); font-size: 6px; letter-spacing: .07em; white-space: nowrap; }
figcaption { display: flex; align-items: center; gap: 10px; padding: 20px 16px; background: white; }
figcaption > span { font-size: 9px; color: var(--muted); }
figcaption h3 { font-size: 12px; letter-spacing: -.2px; }
figcaption > .icon { width: 14px; height: 14px; color: #b17f89; margin-left: auto; }
.tour-section { padding-top: 10px; max-width: 1040px; }
.video-frame { position: relative; aspect-ratio: 2.1; background: #232326; border: 1px solid #3D383B; border-radius: 18px; overflow: hidden; display: grid; place-items: center; }
.video-frame video { width: 100%; height: 100%; }
.video-grid { position: absolute; inset: 0; background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px), radial-gradient(ellipse at 50% 100%, #D62D521F, transparent 70%); background-size: 55px 55px, 55px 55px, auto; }
.video-content { text-align: center; position: relative; padding: 35px; color: white; }
.video-wordmark { display: inline-flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 650; letter-spacing: -.5px; }
.video-wordmark > .icon { color: #F1728E; width: 20px; height: 20px; }
.video-wordmark > span { letter-spacing: .14em; font-size: 7px; color: #C8C2C5; margin-left: 2px; }
.video-content > p { font-size: 31px; letter-spacing: -1px; line-height: 1.25; font-weight: 500; margin: 25px 0 22px; }
.play-button { display: grid; place-items: center; background: white; color: var(--raspberry); width: 68px; height: 68px; border-radius: 50%; border: 7px solid #FBE8ED; background-clip: padding-box; outline: 1px solid #ffffff35; margin: auto; box-shadow: 0 0 0 9px #D62D521A; transition: transform .2s; }
.play-button:hover { transform: scale(1.08); }
.play-button .icon { width: 19px; height: 19px; fill: currentColor; margin-left: 3px; }
.video-duration { display: block; font-size: 7px; letter-spacing: .17em; color: #C8C2C5; margin-top: 20px; }
.video-bottom { display: flex; justify-content: space-between; position: absolute; bottom: 15px; left: 24px; right: 24px; font-size: 7px; letter-spacing: .1em; color: #C8C2C5; }
.metrics-section { border-block: 1px solid var(--line); background: #FCFBFB; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 43px; }
.metrics > div { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border-right: 1px solid #ecdde0; }
.metrics > div:last-child { border: 0; }
.metrics strong { font-size: 44px; letter-spacing: -2px; font-weight: 600; color: var(--raspberry); }
.metrics strong span { color: var(--raspberry); }
.metrics > div > span { font-size: 11px; color: var(--ink); }
.metrics .metric-text { font-size: 15px; letter-spacing: -.3px; line-height: 1.5; text-align: center; color: var(--ink); }
.metrics .icon { color: var(--raspberry); width: 24px; height: 24px; margin-bottom: 4px; }
.founder-section { display: grid; grid-template-columns: .65fr 1fr; gap: 90px; align-items: center; max-width: 1040px; }
.founder-portrait { aspect-ratio: .8; position: relative; border: 1px solid #edd9dd; border-radius: 14px; overflow: hidden; background: #f7ecee; }
.founder-portrait > img { width: 100%; height: 100%; object-fit: cover; }
.portrait-art { position: absolute; inset: 0; background: radial-gradient(ellipse at 40% 35%, #F3D7DE, #FBEEF2 65%); }
.portrait-art::before, .portrait-art::after { content: ''; position: absolute; width: 290px; height: 290px; border: 1px solid #d8b5bc3d; border-radius: 50%; left: 50%; top: 35%; transform: translate(-50%, -50%); }
.portrait-art::after { width: 230px; height: 230px; }
.portrait-art span { position: absolute; left: 50%; top: 35%; transform: translate(-50%, -50%); font-family: Georgia, serif; font-size: 80px; letter-spacing: -6px; color: #AA5268; }
.portrait-label { position: absolute; top: 66%; width: 100%; text-align: center; font-size: 6px; letter-spacing: .12em; color: var(--muted); }
.portrait-caption { position: absolute; bottom: 0; left: 0; right: 0; background: #ffffffb8; backdrop-filter: blur(8px); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.portrait-caption strong { font-size: 12px; font-weight: 600; }
.portrait-caption span { font-size: 9px; color: var(--muted); }
.founder-copy h2 { font-size: 37px; margin-top: 15px; }
blockquote { margin: 27px 0; }
blockquote p { font-size: 14px; color: var(--muted); line-height: 1.85; }
blockquote p + p { margin-top: 18px; color: var(--ink); font-weight: 550; }
.founder-signature { font-family: Georgia, serif; font-style: italic; color: var(--raspberry); font-size: 21px; }
.founder-role { font-size: 10px; color: var(--muted); margin-top: 4px; }
.faq-section { background: #FCFBFB; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .7fr 1fr; gap: 100px; }
.faq-list details { border-bottom: 1px solid #ebdde0; padding: 21px 0; }
.faq-list details:first-child { padding-top: 5px; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 550; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 18px; height: 18px; color: #ad717d; transition: transform .15s; }
.faq-list details[open] .icon { transform: rotate(45deg); }
.faq-list details p { font-size: 12px; color: var(--muted); margin-top: 15px; padding-right: 30px; }
.final-section { overflow: hidden; background: linear-gradient(110deg, var(--blush), #FCF0F3); border-block: 1px solid #f0dde1; padding: 70px 0; }
.final-inner { display: grid; grid-template-columns: 1fr .85fr; gap: 80px; align-items: center; }
.final-inner h2 { font-size: 58px; line-height: 1.08; margin: 20px 0; }
.final-inner h2 span { display: block; }
.final-inner h2 span:last-child { color: var(--raspberry); }
.final-inner p:not(.eyebrow) { font-size: 13px; color: var(--muted); max-width: 310px; margin-bottom: 27px; }
.final-art { position: relative; height: 300px; }
.art-line { position: absolute; width: 360px; height: 360px; border: 1px solid #eed9dd; border-radius: 50%; top: -30px; left: 0; }
.art-line::after { content: ''; position: absolute; inset: 30px; border: 1px solid #eed9dd; border-radius: 50%; }
.art-card { position: absolute; width: 290px; height: 120px; padding: 23px; border: 1px solid #edd5da; border-radius: 12px; background: #fefbfc; box-shadow: 0 10px 25px #6f333f06; font-size: 13px; color: #b78b94; display: flex; align-items: flex-start; gap: 12px; }
.art-card .icon { width: 18px; height: 18px; }
.art-card-back { top: 2px; left: 40px; transform: rotate(-9deg); }
.art-card-middle { top: 77px; left: 69px; transform: rotate(-2deg); color: #ad6271; }
.art-card-front { top: 155px; left: 93px; background: white; transform: rotate(5deg); color: var(--ink); font-size: 21px; align-items: center; padding-top: 15px; }
.art-card-front span { position: absolute; font-size: 9px; top: 83px; left: 71px; color: #b8989e; }
.site-footer { padding-top: 46px; padding-bottom: 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; }
.footer-top p { font-size: 10px; margin-top: 18px; color: var(--muted); }
.footer-top nav { display: flex; gap: 25px; align-items: flex-start; padding-top: 13px; }
.footer-top nav a, .footer-top nav button { font-size: 10px; background: none; border: 0; padding: 0; color: var(--muted); }
.footer-top nav a:hover, .footer-top nav button:hover { color: var(--raspberry); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid var(--line); padding-top: 23px; margin-top: 33px; }
.footer-bottom p { font-size: 8px; color: var(--muted); }
.footer-bottom span { font-size: 7px; color: var(--muted); letter-spacing: .12em; white-space: nowrap; }
dialog { color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 80px #42192140; padding: 38px; width: min(480px, calc(100% - 36px)); }
dialog::backdrop { background: #24242680; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 12px; right: 12px; border: 0; background: var(--blush); border-radius: 50%; width: 36px; height: 36px; }
dialog .eyebrow { margin: 20px 0 10px; font-size: 8px; }
dialog h2 { font-size: 30px; }
dialog > p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin: 18px 0 25px; }
@keyframes card-in { from { opacity: .6; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1450px) { .hero { padding-top: 88px; padding-bottom: 0; } }
@media (max-width: 1200px) {
  .container { width: calc(100% - 64px); }
  .nav-container { width: calc(100% - 48px); gap: 24px; }
  .nav-links, .nav-actions { gap: 17px; }
  .hero { gap: 28px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { font-size: 10px; padding-inline: 14px; }
  .hero-actions .button-quiet { padding-inline: 0; }
  .app-layout { grid-template-columns: 119px 1fr; }
  .app-document { padding-inline: 17px; }
  .sidebar-item { font-size: 8px; gap: 5px; padding-inline: 6px; }
  .app-document h3 { font-size: 16px; }
  .app-toolbar { gap: 12px; }
  .linked-count { font-size: 5px; }
  .experience-grid { gap: 45px; }
  .knowledge-card { padding: 22px; }
  .workflow-grid { gap: 8px; }
  .workflow-card { padding: 15px 11px; }
  .card-label { font-size: 9px; gap: 4px; }
}
@media (max-width: 1100px) {
  .menu-toggle { display: grid; place-items: center; margin-left: auto; }
  #main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; border-bottom: 1px solid var(--line); padding: 20px 32px 28px; box-shadow: 0 16px 25px #5f202d0c; }
  #main-nav.is-open { display: block; }
  .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .nav-links a { padding: 15px 0; font-size: 14px; }
  .nav-actions { margin-top: 15px; padding-top: 18px; border-top: 1px solid var(--line); justify-content: space-between; }
  .nav-actions .button { font-size: 12px; min-height: 46px; }
  .login { font-size: 14px; }
  .hero { padding-top: 58px; grid-template-columns: .95fr 1.05fr; }
  .hero .eyebrow { font-size: 8px; }
  .hero-subtitle { font-size: 21px; }
  .hero-description { font-size: 13px; }
  .hero-actions { flex-wrap: wrap; gap: 12px 20px; }
  .app-layout { grid-template-columns: 103px 1fr; }
  .app-search kbd { display: none; }
  .app-search { font-size: 7px; }
  .sidebar-item { font-size: 7px; padding-inline: 4px; }
  .sidebar-bottom { font-size: 6px; left: 12px; }
  .saved { font-size: 5px; }
  .linked-row { flex-wrap: wrap; }
  .linked-count { width: 100%; padding-left: 16px; font-size: 6px; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .workflow-primary { grid-row: auto; }
  .workflow-card { min-height: 195px; padding: 19px 16px; }
  .card-label { font-size: 9px; }
  .workflow-card h4 { font-size: 13px; }
  .workflow-card p { font-size: 11px; }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .knowledge-heading { gap: 35px; }
  .knowledge-heading > p { max-width: 260px; }
  .experience-grid { grid-template-columns: .7fr 1fr; gap: 28px; }
  .app-compact .app-sidebar { display: none; }
  .app-compact .app-layout { grid-template-columns: 1fr; }
  .experience-product { padding: 15px; }
  .export-strip > span { font-size: 8px; }
  .audience-card { padding: 32px; }
  .audience-card h2 { font-size: 29px; }
  .proof-grid { gap: 14px; }
  .proof-preview { padding: 20px 16px 0; }
  figcaption { padding: 15px 12px; gap: 6px; }
  figcaption h3 { font-size: 10px; }
  .founder-section { gap: 55px; }
  .faq-grid { gap: 60px; }
  .footer-top nav { gap: 18px; flex-wrap: wrap; max-width: 410px; }
  .final-inner { gap: 20px; }
  .final-art { transform: scale(.85); transform-origin: left center; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 66px; }
  .nav-container { min-height: 72px; width: calc(100% - 40px); }
  .brand { font-size: 23px; }
  .brand img { width: 32px; height: 32px; }
  .hero { grid-template-columns: 1fr; padding-top: 51px; gap: 0; }
  .hero-copy { max-width: 520px; padding-bottom: 0; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .11em; }
  h1 { font-size: clamp(48px, 10.3vw, 73px); margin: 24px 0; }
  .hero-subtitle { font-size: 24px; max-width: 410px; }
  .hero-description { font-size: 14px; max-width: 425px; }
  .hero-actions { gap: 17px; }
  .hero-actions .button { font-size: 11px; padding: 14px 17px; }
  .hero-actions .button-quiet { padding-inline: 0; }
  .hero-proof { margin-top: 23px; }
  .hero-product { margin-top: 42px; padding: 0 6px 0; max-width: 560px; width: 100%; justify-self: center; }
  .product-orbit { inset: -30px -15px; }
  .app-layout { grid-template-columns: 120px 1fr; }
  .app-document { padding-inline: 18px; }
  .sidebar-item { font-size: 7px; padding-inline: 6px; }
  .app-document h3 { font-size: 17px; }
  .app-search { font-size: 8px; }
  .saved { font-size: 6px; }
  .sidebar-bottom { font-size: 7px; }
  .linked-count { width: auto; padding: 0; font-size: 5px; }
  .floating-note { left: -3px; bottom: -23px; padding: 12px; font-size: 9px; }
  .hero-caption { margin-top: 48px; padding-block: 18px; font-size: 8px; gap: 20px; }
  .hero-caption a span { margin-left: 10px; }
  .category-section { padding: 54px 0 45px; }
  .category-inner h2 { font-size: clamp(25px, 4.7vw, 34px); line-height: 1.35; }
  .category-inner h2 span { display: inline-block; margin-top: 8px; }
  .category-inner p { font-size: 13px; max-width: 490px; }
  .category-rule { font-size: 7px; gap: 12px; }
  .category-rule::before, .category-rule::after { width: 25px; }
  .section-heading { margin-bottom: 29px; }
  h2 { font-size: 34px; }
  .section-heading > p:not(.eyebrow) { font-size: 13px; }
  .workflow-explorer { padding: 18px; border-radius: 13px; }
  .demo-search { font-size: 12px; padding-inline: 12px; }
  .search-hint { font-size: 8px; }
  .diagnosis-chips { gap: 7px; margin-block: 20px 23px; }
  .diagnosis-chip { padding: 10px 13px; font-size: 11px; min-height: 40px; }
  .workflow-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .workflow-primary { grid-row: auto; grid-column: auto; min-height: 225px; }
  .workflow-card { min-height: 225px; padding: 18px 14px; }
  .workflow-primary { min-height: 225px; }
  .card-label { font-size: 9px; gap: 6px; }
  .workflow-card h4 { font-size: 13px; margin-top: 14px; }
  .workflow-card p { font-size: 12px; }
  .card-bottom { font-size: 9px; color: var(--muted); }
  .results-heading { align-items: flex-start; }
  .results-heading h3 { font-size: 14px; }
  .results-heading > span { font-size: 8px; margin-top: 3px; }
  .demo-disclaimer { display: block; text-align: center; font-size: 8px; }
  .demo-disclaimer .demo-label { display: table; margin: 0 auto 9px; }
  .knowledge-heading { display: block; }
  .knowledge-heading h2 { max-width: 480px; }
  .knowledge-heading > p { max-width: 450px; margin-top: 19px; }
  .knowledge-grid { gap: 12px; }
  .knowledge-card { padding: 20px; }
  .knowledge-card h3 { font-size: 14px; }
  .knowledge-card p { font-size: 12px; }
  .experience .section-heading { margin-bottom: 34px; }
  .experience-grid { grid-template-columns: 1fr; gap: 35px; }
  .steps { max-width: 450px; }
  .steps li { padding-bottom: 25px; }
  .steps h3 { font-size: 16px; }
  .steps p { font-size: 12px; }
  .experience-product { max-width: 550px; width: 100%; margin: auto; padding: 18px; }
  .app-compact .app-sidebar { display: block; }
  .app-compact .app-layout { grid-template-columns: 120px 1fr; }
  .export-strip > span { font-size: 9px; }
  .audience-section { padding-top: 0; padding-bottom: 0; }
  .audience-grid { grid-template-columns: 1fr; gap: 18px; }
  .audience-card { padding: 32px; }
  .audience-card h2 { font-size: 32px; }
  .audience-card li { font-size: 13px; }
  .text-button { font-size: 13px; min-height: 49px; }
  .proof-grid { grid-template-columns: 1fr; gap: 22px; }
  .proof-card { max-width: 540px; width: 100%; margin: auto; }
  .proof-preview { aspect-ratio: 1.85; padding: 28px 32px 0; }
  .mini-window { height: 250px; }
  .mini-layout { height: 220px; }
  .mini-content { padding: 24px 20px; }
  .mini-sidebar { padding-top: 24px; }
  .mini-row { height: 30px; }
  .mini-grid i { height: 53px; }
  .mini-board i { height: 125px; }
  .placeholder-badge { font-size: 7px; }
  figcaption { padding: 20px; }
  figcaption h3 { font-size: 14px; }
  figcaption > span { font-size: 11px; margin-right: 5px; }
  .tour-section { padding-top: 0; }
  .video-frame { aspect-ratio: 1.35; border-radius: 13px; }
  .video-content { padding: 30px 15px; }
  .video-content > p { font-size: 28px; margin: 20px 0; }
  .video-bottom { font-size: 6px; bottom: 12px; left: 16px; right: 16px; }
  .metrics { grid-template-columns: 1fr 1fr; padding-block: 30px; gap: 25px 0; }
  .metrics > div { min-height: 100px; }
  .metrics > div:nth-child(2) { border: 0; }
  .metrics strong { font-size: 40px; }
  .metrics .metric-text { font-size: 14px; }
  .founder-section { grid-template-columns: 1fr; gap: 34px; }
  .founder-portrait { width: 240px; max-width: 100%; margin: auto; aspect-ratio: .88; }
  .portrait-art span { font-size: 65px; }
  .founder-copy { max-width: 530px; margin: auto; }
  .founder-copy h2 { font-size: 34px; }
  blockquote p { font-size: 14px; }
  .faq-grid { grid-template-columns: 1fr; gap: 10px; }
  .faq-list summary { font-size: 13px; }
  .faq-list details p { font-size: 12px; }
  .final-section { padding: 60px 0; }
  .final-inner { grid-template-columns: 1fr; }
  .final-inner h2 { font-size: 54px; }
  .final-art { display: none; }
  .footer-top { flex-direction: column; gap: 25px; }
  .footer-top nav { gap: 10px 25px; padding-top: 0; max-width: none; }
  .footer-top nav a, .footer-top nav button { font-size: 12px; padding: 10px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 15px; margin-top: 20px; }
  .footer-bottom p { font-size: 9px; }
}
@media (max-width: 390px) {
  .container, .nav-container { width: calc(100% - 32px); }
  .hero .eyebrow { font-size: 7px; }
  .hero-subtitle { font-size: 22px; }
  .hero-actions { gap: 13px; }
  .hero-actions .button { font-size: 10px; }
  .hero-actions .button-primary { padding-inline: 12px; }
  .app-layout { grid-template-columns: 90px 1fr; }
  .app-sidebar { padding-inline: 4px; }
  .sidebar-item { font-size: 7px; gap: 4px; }
  .sidebar-item .icon { width: 10px; height: 10px; }
  .app-small { font-size: 6px; }
  .app-toolbar { padding-inline: 10px; gap: 8px; }
  .app-search { font-size: 6px; }
  .app-document { padding-inline: 12px; }
  .app-document h3 { font-size: 14px; }
  .saved { font-size: 6px; }
  .sidebar-bottom { font-size: 7px; left: 8px; }
  .linked-count { width: 100%; }
  .workflow-explorer { padding: 14px; }
  .search-hint { display: none; }
  .demo-search kbd { margin-left: auto; }
  .workflow-card { padding-inline: 11px; }
  .card-label { font-size: 8px; }
  .knowledge-card { padding: 17px; }
  .knowledge-card h3 { font-size: 13px; }
  .app-compact .app-sidebar { display: none; }
  .app-compact .app-layout { grid-template-columns: 1fr; }
  .export-strip > span { font-size: 8px; }
  .export-strip > span .icon { display: none; }
  .audience-card { padding: 26px; }
  .audience-card h2 { font-size: 29px; }
  .audience-card li { font-size: 12px; }
  .video-frame { aspect-ratio: 1.1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Full physician-authored notes: native dialogs retain focus and Escape behavior. */
.hero-proof { align-items: flex-start; line-height: 1.7; }
.hero-proof > span:last-child { min-width: 0; }
.metrics > div > span { max-width: 220px; text-align: center; padding-inline: 12px; }
.knowledge-heading h2 { max-width: 820px; }
.demo-search #search-value { min-width: 0; overflow-wrap: anywhere; }
.demo-search .search-hint { flex-shrink: 0; }
.physician-note-label { color: var(--muted); font-size: 11px; line-height: 1.65; margin: -6px 0 22px; }
.resource-open { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 17px 0 0; min-height: 44px; border: 0; background: transparent; color: var(--raspberry-dark); font-weight: 650; text-align: left; font-size: 12px; }
.resource-open .icon { width: 16px; height: 16px; }
.resource-open:hover { text-decoration: underline; }
#resource-dialog { width: min(700px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0 30px 28px; overscroll-behavior: contain; }
.resource-dialog-header { position: sticky; top: 0; z-index: 1; background: white; margin-inline: -30px; padding: 24px 56px 18px 30px; border-bottom: 1px solid var(--line); }
.resource-dialog-header .eyebrow { margin: 0 0 12px; }
#resource-title { font-size: 28px; overflow-wrap: anywhere; }
#resource-diagnosis { font-size: 14px; color: var(--muted); margin-top: 8px; }
#resource-disclaimer { padding: 14px; margin: 20px 0; background: var(--blush); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--muted); }
#resource-body { margin-bottom: 24px; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
#resource-body p { margin-bottom: 7px; white-space: pre-wrap; }
#resource-body h3 { margin: 25px 0 12px; font-size: 20px; letter-spacing: -.4px; }
#resource-body a { color: var(--raspberry-dark); text-decoration: underline; text-underline-offset: 3px; }
.citation-search-label { font-size: 11px; color: var(--muted); }
body:has(#resource-dialog[open]) { overflow: hidden; }
@media (max-width: 760px) {
  .demo-search .search-hint { display: none; }
  .demo-search kbd { margin-left: auto; }
}
@media (max-width: 480px) {
  .workflow-grid { grid-template-columns: minmax(0, 1fr); }
  .workflow-card, .workflow-primary { min-height: 200px; padding: 20px; }
  .workflow-card h4 { font-size: 15px; }
  .workflow-card p { font-size: 13px; }
  .card-label { font-size: 11px; }
  #resource-dialog { padding: 0 20px 24px; }
  .resource-dialog-header { margin-inline: -20px; padding-left: 20px; }
  #resource-title { font-size: 25px; }
}

/* HPI-only inline explanation; other resource headings stay unchanged. */
.hpi-heading-row { display: flex; align-items: baseline; gap: 10px; }
.hpi-heading-row .card-label { flex-shrink: 0; font-size: 12px; }
.hpi-heading-hint { position: relative; top: -2px; min-width: 0; font-size: 11px; line-height: 1.5; font-weight: 700; color: var(--raspberry); opacity: .7; }

/* Supplied product screenshots retain their original proportions. */
.product-screenshot { display: block; width: 100%; height: auto; border: 1px solid #DBCCD1; border-radius: 12px; box-shadow: var(--shadow); }
/* Hide the 270px sidebar only in the 1586 × 992 PhraseBoards proof image. */
.phraseboards-crop { position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 100%; aspect-ratio: 1316 / 992; overflow: hidden; }
.phraseboards-crop img { height: 100%; width: auto; max-width: none; transform: translateX(-17.024%); }

/* Clickable product proof and accessible enlarged screenshot viewer. */
.proof-card { position: relative; }
.screenshot-expand { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; background: transparent; border-radius: inherit; cursor: zoom-in; }
.screenshot-expand:focus-visible { outline: 3px solid var(--raspberry); outline-offset: -3px; }
#image-dialog { width: min(1240px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; }
.image-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: white; border-bottom: 1px solid var(--line); }
#image-title { font-size: 18px; letter-spacing: 0; }
.image-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--blush); color: var(--raspberry-dark); }
#image-view { overflow: hidden; }
#image-view img { display: block; width: 100%; height: auto; }
#image-view.image-view-cropped img { width: 120.517%; max-width: none; transform: translateX(-17.024%); }
body:has(#image-dialog[open]) { overflow: hidden; }

/* Preserve the designed video preview until the visitor chooses to play. */
.video-preview { width: 100%; height: 100%; display: grid; place-items: center; }
.video-preview[hidden], #product-video[hidden] { display: none; }
.video-brand-logo { width: 210px; max-width: 100%; height: auto; margin: 0 auto; border-radius: 4px; }
.footer-brand-logo { width: 220px; max-width: 100%; height: auto; }
#product-video { position: absolute; inset: 0; object-fit: contain; background: #171719; }

.header-brand { display: block; flex-shrink: 0; width: 190px; }
.header-brand img { width: 100%; height: auto; }
@media (max-width: 480px) { .header-brand { width: 165px; } }
