/* Shared public website language: self-contained system frames and photo-led content.
   Product screenshots and the embedded Portal keep their own interface styling. */
@font-face { font-family: HaraWebSans; src: url('InstrumentSans-Variable.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: HaraWebSans; src: url('InstrumentSans-Italic-Variable.woff2') format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: HaraWebSerif; src: url('Rufina-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: HaraWebDisplay; src: url('Lora-Variable.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: HaraWebHand; src: url('Mansalva-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: HaraWebMono; src: url('AtkinsonHyperlegibleMono-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: HaraWebMono; src: url('AtkinsonHyperlegibleMono-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: HaraWebMono; src: url('AtkinsonHyperlegibleMono-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
:root {
  --web-text-lead: 1.125rem;
  --web-text-body: 1rem;
  --web-text-small: .875rem;
  --web-text-caption: .8125rem;
  --web-text-leading: 1.55;
  --web-canvas: #fff;
  --web-paper: #fff;
  --web-ink: #2c2c2c;
  --web-muted: #5f5f5f;
  --web-line: #e0e0e0;
  --web-note: #f8f8f8;
  --web-note-blue: #f8f8f8;
  --web-brand: #c9e265;
  --web-brand-soft: #f4f9e0;
  --web-demo-green: #c9e265;
  --web-demo-orange: #ff9500;
  --web-demo-coral: #ff7262;
  --web-demo-mint: #5dc7ad;
  --web-accent: #abc65a;
  --web-radius: 2px;
  --web-shell: min(1240px, calc(100% - 80px));
  --web-section-space: 48px;
  --web-hero-space: 64px;
  --web-content-gap: 24px;
  --web-panel-space: 32px;
  --web-ease: cubic-bezier(.22, 1, .36, 1);
}
.hara-web {
  background: var(--web-canvas); color: var(--web-ink);
  font-family: HaraWebSans, Arial, sans-serif; font-size: var(--web-text-body); font-weight: 400;
  --brand-ink: var(--web-accent); --cp-green-ink: var(--web-accent);
  --ink: var(--web-ink); --muted: var(--web-muted);
  --background: var(--web-canvas); --paper: var(--web-canvas);
  --surface: var(--web-paper); --border: var(--web-line);
  --note-paper: #fff; --note-rule: transparent;
  --note-hand: HaraWebMono, monospace; --note-shadow: none;
}
.hara-web > main, .hara-web > footer, .hara-web > section { position: relative; }
.hara-web :is(.shell, .content-shell) { width: var(--web-shell); }
.hara-web :is(.site-header, .topbar) { color: var(--web-ink); box-shadow: none; }
.hara-web .site-header { background: var(--web-canvas); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--web-line); }
.hara-web .nav-shell { background: transparent; box-shadow: none; border-radius: 0; padding-inline: 0; }
.hara-web :is(.brand, .brand span, .site-brand, .footer-brand) { color: var(--web-ink); }
.hara-web .site-header .brand img { display: block; width: 44px; height: auto; flex: 0 0 auto; }
.hara-web[data-hara-page] :is(.brand, .brand span, .site-brand, .footer-brand, .footer-brand span) { font-weight: 600 !important; }
.hara-web :is(.nav-links a, .site-nav a, .topbar nav a) {
  color: var(--web-ink); font-family: HaraWebMono, monospace; font-size: 12px;
  font-weight: 600; letter-spacing: .015em; text-transform: uppercase; opacity: 1;
}
.hara-web :is(.nav-cta, .button, .header-contact, .scene-cta, .contact-button, .dm-button, .plan-action, .email-button) {
  border-radius: var(--web-radius); font-family: HaraWebMono, monospace; font-weight: 600;
  font-size: 13px; letter-spacing: -.02em; box-shadow: none;
  transition: background-color 180ms ease, color 180ms ease, transform 240ms var(--web-ease);
}
.hara-web :is(.nav-cta, .button-primary, .scene-cta, .header-contact, .dm-button) {
  color: var(--web-paper); background: var(--web-ink); border: 1px solid var(--web-ink);
}
.hara-web :is(.nb-button-outline, .button-secondary) { color: var(--web-ink); background: var(--web-paper); border: 1px solid var(--web-line); box-shadow: none; }
.hara-web :is(.nav-cta, .button-primary, .scene-cta, .header-contact, .dm-button):hover { color: var(--web-paper); background: #444; }
.hara-web :is(.section-kicker, .dm-eyebrow, .practice-kicker, .article-meta, .aeo-byline, .billing-note, .plan-footnote, .nb-sticky-index) { font-family: HaraWebMono, monospace; font-weight: 400; letter-spacing: 0; }
.hara-web :is(.nb-hand, .web-hand) { font-family: HaraWebHand, cursive; font-weight: 400; }
.hara-web .web-hand { color: var(--web-accent); font-size: 20px; line-height: 1.3; }
.hara-web :is(.nb-hero h1, .pricing-hero h1, .blog-hero h1, .dm-hero h1, .article-hero h1) {
  font-family: HaraWebSerif, Georgia, serif; font-weight: 400; letter-spacing: -.045em; line-height: 1.09;
}
.hara-web :is(.nb-hero h1, .pricing-hero h1, .blog-hero h1) { font-size: clamp(42px, 4.9vw, 66px); }
.hara-web .nb-hl { background: none; padding: 0; color: var(--web-accent); }

/* Homepage: working surface, product window, and a few loose notes. */
.hara-web .nb-hero .shell { width: var(--web-shell); }
.hara-web .nb-hero .nb-spread {
  margin-top: 0; padding-block: 0; min-height: 420px; border: 1px solid var(--web-line);
  border-radius: 0; background: var(--web-paper); box-shadow: none;
}
.hara-web .nb-page-left { padding: clamp(28px, 3.8vw, 56px); gap: 22px; }
.hara-web .nb-hero h1 { max-width: 12ch; }
.hara-web .nb-hero-lead { font-size: 17px; line-height: 1.6; max-width: 38ch; }
.hara-web .nb-page-right {
  border-left: 1px solid var(--web-line); padding: 32px;
  background: var(--web-paper);
}
.hara-web .nb-collage { max-width: 420px; }
.hara-web .nb-scrap { padding: 12px 14px; background: var(--web-note); box-shadow: var(--note-shadow); transform: rotate(-2deg); bottom: 6%; width: 55%; }
.hara-web .nb-phone { width: 39%; right: 20px; top: 0; border-radius: 24px; padding: 5px; }
.hara-web .nb-phone img { border-radius: 19px; }
.hara-web .nb-sticky-notes { gap: 18px; margin: 22px 20px 0; }
.hara-web .nb-sticky { min-height: 112px; padding: 14px 18px; }
.hara-web .nb-sticky-notes li:nth-child(1) .nb-sticky { --sticky-bg: var(--web-note); }
.hara-web .nb-sticky-notes li:nth-child(2) .nb-sticky { --sticky-bg: var(--web-paper); }
.hara-web .nb-sticky-notes li:nth-child(3) .nb-sticky { --sticky-bg: var(--web-note-blue); }
.hara-web .nb-sticky-notes li:nth-child(4) .nb-sticky { --sticky-bg: #f4f5e9; }
.hara-web .product-story .story-stage { padding: 9px 9px 0; border: 1px solid var(--web-line); border-radius: 4px; transform: none; }
.hara-web .product-story .story-stage::before { width: 64px; top: -9px; left: 50%; transform: translateX(-50%) rotate(-2deg); }
.hara-web .product-story .story-tabs { background: none; border-bottom: 1px solid var(--web-line); }
.hara-web :is(.care-home-window, .nb-sheet) { box-shadow: none; border: 1px solid var(--web-line); border-radius: 4px; }
.hara-web .nb-sheet { background-color: var(--web-paper); }
.hara-web .nb-cards .nb-card { background-color: var(--web-paper); }
.hara-web #get-started .cta-content { background: var(--web-note); }
.hara-web .home-chapter-stage { background: var(--web-canvas); }

/* Care: the same workspace language around the existing Portal UI. */
.hara-web.care-site .site-header {
  width: 100%; min-height: 84px;
  padding-inline: max(40px, calc((100% - 1240px) / 2));
}
.hara-web.care-overview .scene-stack { width: var(--web-shell); margin-top: 32px; border: 1px solid var(--web-line); }
.hara-web.care-overview .scene-content { padding: 0; column-gap: 0; }
.hara-web.care-overview .scene-copy { background: var(--web-paper); padding: 40px 36px; border-radius: 0; }
.hara-web.care-overview .scene-copy h1 { font-size: clamp(38px, 3.65vw, 52px); }
.hara-web.care-overview .scene-copy :is(h1, h2) em { font-family: HaraWebSerif, Georgia, serif; }
.hara-web.care-overview .scene-index { padding: 0 28px 20px; background: var(--web-paper); }
.hara-web.care-overview .scene-index a { font-family: HaraWebMono, monospace; font-size: 11px; }
.hara-web.care-overview .portal-figure { padding: 24px; border-left: 1px solid var(--web-line); background: #f2f3ef; }
.hara-web.care-overview .care-beta-label { font-family: HaraWebMono, monospace; font-size: 11px; color: var(--web-muted); }
.hara-web .care-workflow-photo { border-radius: 3px; }
.hara-web .practice-steps { counter-reset: workflow; }
.hara-web .practice-steps > li { position: relative; padding-top: 20px; border-top: 1px solid var(--web-line); }
.hara-web .practice-steps > li::before { counter-increment: workflow; content: '0' counter(workflow); display: block; margin-bottom: 12px; font: 12px HaraWebMono, monospace; color: var(--web-muted); }
.hara-web .practice-cases article { padding: 28px; background: var(--web-note); box-shadow: var(--note-shadow); }
.hara-web .practice-cases article:nth-child(2) { background: var(--web-note-blue); }
.hara-web .practice-cases .practice-kicker { font: 20px HaraWebHand, cursive; text-transform: none; letter-spacing: 0; }
.hara-web.care-overview .practice-sharing { background: var(--web-paper); border-block: 1px solid var(--web-line); }
.hara-web :is(.practice-permissions > div, .practice-faq, .practice-faq details) { border-color: var(--web-line); }
.hara-web.care-overview .practice-contact { background: var(--web-paper); color: var(--web-ink); border-block: 1px solid var(--web-line); }
.hara-web .practice-contact :is(h2, p) { color: var(--web-ink); }
.hara-web .practice-contact .contact-button { background: var(--web-ink); color: var(--web-paper); }
.care-portal-demo-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.care-portal-demo-heading h2 { margin: 0 0 16px; }
.care-portal-demo-heading p { margin: 0; color: var(--web-muted); line-height: 1.6; }
.care-portal-demo-heading > a { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 44px; font: 12px HaraWebMono, monospace; text-decoration: underline; text-underline-offset: 5px; }
.care-portal-demo-frame { display: block; width: 100%; height: 640px; border: 1px solid var(--web-line); border-radius: 4px; background: var(--web-paper); }

/* Pricing: a ledger, with one loose note identifying the Pro plan. */
.hara-web.care-pricing .pricing-hero { background: transparent; padding-block: 64px 32px; }
.hara-web.care-pricing .pricing-hero h1 em { font-family: inherit; color: var(--web-accent); }
.hara-web.care-pricing .billing-switch { border-radius: 6px; background: var(--web-paper); border-color: #e0e0e0; }
.hara-web.care-pricing .billing-switch label span { border-radius: 3px; font: 600 12px HaraWebMono, monospace; }
/* A single closed frame, with shared one-pixel edges between each plan. */
.hara-web.care-pricing .plans-frame { border: 1px solid var(--web-line); background: var(--web-paper); }
.hara-web.care-pricing .plan-grid { gap: 0; border: 0; padding: 0; align-items: stretch; }
.hara-web.care-pricing .plan { border: 0; border-radius: 0; padding: 28px 24px; background: var(--web-paper); }
.hara-web.care-pricing .plan + .plan { border-left: 1px solid var(--web-line); }
.hara-web.care-pricing .plan-pro { background: var(--web-note); position: relative; }
.hara-web.care-pricing .plan-pro::before { content: none; }
.hara-web.care-pricing .plan h3 { margin: 0 0 26px; min-height: 24px; font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -.02em; }
.hara-web.care-pricing .plan-price strong { font-family: HaraWebSans, sans-serif; font-weight: 400; font-size: 52px; line-height: 1.05; letter-spacing: -.05em; }
.hara-web.care-pricing .billing-note { margin-top: 8px; font: 400 12px/1.5 HaraWebSans, sans-serif; }
.hara-web.care-pricing .plan-summary { min-height: 80px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--web-line); color: var(--web-ink); font-size: 14px; line-height: 1.5; }
.hara-web.care-pricing .plan-action { min-height: 48px; margin: 20px 0 26px; padding: 12px; border-radius: 0; background: var(--web-paper); border: 1px solid var(--web-line); }
.hara-web.care-pricing .plan-pro .plan-action { background: var(--web-ink); border-color: var(--web-ink); color: var(--web-paper); }
.hara-web.care-pricing .plan-action:hover { background: #444; color: var(--web-paper); }
.hara-web.care-pricing .capacity { margin: 0; padding: 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.hara-web.care-pricing .plan ul { gap: 8px; margin-top: 14px; }
.hara-web.care-pricing .plan li { display: list-item; margin-left: 16px; padding-left: 2px; list-style: disc; font-size: 14px; line-height: 1.5; }
.hara-web.care-pricing .plan-footnote { max-width: none; margin: 0; padding: 18px 24px; border-top: 1px solid var(--web-line); text-align: left; font: 400 12px/1.5 HaraWebSans, sans-serif; }
@media (max-width: 1000px) {
  .hara-web.care-pricing .plan:nth-child(3) { border-left: 0; }
  .hara-web.care-pricing .plan:nth-child(n+3) { border-top: 1px solid var(--web-line); }
}
.hara-web.care-pricing .comparison-band { background: var(--web-paper); border-block: 0; }
.hara-web.care-pricing .comparison-band :is(th, td) { border-color: #e7e7e7; }
.hara-web.care-pricing .table-scroll tr > :first-child { background: var(--web-paper); }
.hara-web.care-pricing .availability { color: var(--web-ink); }

/* Reading pages: same frame, comfortable long-form text. */
.hara-web :is(.blog-hero, .article-hero) { border-bottom: 1px solid var(--web-line); margin-bottom: 40px; }
.hara-web .blog-hero-copy { max-width: 1240px; }
.hara-web .blog-hero .blog-intro { white-space: normal; max-width: 60ch; color: var(--web-muted); }
.hara-web .blog-filter-tab { border-radius: 4px; background: var(--web-paper); border: 1px solid var(--web-line); color: var(--web-ink); font: 12px HaraWebMono, monospace; }
.hara-web .blog-filter-tab.is-active { background: var(--web-ink); color: var(--web-paper); }
.hara-web .blog-card { border: 1px solid var(--web-line); border-radius: 3px; background: var(--web-paper); box-shadow: none; overflow: hidden; }
.hara-web .blog-card .blog-cover { border-radius: 0; }
.hara-web .blog-card:is(:hover, :focus-visible) { background: var(--web-paper); color: var(--web-ink); }
.hara-web .blog-card:is(:hover, :focus-visible) :is(.blog-card-body, h2, p) { color: var(--web-ink); }
.hara-web .blog-card .article-tag, .hara-web .blog-card:is(:hover, :focus-visible) .article-tag { background: none; color: var(--web-muted); padding: 0; border: 0; }
.hara-web .article-hero h1 { font-size: clamp(38px, 4.5vw, 60px); }
.hara-web :is(.hero-banner-image, .article-copy, .article-sidebar > *, .article-callout, .article-cta) { border-radius: 4px; box-shadow: none; }
.hara-web .article-copy { border: 1px solid var(--web-line); }
.hara-web .article-callout { background: var(--web-note); }
.hara-web :is(.dm-product-proof, .dm-ibs-example) { background: var(--web-note); border-radius: 3px; box-shadow: var(--note-shadow); }
.hara-web :is(.dm-band, .dm-context, .dm-home-section) { background: var(--web-paper); border-block: 1px solid var(--web-line); }
.hara-web .dm-home-links a { border-color: var(--web-line); }
.hara-web .dm-number { font: 12px HaraWebMono, monospace; }
.hara-web .dm-steps blockquote { border: 0; padding: 18px; background: var(--web-note); }

/* Support and legal documents retain their original text and anchors. */
.hara-web[data-hara-page='support'] .hero { min-height: 0; color: var(--web-ink); background: var(--web-canvas); border-bottom: 1px solid var(--web-line); }
.hara-web[data-hara-page='support'] .hero::before, .hara-web[data-hara-page='support'] .hero::after { content: none; }
.hara-web[data-hara-page='support'] :is(.brand, .brand span, .topbar nav a, .hero-copy p) { color: var(--web-ink); }
.hara-web[data-hara-page='support'] .topbar { border-bottom: 1px solid var(--web-line); }
.hara-web[data-hara-page='support'] .hero-grid { padding-block: 60px; gap: 48px; }
.hara-web[data-hara-page='support'] h1 { font: 400 clamp(42px, 5vw, 64px)/1.08 HaraWebSerif, Georgia, serif; letter-spacing: -.04em; }
.hara-web[data-hara-page='support'] :is(.eyebrow, .label, .card-number) { font: 18px HaraWebHand, cursive; color: var(--web-accent); text-transform: none; letter-spacing: 0; }
.hara-web[data-hara-page='support'] .eyebrow::before { content: none; }
.hara-web[data-hara-page='support'] .contact-card { background: var(--web-note); border: 0; border-radius: 3px; box-shadow: var(--note-shadow); transform: rotate(1deg); }
.hara-web[data-hara-page='support'] .contact-card :is(h2, p, .label) { color: var(--web-ink); }
.hara-web[data-hara-page='support'] .email-button { background: var(--web-paper); color: var(--web-ink); border: 1px solid #e0e0e0; }
.hara-web[data-hara-page='support'] :is(.help-card, .contact-panel, .faq-card) { border-radius: 4px; background: var(--web-paper); box-shadow: none; }
.hara-web:is([data-hara-page='privacy'], [data-hara-page='terms']) main { max-width: 920px; margin: 40px auto; padding: 40px clamp(20px, 5vw, 72px) 64px; border: 1px solid var(--web-line); background: var(--web-paper); }
.hara-web:is([data-hara-page='privacy'], [data-hara-page='terms']) h1 { font: 400 clamp(34px, 4vw, 48px)/1.15 HaraWebSerif, Georgia, serif; }
.hara-web:is([data-hara-page='privacy'], [data-hara-page='terms']) nav { border-radius: 3px; background: var(--web-canvas); border-color: var(--web-line); }
.hara-web:is([data-hara-page='privacy'], [data-hara-page='terms']) a { color: var(--web-accent); }
.hara-web:is([data-hara-page='privacy'], [data-hara-page='terms']) .meta { font: 12px/1.6 HaraWebMono, monospace; }
.web-document-home { display: inline-block; margin-bottom: 24px; font: 700 22px HaraWebSans, sans-serif; text-decoration: none; }

/* Shared footer style, including the legacy Care footer. */
.hara-web .site-footer { background: var(--web-canvas); border-top: 1px solid var(--web-line); color: var(--web-ink); }
.hara-web .site-footer .brand, .hara-web .site-footer .brand span { color: var(--web-ink); }
.hara-web .footer-column h3 { font-family: HaraWebMono, monospace; font-size: 12px; font-weight: 400; letter-spacing: .03em; }
.hara-web .site-footer .footer-bottom { background: none; border-top: 1px solid var(--web-line); }
.hara-web :focus-visible { outline: 2px solid var(--web-accent); outline-offset: 4px; }

/* Motion adds feedback, and never hides essential content. */
@media (prefers-reduced-motion: no-preference) {
  .hara-web .web-entered { animation: web-reveal 650ms var(--web-ease); }
  .hara-web :is(.blog-card, .practice-cases article, .dm-product-proof) { transition: transform 350ms var(--web-ease), box-shadow 350ms var(--web-ease); }
  .hara-web .nb-scrap { animation: web-note-arrive 900ms var(--web-ease) both; }
  @keyframes web-reveal { from { opacity: .25; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes web-note-arrive { from { opacity: 0; transform: translateY(18px) rotate(1deg); } to { opacity: 1; transform: translateY(0) rotate(-2deg); } }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hara-web :is(.blog-card, .practice-cases article):hover { transform: translateY(-4px); box-shadow: 0 12px 20px -18px #25282355; }
  .hara-web :is(.button, .nav-cta, .scene-cta, .header-contact):active { transform: translateY(1px); }
}
@media (max-width: 980px) {
  .hara-web .nb-page-right { border-left: 0; border-top: 1px solid var(--web-line); }
  .hara-web .nb-hero h1 { max-width: 18ch; }
  .hara-web .nb-hero .nb-spread { min-height: 0; }
  .hara-web .nav-links.is-open { background: var(--web-canvas); }
  .hara-web .nav-links.is-open a { color: var(--web-ink); font-size: 24px; }
}
@media (max-width: 900px) {
  .hara-web.care-overview .portal-figure { border-left: 0; border-top: 1px solid var(--web-line); }
  .hara-web.care-pricing .plan:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
  :root { --web-shell: calc(100% - 40px); }
  .hara-web.care-site .site-header { min-height: 72px; padding-inline: 20px; }
  .hara-web.care-site .mobile-nav:not([hidden]) { top: 100%; }
  .hara-web.care-overview .scene-stack { margin-top: 20px; }
  .hara-web.care-overview .scene-copy { padding: 28px 22px; }
  .hara-web.care-overview .scene-copy h1 { font-size: 38px; }
  .hara-web.care-overview .portal-figure { padding: 14px 10px; }
  .hara-web .care-section-links { justify-content: flex-start; gap: 4px 20px; }
  .hara-web .care-section-links a { font-size: 12px; }
  .hara-web .nb-hero .nb-spread { grid-template-columns: 1fr; }
  .hara-web .nb-page-left { padding: 28px 24px; }
  .hara-web .nb-page-right { padding: 28px 20px; }
  .hara-web .nb-hero h1 { font-size: 42px; }
  .hara-web .nb-sticky-notes { margin: 20px 4px 0; gap: 16px; }
  .hara-web .nb-sticky { padding: 14px; }
  .hara-web .nb-sticky-copy { font-size: 13px; }
  .hara-web .care-portal-demo-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hara-web .care-portal-demo-frame { height: 600px; }
  .hara-web.care-pricing .pricing-hero { padding-top: 36px; }
  .hara-web.care-pricing .plan { padding-inline: 20px; }
  .hara-web .article-hero { padding-top: 36px; }
  .hara-web .article-copy { padding: 24px 20px; }
  .hara-web[data-hara-page='support'] .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 36px; }
  .hara-web:is([data-hara-page='privacy'], [data-hara-page='terms']) main { margin: 20px; padding: 28px 20px; }
}
@media (max-width: 540px) {
  .hara-web.care-pricing .plan + .plan { border-left: 0; border-top: 1px solid var(--web-line); }
  .hara-web.care-pricing .plan-grid { padding-block: 0; }
  .hara-web .nb-hero-actions .button { padding-inline: 16px; min-height: 44px; font-size: 12px; }
  .hara-web .nb-collage { max-width: 310px; }
  .hara-web .nb-scrap { width: 60%; }
  .hara-web[data-hara-page='support'] .topbar { flex-wrap: wrap; gap: 16px; padding-block: 18px; }
  .hara-web[data-hara-page='support'] .topbar nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hara-web, .hara-web * { scroll-behavior: auto; }
  .hara-web :is(.web-entered, .nb-scrap, .nb-sticky, .nb-card, .blog-card, .practice-cases article, .dm-product-proof) { animation: none; transition: none; }
}

/* Two opening sections: a spacious introduction, then a self-contained demo. */
.hara-web[data-hara-page='home'] .site-header { position: sticky; top: 0; z-index: 100; padding: 12px 0; }
.hara-web[data-hara-page='home'] .nav-shell { display: flex; align-items: center; gap: 30px; min-height: 52px; }
.hara-web[data-hara-page='home'] .nav-links { margin-left: auto; }
.hara-web[data-hara-page='home'] .hero-scroll { height: auto; min-height: 0; padding: 0; }
.hara-web .web-home-intro { display: flex; align-items: center; min-height: clamp(580px, calc(100svh - 77px), 760px); padding: 96px 0; }
.hara-web .web-home-intro .shell { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hara-web .web-home-intro h1 { max-width: 18ch; margin: 0; font-size: clamp(46px, 5.5vw, 76px); }
.hara-web .web-home-intro .nb-hero-lead { max-width: 58ch; margin: 0; }
.hara-web .web-home-intro .nb-hero-actions { justify-content: center; margin-top: 4px; }
.hara-web[data-hara-page='home'] .product-story { padding: 56px 0 32px; min-height: 0; scroll-margin-top: 88px; }
.hara-web[data-hara-page='home'] .story-grid { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--web-line); background: var(--web-paper); }
.hara-web[data-hara-page='home'] .story-stage { order: 1; width: 100%; margin-top: 0; padding: 0; border: 0; border-block: 1px solid var(--web-line); border-radius: 0; }
.hara-web[data-hara-page='home'] .story-stage::before { content: none; }
.hara-web[data-hara-page='home'] .story-stage::after { display: none; }
.hara-web[data-hara-page='home'] .story-showcase { height: 560px; min-height: 0; border-radius: 0; padding: 24px; background: var(--web-demo-green); }
.hara-web[data-hara-page='home'] .story-controls { order: 2; width: 100%; padding: 0; border: 0; background: var(--web-paper); }
.hara-web[data-hara-page='home'] .story-copy--top { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 160px; max-width: none; padding: 28px 32px; }
.hara-web[data-hara-page='home'] .story-copy h2 { font-family: HaraWebSans, sans-serif; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -.04em; margin: 0; }
.hara-web[data-hara-page='home'] .story-copy p { max-width: 54ch; font-size: 17px; line-height: 1.5; margin: 0; }
.hara-web[data-hara-page='home'] .story-tabs { display: flex; overflow-x: auto; border-bottom: 0; margin-top: 0; }
.hara-web[data-hara-page='home'] .story-tab { flex: 1 0 auto; padding: 16px 12px; border: 0; }
.hara-web[data-hara-page='home'] .story-tab[aria-selected='true'] .story-tab-label { background: none; }
.hara-web .web-home-notes { padding-block: 12px 64px; }
.hara-web[data-hara-page='home'] :is(.data-flow-section, .clinician-section, .comparison-section, .dm-home-section, .articles, .final-cta) { padding-block: 72px; scroll-margin-top: 90px; }
.hara-web[data-hara-page='home'] .flow-story-page--guidance { margin-top: 96px; }
.hara-web[data-hara-page='home'] .reveal { opacity: 1; transform: none; }

/* Care feature board, based on the reference's split interactive section. */
.hara-web .care-web-intro { padding-block: 64px 56px; text-align: center; }
.hara-web .care-web-intro h1 { font: 400 clamp(42px, 4.5vw, 62px)/1.1 HaraWebSerif, Georgia, serif; letter-spacing: -.045em; margin: 0; }
.hara-web .care-web-intro h1 em { font: inherit; color: var(--web-accent); }
.hara-web .care-web-intro > p { max-width: 62ch; margin: 22px auto 0; font-size: 17px; line-height: 1.6; color: var(--web-muted); }
.hara-web .care-web-intro .care-hero-actions { justify-content: center; margin-top: 24px; }
.hara-web .care-web-intro .scene-cta { margin-top: 0; }
.hara-web .care-hero-actions .scene-cta.button-secondary { color: var(--web-ink); background: #fff; border-color: var(--web-line); }
.hara-web .care-hero-actions .scene-cta.button-secondary:hover { background: #f7f7f7; }
.hara-web .care-feature-board { background: var(--web-paper); border: 1px solid var(--web-line); scroll-margin-top: 24px; }
.hara-web .care-feature-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 32px; border-bottom: 1px solid var(--web-line); }
.hara-web .care-feature-heading h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.12; letter-spacing: -.04em; }
.hara-web .care-feature-heading .web-hand { max-width: 16ch; transform: rotate(-3deg); }
.hara-web .care-feature-grid { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 430px; }
.hara-web .care-feature-options { border-right: 1px solid var(--web-line); }
.hara-web .care-feature-option { display: block; width: 100%; border: 0; border-bottom: 1px solid var(--web-line); text-align: left; padding: 26px 30px; background: var(--web-paper); color: var(--web-ink); }
.hara-web .care-feature-option:last-child { border-bottom: 0; }
.hara-web .care-feature-option-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 500 13px/1.5 HaraWebMono, monospace; text-transform: uppercase; }
.hara-web .care-feature-option-title > span { color: #858b7d; }
.hara-web .care-feature-option-copy { display: none; max-width: 35ch; margin-top: 12px; font: 15px/1.65 HaraWebSans, sans-serif; color: var(--web-muted); }
.hara-web .care-feature-option[aria-selected='true'] { background: var(--web-brand-soft); box-shadow: inset 2px 0 var(--web-brand); }
.hara-web .care-feature-option[aria-selected='true'] .care-feature-option-title { color: var(--web-accent); }
.hara-web .care-feature-option[aria-selected='true'] .care-feature-option-copy { display: block; }
.hara-web .care-feature-option:focus-visible { outline-offset: -4px; }
.hara-web .care-feature-previews { display: grid; align-items: center; padding: 28px; background: #f8f8f8; min-width: 0; }
.hara-web .care-feature-panel { min-width: 0; }
.hara-web .care-feature-panel[hidden] { display: none; }
.hara-web .care-feature-panel .portal-window { border: 1px solid var(--web-line); border-radius: 5px; }
.hara-web .care-feature-panel:not([hidden]) { animation: none; transform: none; }
@media (max-width: 900px) {
  .hara-web .care-feature-grid { grid-template-columns: .8fr 1.2fr; }
  .hara-web .care-feature-option { padding: 22px 20px; }
  .hara-web .care-feature-previews { padding: 18px; }
}
@media (max-width: 760px) {
  .hara-web .web-home-intro { min-height: calc(100svh - 77px); padding: 64px 0; }
  .hara-web .web-home-intro h1 { font-size: 46px; }
  .hara-web .web-desktop-break { display: none; }
  .hara-web[data-hara-page='home'] .story-showcase { height: 510px; padding: 16px 10px; }
  .hara-web[data-hara-page='home'] .product-story { padding-top: 32px; }
  .hara-web[data-hara-page='home'] .story-copy--top { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding: 24px; }
  .hara-web[data-hara-page='home'] .story-copy h2 { font-size: 28px; }
  .hara-web[data-hara-page='home'] .story-copy p { font-size: 15px; }
  .hara-web[data-hara-page='home'] .story-tab { padding-inline: 14px; }
  .hara-web .care-web-intro { padding-block: 36px; }
  .hara-web .care-web-intro h1 { font-size: 40px; }
  .hara-web .care-feature-heading { align-items: start; flex-direction: column; padding: 24px; gap: 18px; }
  .hara-web .care-feature-heading h2 { font-size: 30px; }
  .hara-web .care-feature-heading .web-hand { max-width: none; }
  .hara-web .care-feature-grid { grid-template-columns: 1fr; }
  .hara-web .care-feature-options { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--web-line); }
  .hara-web .care-feature-option { padding: 18px 16px; }
  .hara-web .care-feature-option-title { font-size: 11px; }
  .hara-web .care-feature-option-title > span { display: none; }
  .hara-web .care-feature-option-copy { display: none !important; }
  .hara-web .care-feature-option:nth-child(3) { border-bottom: 0; }
  .hara-web .care-feature-option:nth-child(odd) { border-right: 1px solid var(--web-line); }
  .hara-web .care-feature-option[aria-selected='true'] { box-shadow: inset 0 -2px var(--web-accent); }
  .hara-web .care-feature-previews { padding: 20px 12px; }
  .hara-web .web-home-notes { padding-bottom: 36px; }
}
/* Equal columns keep the three notebook records readable in document flow. */
.hara-web[data-hara-page='home'] .life-link-visual { width: 100%; --life-source-height: 66px; --life-source-gap: 84px; padding-top: 12px; }
.hara-web[data-hara-page='home'] .life-link-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hara-web[data-hara-page='home'] .life-link-card { height: auto; min-height: 370px; padding: 16px; }
.hara-web[data-hara-page='home'] .life-link-connectors { top: calc(12px + var(--life-source-height)); left: 0; width: 100%; height: 70px; transform: none; }
.hara-web[data-hara-page='home'] .life-link-bridge { display: none; }
.hara-web[data-hara-page='home'] .life-link-grocery-context > div { grid-template-columns: max-content minmax(0, 1fr); }
.hara-web[data-hara-page='home'] .life-link-grocery-context dt { font-size: 11px; }
.hara-web[data-hara-page='home'] .pattern-reminder-list { gap: 14px; margin-top: 14px; }
.hara-web[data-hara-page='home'] .life-link-card-head strong { font-size: 19px; }
.hara-web .care-feature-option[aria-selected='true'] { box-shadow: none; }
@media (max-width: 759px) {
  .hara-web[data-hara-page='home'] .life-link-layout { grid-template-columns: 1fr; gap: 36px; }
  .hara-web[data-hara-page='home'] .life-link-connectors { display: none; }
  .hara-web[data-hara-page='home'] .life-link-visual { --life-source-gap: 36px; }
  .hara-web[data-hara-page='home'] .life-link-card { min-height: 0; }
}
.hara-web .web-home-intro h1 { font-weight: 400 !important; }
.hara-web[data-hara-page='home'] .product-story { margin-top: 0; }
.hara-web.care-overview .site-footer { padding: 64px 0 34px; line-height: 1.55; }
.hara-web.care-overview .footer-grid { display: grid; grid-template-columns: 1.6fr repeat(2, .6fr); gap: 54px; padding-bottom: 42px; }
.hara-web.care-overview .footer-about { max-width: 430px; }
.hara-web.care-overview .footer-about .brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 21px; font-weight: 700; }
.hara-web.care-overview .footer-about .brand img { width: 60px; height: auto; }
.hara-web.care-overview .footer-about p { margin: 0; font-size: 14px; }
.hara-web.care-overview .footer-column h3 { margin-bottom: 16px; text-transform: uppercase; }
.hara-web.care-overview .footer-column a { display: block; margin: 10px 0; font-size: 14px; color: var(--web-muted); }
.hara-web.care-overview .site-footer .photo-credit { margin: 0 0 24px; }
@media(max-width:680px) {
  .hara-web.care-overview .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .hara-web.care-overview .footer-about { grid-column: 1 / -1; }
}
.hara-web .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hara-web .nav-toggle { color: var(--web-ink); background: transparent; box-shadow: none; }
.hara-web .nav-links.is-open { width: 100%; margin: 0; }
.hara-web[data-hara-page='home'] .nav-links.is-open { margin-left: 0; }
@media (max-width: 980px) {
  .hara-web .nav-links.is-open { padding: 100px 28px 48px; }
}
.hara-web #product { scroll-margin-top: 90px; }
.hara-web .nav-links a[aria-current='page'] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--web-accent); }

/* Autosend's type hierarchy, rendered with Hara's existing font families.
   Product demos retain their own interface typography. Legacy home headings
   use !important, so the shared marketing heading weight overrides that rule. */
.hara-web :is(h1, h2, h3):not(:where(#story-screen *, .portal-window *, .care-home-window *, .life-link-visual *, .meal-loop-visual *)) { font-weight: 400 !important; }
.hara-web :is(.story-tab-label, .care-section-links a) { font-weight: 500 !important; }
.hara-web :is(.practice-faq summary, .practice-permissions dt, .capacity, .plans-header strong, .table-scroll thead th) { font-weight: 500; }
.hara-web.care-site .site-nav [aria-current='page'] { font-weight: 600; }

/* System surfaces: local frames, straight dividers, and dashed connections. */
.hara-web :is(.nb-hand, .web-hand) { font-family: HaraWebMono, monospace; font-size: 12px; line-height: 1.5; letter-spacing: 0; }
.hara-web :is(.nb-tape, .nb-sheet, .meal-loop-card, .life-link-card, .life-link-source-title, .plan-pro)::before,
.hara-web .nb-sheet::after { content: none !important; }
.hara-web :is(.nb-paper, .nb-sheet, .care-home-case, .meal-loop-card, .life-link-card, .life-link-source-title) {
  background: var(--web-paper); border: 1px solid var(--web-line); border-radius: 0;
  box-shadow: none; transform: none; clip-path: none;
}
.hara-web .flow-story-page { --note-paper: #fff; --note-rule: transparent; --note-heading-font: HaraWebMono, monospace; }
.hara-web .flow-story-page :is(.meal-loop-card h3, .life-link-card-head strong) { font: 500 13px/1.4 HaraWebMono, monospace; -webkit-text-stroke: 0; text-transform: uppercase; color: var(--web-ink); }
.hara-web .meal-learning-loop { width: 100%; --meal-loop-column-gap: clamp(40px, 6vw, 76px); }
.hara-web .meal-loop-card { padding: 18px; gap: 10px; }
.hara-web .meal-loop-card header { padding-bottom: 10px; border-bottom: 1px dashed var(--web-line); }
.hara-web .meal-loop-card header > span:first-child { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border: 1px solid var(--web-line); color: var(--web-muted); }
.hara-web .meal-loop-card-body { padding-top: 10px; border-top: 1px dashed var(--web-line); }
.hara-web :is(.meal-loop-link, .life-link-connectors) { color: #95958e; }
.hara-web :is(.meal-loop-link, .life-link-connectors) path { stroke-linecap: butt; stroke-linejoin: miter; }
.hara-web .life-link-source-title { min-height: 54px; padding: 14px 24px; border-style: dashed; }
.hara-web .life-link-source-food { display: none; }
.hara-web .life-link-card-head { padding-bottom: 12px; border-bottom: 1px solid var(--web-line); margin-bottom: 14px; }
.hara-web .life-link-example-chip { background: none; border: 0; border-radius: 0; padding: 0; }
.hara-web .life-link-grocery-context { padding-bottom: 12px; border-bottom: 1px dashed var(--web-line); }
.hara-web .flow-story-page .care-portal-record { background: var(--web-paper); }
.hara-web .web-home-workflow { padding-block: 24px 60px; }
.system-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; border-block: 1px solid var(--web-line); }
.system-process li { display: flex; gap: 14px; padding: 24px; }
.system-process li + li { border-left: 1px dashed var(--web-line); }
.system-index { flex: none; display: inline-grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--web-line); color: var(--web-muted); font: 11px HaraWebMono, monospace; }
.system-process h3 { margin: 0 0 8px; font: 500 17px/1.4 HaraWebSans, sans-serif; }
.system-process p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--web-muted); }
.hara-web :is(.care-home-case, .care-home-case:nth-child(odd), .care-home-case:nth-child(even), .care-home-case[aria-selected='true']) { transform: none; box-shadow: none; background-image: none; border-radius: 0; }
.hara-web .care-home-case[aria-selected='true'] { background: #f8f8f8; border-color: #9a9d92; }
.hara-web .care-home-window { border-radius: 0; box-shadow: none; }
.hara-web .nb-sheet { padding: 0 24px; }
.hara-web .nb-compare :is(th, td) { padding: 20px 12px; border-bottom: 1px dashed var(--web-line); vertical-align: middle; }
.hara-web .nb-compare tr:last-child :is(th, td) { border-bottom: 0; }
.hara-web .nb-tick { width: 20px; height: 20px; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.hara-web :is(.nb-card, .nb-card-photo, .practice-cases article, .dm-product-proof, .dm-ibs-example, .article-callout, .article-cta, .contact-card) { border-radius: 0; box-shadow: none; transform: none; background-image: none; }
.hara-web :is(.practice-cases article, .dm-product-proof, .dm-ibs-example, .article-callout, .article-cta) { background: var(--web-paper); border: 1px solid var(--web-line); }
.hara-web .practice-cases article + article { background: var(--web-paper); }
.hara-web .practice-cases .practice-kicker { font: 500 12px/1.5 HaraWebMono, monospace; }
.hara-web .practice-cases article:hover { transform: none; box-shadow: none; }
.hara-web .dm-steps blockquote { background: #f8f8f8; border: 1px dashed var(--web-line); }
.hara-web.care-pricing .billing-switch { border-radius: 2px; }
.hara-web[data-hara-page='support'] :is(.eyebrow, .label, .card-number) { font: 500 12px/1.5 HaraWebMono, monospace; }
.hara-web[data-hara-page='support'] .contact-card { background: var(--web-paper); border: 1px solid var(--web-line); transform: none; box-shadow: none; border-radius: 0; }
.hara-web #get-started :is(.cta-content, .faq) { background: var(--web-paper); border: 1px solid var(--web-line); border-radius: 0; box-shadow: none; transform: none; }
.hara-web #get-started .faq::before { content: none; }
.hara-web #get-started .faq-item { background-image: none; border-top: 1px dashed var(--web-line); }
.hara-web #get-started .faq-item:first-child { border-top: 0; }
.hara-web .nb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.hara-web .nb-card { display: flex; flex-direction: column; padding: 0 0 24px; gap: 0; min-height: 0; border: 0; border-bottom: 1px dashed var(--web-line); background: var(--web-paper); }
.hara-web .nb-card-photo { padding: 0; width: 100%; margin-bottom: 16px; }
.hara-web .nb-card-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.hara-web .nb-card-tag { height: auto; margin-bottom: 10px; color: var(--web-muted); }
.hara-web .nb-card h3 { font: 400 22px/1.25 HaraWebSans, sans-serif; margin-bottom: 12px; }
.hara-web .nb-card p { font: 14px/1.6 HaraWebSans, sans-serif; }
.hara-web .nb-card:hover { transform: none; box-shadow: none; }
.hara-web .nb-card:hover h3 { color: var(--web-accent); }

/* Journal: always-visible photography with its text beneath the image. */
.hara-web.blog-index-page .blog-hero { padding-block: 52px 36px; border: 0; margin: 0; }
.hara-web.blog-index-page .blog-hero h1 { max-width: none; font: 400 clamp(34px, 4vw, 54px)/1.1 HaraWebSans, sans-serif; letter-spacing: -.045em; margin-bottom: 18px; }
.hara-web.blog-index-page .blog-filter-section { padding-bottom: 32px; }
.hara-web.blog-index-page .blog-filter-tabs { gap: 28px; padding: 0; border-bottom: 1px solid var(--web-line); }
.hara-web.blog-index-page .blog-filter-tab { padding: 12px 0; min-height: 46px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--web-muted); font: 500 13px HaraWebMono, monospace; transform: none; }
.hara-web.blog-index-page .blog-filter-tab.is-active { color: var(--web-ink); background: none; border-bottom-color: var(--web-brand); }
.hara-web.blog-index-page .blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 16px; counter-reset: journal; }
.hara-web.blog-index-page .blog-card { display: flex; flex-direction: column; min-height: 0; border: 0; border-bottom: 1px dashed var(--web-line); border-radius: 0; padding-bottom: 24px; box-shadow: none; background: var(--web-paper); counter-increment: journal; overflow: visible; }
.hara-web.blog-index-page .blog-card[hidden] { display: none; }
.hara-web.blog-index-page .blog-card::before { content: counter(journal, decimal-leading-zero); position: absolute; top: 12px; left: 12px; z-index: 2; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #ffffffb3; background: #2c2c2c66; color: #fff; font: 10px HaraWebMono, monospace; }
.hara-web.blog-index-page .blog-card::after { content: none; }
.hara-web.blog-index-page .blog-card .blog-cover { position: static; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; opacity: 1; transform: none; border-radius: 0; }
.hara-web.blog-index-page .blog-card .blog-card-body { padding: 16px 0 0; min-height: 0; color: var(--web-ink); }
.hara-web.blog-index-page .blog-card .article-meta { margin: 0 0 10px; }
.hara-web.blog-index-page .blog-card .article-tag { background: none; border: 0; border-radius: 0; padding: 0; min-height: 0; font: 400 10px/1.6 HaraWebMono, monospace; color: var(--web-muted); }
.hara-web.blog-index-page .blog-card h2 { max-width: none; font: 400 21px/1.25 HaraWebSans, sans-serif; letter-spacing: -.025em; color: var(--web-ink); margin: 0; }
.hara-web.blog-index-page .blog-card p { max-width: none; margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--web-muted); }
.hara-web.blog-index-page .blog-card:is(:hover, :focus-visible) { transform: none; box-shadow: none; }
.hara-web.blog-index-page .blog-card:is(:hover, :focus-visible) h2 { color: var(--web-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hara-web.blog-index-page .blog-card:is(:hover, :focus-visible) p { color: var(--web-muted); }
.hara-web.blog-index-page .blog-list { padding-bottom: 64px; }
.hara-web.blog-index-page .audience-resource-links { border-color: var(--web-line); border-top-style: dashed; }

/* Numbered feature navigation, paired with the corresponding Portal palette. */
.hara-web .care-feature-caption { font: 400 12px/1.5 HaraWebMono, monospace; color: var(--web-muted); }
.hara-web .care-feature-options { display: flex; flex-direction: column; }
.hara-web .care-feature-option { padding: 24px 28px; }
.hara-web .care-feature-option-title { justify-content: flex-start; gap: 16px; font: 500 18px/1.4 HaraWebSans, sans-serif; text-transform: none; color: #85857e; }
.hara-web .care-feature-option-title .care-feature-number { flex: none; width: 24px; color: inherit; font: 400 13px HaraWebMono, monospace; }
.hara-web .care-feature-option-copy { margin-left: 40px; margin-top: 20px; max-width: 35ch; }
.hara-web .care-feature-option[aria-selected='true'] { flex: 1; background: var(--web-paper); box-shadow: none; }
.hara-web .care-feature-option[aria-selected='true'] .care-feature-option-title { color: var(--web-ink); }
.hara-web .care-feature-option[id$='-overview'] { --feature-color: var(--web-demo-green); }
.hara-web .care-feature-option[id$='-meals'] { --feature-color: var(--web-demo-orange); }
.hara-web .care-feature-option[id$='-health'] { --feature-color: var(--web-demo-coral); }
.hara-web .care-feature-option[id$='-insights'] { --feature-color: var(--web-demo-mint); }
.hara-web .care-feature-option .care-feature-option-title .care-feature-number { color: var(--feature-color, var(--web-accent)); font-weight: 500; }
.hara-web .care-feature-previews { position: relative; isolation: isolate; overflow: hidden; background: var(--web-demo-green); }
.care-feature-backdrops { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.care-feature-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: none; }
.care-feature-backdrop--overview { background: var(--web-demo-green); }
.care-feature-backdrop--meals { background: var(--web-demo-orange); }
.care-feature-backdrop--health { background: var(--web-demo-coral); }
.care-feature-backdrop--insights { background: var(--web-demo-mint); }
.care-feature-backdrop.is-active { opacity: 1; }
.hara-web .care-feature-panel { position: relative; z-index: 1; }
.hara-web .care-feature-previews::after { content: ''; position: absolute; inset: 16px; z-index: 0; border: 1px dashed #ffffffb3; pointer-events: none; }

@media (max-width: 1100px) {
  .hara-web.blog-index-page .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .system-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-process li:nth-child(3) { border-left: 0; }
  .system-process li:nth-child(n+3) { border-top: 1px dashed var(--web-line); }
  .hara-web .nb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hara-web.blog-index-page .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .hara-web.blog-index-page .blog-filter-tabs { gap: 24px; }
  .hara-web .care-feature-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hara-web .care-feature-option { padding: 18px 16px; }
  .hara-web .care-feature-option-title { font-size: 14px; gap: 10px; }
  .hara-web .care-feature-option-title .care-feature-number { display: inline; width: auto; font-size: 10px; }
  .hara-web .care-feature-option[aria-selected='true'] { background: #f8f8f8; }
  .hara-web .care-feature-previews::after { inset: 8px; }
  .hara-web .web-home-workflow { padding-bottom: 36px; }
  .system-process li { padding: 20px 12px; gap: 10px; }
  .hara-web .nb-cards { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding: 0; margin: 0; }
  .hara-web .nb-sheet { padding-inline: 12px; }
}
@media (max-width: 540px) {
  .hara-web.blog-index-page .blog-grid, .hara-web .nb-cards { grid-template-columns: minmax(0, 1fr); }
  .hara-web.blog-index-page .blog-card .blog-cover { aspect-ratio: 4 / 3; }
  .hara-web.blog-index-page .blog-card h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .care-feature-backdrop { transition: none; }
}

/* Consistent page alignment and bounded demo frames. */
.hara-web :is(.shell, .content-shell) { margin-inline: auto; }
.hara-web .web-home-intro { flex-direction: column; justify-content: center; padding: 64px 0 0; gap: 48px; }
.hara-web .web-home-intro > .shell:first-child { flex: 1; justify-content: center; }
.hara-web .web-home-intro > .web-home-workflow { display: block; flex: none; padding: 0; text-align: left; }
.hara-web .web-home-workflow .system-process { width: 100%; }
.hara-web[data-hara-page='home'] .story-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; min-width: 0; max-width: 100%; overflow: visible; gap: 0; padding: 0; }
.hara-web[data-hara-page='home'] .story-tab { display: flex; justify-content: center; align-items: center; width: auto; min-width: 0; max-width: none; padding: 16px 10px; border: 0; border-right: 1px solid var(--web-line); border-radius: 0; text-align: center; white-space: normal; }
.hara-web[data-hara-page='home'] .story-tab:last-child { border-right: 0; }
.hara-web[data-hara-page='home'] .story-tab-label { white-space: normal; font: 500 14px/1.4 HaraWebSans, Arial, sans-serif; text-align: center; }
.hara-web[data-hara-page='home'] .story-tab[aria-selected='true'] { background: var(--web-paper); box-shadow: inset 0 -2px var(--web-accent); }
.hara-web .care-feature-heading h2 { margin: 0; }
.hara-web .care-feature-previews { align-items: stretch; height: 616px; }
.hara-web .care-feature-panel { height: 560px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-window {
  --portal-label: 11px; --portal-body: 12px; --portal-heading: 14px;
  --portal-line: #e0e0e0; --lime: #c9e265;
  height: 560px; min-height: 0; font-weight: 400; line-height: 1.4;
  border: 1px solid var(--web-line); border-radius: 3px; box-shadow: 0 10px 28px #22222212;
}
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-window :is(strong, b) { font-weight: 500; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-content { padding: 14px 16px 8px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-person strong { font-size: 17px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-card { padding: 11px 13px; border-radius: 3px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-card-heading { margin-bottom: 10px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-metrics { border-radius: 3px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-metrics strong { font-size: 16px; white-space: normal; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-tabs { flex-wrap: wrap; white-space: normal; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-tabs span { padding-inline: 6px; font-size: 11px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-pill { font-size: 10px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .summary-card p { margin: 12px 0 0; font-size: var(--portal-label); }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .coverage-row { grid-template-columns: 115px 80px minmax(0,1fr); margin-top: 9px; }
.insight-row { display: grid; grid-template-columns: 115px minmax(0,1fr) 25px; align-items: center; gap: 16px; padding: 9px 0; border-top: 1px dashed var(--portal-line); }
.insight-row > span { display: grid; gap: 2px; font-size: var(--portal-body); }
.insight-row small { color: var(--portal-muted); font-size: var(--portal-label); }
.insight-row > i { height: 6px; background: linear-gradient(90deg,var(--signal-color) var(--signal-fill),#f0f0f0 var(--signal-fill)); }
.insight-row > strong { text-align: right; }
.insight-note { margin: 8px 0 0; color: var(--portal-muted); font-size: var(--portal-label); }
.hara-web .home-care-link { margin-top: 24px; text-align: center; font-size: 14px; }
.home-care-link a { text-decoration: underline; text-underline-offset: 5px; }

/* Linked patient and care-team views, within the sharing section. */
.hara-web .care-connected-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; margin-top: 52px; }
.care-connected-pane { min-width: 0; outline-offset: 5px; }
.care-connected-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.care-connected-heading > div > span { display: block; margin-bottom: 6px; color: var(--web-muted); font-size: 14px; }
.hara-web .care-connected-heading h3 { margin: 0; font-size: 21px; line-height: 1.25; }
.care-connected-heading a { flex: none; font: 400 11px HaraWebMono,monospace; text-decoration: underline; text-underline-offset: 5px; }
.care-connected-stage { position: relative; isolation: isolate; height: 480px; overflow: hidden; border: 1px solid var(--web-line); background: var(--web-demo-green); transition: opacity 350ms ease, filter 350ms ease; }
.care-connected-stage--portal { background: var(--web-demo-orange); }
.care-connected-stage::after { content: ''; position: absolute; inset: 12px; z-index: -1; border: 1px dashed #ffffffb3; pointer-events: none; }
.care-connected-phone { position: relative; width: 260px; max-width: 75%; margin: 42px auto 0; border: 1px solid #fff; border-radius: 15px 15px 0 0; overflow: hidden; box-shadow: 0 8px 32px #22222214; }
.care-connected-phone img { display: block; width: 100%; height: auto; }
.care-connected-portal { position: relative; margin: 42px 22px 0; }
.hara-web .care-connected-grid .portal-window { height: 520px; }
@media (min-width: 761px) and (hover: hover) {
  .care-connected-grid:has(.care-connected-pane:hover) .care-connected-pane:not(:hover) .care-connected-stage { opacity: .25; filter: blur(2px); }
}
@media (min-width: 761px) {
  .care-connected-grid:not(:has(.care-connected-pane:hover)):has(.care-connected-pane:focus-within) .care-connected-pane:not(:focus-within) .care-connected-stage { opacity: .25; filter: blur(2px); }
}

/* Straight-edged tables with both row and column rules. */
.hara-web :is(.article-table-wrap, .aeo-table-wrap, .audience-table-wrap, .comparison-table-wrap, .nb-sheet, .nb-sheet-wrap) { border: 0; border-radius: 0; transform: none; box-shadow: none; background: #fff; }
.hara-web .nb-sheet { padding: 0; border: 0; }
.hara-web .nb-sheet-wrap { width: 100%; max-width: none; }
.hara-web :is(.nb-compare, .article-table-wrap table, .aeo-table-wrap table, .audience-table-wrap table, .comparison-table) { border-collapse: separate; border-spacing: 0; border: 0; border-top: 1px solid var(--web-line); border-left: 1px solid var(--web-line); border-radius: 0; }
.hara-web :is(.nb-compare, .article-table-wrap table, .aeo-table-wrap table, .audience-table-wrap table, .comparison-table) :is(th,td) { border: 0; border-right: 1px solid var(--web-line); border-bottom: 1px solid var(--web-line); border-radius: 0; background: #fff; }
.hara-web .nb-compare :is(th,td) { padding: 16px 18px; }
.hara-web .nb-compare tr:last-child :is(th,td) { border-bottom: 1px solid var(--web-line); }
.hara-web :is(.article-table-wrap, .aeo-table-wrap, .audience-table-wrap) caption { border: 1px solid var(--web-line); border-bottom: 0; border-radius: 0; background: #fff; }

/* Compact home sections; retain natural document flow on smaller screens. */
.hara-web[data-hara-page='home'] .life-link-layout { align-items: stretch; }
.hara-web[data-hara-page='home'] .life-link-destination { display: flex; }
.hara-web[data-hara-page='home'] .life-link-card { width: 100%; height: 100%; min-height: 370px; }
.hara-web[data-hara-page='home'] .flow-story-page--learning .data-flow-header { margin-bottom: var(--web-content-gap); }
.hara-web[data-hara-page='home'] .meal-loop-steps { grid-template-rows: repeat(2,minmax(0,1fr)); --meal-loop-row-gap: 36px; }
.hara-web[data-hara-page='home'] .meal-loop-card { min-height: 0; padding: 12px 16px; gap: 7px; }
.hara-web[data-hara-page='home'] .meal-loop-card { --note-line-height: 20px; grid-template-rows: 24px auto 54px minmax(100px,1fr); }
.hara-web[data-hara-page='home'] .meal-loop-card-title { min-height: 0; margin: 0; line-height: 1.4; }
.hara-web[data-hara-page='home'] .meal-loop-illustration { height: 54px; width: auto; max-width: 140px; }
.hara-web[data-hara-page='home'] .meal-loop-card-body { padding-top: 8px; }
.hara-web[data-hara-page='home'] .meal-loop-card :is(dl, ul) { margin-block: 0; }
.hara-web[data-hara-page='home'] #diet-management { padding-block: 40px; }
.hara-web[data-hara-page='home'] #diet-management .nb-section-head { margin-bottom: var(--web-content-gap); }
.hara-web[data-hara-page='home'] .data-flow-section { padding-block: 48px; }
.hara-web[data-hara-page='home'] .nb-cards { gap: 24px; }
.hara-web[data-hara-page='home'] .nb-card { padding-bottom: 14px; }
.hara-web[data-hara-page='home'] .nb-card-photo { margin-bottom: 12px; }
.hara-web[data-hara-page='home'] .nb-card-photo img { aspect-ratio: auto; height: 150px; width: 100%; object-fit: cover; }
.hara-web[data-hara-page='home'] .nb-card h3 { font-size: 20px; margin: 0; }
.hara-web[data-hara-page='home'] #get-started .cta-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; align-items: stretch; border: 1px solid var(--web-line); border-radius: 0; padding: 0; }
.hara-web[data-hara-page='home'] #get-started .cta-content { width: auto; max-width: none; padding: 40px; border: 0; border-right: 1px solid var(--web-line); }
.hara-web[data-hara-page='home'] #get-started .faq { padding: 20px 32px; margin: 0; border: 0; }
.hara-web[data-hara-page='home'] #get-started .faq-question { font-size: 18px; font-weight: 500; }
@media (max-width: 1000px) {
  .hara-web .care-feature-previews { padding: 18px; height: 596px; }
  .hara-web .care-feature-option { padding-inline: 20px; }
  .hara-web[data-hara-page='home'] .story-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .hara-web[data-hara-page='home'] .story-tab { border-bottom: 1px solid var(--web-line); }
}
@media (max-width: 760px) {
  .hara-web .web-home-intro { padding-top: 40px; gap: 36px; }
  .hara-web .care-feature-previews { height: 600px; padding: 20px 12px; }
  .hara-web .care-feature-panel { height: 560px; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-content { padding: 10px; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-person { flex-wrap: wrap; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-person > small { display: none; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-card { padding: 10px; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-metrics > div { padding-inline: 6px; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .coverage-row { grid-template-columns: 105px 70px minmax(0,1fr); gap: 5px; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .checkin-table > div { grid-template-columns: 46px 45px 40px 35px minmax(0,1fr); gap: 4px; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .chart-grid { gap: 7px; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .chart-legend span { white-space: normal; flex-wrap: wrap; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-card-heading { flex-wrap: wrap; gap: 4px; }
  .insight-row { grid-template-columns: 100px minmax(0,1fr) 22px; gap: 8px; }
  .hara-web .care-connected-grid { grid-template-columns: 1fr; gap: 36px; }
  .care-connected-heading { gap: 12px; }
  .hara-web .care-connected-heading h3 { font-size: 20px; }
  .care-connected-heading a { white-space: nowrap; font-size: 10px; }
  .care-connected-stage { height: 440px; }
  .care-connected-portal { margin-inline: 12px; }
  .hara-web[data-hara-page='home'] .nb-card-photo img { height: 180px; }
  .hara-web[data-hara-page='home'] #get-started .cta-panel { grid-template-columns: 1fr; }
  .hara-web[data-hara-page='home'] #get-started .cta-content { padding: 28px 24px; border-right: 0; border-bottom: 1px solid var(--web-line); }
  .hara-web[data-hara-page='home'] #get-started .faq { padding: 12px 24px; }
}
@media (max-width: 540px) {
  .hara-web[data-hara-page='home'] .story-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hara-web[data-hara-page='home'] .story-tab { min-height: 48px; padding: 12px 8px; }
  .hara-web[data-hara-page='home'] .story-tab:nth-child(even) { border-right: 0; }
  .hara-web[data-hara-page='home'] .meal-loop-steps { grid-template-rows: none; grid-auto-rows: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .care-connected-stage { transition: none; }
}

/* Keep the full record visible inside the same preview viewport. */
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-main { height: 100%; overflow-y: auto; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-topline { height: 36px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-content { padding-block: 10px 6px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-card { padding-block: 8px; margin-bottom: 7px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-card-heading { margin-bottom: 7px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-metrics { padding-block: 8px; margin-bottom: 8px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .insight-row { padding-block: 4px; }
.hara-web .care-inline-preview { width: 100%; max-width: none; margin: 0; padding: 18px; border: 1px solid var(--web-line); background: #f8f8f8; border-radius: 0; }
.hara-web .care-inline-preview .portal-window { height: 560px; }
.hara-web .care-inline-preview figcaption { margin-top: 16px; color: var(--web-muted); font-size: 13px; }
.hara-web .table-scroll table { border-collapse: separate; border-spacing: 0; border: 0; border-top: 1px solid var(--web-line); border-left: 1px solid var(--web-line); }
.hara-web .table-scroll :is(th,td) { border: 0; border-right: 1px solid var(--web-line); border-bottom: 1px solid var(--web-line); }
.hara-web.care-pricing .table-scroll tr > :is(th,td) { padding: 12px 18px; }
.hara-web.care-pricing .comparison-band .table-scroll thead th { background: #f3f3f3; }
.system-process { border-inline: 1px solid var(--web-line); }

/* Stable product demos: bounded text, full photo coverage, no internal scrollbars. */
.hara-web[data-hara-page='home'] .story-copy--top { grid-template-columns: minmax(0,1fr) minmax(0,1fr); height: 160px; min-height: 160px; max-height: 160px; padding-block: 20px; }
.hara-web[data-hara-page='home'] .story-copy--top > * { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.hara-web[data-hara-page='home'] .story-copy--top p { width: 100%; max-width: 45ch; justify-self: end; white-space: normal; }
.hara-web .care-feature-grid { grid-template-columns: minmax(200px,.54fr) minmax(0,1.46fr); }
.hara-web .care-feature-backdrops { inset: 0; height: 100%; }
.hara-web .care-feature-backdrop { width: 100% !important; height: 100% !important; min-height: 100%; max-height: none; max-width: none; object-fit: cover; border-radius: 0; }
.hara-web .care-feature-heading .home-care-link { flex: none; margin: 0; font: 400 12px HaraWebMono,monospace; text-decoration: underline; text-underline-offset: 5px; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-main { overflow: hidden; background: #f8f9f7; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-content { background: #f8f9f7; }
.hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) :is(.portal-card,.portal-metrics) { border-color: #e5e7e2; border-radius: 10px; }
.hara-web :is(.portal-main,.portal-window,.story-tabs,.story-runtime-card) { scrollbar-width: none; }
.hara-web :is(.portal-main,.portal-window,.story-tabs,.story-runtime-card)::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* A/B group Data insights, following the current Care Portal. */
.group-preview-filters { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.group-preview-filters > span { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 12px; border: 1px solid var(--portal-line); border-radius: 6px; background: #fff; font-size: 13px; }
.group-preview-chevron { flex: none; display: block; width: 12px; height: 12px; margin-left: 12px; color: var(--portal-muted); }
.group-preview-filters > small { color: var(--portal-muted); font-size: 11px; }
.group-preview-dates { margin-left: auto; }
.group-dot { display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; }
.group-dot--a { background: #c9e265; }
.group-dot--b { background: #5dc7ad; }
.group-preview-counts { display: flex; align-items: center; gap: 24px; padding-bottom: 12px; color: var(--portal-muted); font-size: 11px; }
.group-preview-counts strong { color: var(--portal-ink); margin-left: 6px; }
.group-preview-counts > small { margin-left: auto; font-size: 11px; }
.group-preview-legend { display: flex; gap: 16px; color: var(--portal-muted); font-size: 11px; }
.group-preview-legend span { display: inline-flex; gap: 5px; align-items: center; }
.group-preview-bar { display: grid; grid-template-columns: 58px minmax(0,1fr) 32px; align-items: center; gap: 10px; margin: 12px 0; font-size: 12px; }
.group-preview-bar i { display: block; width: var(--group-width); height: 7px; background: var(--group-color); border-radius: 3px; }
.group-preview-bar strong { text-align: right; }
.group-preview-trend { display: block; width: 100%; height: auto; margin-top: 8px; }
.group-chart-grid path { stroke: #e5e7e2; stroke-width: 1; fill: none; }
.group-chart-labels { font: 10px HaraCareSource, sans-serif; fill: #7a7e77; }
.group-preview-trend polyline { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hara-web .group-preview-checkins .portal-card-heading { margin-bottom: 4px; }

/* Workflow and sharing are one flow, in one frame. */
.hara-web #care-workflows { display: flex; align-items: center; min-height: calc(100svh - 77px); padding-block: 48px; }
.care-workflow-board { border: 1px solid var(--web-line); }
.hara-web #care-workflows .care-workflow-intro { grid-template-columns: .85fr 1.15fr; gap: 0; margin: 0; border-bottom: 1px solid var(--web-line); }
.hara-web #care-workflows .care-workflow-photo { height: 320px; width: 100%; object-fit: cover; border-radius: 0; }
.hara-web #care-workflows .care-workflow-intro > div { padding: 30px 36px; }
.hara-web #care-workflows h2 { font-size: clamp(30px,3vw,40px); line-height: 1.15; }
.hara-web #care-workflows .care-workflow-intro p { max-width: 43ch; margin-top: 14px; color: var(--web-muted); font-size: var(--web-text-body); line-height: var(--web-text-leading); }
.hara-web #care-workflows .practice-steps { gap: 0; margin: 0; padding: 0; }
.hara-web #care-workflows .practice-steps li { padding: 24px; border: 0; }
.hara-web #care-workflows .practice-steps li + li { border-left: 1px dashed var(--web-line); }
.hara-web #care-workflows .practice-steps h3 { font-size: 20px; line-height: 1.3; }
.hara-web #care-workflows .practice-steps p { margin-top: 12px; font-size: 13px; line-height: 1.6; }
.hara-web #care-workflows .practice-steps .workflow-detail { color: var(--web-muted); }
.hara-web .care-connected-section { display: flex; align-items: center; min-height: calc(100svh - 77px); padding-block: 64px; }
.hara-web .care-connected-section .care-connected-grid { margin-top: 0; }

/* Photo-led articles retain a title and concise description. */
.hara-web[data-hara-page='home'] #diet-management { padding-block: 32px; }
.hara-web[data-hara-page='home'] .nb-card-photo img { height: 200px; }
.hara-web[data-hara-page='home'] .nb-card h3 { font-size: 22px; line-height: 1.3; }
.hara-web[data-hara-page='home'] .nb-card-body p { margin-top: 8px; font-size: 13px; line-height: 1.5; }

/* One shared Q&A frame, with the same rows and typography as the homepage. */
.hara-web :is(.pricing-faq, #faq > .practice-split, .dm-faq.web-faq-frame) { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; align-items: stretch; padding: 0; border: 1px solid var(--web-line); border-radius: 0; background: #fff; }
.hara-web .pricing-faq { margin-block: 64px; }
.hara-web :is(.pricing-faq, #faq > .practice-split, .dm-faq.web-faq-frame) > :first-child { padding: 40px; border-right: 1px solid var(--web-line); }
.hara-web :is(.pricing-faq, #faq > .practice-split, .dm-faq.web-faq-frame) > :last-child { padding: 20px 32px; border: 0; }
.hara-web :is(.pricing-faq, .practice-faq, .dm-faq, .aeo-published-faq) details { border: 0; border-top: 1px dashed var(--web-line); border-radius: 0; background: #fff; margin: 0; }
.hara-web :is(.pricing-faq, .practice-faq, .web-faq-list) details:first-child { border-top: 0; }
.hara-web :is(.pricing-faq, .practice-faq, .dm-faq, .aeo-published-faq) summary { position: relative; padding: 18px 26px 18px 0; font: 500 18px/1.4 HaraWebSans,sans-serif; list-style: none; cursor: pointer; }
.hara-web :is(.pricing-faq, .practice-faq, .dm-faq, .aeo-published-faq) summary::-webkit-details-marker { display: none; }
.hara-web :is(.pricing-faq, .practice-faq, .dm-faq, .aeo-published-faq) summary::after { content: ''; position: absolute; top: 24px; right: 2px; width: 7px; height: 7px; border: 0; border-right: 1px solid #858585; border-bottom: 1px solid #858585; transform: rotate(45deg); background: none; }
.hara-web :is(.pricing-faq, .practice-faq, .dm-faq, .aeo-published-faq) details[open] summary::after { transform: rotate(225deg); }
.hara-web :is(.pricing-faq, .practice-faq, .dm-faq, .aeo-published-faq) details p { margin: 0; padding-bottom: 18px; color: var(--web-muted); font-size: 14px; line-height: 1.65; }
.hara-web .aeo-published-faq { border: 1px solid var(--web-line); padding: 24px; border-radius: 0; background: #fff; }
@media (max-width: 760px) {
  .hara-web[data-hara-page='home'] .story-copy--top { grid-template-columns: minmax(0,1fr); height: 264px; min-height: 264px; max-height: 264px; padding-block: 16px; align-content: center; gap: 16px; }
  .hara-web[data-hara-page='home'] .story-copy--top p { justify-self: start; }
  .hara-web .care-feature-grid { grid-template-columns: minmax(0,1fr); }
  .hara-web .care-feature-previews { height: 680px; }
  .hara-web .care-feature-panel, .hara-web .care-feature-panel .portal-window, .hara-web .care-inline-preview .portal-window { height: 640px; }
  .group-preview-filters { flex-wrap: wrap; gap: 8px; }
  .group-preview-dates { width: 100%; margin-left: 0; }
  .group-preview-counts { gap: 12px; }
  .group-preview-counts > small { display: none; }
  .group-preview-legend { gap: 10px; }
  .group-preview-trend { height: auto; }
  .group-chart-labels { font-size: 18px; }
  .hara-web #care-workflows .care-workflow-intro { grid-template-columns: 1fr; }
  .hara-web #care-workflows .care-workflow-photo { height: 250px; }
  .hara-web #care-workflows .care-workflow-intro > div { padding: 24px; }
  .hara-web #care-workflows .practice-steps { grid-template-columns: 1fr; }
  .hara-web #care-workflows .practice-steps li + li { border-left: 0; border-top: 1px dashed var(--web-line); }
  .hara-web .care-connected-section { min-height: 0; }
  .hara-web :is(.pricing-faq, #faq > .practice-split, .dm-faq.web-faq-frame) { grid-template-columns: 1fr; }
  .hara-web :is(.pricing-faq, #faq > .practice-split, .dm-faq.web-faq-frame) > :first-child { padding: 28px 24px; border-right: 0; border-bottom: 1px solid var(--web-line); }
  .hara-web :is(.pricing-faq, #faq > .practice-split, .dm-faq.web-faq-frame) > :last-child { padding: 12px 24px; }
}
@media (max-width: 760px) {
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) :is(.portal-metrics, .profile-grid) { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-metrics > div { display: grid; grid-template-columns: 1fr; gap: 5px; padding: 0 6px; border: 0; border-right: 1px solid var(--web-line); }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-metrics > div:last-child { border-right: 0; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-metrics > div > * { grid-column: auto; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .profile-grid { gap: 8px; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .portal-metrics strong { font-size: 14px; }
  .hara-web :is(.care-feature-panel, .care-connected-grid, .care-inline-preview) .insight-metrics span { display: none; }
  .hara-web.blog-index-page .blog-filter-tabs { flex-wrap: wrap; overflow: visible; gap: 4px 20px; }
}

/* Shared page rhythm. Full-screen scenes and demo viewports keep their heights;
   the space around headings, frames and sections comes from the same scale. */
.hara-web[data-hara-page] .site-header { min-height: 77px; padding-block: 12px; }
.hara-web[data-hara-page] .nav-shell { min-height: 52px; padding-block: 0; }
.hara-web[data-hara-page] :is(.care-web-intro, .dm-hero, .article-hero) {
  padding-block: var(--web-hero-space) var(--web-section-space);
}
.hara-web[data-hara-page] .article-hero { margin-bottom: var(--web-section-space); }
.hara-web[data-hara-page] .blog-hero,
.hara-web.care-pricing .pricing-hero { padding-block: var(--web-hero-space) var(--web-content-gap); }
.hara-web .web-home-intro { padding-top: var(--web-hero-space); gap: var(--web-section-space); }
.hara-web[data-hara-page='home'] :is(.product-story, .data-flow-section, .clinician-section, .comparison-section, .dm-home-section, .articles, .final-cta),
.hara-web[data-hara-page='home'] #diet-management,
.hara-web[data-hara-page] :is(.practice-section, .practice-contact, .comparison-band, .dm-section, .dm-context, .dm-close, .care-roles, .audience-table-section) {
  padding-block: var(--web-section-space);
}
.hara-web[data-hara-page='home'] :is(.product-story, .data-flow-section, .clinician-section, .comparison-section, .final-cta) { margin-block: 0; }
.hara-web[data-hara-page='home'] .final-cta { min-height: 0; }
.hara-web[data-hara-page='home'] .medical-note { margin-top: var(--web-content-gap); padding-block: 0; }
.hara-web #care-workflows,
.hara-web .care-connected-section { padding-block: var(--web-section-space); }
.hara-web[data-hara-page='home'] .flow-story-page--guidance { margin-top: calc(2 * var(--web-section-space)); }
.hara-web.care-pricing .pricing-plans { padding-block: 0 var(--web-section-space); }
.hara-web[data-hara-page] :is(.pricing-faq, .dm-faq.web-faq-frame) { padding: 0; margin-block: var(--web-section-space); }
.hara-web[data-hara-page] :is(.nb-section-head, .dm-section-heading, .data-flow-header, .care-connected-heading, .plans-header) { margin-bottom: var(--web-content-gap); }
.hara-web[data-hara-page] :is(.nb-section-head, .dm-section-heading) > :last-child { margin-bottom: 0; }
.hara-web[data-hara-page] :is(.table-scroll, .hero-banner-wrap, .dm-home-links) { margin-top: var(--web-content-gap); }
.hara-web[data-hara-page] :is(.blog-filter-section, .care-section-links) { padding-block: 0 var(--web-content-gap); }
.hara-web[data-hara-page] .care-section-links { padding-top: var(--web-content-gap); }
.hara-web[data-hara-page] :is(.blog-list, .article-main) { padding-bottom: var(--web-section-space); }
.hara-web[data-hara-page] :is(.nb-cards, .blog-grid, .dm-steps, .care-role-grid, .care-connected-grid, .dm-split, .article-layout) { gap: var(--web-content-gap); }
.hara-web[data-hara-page] :is(.care-feature-heading, .article-copy) { padding: var(--web-panel-space); }
.hara-web[data-hara-page] .care-feature-heading { padding-block: 20px; }
.hara-web[data-hara-page='home'] .story-copy--top { padding-inline: var(--web-panel-space); }
.hara-web[data-hara-page] :is(.pricing-faq, #faq > .practice-split, .dm-faq.web-faq-frame) > :first-child,
.hara-web[data-hara-page='home'] #get-started .cta-content { padding: var(--web-panel-space); }
.hara-web[data-hara-page] :is(.pricing-faq, #faq > .practice-split, .dm-faq.web-faq-frame) > :last-child,
.hara-web[data-hara-page='home'] #get-started .faq { padding: 16px var(--web-panel-space); }
.hara-web .dm-faq details div { padding-bottom: 0; }
.hara-web[data-hara-page='support'] .hero-grid { padding-block: var(--web-hero-space) var(--web-section-space); gap: var(--web-content-gap); }
.hara-web:is([data-hara-page='privacy'], [data-hara-page='terms']) main { margin-block: var(--web-section-space); padding: var(--web-panel-space); }
.hara-web[data-hara-page] .site-footer { padding-block: var(--web-section-space) var(--web-panel-space); }
.hara-web[data-hara-page] .footer-grid { gap: var(--web-panel-space); padding-bottom: var(--web-panel-space); }
@media (max-width: 760px) {
  :root {
    --web-section-space: 32px;
    --web-hero-space: 40px;
    --web-content-gap: 20px;
    --web-panel-space: 24px;
  }
  .hara-web[data-hara-page] .care-feature-heading { padding-block: 16px; }
}

/* Reference type scale: a soft serif hero, light sans-serif sections, quiet UI labels. */
.hara-web[data-hara-page] :is(.web-home-intro, .care-web-intro, .pricing-hero, .dm-hero) h1 {
  font-family: HaraWebDisplay, Georgia, serif; font-size: clamp(42px, 5vw, 72px);
  font-weight: 400; line-height: 1.16; letter-spacing: -.025em;
}
.hara-web[data-hara-page] .article-hero h1 { font-family: HaraWebDisplay, Georgia, serif; line-height: 1.16; letter-spacing: -.025em; }
.hara-web .web-home-intro h1 { max-width: 22ch; }
@media screen and (forced-colors: none) {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    #hero-title > .nb-hl {
      color: transparent;
      background-image:
        linear-gradient(90deg, transparent 40%, #191919 60%),
        linear-gradient(90deg,
          #75a023 0%, #d08200 18%, #e56e0c 31%, #e5533d 48%,
          #d64c8a 68%, #9361c4 79%, #398bbb 88%, #15977e 100%);
      background-size: 300% 100%, 100% 100%;
      background-repeat: no-repeat;
      background-position: left center, center;
      -webkit-background-clip: text;
      background-clip: text;
    }
    @media (prefers-reduced-motion: no-preference) {
      #hero-title > .nb-hl { animation: hero-ink-reveal 1.2s ease-in-out .25s backwards; }
    }
  }
}
@keyframes hero-ink-reveal {
  from { background-position: right center, center; }
  to { background-position: left center, center; }
}
.hara-web[data-hara-page] :is(.nb-section-head h2, .data-flow-title, .care-feature-heading h2, .story-copy h2, .practice-section h2, .pricing-faq h2, .comparison-band h2, .dm-section h2, .dm-context h2, .cta-content h2) {
  font-family: HaraWebSans, Arial, sans-serif; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -.025em;
}
.hara-web[data-hara-page] :is(.nb-hero-lead, .care-web-intro > p, .pricing-hero p, .story-copy p) { font-size: 18px; line-height: 1.55; }
.hara-web[data-hara-page] :is(.nav-links a, .site-nav a, .nav-cta, .button, .header-contact, .scene-cta, .contact-button, .plan-action) { font-weight: 500; }
.hara-web[data-hara-page] :is(.nb-card h3, .care-connected-heading h3) { font-size: 24px; line-height: 1.2; letter-spacing: -.022em; }
.hara-web[data-hara-page] :is(.system-process h3, .care-feature-option-title) { font-size: 18px; line-height: 1.4; }
.hara-web[data-hara-page] .care-faq-contact p { margin: 20px 0 24px; font-size: 16px; line-height: 1.6; color: var(--web-muted); }
.hara-web .care-faq-contact .contact-button { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 20px; color: #fff; background: var(--web-ink); border: 1px solid var(--web-ink); }

/* A compact version of the Portal's time-of-day activity calendar. */
.preview-activity-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; color: var(--portal-muted); margin-bottom: 10px; }
.preview-activity-calendar { display: grid; grid-template-columns: 34px repeat(7,minmax(0,1fr)); margin-top: 8px; }
.preview-activity-axis { height: 122px; display: flex; flex-direction: column; justify-content: space-between; padding-block: 0 34px; font-size: 10px; color: var(--portal-muted); }
.preview-activity-day { min-width: 0; text-align: center; font-size: 10px; color: var(--portal-muted); }
.preview-activity-lane { height: 122px; position: relative; border-left: 1px solid var(--portal-line); border-bottom: 1px solid var(--portal-line); background: repeating-linear-gradient(to bottom,var(--portal-line) 0,var(--portal-line) 1px,transparent 1px,transparent 40px); }
.preview-activity-day:last-child .preview-activity-lane { border-right: 1px solid var(--portal-line); }
.preview-activity-lane i { position: absolute; left: 18%; width: 64%; height: 7px; border-radius: 3px; }
.preview-activity-lane .activity-scan { background: #5dc7ad; }
.preview-activity-lane .activity-reaction { background: #ffb24b; }
.preview-activity-lane .activity-checkin { background: #c9e265; }
.preview-activity-day > span { display: block; padding-top: 6px; }
.hara-web :is(.care-feature-board,.care-connected-grid) .mini-timeline i.is-poor { background: #ffb24b; }
.hara-web .portal-window--health .checkin-table > div { min-height: 26px; }
.preview-stress-card svg { display: block; width: 100%; height: 70px; }
.preview-stress-lines polyline { fill: none; stroke: #7cae92; stroke-width: 2; stroke-linejoin: round; }
.preview-chart-dates { display: flex; justify-content: space-between; color: var(--portal-muted); font-size: 10px; margin-top: 3px; }
.group-impact-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 4px 6px; font-size: 12px; }
.group-impact-summary > span { display: inline-flex; align-items: center; gap: 6px; }
.group-impact-summary strong { font-size: 18px; font-weight: 500; margin-left: 8px; }
.group-impact-summary > small { margin-left: auto; color: var(--portal-muted); font-size: 11px; }
.group-impact-chart { display: block; width: 100%; height: 120px; margin-block: 4px 8px; }
.group-preview-content .group-preview-counts { padding-bottom: 5px; }
.group-impact-chart polyline { fill: none; stroke-width: 2; stroke-linejoin: round; }
.group-expanded-title { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--portal-line); font-size: 12px; }
.group-expanded-title strong { font-weight: 500; }
.group-expanded-title small { font-size: 11px; color: var(--portal-muted); }
.group-patient-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; line-height: 1.3; }
.group-patient-table :is(th,td) { border-top: 1px solid var(--portal-line); padding: 6px 8px; font-weight: 400; }
.group-patient-table th { color: var(--portal-muted); background: #f8f9f7; font-size: 11px; }
.group-patient-table :is(th,td):nth-child(3) { border-left: 1px solid var(--portal-line); }
.group-patient-table :is(th,td):nth-child(even) { text-align: right; width: 12%; }
.group-patient-table small { display: inline; color: var(--portal-muted); font-size: 10px; margin-left: 6px; }

/* The linked views prioritize the record and its visualizations. */
.care-connected-stage { height: 620px; }
.care-connected-phone { width: 300px; margin-top: 42px; }
.care-connected-stage--portal { display: flex; align-items: center; }
.care-connected-portal { width: calc(100% - 32px); margin: 0 16px; }
.hara-web .care-connected-grid .portal-window { height: 556px; }
.integrated-preview-context { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 5px 0 8px; font-size: 13px; }
.integrated-preview-context strong { font-weight: 500; }
.integrated-preview-context span { font-size: 11px; color: var(--portal-muted); }
.integrated-preview-context small { margin-left: auto; font-size: 10px; color: var(--portal-muted); }
.integrated-trend-chart { width: 100%; height: 144px; display: block; }
.integrated-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--portal-line); padding-top: 9px; margin-top: 8px; }
.integrated-metrics > div { padding-inline: 10px; border-right: 1px solid var(--portal-line); }
.integrated-metrics > div:first-child { padding-left: 0; }
.integrated-metrics > div:last-child { border: 0; }
.integrated-metrics small { display: block; color: var(--portal-muted); font-size: 11px; }
.integrated-metrics strong { font-size: 18px; font-weight: 500; }
.integrated-metrics strong span { font-size: 10px; font-weight: 400; color: var(--portal-muted); }
.integrated-records { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.integrated-records .portal-card-heading { display: block; }
.integrated-records .portal-card-heading small { display: block; margin-top: 3px; }
.integrated-records p { font-size: 12px; margin: 4px 0; }
.integrated-records .portal-card > small { display: block; margin-top: 5px; color: var(--portal-muted); font-size: 10px; }
.integrated-records dl { margin: 0; font-size: 12px; }
.integrated-records dl > div { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; }
.integrated-records dt { color: var(--portal-muted); }
.integrated-records dd { margin: 0; }
.hara-web .portal-window--integrated .mini-timeline { height: 24px; margin: 8px 0; }
.hara-web .portal-window--integrated .timeline-legend { gap: 6px 10px; font-size: 10px; }
@media (max-width: 760px) {
  .hara-web[data-hara-page] :is(.nb-hero-lead, .care-web-intro > p, .pricing-hero p, .story-copy p) { font-size: 16px; }
  .hara-web[data-hara-page] :is(.system-process h3, .care-feature-option-title) { font-size: 14px; }
  .hara-web[data-hara-page] :is(.nb-card h3, .care-connected-heading h3) { font-size: 22px; }
  .group-impact-summary { gap: 6px 12px; }
  .group-impact-summary > small { width: 100%; margin-left: 0; }
  .group-impact-chart { height: 90px; }
  .group-patient-table :is(th,td) { padding: 6px 4px; }
  .group-expanded-title { align-items: start; gap: 10px; }
  .group-impact-chart .group-chart-labels, .integrated-trend-chart .group-chart-labels { font-size: 18px; }
  .care-connected-stage { height: 640px; }
  .care-connected-phone { margin-top: 42px; }
  .care-connected-portal { width: calc(100% - 24px); margin: 0 12px; }
  .hara-web .care-connected-grid .portal-window { height: 572px; }
  .integrated-trend-chart { height: 112px; }
  .integrated-preview-context { padding-bottom: 10px; }
  .integrated-preview-context small { width: 100%; margin-left: 0; }
  .integrated-metrics > div { padding-inline: 6px; }
  .preview-activity-legend { gap: 5px 10px; }
}

.hara-web[data-hara-page] :is(.product-story, .data-flow-section, .clinician-section, .comparison-section, .final-cta, .home-chapter-stage, .practice-section, .care-connected-section, .comparison-band, .dm-band, .dm-context, .dm-home-section, .dm-section, .dm-close) { background-color: transparent; }
.hara-web[data-hara-page='home'] :is(#how-it-works, #clinicians, #data-flow) { background: var(--web-paper); }
.hara-web[data-hara-page='home'] #how-it-works { border-top: 0; }
.hara-web[data-hara-page='support'] .hero { background-color: transparent; }
.hara-web :is(.system-process, .care-workflow-board, .plan-grid, .article-copy) { background-color: var(--web-paper); }

/* Readable activity records; the shared preview starts with the patient, not a redundant bar. */
.hara-web :is(.care-feature-panel,.care-inline-preview) .portal-content { padding-top:18px; }
.hara-web .portal-person > small { display:inline-flex; gap:5px; align-items:center; }
.hara-web .portal-window--overview .portal-content { display:grid; gap:8px; }
.hara-web .portal-window--overview :is(.portal-person,.portal-tabs,.profile-card,.portal-metrics,.preview-activity-card) { margin-bottom:0; }
.hara-web .portal-window--overview .portal-person { min-height:24px; }
.hara-web .portal-window--overview :is(.profile-card,.portal-metrics) { padding-block:10px; }
.hara-web .portal-window--overview .portal-card-heading strong { font-size:14px; font-weight:550; }
.hara-web .portal-window--overview :is(.profile-grid small,.portal-metrics small) { font-size:12px; }
.hara-web .portal-window--overview .profile-grid strong { font-size:13px; font-weight:500; }
.hara-web .portal-window--overview .preview-activity-card { padding:12px 14px; }
.hara-web .preview-activity-legend { display:flex; flex-wrap:wrap; gap:10px 18px; margin:10px 0 14px; font-size:12px; line-height:1.4; }
.hara-web .preview-activity-legend > span { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.hara-web .preview-activity-calendar { display:grid; grid-template-columns:40px repeat(7,minmax(0,1fr)); gap:0; }
.hara-web .preview-activity-axis { padding:25px 0 0; display:grid; grid-template-rows:repeat(4,38px); font-size:11px; color:var(--portal-muted); }
.hara-web .preview-activity-axis > span { display:flex; align-items:center; position:static; }
.hara-web .preview-activity-day { min-width:0; text-align:center; font-size:11px; }
.hara-web .preview-activity-day > .activity-date { display:block; height:25px; line-height:1.4; color:var(--portal-muted); }
.hara-web .preview-activity-lane { height:152px; display:grid; grid-template-rows:repeat(4,38px); position:relative; border:0; border-left:1px solid #e5e7e2; border-block:1px solid #e5e7e2; background:repeating-linear-gradient(to bottom,transparent 0,transparent 37px,#e5e7e2 37px,#e5e7e2 38px); }
.hara-web .preview-activity-day:last-child .preview-activity-lane { border-right:1px solid #e5e7e2; }
.hara-web .activity-event { position:relative; grid-row:calc(var(--event-row) + 1); align-self:center; margin:0 4px; min-width:0; height:24px; display:flex; align-items:center; justify-content:center; border-left:2px solid; border-radius:2px; font-size:11px; line-height:1; color:#333; }
.hara-web .activity-event.activity-scan { background:#e2f5f0; border-color:#58c3b0; }
.hara-web .activity-event.activity-reaction { background:#fff0da; border-color:#ffad45; }
.hara-web .activity-event.activity-checkin { background:#f0f6d9; border-color:#c9e265; }
@media(max-width:1100px) and (min-width:761px) {
 .hara-web .activity-event { margin-inline:2px; font-size:9px; }
}
@media(max-width:760px) {
 .hara-web .portal-window--overview .profile-grid { grid-template-columns:1fr; gap:6px; }
 .hara-web .portal-window--overview .profile-grid > div { display:grid; grid-template-columns:1fr 1.2fr; gap:8px; }
 .hara-web .portal-window--overview .profile-grid strong { font-size:12px; }
 .hara-web .portal-window--overview .portal-metrics small { font-size:11px; }
 .hara-web .preview-activity-calendar { grid-template-columns:36px repeat(4,minmax(0,1fr)); }
 .hara-web .preview-activity-day:nth-child(n+6) { display:none; }
 .hara-web .preview-activity-day:nth-child(5) .preview-activity-lane { border-right:1px solid #e5e7e2; }
 .hara-web .activity-event { margin-inline:2px; font-size:10px; }
 .hara-web .preview-activity-legend { font-size:11px; gap:8px 12px; }
 .hara-web .portal-window--overview .portal-card-heading small { font-size:11px; }
}

.activity-range-small { display:none; }
@media(max-width:760px) { .activity-range-small { display:inline; } .activity-range-wide { display:none; } }

/* Stress preview: fixed score domain, daily spacing, points only for observed days. */
.hara-web .stress-chart-legend { display:flex; align-items:center; gap:16px; margin:0 0 10px; color:var(--portal-muted); font-size:10px; line-height:1.4; }
.stress-chart-legend > span { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.stress-chart-legend i { position:relative; display:inline-block; width:18px; border-top:1.5px solid #abc65a; }
.stress-key-recorded::after { content:''; position:absolute; width:4px; height:4px; top:-3px; left:7px; background:#abc65a; border:1px solid #fff; border-radius:50%; }
.stress-chart-legend .stress-key-gap { border-top-style:dashed; border-color:#9aa58a; }
.stress-chart { display:grid; grid-template-columns:18px minmax(0,1fr); grid-template-rows:88px 16px; gap:7px 8px; padding:2px 5px 0 0; }
.stress-y-axis { position:relative; color:var(--portal-muted); font-size:10px; }
.stress-y-axis > span { position:absolute; right:0; transform:translateY(-50%); line-height:1; }
.stress-plot { position:relative; min-width:0; border-left:1px solid #d8dcd4; border-bottom:1px solid #d8dcd4; }
.hara-web .preview-stress-card .stress-plot svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.stress-grid path { fill:none; stroke:#e8ebe4; stroke-width:1; vector-effect:non-scaling-stroke; }
.stress-grid .stress-grid-vertical { stroke-dasharray:2 4; }
.stress-lines path { fill:none; stroke:#abc65a; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.stress-lines .stress-gap { stroke:#9aa58a; stroke-width:1.2; stroke-dasharray:3 4; }
.stress-point { position:absolute; display:block; width:5px; height:5px; transform:translate(-50%,-50%); border:1px solid white; border-radius:50%; background:#abc65a; box-shadow:0 0 0 .5px #abc65a; }
.stress-x-axis { grid-column:2; position:relative; color:var(--portal-muted); font-size:10px; line-height:1.4; }
.stress-x-axis > span { position:absolute; transform:translateX(-50%); white-space:nowrap; }
.stress-x-axis > span:first-child { transform:none; }
.stress-x-axis > span:last-child { transform:translateX(-100%); }
.hara-web .portal-window--health .mini-timeline { height:24px; margin:8px 0 6px; }
.hara-web .portal-window--health .checkin-table > div { min-height:24px; }
.hara-web .portal-window--health .portal-person { margin-bottom:6px; }
.hara-web .portal-window--health .portal-tabs { margin-bottom:8px; }

/* The source Portal scrolls inside a fixed, borderless demo viewport. */
.hara-web .portal-window--live { display:block; padding:0; overflow:hidden; }
.hara-web .portal-live-frame { display:block; width:100%; height:100%; border:0; background:#f8f9f7; }

.hara-web .care-web-intro > p { max-width:760px; }

/* The care workflow follows records from capture through team and research use. */
.hara-web #care-workflows .practice-steps { grid-template-columns:repeat(5,minmax(0,1fr)); }
.hara-web[data-hara-page='clinicians'] #care-workflows-title { font-family: HaraWebDisplay, Georgia, serif; }
.hara-web #care-workflows .practice-steps > li:nth-child(1)::before { color: var(--web-demo-green); }
.hara-web #care-workflows .practice-steps > li:nth-child(2)::before { color: var(--web-demo-orange); }
.hara-web #care-workflows .practice-steps > li:nth-child(3)::before { color: var(--web-demo-coral); }
.hara-web #care-workflows .practice-steps > li:nth-child(4)::before { color: var(--web-demo-mint); }
.hara-web #care-workflows .practice-steps > li:nth-child(5)::before { color: #b8a7e8; }
.hara-web #care-workflows .practice-steps > li::before { font-size: 14px; font-weight: 500; }
@media(max-width:1100px) {
 .hara-web #care-workflows .practice-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .hara-web #care-workflows .practice-steps li:nth-child(odd) { border-left:0; }
 .hara-web #care-workflows .practice-steps li:nth-child(n+3) { border-top:1px dashed var(--web-line); }
 .hara-web #care-workflows .practice-steps li:last-child { grid-column:1/-1; }
}
@media(max-width:760px) {
 .hara-web #care-workflows .practice-steps { grid-template-columns:1fr; }
}

/* One continuous perforated-paper edge per Q&A frame. */
.hara-web .web-faq-paper { position:relative; isolation:isolate; }
.hara-web .web-faq-paper::before,
.hara-web .web-faq-paper::after { content:''; position:absolute; pointer-events:none; z-index:2; }
.hara-web .web-faq-paper::before { top:14px; bottom:14px; left:7px; width:10px; background:radial-gradient(circle at 5px 5px,#edeee9 3.5px,transparent 4px) 0 0/10px 22px repeat-y; }
.hara-web .web-faq-paper::after { top:0; bottom:0; left:24px; border-left:1px dashed #e5e6e1; }
.hara-web[data-hara-page] :is(.pricing-faq, #faq > .practice-split, .dm-faq.web-faq-frame).web-faq-paper > :first-child,
.hara-web[data-hara-page='home'] #get-started .web-faq-paper .cta-content { padding-left:calc(var(--web-panel-space) + 20px); }
.hara-web .web-faq-paper--standalone { padding-left:44px; }

/* Use the display face for FAQ titles and questions, including inline article FAQs. */
.hara-web[data-hara-page] :is(
  .cta-panel:has(.faq) .cta-content h2, .cta-panel:has(.faq) .cta-content .serif-accent, .faq-question,
  .pricing-faq h2, .faq-layout h2, .faq-layout summary, .practice-faq summary,
  #faq h2, #faq h3, #faq summary, .aeo-published-faq :is(h2,h3),
  h2#faq, h3#faq, .faq-toggle h3,
  h2#faq ~ h3:not(:where(h2#faq ~ h2 ~ h3)),
  :is(h2,h3)#faq ~ p:not(:where(#faq ~ :is(h2,h3) ~ p)) > strong:first-child
) { font-family:HaraWebDisplay,Georgia,serif; }
.hara-web[data-hara-page='home'] #get-started #faq .faq-question { font-family: HaraWebSans, Arial, sans-serif; }
@media(max-width:760px) {
 .hara-web[data-hara-page] :is(.pricing-faq, #faq > .practice-split, .dm-faq.web-faq-frame).web-faq-paper > :last-child,
 .hara-web[data-hara-page='home'] #get-started .web-faq-paper .faq { padding-left:calc(var(--web-panel-space) + 20px); }
}

/* Color is reserved for the comparison's key values; cells stay white. */
.hara-web .comparison-band .plan-highlight { font-weight:600; color:var(--web-accent); }
.hara-web .comparison-band .plan-highlight--mint { color:var(--web-demo-mint); }
.hara-web .comparison-band .plan-highlight--orange { color:var(--web-demo-orange); }

/* Homepage and Care Portal typography hierarchy. Keep body and handwriting light. */
.hara-web:is([data-hara-page="home"],[data-hara-page="clinicians"]) :is(.story-copy h2,.care-feature-heading h2,.data-flow-title,#home-learning-title,.jitai-spiral-heading h2,#future-conditions-title,.care-workflow-intro h2,.practice-section h2,.cta-content h2) { font-weight:500!important; }
.hara-web:is([data-hara-page="home"],[data-hara-page="clinicians"]) :is(.care-feature-option-title,.care-connected-heading h3,.practice-steps h3,.faq-question,.practice-faq summary) { font-weight:500!important; }
.hara-web:is([data-hara-page="home"],[data-hara-page="clinicians"]) :is(.health-loop-title,.health-loop-cell h3,.health-step-label h3) { font-weight:600!important; }

/* All homepage display-serif text uses Lora Medium, including titles rendered on demand. */
.hara-web[data-hara-page="home"] :is(
  #hero-title, [data-story-title], #home-care-feature-title, #get-started-title,
  .health-step-label h3, span.health-step-label, .learning-preview h3
) { font-weight: 500 !important; }


/* Public-site reading sizes, from introductions to source notes. */
.hara-web[data-hara-page] :is(.nb-hero-lead, .care-web-intro > p, .pricing-hero p,
  .blog-intro, .condition-intro > p:not(.flow-eyebrow), .dm-answer, .article-dek) {
  font-size: var(--web-text-lead);
  line-height: var(--web-text-leading);
}
.hara-web.article-page .article-copy :is(p, li) {
  font-size: var(--web-text-lead);
  line-height: 1.65;
}
.hara-web[data-hara-page] :is(.story-copy p, .care-feature-option-copy, .condition-copy p,
  .cta-content > p, .faq-answer, .web-faq-list details p, .practice-faq details p, .care-faq-contact p,
  .blog-card-body p, .nb-card-body p, .help-card p, .plan-summary, .capacity,
  .dm-steps article p, .dm-section-heading > p:not(.dm-eyebrow), .dm-demo-heading > p:not(.dm-eyebrow)) {
  font-size: var(--web-text-body);
  line-height: var(--web-text-leading);
}
.hara-web[data-hara-page] :is(.hero-reminder p, .health-step-body dt, .health-step-body dd,
  .sidebar-card p) {
  font-size: var(--web-text-small);
  line-height: 1.5;
}
.hara-web[data-hara-page] :is(.reminder-reason, .medical-note, .demo-source-note,
  .dm-small, .audience-date, .audience-table-hint, .billing-note, .plan-footnote) {
  font-size: var(--web-text-caption);
  line-height: 1.45;
}
@media (max-width: 720px) {
  .hara-web { --web-text-lead: var(--web-text-body); }
}
