/* Shared public-site typography, surfaces, and controls. */
:root {
  --bg: #f7f9f8;
  --bg-dark: #101f1a;
  --ink: #172a23;
  --water: #176449;
  --water-light: #207c5b;
  --mist: #edf1ef;
  --rule: #dbe3df;
  --serif: 'Instrument Sans', Arial, sans-serif;
}
body { -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: var(--sans); }
a, button, input, select, textarea, [tabindex] { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #4d9f83; outline-offset: 4px; }
body > nav { padding: 1rem clamp(1.25rem, 4vw, 4rem); background: #101f1a; backdrop-filter: none; }
.nav-links { gap: 1.6rem; }
.nav-links a { font-family: var(--sans); font-size: .875rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: #c6d2cc; }
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-links .nav-cta { font-size: .875rem !important; letter-spacing: 0 !important; border-radius: 6px; padding: .55rem 1rem; }
.mobile-menu a { font-weight: 500; font-size: 1.8rem; }
.section-label, .research-brief-label { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.section-title, .hero h1, .support-hero h1, .page-hero h1 { font-weight: 600; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; letter-spacing: -.035em; }
h1 em, h2 em { font-style: normal; }
.cinema-hero { min-height: min(740px, calc(100svh - var(--header-height, 80px))); }
.cinema-content { padding: 4rem clamp(1.5rem, 4vw, 4.5rem); }
.cinema-title { font-family: var(--sans); font-size: clamp(2.75rem, 4.5vw, 4.5rem); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; max-width: 10em; }
.cinema-title em { font-style: normal; color: #8ed3b8; }
.cinema-copy { font-size: 1.1rem; line-height: 1.65; color: #c6d2cc; max-width: 32rem; margin-top: 1.5rem; }
.cinema-button, .cinema-text-link, .btn-primary, .btn-secondary { font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: 0; text-transform: none; border-radius: 6px; }
.cinema-button { padding: .85rem 1.2rem; }
.cinema-caption { font-size: .85rem; color: #a5bbb0; margin-top: 2rem; }
.features-strip { padding-top: 5rem; padding-bottom: 5rem; }
.strip-inner, .one-pot-inner, .research-proof { max-width: 1280px; }
.strip-header { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.research-video { height: 240px; border-radius: 8px; overflow: hidden; }
.research-video video { width: 100%; height: 100%; object-fit: cover; }
.features-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
.feat-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.feat-card:hover { transform: none; box-shadow: none; }
.feat-card-img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0 0 1.25rem; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: #edf1ef; }
.feat-card-img > img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.feat-card-img--dashboard > img { object-position: left top; object-fit: contain; background: #f7f9f8; }
.feat-card h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: .55rem; }
.feat-card p { font-size: .95rem; color: #53665d; line-height: 1.6; }
.feature-link { display: inline-block; font-size: .9rem; font-weight: 600; margin-top: .8rem; color: var(--water); text-decoration: none; }
.feature-link:hover { text-decoration: underline; }
.one-pot { border-block: 1px solid var(--rule); background: #fff; }
.one-pot-card, .one-pot-record { border-color: var(--rule); border-radius: 8px; box-shadow: none; }
.one-pot-lede { max-width: 40rem; font-size: 1rem; }
.one-pot-record h3 { font-family: var(--sans); font-size: 1.25rem; font-weight: 600; }
.one-pot-fine { color: #607168; font-size: .8rem; line-height: 1.5; }
.research-proof { margin: 0 auto; padding: 4rem 3rem; }
.research-proof .research-brief { max-width: none; display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: transparent; border: 0; padding: 0; }
.research-proof .research-brief h3 { font-family: var(--sans); font-size: 1.5rem; font-weight: 600; margin: .5rem 0; letter-spacing: -.025em; }
.research-proof .research-brief a { flex: none; font-family: var(--sans); font-weight: 600; font-size: .9rem; letter-spacing: 0; text-transform: none; }
.cta-strip { background: #edf3ef; border-top: 1px solid var(--rule); padding: 3.5rem 1.5rem; }
.cta-strip h2 { color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: 2rem; letter-spacing: -.03em; }
.cta-strip p { color: #53665d; font-size: 1rem; }
.app-card { border-color: var(--rule); background: #fff; box-shadow: none; border-radius: 8px; }
.app-card-title { font-size: 1.6rem; font-weight: 600; letter-spacing: -.025em; }
.app-card-num, .founder-num { display: none; }
.app-card-desc, .app-intro-copy, .team-intro-desc, .q-intro { color: #53665d; }
.why-bullet-title { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 600; }
.why-bullet-desc { font-size: .9rem; }
.founder-name { font-weight: 600; letter-spacing: -.025em; font-size: 1.7rem; }
.founder-card { box-shadow: none; }
.founder-bio { font-size: .95rem; line-height: 1.7; }
.form-title { font-family: var(--sans); font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; }
.form-subtitle, .form-hint { color: #53665d; }
footer .footer-tagline { font-style: normal; }
@media (max-width: 900px) {
  .cinema-hero { min-height: auto; }
  .cinema-content { padding-block: 3.5rem; }
  .cinema-title { font-size: clamp(2.75rem, 7vw, 4rem); }
  .strip-header { grid-template-columns: 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .feat-card-img { max-height: 340px; }
  .features-strip { padding-block: 3rem; }
  .research-proof { padding: 3rem 1.5rem; }
  .research-proof .research-brief { align-items: flex-start; flex-direction: column; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Remove inherited editorial-card grid rules at wide breakpoints. */
.features-grid { background: transparent; border: 0; }
.feat-card { display: flex; flex-direction: column; min-height: 0; }
.feat-card-img { max-width: none; align-self: auto; cursor: zoom-in; }
.feat-card p { opacity: 1; }
.research-proof .research-brief { flex-direction: row; }
@media (max-width: 900px) { .research-proof .research-brief { flex-direction: column; } }

.app-intro-grid { margin-bottom: 2.5rem; padding-bottom: 0; }
.app-intro-copy { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; max-width: 48rem; font-size: 1rem; line-height: 1.7; }
.support-heading h1 { font: 600 clamp(2rem,4vw,3.25rem)/1.12 var(--sans); letter-spacing: -.035em; }
.app-card-icon { display: none; }
.portal-demo-frame { border: 1px solid var(--rule); border-radius: 8px; }

/* Common public trust links and document pages. */
.site-policy-links{display:flex;flex-wrap:wrap;gap:16px;padding:0;background:transparent;font-size:12px;line-height:1.5}
.site-policy-links a{color:#bbc8c0;text-decoration:none}.site-policy-links a:hover{text-decoration:underline;color:white}
.public-document{max-width:860px;margin:0 auto;padding:72px 28px 90px;color:#193127;font-family:'Instrument Sans',sans-serif;font-size:16px;line-height:1.75}
.public-document h1{font-size:clamp(32px,5vw,46px);letter-spacing:-.04em;line-height:1.1;margin:12px 0 24px}
.public-document h2{font-size:22px;letter-spacing:-.025em;margin-top:36px;line-height:1.35}
.public-document a{color:#176449;text-underline-offset:3px}.public-document .eyebrow{font-size:12px;color:#52685b}
.public-document .document-lead{font-size:19px;color:#52685b}.public-document .document-note{border-left:3px solid #a3b5a8;padding:10px 18px;background:#eef2ec}
@media(max-width:700px){.site-policy-links{justify-content:center}.public-document{padding:42px 20px 60px}}

/* Final shared public-site rhythm and accessible controls. */
:root { --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html { scroll-padding-top: 6rem; }
body { font-family: var(--sans); text-rendering: optimizeLegibility; }
main, section, article, .form-row > *, .software-tour-heading > * { min-width: 0; }
p { text-wrap: pretty; }
.section-title { text-wrap: balance; }
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; }
.nav-links .nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; background: #2456d6; color: #fff; }
.nav-links a.active { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #7cbf9e; }
.cinema-button, .btn-primary, .btn-secondary, .submit-btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; line-height: 1.35; }
.cinema-text-link, .feature-link { text-underline-offset: 4px; }
.cinema-button:hover { background: #e4efe8; color: #10251e; }
.cinema-stats dd { font-variant-numeric: tabular-nums; }
.features-strip, .one-pot { padding-inline: clamp(20px, 4vw, 64px); }
.feat-card p { max-width: 48ch; }
.feat-card-img { transition: border-color .2s; }
.feat-card-img:hover { border-color: #849f8d; }
.form-group label { font-family: var(--sans); font-size: .875rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #344e40; }
.form-group input, .form-group select, .form-group textarea { min-height: 48px; font-size: 16px; line-height: 1.5; border-radius: 7px; border-color: #aebfb4; background-color: #fff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #176449; box-shadow: 0 0 0 3px #17644916; }
.quote-form-wrap { border-radius: 12px; }
.submit-btn { font: 600 1rem/1.4 var(--sans); border-radius: 7px; letter-spacing: 0; text-transform: none; }
.form-msg { border-radius: 7px; font-family: var(--sans); line-height: 1.6; }
.faq-item summary { min-height: 54px; }
.site-policy-links a, footer a { text-underline-offset: 4px; }
.mobile-menu a { line-height: 1.4; }
@media (min-width: 2200px) {
  .strip-inner, .one-pot-inner, .research-proof { max-width: 1500px; }
  .cinema-content { max-width: 950px; margin-left: auto; width: 100%; }
}
@media (max-width: 700px) {
  body > nav { padding-inline: 20px; }
  .cinema-content { padding-inline: 20px; }
  .cinema-actions { align-items: flex-start; flex-wrap: wrap; }
  .cinema-button { min-width: 0; }
  .software-tour-play { max-width: calc(100% - 32px); }
  .quote-form-wrap { padding: 24px 18px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.strip-summary { max-width: 46ch; justify-self: end; align-self: center; }
.strip-summary p { color: #53665c; font-size: 1.05rem; line-height: 1.7; margin-bottom: .75rem; }
@media (max-width: 900px) { .strip-summary { justify-self: start; } }

/* The one-pot explainer responds to the researcher’s choices, entirely offline. */
.one-pot-inner { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 32px; }
.one-pot-card { gap: 16px; padding: clamp(16px, 2vw, 28px); }
.one-pot-controls label { font: 600 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.one-pot-controls label strong { font: 500 26px/1.2 var(--mono); color: var(--target-color); font-variant-numeric: tabular-nums; }
.one-pot-controls input[type="range"] { min-height: 40px; touch-action: pan-y; }
.one-pot-presets { width: 100%; }
.one-pot-presets button { min-height: 40px; }
.one-pot-view-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.one-pot-view-actions button { padding: 9px 12px; min-height: 40px; border: 1px solid #bdcec2; border-radius: 6px; background: #fff; color: #315b43; font: 600 13px/1.3 var(--sans); cursor: pointer; }
.one-pot-view-actions button:hover, .one-pot-view-actions button[aria-pressed="true"] { background: #eaf3ed; border-color: #719b81; }
.one-pot-view-actions > span { margin-left: auto; font-size: 12px; color: #53665d; font-variant-numeric: tabular-nums; }
.one-pot-chart { width: 100%; height: clamp(300px, 27vw, 390px); overflow: visible; }
.one-pot-selected { stroke-width: 3.4; stroke-linecap: round; }
.one-pot-area { fill-opacity: .075; }
.one-pot-dry { fill: none; stroke: #727c74; stroke-width: 1.6; stroke-dasharray: 6 5; opacity: .85; }
.one-pot-previous { fill: none; stroke-width: 1.8; stroke-dasharray: 2 5; }
.one-pot-comparison { stroke-width: 1.8; opacity: .8; }
.one-pot-comparison.is-entering { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: one-pot-enter 700ms ease-out var(--trace-delay, 0ms) forwards; }
.one-pot-water-shade { fill: #286995; opacity: .055; }
.one-pot-opening { stroke-width: 1.8; }
.one-pot-water-event.is-new .one-pot-opening { animation: one-pot-water 480ms ease-out; transform-box: fill-box; transform-origin: center; }
.one-pot-playhead { stroke: #284f3b; stroke-width: 1; stroke-dasharray: 3 3; }
.one-pot-live-point { fill: var(--target-color); stroke: white; stroke-width: 2; }
.one-pot-comparisons { font-size: 12px; line-height: 1.6; gap: 7px 16px; color: #41594b; }
.one-pot-comparisons .is-previous::before { border-top-style: dotted; }
.one-pot-legend { font: 400 12px/1.6 var(--sans); letter-spacing: 0; text-transform: none; gap: 5px 14px; }
.one-pot-legend .key-dry { width: 22px; border-top: 1.6px dashed #727c74; }
.one-pot-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding-top: 16px; border-top: 1px solid var(--rule); }
.one-pot-stats > div { min-width: 0; }
.one-pot-stats dt { color: #53665d; font-size: 12px; line-height: 1.5; }
.one-pot-stats dd { margin: 6px 0 0; color: var(--target-color); font: 500 clamp(19px, 2vw, 25px)/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.one-pot-result { min-height: 2.8em; font-size: 14px; line-height: 1.6; }
.one-pot-fine { font-size: 12px; line-height: 1.6; max-width: 62ch; }
.one-pot-record { padding: 24px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; }
@keyframes one-pot-enter { to { stroke-dashoffset: 0; } }
@keyframes one-pot-water { from { opacity: .3; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 900px) { .one-pot-inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .one-pot-view-actions > span { width: 100%; margin-left: 0; }
  .one-pot-stats { gap: 8px; }
  .one-pot-stats dt { font-size: 11px; }
  .one-pot-record { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .one-pot-comparison.is-entering { animation: none; stroke-dashoffset: 0; } .one-pot-water-event.is-new .one-pot-opening { animation: none; } }

@media (max-width: 520px) { .one-pot-stats dt { min-height: 3em; } }

.one-pot-stats > div { display: grid; grid-template-rows: 1fr auto; }

/* Public content remains readable without script-driven reveal effects. */
.reveal { opacity: 1; transform: none; }
body > nav { min-height: 73px; box-sizing: border-box; }
.site-policy-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 700px) {
  .cinema-actions { align-items: flex-start; }
  .cinema-text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .quote-section { padding-top: 112px; }
  .q-sidebar { margin-bottom: 12px; }
  .quote-inner { gap: 24px; }
}

.nav-links { margin: 0; padding: 0; list-style: none; }
.q-direct { padding: 0; border: 0; box-shadow: none; background: transparent; }
.q-direct-label { display: none; }
