/* Marketing composition built from Longetic Global's semantic UI tokens.
   Figma: yY91EjMRdRSBxWWDb6iyaG / 64:6, 576:62, 646:49. */
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-italic-latin.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
.home { overflow-x: clip; --home-motion-ease: cubic-bezier(.22,.8,.24,1); }
html.home-page { scroll-padding-top: 0; }
.home [data-nav-burger] .ph-x { display: none; }
.home [data-nav-burger][data-open="true"] .ph-list { display: none; }
.home [data-nav-burger][data-open="true"] .ph-x { display: inline-block; }
.home [data-nav-menu][data-open="true"] { visibility: visible !important; transition: visibility 0s !important; }
.home [data-nav-menu][data-open="true"] [data-nav-backdrop] { opacity: 1 !important; }
.home [data-nav-menu][data-open="true"] [data-nav-panel] { transform: translateX(0) !important; }
.home [data-nav-panel] a:focus-visible, .home [data-nav-panel] button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.home h1, .home h2, .home h3, .home p { margin: 0; }
.home h1, .home h2, .home h3 { font-weight: 500; }
.home h1 { font-size: clamp(44px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -.035em; color: var(--title); }
.home h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.14; letter-spacing: -.03em; color: var(--title); }
.home h3 { letter-spacing: -.015em; line-height: 1.3; }
.home p { line-height: 1.6; color: var(--ink-2); }
.home .lg-eyebrow { margin-bottom: 16px; font-size: 16px; line-height: 1.5; }
.home main > section { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; scroll-margin-top: 0; }
.home-section { padding: max(100px, clamp(72px, 9svh, 112px)) 0; }
.home-heading { max-width: 680px; margin-bottom: 32px; }
.home-heading p { margin-top: 20px; font-size: 18px; max-width: 54ch; }
.home-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 16px; font-weight: 500; text-decoration: none; }
.home-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-hero { position: relative; isolation: isolate; overflow: clip; padding: 124px 0 48px; background: #f1f4f9; }
@media (min-width: 768px) {
  .home-hero > .lg-container { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(32px, 7svh, 88px); }
  .home-hero .hero-layout { flex: 1; }
  .home-hero .hero-summary { margin-top: 0; }
}
.hero-layout { display: grid; grid-template-columns: minmax(0,1fr); align-items: center; }
.hero-copy { position: relative; z-index: 2; max-width: 600px; }
.hero-copy h1 { font-size: clamp(60px, 5vw, 68px); line-height: 1.05; color: #241c16; }
.hero-copy h1 span { color: #241c16; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; background: linear-gradient(#f0f7d5,#f0f7d5) no-repeat 0 65% / 100% .55em; }
.hero-copy > p { max-width: 46ch; margin-top: 24px; font-size: 18px; }
.hero-badge { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.hero-badge::before { content: ''; flex: 0 0 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px var(--accent-subtle); margin: 10px 5px 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.hero-actions .lg-button { min-height: 48px; padding-inline: 24px; font-size: 16px; }
.hero-actions .lg-button i { font-size: 20px; }
.hero-media { position: absolute; z-index: 0; inset: 0 0 0 auto; width: 58vw; height: 100%; min-height: 0; overflow: hidden; background: transparent; pointer-events: none; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f1f4f9 0%, #f1f4f9 34%, rgba(241,244,249,.82) 52%, rgba(241,244,249,.2) 80%, rgba(241,244,249,.62) 100%), linear-gradient(0deg, #f1f4f9 0%, rgba(241,244,249,.75) 11%, transparent 44%), linear-gradient(180deg, #f1f4f9 0%, transparent 22%); }
.hero-media video { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .85; }
.home [data-hero-sub-short], .home [data-hh-short] { display: none; }
.hero-summary {
  position: relative; z-index: 1; display: grid; width: 100%;
  grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0;
  padding: 24px; margin-top: 32px; border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 1px 3px rgba(34,40,50,.05);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-summary {
    background: rgba(255,255,255,.64);
    border-color: rgba(255,255,255,.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .hero-summary { background: var(--surface); border-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.hero-summary > div { display: flex; min-width: 0; padding: 0 24px; gap: 16px; align-items: center; }
.hero-summary > div:first-child { padding-left: 0; }
.hero-summary > div:last-child { padding-right: 0; }
.hero-summary > div + div { border-left: 1px solid var(--line); }
.hero-summary .onboarding-icon-tile { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; margin: 0; padding: 0; border: 1px solid var(--accent-line); border-radius: 12px; background: linear-gradient(145deg, var(--accent-subtle), #edf8f4); color: var(--title); font-size: initial; line-height: 1; }
.onboarding-icon-tile img { display: block; }
.hero-summary strong { display: block; font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--title); }
.hero-summary span { display: block; margin-top: 3px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.hero-summary .onboarding-icon-tile { margin-top: 0; color: inherit; line-height: 1; }
.feature-section { background: var(--surface); }
.problem-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 48px; align-items: center; }
.problem-layout .home-heading { margin-bottom: 0; }
.home-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.home-chips > span { padding: 7px 12px; border-radius: var(--r-pill); background: var(--surface); font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.feature-section .home-chips > span { background: var(--bg); }
.history-resolution { font-family: 'Fraunces', Georgia, serif; font-weight: 400; }
.record-convergence { position: relative; isolation: isolate; min-width: 0; width: 100%; max-width: 720px; margin-inline: auto; display: grid; grid-template-columns: minmax(0,1fr) 100px minmax(0,1fr); grid-template-rows: 145px 140px 145px; gap: 24px 16px; align-items: start; }
.record-source-group { position: relative; z-index: 1; width: max-content; max-width: 100%; min-width: 0; }
.record-source-paper { grid-area: 1 / 1; }
.record-source-email { grid-area: 1 / 3; justify-self: end; }
.record-source-wearables { grid-area: 3 / 3; justify-self: end; }
.record-source-group h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; line-height: 1.4; font-weight: 500; white-space: nowrap; }
.record-source-group h3 img { display: block; flex: 0 0 28px; }
.record-entries { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.record-entries li { min-width: 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.record-entry-label { display: inline-block; max-width: 100%; }
.record-hub { position: relative; z-index: 1; grid-area: 2 / 2; justify-self: center; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; width: max-content; text-align: center; }
.record-hub .record-mark { display: block; width: 64px; height: 64px; margin-bottom: 4px; transform-origin: center; }
.record-hub h3 { font-size: 24px; line-height: 1.25; font-weight: 500; white-space: nowrap; }
.record-hub > span { font-size: 18px; line-height: 1.5; color: var(--ink-2); white-space: nowrap; }
[data-record-port] { position: absolute; top: 28px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform-origin: center; }
[data-record-port="paper"] { left: calc(50% - 34px); }
[data-record-port="email"] { left: calc(50% + 29px); }
[data-record-port="wearables"] { left: calc(50% - 2.5px); top: calc(100% + 14px); }
.convergence-connections { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.convergence-wire, .convergence-signal, .convergence-particle { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.convergence-wire { stroke: rgba(36,28,22,.25); stroke-width: 1; }
/* A tiny round-capped dash reads as a point. A 112-unit period keeps the
   next point outside each normalized 100-unit strand throughout its journey. */
.convergence-signal, .convergence-particle { stroke: var(--accent); stroke-width: 7; stroke-dasharray: .1 111.9; stroke-dashoffset: .1; opacity: 0; }
.steps-section { background: var(--dark-glow); }
.steps-section .home-heading h2 { color: var(--on-dark); }
.steps-section .home-heading p { color: var(--on-dark-2); }
.steps-section .home-chips { gap: 8px 18px; margin-top: 18px; }
.steps-section .home-chips > span { padding: 0; background: none; border: 0; color: var(--on-dark-2); font-size: 14px; }
.workflow { margin-top: 40px; }
.workflow-step { min-width: 0; }
.workflow-step summary { position: relative; display: block; padding: 22px 36px 22px 0; border-top: 1px solid var(--on-dark-line); cursor: pointer; list-style: none; color: var(--on-dark); }
.workflow-step summary::-webkit-details-marker { display: none; }
.workflow-step summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; box-shadow: none; }
.workflow-step .step-label { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 14px; color: var(--on-dark-2); }
.workflow-step .step-number { color: inherit; font-variant-numeric: tabular-nums; }
.workflow-step h3 { color: var(--on-dark-2); font-size: 22px; line-height: 1.35; font-weight: 500; }
.workflow-step[open] h3 { color: var(--on-dark); }
.workflow-step[open] .step-number { color: var(--accent); }
.workflow-chevron { position: absolute; right: 6px; top: 45px; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.workflow-step[open] .workflow-chevron { transform: rotate(-135deg); color: var(--accent); }
.workflow-step h3, .workflow-step .step-number { transition: color 220ms ease; }
.workflow-chevron { transition: transform 360ms cubic-bezier(.16,1,.3,1), color 220ms ease; }
.workflow-step summary::before { content: ''; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 420ms cubic-bezier(.16,1,.3,1); }
.workflow-step[open] summary::before { transform: scaleX(1); }
.workflow-detail { min-width: 0; width: 100%; max-width: 460px; padding-bottom: 28px; }
.workflow-step:not([open]) .workflow-detail { display: none; }
.workflow-detail > p { max-width: 46ch; margin: 0 0 28px; color: var(--on-dark-2); font-size: 18px; }
.step-example { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); padding: 28px; }
.workflow-detail .step-example { margin: 0; width: 100%; }
.workflow-detail .example-heading { font-size: 17px; }
.workflow-detail .example-heading > span { flex-basis: auto; margin-left: auto; }
.workflow-detail .lab-values > div { padding: 14px 0; font-size: 16px; }
.workflow-detail .gauge-example { padding: 28px; }
.workflow-detail .reminder-list > div { flex-wrap: nowrap; gap: 12px; padding: 18px 0; }
.workflow-detail .reminder-list time { flex-basis: auto; margin-left: auto; }
/* One finite sequence per selection. Native details remain fully usable without JS. */
.workflow-step[open][data-workflow-motion="playing"] .workflow-detail > p { animation: workflow-copy-in 420ms cubic-bezier(.16,1,.3,1) both; }
.workflow-step[open][data-workflow-motion="playing"] .step-example { animation: workflow-card-in 620ms cubic-bezier(.16,1,.3,1) 60ms both; }
.workflow-step[open][data-workflow-motion="playing"] :is(.lab-values > div, .reminder-list > div, .summary-list > li) { animation: workflow-row-in 480ms cubic-bezier(.16,1,.3,1) 160ms both; }
.workflow-step[open][data-workflow-motion="playing"] :is(.lab-values > div, .reminder-list > div, .summary-list > li):nth-child(2) { animation-delay: 230ms; }
.workflow-step[open][data-workflow-motion="playing"] :is(.lab-values > div, .reminder-list > div, .summary-list > li):nth-child(3) { animation-delay: 300ms; }
.workflow-step[open][data-workflow-motion="playing"] .gauge-arc-track { animation: workflow-gauge-draw 1000ms cubic-bezier(.22,.8,.24,1) 160ms both; }
.workflow-step[open][data-workflow-motion="playing"] .gauge-arc-marker { animation: workflow-marker-in 520ms cubic-bezier(.16,1,.3,1) 380ms both; }
.workflow-step[open][data-workflow-motion="playing"] .gauge-arc-halo { animation: workflow-result-halo 1000ms ease-out 660ms both; }
.workflow-step[open][data-workflow-motion="playing"] .gauge-status { animation: workflow-row-in 480ms cubic-bezier(.16,1,.3,1) 600ms both; }
@keyframes workflow-copy-in { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes workflow-card-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes workflow-row-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes workflow-gauge-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes workflow-marker-in { from { opacity: 0; transform: scale(.65); } to { opacity: 1; transform: scale(1); } }
@keyframes workflow-result-halo { 0% { opacity: 0; transform: scale(.8); } 20% { opacity: .28; } 100% { opacity: 0; transform: scale(2.4); } }
.workflow-motion-static .workflow-step :is(h3, .step-number, .workflow-chevron), .workflow-motion-static .workflow-step summary::before { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .workflow-step :is(h3, .step-number, .workflow-chevron), .workflow-step summary::before { transition: none; }
  .workflow-step[open][data-workflow-motion="playing"] :is(.workflow-detail > p, .step-example, .lab-values > div, .reminder-list > div, .summary-list > li, .gauge-arc-track, .gauge-arc-marker, .gauge-arc-halo, .gauge-status) { animation: none; }
}
/* Browsers without ::details-content retain the native stacked accordion. */
@supports selector(details::details-content) {
  @media (min-width: 768px) {
    .workflow { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: repeat(4,auto); gap: 0 clamp(32px,6vw,80px); align-items: start; }
    .workflow-step, .workflow-step::details-content { display: contents; }
    .workflow-step summary { grid-column: 1; }
    .workflow-step:nth-child(1) summary { grid-row: 1; }
    .workflow-step:nth-child(2) summary { grid-row: 2; }
    .workflow-step:nth-child(3) summary { grid-row: 3; }
    .workflow-step:nth-child(4) summary { grid-row: 4; }
    .workflow-detail { grid-column: 2; grid-row: 1 / span 4; align-self: start; justify-self: start; margin-top: -64px; padding-bottom: 0; }
  }
}
.example-heading { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.example-heading strong { font-weight: 500; flex: 1; }
.example-heading > i { font-size: 22px; }
.example-heading > img { display: block; flex: 0 0 24px; }
.example-heading > span { font-size: 13px; color: var(--ink-2); }
.lab-values { margin: 12px 0 0; }
.lab-values > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.lab-values dd { margin: 0; font-weight: 500; }
.lab-values dd span { margin-left: 6px; font-size: 13px; color: var(--ink-2); font-weight: 400; }
.gauge-example { display: grid; grid-template-areas: "arc" "limits" "status"; row-gap: 4px; margin-top: 24px; padding: 16px 20px; }
.gauge-value { grid-area: arc; z-index: 1; align-self: end; justify-self: center; margin: 0 0 12px; text-align: center; color: var(--title); font-size: 32px; line-height: 1.2; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.gauge-value > span { font-size: 16px; color: var(--ink-2); letter-spacing: 0; }
.gauge-arc { grid-area: arc; display: block; width: 100%; max-width: 240px; height: auto; margin: 0 auto; overflow: visible; }
.gauge-arc-track { fill: none; stroke: var(--accent); stroke-width: 14; stroke-linecap: round; opacity: .45; }
.gauge-arc-base { fill: none; stroke: var(--line); stroke-width: 14; stroke-linecap: round; opacity: .45; }
.gauge-arc-halo { fill: var(--accent); opacity: 0; }
.workflow-detail :is(.gauge-arc-marker, .gauge-arc-halo) { transform-box: fill-box; transform-origin: center; }
.gauge-arc-marker { fill: var(--title); stroke: #fff; stroke-width: 3; }
.gauge-limits, .gauge-status { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.gauge-limits { grid-area: limits; width: 83.333%; max-width: 200px; margin: 0 auto; }
.gauge-status { grid-area: status; margin-top: 4px; }
.gauge-status strong { color: var(--ink); font-weight: 500; }
.reminder-list { padding-block: 8px; }
.reminder-list > div { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.reminder-list > div + div { border-top: 1px solid var(--line); }
.reminder-list i { flex: 0 0 24px; width: 24px; font-size: 22px; text-align: center; color: var(--ink-2); }
.reminder-list .step-icon-asset { display: block; flex: 0 0 24px; width: 24px; height: 24px; }
.reminder-list > div > div { flex: 1; min-width: 0; }
.reminder-list strong { font-size: 15px; font-weight: 500; display: block; }
.reminder-list span { font-size: 13px; color: var(--ink-2); display: block; margin-top: 4px; }
.reminder-list time { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.summary-list { list-style: none; margin: 16px 0 0; padding: 0; }
.summary-list li { padding: 12px 0 12px 20px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; position: relative; }
.summary-list li::before { content: ''; position: absolute; top: 21px; left: 0; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.history-heading { max-width: 790px; }
.history-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(40px,5vw,72px); align-items: center; }
.history-copy { min-width: 0; }
.history-visual { min-width: 0; }
.history-copy > p { font-size: 16px; line-height: 1.5; margin-top: 24px; }
.history-stages { display: grid; gap: 16px; }
.history-stages h3 { font-size: 15px; font-weight: 600; }
.history-stages p { font-size: 16px; line-height: 1.45; margin-top: 6px; }
.history-report, .history-panel { padding: 24px; border-radius: 24px; background: var(--surface); }
.history-panel { padding-left: 108px; }
.history-report { margin-top: 0; border: 1px solid var(--line); }
.history-outcome { margin-top: 24px; }
.history-outcome > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-strong); font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.history-outcome > summary::-webkit-details-marker { display: none; }
.history-outcome > summary > span { font-size: 24px; font-weight: 400; transition: transform .2s; }
.history-outcome[open] > summary > span { transform: rotate(45deg); }
.history-year-trace { display: none; align-items: center; gap: 16px; margin: 0 24px 22px; font-size: 13px; color: var(--ink-2); }
.history-year-trace i { flex: 1; height: 1px; background: var(--accent-line); position: relative; }
.history-year-trace i::before, .history-year-trace i::after { content: ''; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.history-year-trace i::before { left: 0; }
.history-year-trace i::after { right: 0; }
.history-controls { display: none; gap: 0; border-bottom: 1px solid var(--line-strong); margin-bottom: 22px; }
#timeline.history-handoff .history-controls:not([hidden]) { display: flex; }
.history-controls[hidden] { display: none; }
.history-controls button { flex: 1; border: 0; border-bottom: 2px solid transparent; padding: 12px 8px 12px 0; margin-bottom: -1px; background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; text-align: left; cursor: pointer; white-space: nowrap; }
.history-controls button[aria-pressed="true"] { border-bottom-color: var(--accent); color: var(--ink); }
.history-controls button:focus-visible, .history-outcome > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 3px; }
.home .history-report .lg-eyebrow { font-size: 14px; margin-bottom: 10px; }
.history-report h3 { font-size: 22px; }
.report-total { padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink-2); }
.report-total strong { color: var(--ink); font-size: 18px; font-weight: 500; }
.history-legend { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 20px -80px; }
.history-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.history-legend span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--event-color); }
.status-out { --event-color: #bb655c; }
.status-neutral { --event-color: #80807e; }
.status-resolved { --event-color: #609f65; }
.status-explained { --event-color: #b78a35; }
.history-event { position: relative; min-height: 56px; padding: 0 0 16px 24px; margin-left: 4px; border-left: 1px solid var(--line-strong); }
.history-event:last-child { padding-bottom: 0; border-color: transparent; }
.history-event::before { content: ''; position: absolute; left: -5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--event-color); outline: 4px solid #fff; }
.history-event time { font-size: 14px; color: var(--ink-2); }
.history-event h3 { font-size: 16px; margin-top: 3px; }
.history-event p { font-size: 14px; margin-top: 4px; }
.privacy-section { background: var(--dark-glow); }
.privacy-wrap { color: #fff; padding: 0; }
.privacy-top { display: block; }
.privacy-top h2 { color: #fff; max-width: 20ch; }
.privacy-top p { font-size: 18px; color: var(--on-dark-2); max-width: 55ch; margin-top: 24px; }
.privacy-symbol { width: 48px; height: 48px; margin-bottom: 24px; border: 1px solid var(--accent-line); border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--accent-subtle), #edf8f4); }
.privacy-symbol img { display: block; width: 28px; height: 28px; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; margin-top: 64px; padding-top: 32px; border-top: 1px solid #ffffff26; }
.privacy-grid h3 { color: #fff; font-size: 18px; }
.privacy-grid p { margin-top: 12px; font-size: 16px; color: var(--on-dark-2); }
.privacy-wrap .home-link { color: #fff; margin-top: 32px; }
.library-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 18px; }
.library-card { display: flex; flex-direction: column; min-width: 0; border-radius: 24px; background: #fff; color: var(--ink); text-decoration: none; overflow: hidden; scroll-snap-align: start; }
.library-card-art { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg); }
.library-card-picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; aspect-ratio: auto; overflow: hidden; background: transparent; }
.library-card-picture img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.library-card-placeholder-mark { position: absolute; top: 50%; left: 50%; width: 24%; min-width: 72px; max-width: 104px; height: auto; transform: translate(-50%,-50%); opacity: .72; pointer-events: none; }
.library-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.library-card-body > span { color: var(--ink-2); font-size: 14px; }
.library-card h3 { font-size: 20px; line-height: 1.25; margin-top: 12px; }
.library-card p { font-size: 16px; margin-top: 12px; }
.library-card .library-read { display: flex; justify-content: space-between; margin-top: auto; padding-top: 24px; font-size: 15px; color: var(--ink); }
.library-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.library-controls { display: flex; align-items: center; justify-content: end; gap: 8px; margin-top: 12px; }
.library-progress { min-width: 4.5em; text-align: center; color: var(--ink-2); font-size: 14px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.home-icon-button { width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 20px; }
.home-icon-button:hover:not(:disabled) { background: var(--sunken); }
.home-icon-button:disabled { opacity: .48; background: var(--sunken); color: var(--ink-2); cursor: not-allowed; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-heading p { margin-top: 20px; font-size: 16px; max-width: 30ch; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 24px; font-size: 16px; font-weight: 500; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex-shrink: 0; font-size: 18px; }
.faq-item .ph-minus { display: none; }
.faq-item[open] .ph-minus { display: block; }
.faq-item[open] .ph-plus { display: none; }
.faq-item p { padding: 0 24px 24px; font-size: 16px; }
.faq-toggle { margin-top: 20px; }

.home-cta { position: relative; isolation: isolate; overflow: clip; display: flex; align-items: center; justify-content: center; padding: 0; border-bottom: 1px solid var(--line); background: #fff; }
.home main > section.home-cta { min-height: 100svh; padding: 88px 0 64px; }
.home-cta::before { content: none; }
.home-cta-panel { position: relative; z-index: 1; display: flex; width: 100%; max-width: 900px; margin-inline: auto; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.closing-aura { position: relative; width: min(100%, 600px); aspect-ratio: 340 / 280; flex: 0 0 auto; margin-bottom: -12px; }
.closing-aura canvas, .closing-aura-fallback { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.closing-aura canvas { opacity: 0; }
.closing-aura.is-aura-ready canvas { opacity: 1; }
.closing-aura.is-aura-ready .closing-aura-fallback { opacity: 0; }
.closing-aura-mark { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.closing-aura-mark img { display: block; width: 144px; height: 144px; }
.closing-aura-toggle { position: absolute; right: 8px; bottom: 6px; z-index: 1; min-width: 52px; min-height: 36px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: inherit; font-size: 12px; cursor: pointer; }
.closing-aura-toggle:hover { background: var(--sunken); color: var(--ink); }
.closing-aura-toggle[hidden] { display: none; }
@media (pointer: coarse) { .closing-aura-toggle { min-width: 44px; min-height: 44px; } }
.home-cta-panel h2 { order: 2; max-width: 14ch; font-size: clamp(56px, 5.4vw, 76px); line-height: 1.07; color: #241c16; text-align: center; }
.home-cta-panel h2 .cta-heading-accent { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; }
.cta-lead { order: 2; max-width: 46ch; margin: 0; font-size: 18px; text-wrap: pretty; }
.home-cta-panel > .lg-button { order: 3; min-height: 48px; padding-inline: 24px; font-size: 16px; flex-shrink: 0; }
@media (min-width: 768px) and (max-height: 900px) {
  .home main > section.home-cta { padding: 84px 0 32px; }
  .home-cta-panel { gap: 14px; }
  .closing-aura { width: min(100%, clamp(420px, calc(100svh - 300px), 580px)); margin-bottom: -8px; }
  .closing-aura-mark img { width: 128px; height: 128px; }
  .home-cta-panel h2 { font-size: 64px; }
}
.home .skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; transform: translateY(-200%); background: var(--ink); color: white; padding: 12px 20px; border-radius: 999px; }
.home .skip-link:focus { transform: none; }

.chapter-nav { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; z-index: 40; }
.chapter-nav a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; }
.chapter-nav a::before { content: ''; width: 4px; height: 16px; border-radius: 999px; background: var(--ink); opacity: .24; transition: height .5s var(--home-motion-ease), opacity .5s ease, background .5s ease; }
.chapter-nav a[aria-current]::before { height: 24px; opacity: 1; background: var(--ink); }
.chapter-nav a:hover::before { opacity: .7; }
.chapter-nav[data-chapter-theme="dark"] a::before { background: #fff; }
.chapter-nav[data-chapter-theme="dark"] a[aria-current]::before { background: var(--accent); }
.home [data-nav][data-surface-theme="dark"] { background: rgba(18, 19, 19, .9); border-bottom-color: var(--on-dark-line); box-shadow: 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.home [data-nav][data-surface-theme="dark"] [data-logo] { filter: brightness(0) invert(1); }
.home [data-nav][data-surface-theme="dark"] [data-nav-links] a { color: var(--on-dark-2); }
.home [data-nav][data-surface-theme="dark"] [data-nav-links] a:hover { color: #fff; }
.home [data-nav][data-surface-theme="dark"] [data-signin] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); color: #fff; }
.home [data-nav][data-surface-theme="dark"] [data-nav-burger] { color: #fff !important; }

/* Only the live root can animate; the prerendered/no-JS copy stays visible.
   Checkups prototype 665:33863: 500/550ms, cubic-bezier(.22,.8,.24,1).
   The scroll triggers and capped row stagger are a website adaptation. */
#dc-root [data-home-motion] { transition: opacity .5s var(--home-motion-ease), transform .5s var(--home-motion-ease); }
#dc-root [data-home-motion-state="pending"] { opacity: 0; transform: translateY(28px); }
#dc-root [data-home-motion="deck"][data-home-motion-state="pending"] { transform: translateY(32px) rotate(-1.4deg) scale(.98); }
#dc-root [data-home-motion="deck"] { transition-duration: .55s; }
#dc-root [data-home-motion-state="pending"]:focus-within { opacity: 1; transform: none; }
#dc-root [data-home-motion-state="entered"] :is(.records-list > li, .history-event, .reminder-list > div, .lab-values > div, .summary-list > li) { animation: home-row-in .5s var(--home-motion-ease) var(--motion-delay, 0ms) both; }
@keyframes home-row-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1280px) { .chapter-nav { display: none; } }

@media (max-width: 1024px) {
  .hero-layout { gap: 32px; }
  .problem-layout { gap: 32px; }
  .history-layout, .faq-layout { gap: 32px; }
  .history-panel { padding-left: 80px; }
  .history-legend { margin-left: -52px; }
  .privacy-wrap { padding: 0; }
  .privacy-grid { gap: 24px; }
}
@media (min-width: 768px) and (max-width: 900px) {
  .hero-copy h1 { text-wrap: balance; }
}
@media (max-width: 900px) {
  .hero-media { inset: 0 0 auto auto; width: 82vw; height: 42svh; min-height: 0; }
  .hero-media::after { background: linear-gradient(90deg, #f1f4f9 0%, rgba(241,244,249,.96) 28%, rgba(241,244,249,.56) 60%, rgba(241,244,249,.74) 100%), linear-gradient(0deg, #f1f4f9 0%, rgba(241,244,249,.65) 18%, transparent 78%), linear-gradient(180deg, #f1f4f9 0%, transparent 32%); }
  .hero-summary { grid-template-columns: 1fr; padding: 4px 16px; margin-top: 24px; }
  .hero-summary > div, .hero-summary > div:first-child, .hero-summary > div:last-child { padding: 12px 0; gap: 12px; }
  .hero-summary > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .hero-summary i { flex-basis: 40px; width: 40px; height: 40px; font-size: 20px; }
  .hero-summary .onboarding-icon-tile { flex-basis: 40px; width: 40px; height: 40px; }
  .hero-summary strong { font-size: 18px; }
}
@media (max-width: 1000px) {
  .problem-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .record-convergence { display: flex; flex-direction: column; gap: 24px; max-width: 440px; padding: 0; }
  .record-hub { order: 4; align-self: stretch; display: grid; grid-template-columns: 32px auto; column-gap: 12px; row-gap: 2px; width: 100%; margin: 12px 0 0; padding: 16px; border: 1px solid var(--accent-line); border-radius: 18px; background: var(--accent-subtle); text-align: left; }
  .record-hub .record-mark { grid-column: 1; grid-row: 1 / 3; width: 32px; height: 32px; margin: 0; }
  .record-hub h3 { font-size: 20px; }
  .record-hub > span { grid-column: 2; font-size: 14px; line-height: 1.35; }
  .record-source-group { width: 100%; padding-left: 44px; }
  .record-source-group h3 { width: auto; max-width: 100%; font-size: 18px; }
  .record-source-group h3 img { position: absolute; top: 0; left: 0; width: 26px; height: 26px; background: var(--surface); }
  .record-entries { display: flex; flex-wrap: wrap; margin-top: 6px; gap: 4px 14px; }
  .record-entries li { font-size: 15px; line-height: 1.4; }
  .record-convergence .convergence-wire { stroke-width: 1; stroke: var(--line-strong); }
  .record-convergence .convergence-signal, .record-convergence .convergence-particle { stroke-width: 5; }
  .record-convergence .convergence-particle:not([data-particle-index="0"]) { display: none; }
  [data-record-port="paper"], [data-record-port="email"] { visibility: hidden; }
  [data-record-port="wearables"] { left: 30px; top: -11px; }
}
@media (max-width: 767px) {
  .workflow { margin-top: 32px; }
  .workflow-step summary { padding: 20px 32px 20px 0; }
  .workflow-step h3 { font-size: 21px; }
  .workflow-detail > p { margin-bottom: 20px; font-size: 16px; }
  .workflow-detail .step-example { padding: 20px; }
  .workflow-detail .reminder-list > div { flex-wrap: wrap; }
  .workflow-detail .reminder-list time { flex-basis: 100%; margin-left: 36px; }
  .home-section { padding: 96px 0 72px; }
  .home h1 { font-size: clamp(40px, 9.5vw, 54px); }
  .home h2 { font-size: 32px; }
  .home-hero { padding: 100px 0 28px; }
  .hero-layout, .problem-layout, .history-layout, .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-layout { gap: 20px; }
  .hero-copy { max-width: 560px; }
  .hero-copy h1 { font-size: clamp(36px, 10vw, 40px); line-height: 1.1; text-wrap: balance; }
  .hero-copy > p { margin-top: 20px; font-size: 17px; }
  .hero-badge { margin-bottom: 16px; font-size: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .lg-button { padding-inline: 20px; }
  .home [data-hero-sub-long], .home [data-hh-long] { display: none; }
  .home [data-hero-sub-short], .home [data-hh-short] { display: block; }
  .hero-summary { margin-top: 24px; }
  .home-heading p { font-size: 17px; }
  .history-panel, .history-report { padding: 24px; }
  .history-panel { padding-left: 40px; }
  .history-legend { margin-left: 0; gap: 8px 12px; }
  .history-event { padding-bottom: 12px; }
  .privacy-wrap { padding: 0; }
  .privacy-symbol { display: none; }
  .privacy-top p { font-size: 17px; margin-top: 20px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; padding-top: 28px; }
  .privacy-grid p { margin-top: 8px; }
  .library-scroller { grid-auto-columns: 86%; gap: 16px; }
  .library-card-body { padding: 22px; }
  .faq-layout { gap: 28px; }
  .faq-item summary { padding: 20px; }
  .faq-item p { padding: 0 20px 20px; }
  .home main > section.home-cta { min-height: 100svh; padding: 80px 0 60px; }
  .home-cta-panel { gap: 16px; }
  .closing-aura { width: min(calc(100vw - 24px), 380px); margin-bottom: -6px; }
  .closing-aura-mark img { width: 100px; height: 100px; }
  .home-cta-panel h2 { font-size: clamp(40px, 11vw, 44px); }
  .cta-lead { font-size: 17px; }
  .home-cta-panel > .lg-button { width: auto; }
}
@media (max-width: 359px) {
  .hero-actions { gap: 8px; }
  .hero-actions .lg-button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home [data-nav-menu], .home [data-nav-backdrop], .home [data-nav-panel] { transition: none !important; }
  #dc-root [data-home-motion], #dc-root [data-home-motion-state="pending"], #dc-root [data-home-motion] *, .chapter-nav a::before { animation: none !important; transition: none !important; opacity: 1; transform: none; }
}
