/* Shared visual system, responsive layouts and accessible interaction states. */
:root {
  color-scheme: dark;
  --navy: #081c2a;
  --cyan: #7bdfdf;
  --bg: #081c2a;
  --surface: #102a39;
  --surface-soft: #0c2332;
  --text: #f1f7f7;
  --muted: #b4c9d1;
  --accent: #7bdfdf;
  --accent-ink: #062731;
  --border: #365360;
  --control-border: #5e8291;
  --header: rgba(8, 28, 42, .94);
  --glow: rgba(52, 156, 170, .12);
  --error: #ffb7af;
  --focus: #99eeef;
  --shadow: 0 20px 48px rgba(0, 8, 18, .18);
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --radius: 24px;
  --radius-small: 12px;
  --max-width: 1200px;
  --gutter: clamp(22px, 5vw, 72px);
  --section-space: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --duration: 260ms;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f4f8f7;
    --surface: #ffffff;
    --surface-soft: #e8f1f1;
    --text: #112e3c;
    --muted: #49626d;
    --accent: #086a77;
    --accent-ink: #ffffff;
    --border: #bacfd2;
    --control-border: #6a838f;
    --header: rgba(244, 248, 247, .95);
    --glow: rgba(36, 155, 166, .10);
    --error: #a22d26;
    --focus: #086a77;
    --shadow: 0 20px 48px rgba(18, 57, 68, .08);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.7 var(--font-body); }
::selection { background: var(--accent); color: var(--accent-ink); }
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
button, input, textarea { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.025em; }
h1 { font-size: clamp(3.25rem, 6.6vw, 6rem); line-height: 1.02; margin-bottom: 28px; }
h2 { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.08; margin-bottom: 24px; }
h3 { font-size: 1.22rem; line-height: 1.4; font-weight: 600; margin-bottom: 14px; }
p { max-width: 68ch; margin-bottom: 22px; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--max-width)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-soft { background: var(--surface-soft); }
.eyebrow { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.8; color: var(--muted); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 20; transform: translateY(-160%); background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: var(--radius-small); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--header); border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 650; font-size: 1.28rem; letter-spacing: -.035em; flex-shrink: 0; min-height: 48px; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; background: var(--navy); border-radius: 12px; }
.brand-mark img { width: 39px; height: 39px; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; order: 1; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; font-size: .82rem; font-weight: 500; white-space: nowrap; }
.site-nav a[aria-current='page'] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; }
.portal-link { display: inline-flex; align-items: center; gap: 7px; }
.header-cta { font-size: .8rem; white-space: nowrap; order: 2; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: var(--radius-small); color: var(--text); background: var(--surface); padding: 9px; order: 3; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-small { width: 18px; height: 18px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius-small); background: var(--accent); color: var(--accent-ink); font-weight: 600; line-height: 1.4; text-decoration: none; transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.button:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.button-outline { background: transparent; border-color: var(--border); color: var(--text); }
.button-outline:hover { color: var(--text); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.hero { position: relative; isolation: isolate; overflow: clip; background: radial-gradient(ellipse at 85% 50%, var(--glow), transparent 60%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .16; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23708c98' opacity='.3' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; padding-block: clamp(64px, 8vw, 112px); }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .lead { max-width: 43ch; }
.hero h1 em { font-weight: 500; color: var(--accent); }
.hero-note { margin-top: 28px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .76rem; }
.hero-note::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; background: var(--accent); border-radius: 50%; }
.care-path { color: #dcecee; min-height: 470px; position: relative; background: linear-gradient(145deg, #173e4c, #0b2434 62%); border: 1px solid #3e6470; border-radius: 160px 160px 24px 24px; padding: 45px 35px 30px; box-shadow: 0 24px 64px rgba(0, 8, 18, .15); }
.path-top { text-align: center; font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: #b4cdd4; }
.path-art { display: block; width: 100%; height: 250px; margin: 10px auto 0; }
.path-art .path-line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: trace 2.8s var(--ease) forwards; }
.path-art .path-orbit { transform-origin: center; animation: breathe 4s ease-in-out both; }
.path-caption { padding: 10px 10px 0; text-align: center; }
.path-caption strong { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: #f1f7f7; }
.path-steps { display: flex; justify-content: space-between; margin-top: 25px; padding-top: 20px; border-top: 1px solid #3e6470; font-size: .7rem; color: #c1d5dc; }
.path-steps span { display: flex; align-items: center; gap: 7px; }
.path-steps i { width: 5px; height: 5px; border-radius: 50%; background: #7bdfdf; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: 30px; gap: 28px; }
.fact { padding-left: 28px; border-left: 1px solid var(--border); }
.fact:first-child { border: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--font-display); color: var(--text); font-size: 2.7rem; line-height: 1.1; font-weight: 500; }
.fact span { display: block; color: var(--muted); font-size: .75rem; padding-top: 6px; }
.section-heading { max-width: 700px; margin-bottom: 44px; }
.section-heading .lead { max-width: 52ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-pair { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); padding: 32px; border-radius: var(--radius); transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 34px; }
.card p { color: var(--muted); font-size: .9rem; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: .85rem; font-weight: 600; color: var(--accent); }
.text-link .icon { width: 18px; height: 18px; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.split-start { align-items: start; }
.feature-list { margin: 30px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 15px; align-items: flex-start; padding-block: 18px; border-bottom: 1px solid var(--border); color: var(--muted); }
.feature-list .icon { color: var(--accent); margin-top: 2px; }
.feature-list strong { display: block; font-size: .95rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.feature-list p { font-size: .88rem; }
.platform-visual { border-radius: var(--radius); padding: 40px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.platform-visual .icon { color: var(--accent); width: 38px; height: 38px; margin-bottom: 26px; }
.platform-visual h3 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 500; }
.platform-row { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); }
.platform-row .icon { width: 20px; height: 20px; margin: 0; }
.closing { padding-block: 78px; background: var(--surface-soft); border-top: 1px solid var(--border); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.closing h2 { margin-bottom: 14px; }
.closing .button { flex-shrink: 0; }
.page-hero { padding-block: 80px 72px; background: radial-gradient(ellipse at 80% 0%, var(--glow), transparent 65%); border-bottom: 1px solid var(--border); }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 58ch; }
.page-marker { display: flex; align-items: center; gap: 12px; color: var(--accent); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 28px; }
.page-marker::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.quote-block { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 48px; }
.quote-block p { font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.25; text-wrap: balance; }
.quote-block .icon { width: 38px; height: 38px; color: var(--accent); margin-bottom: 32px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; padding-top: 45px; border-top: 1px solid var(--border); }
.values .icon { color: var(--accent); margin-bottom: 20px; }
.values p { font-size: .9rem; color: var(--muted); }
.service { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 65px; padding-block: 45px; border-top: 1px solid var(--border); }
.service:first-child { padding-top: 0; border-top: 0; }
.service h2 { overflow-wrap: anywhere; font-size: clamp(2.2rem, 4vw, 3.3rem); margin-top: 18px; }
.service .icon { color: var(--accent); width: 36px; height: 36px; }
.service p, .service li { color: var(--muted); }
.service ul { padding-left: 20px; margin: 22px 0; }
.service li { padding-block: 4px; }
.form-panel { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-panel h2 { font-size: 2.7rem; }
.form-note { font-size: .83rem; color: var(--muted); }
.form-note a, details p a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.field { margin-top: 24px; }
.field label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 500; }
.field input, .field textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--control-border); border-radius: var(--radius-small); padding: 13px 14px; min-height: 48px; }
.field textarea { min-height: 145px; resize: vertical; }
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: var(--error); }
.field-error { font-size: .8rem; color: var(--error); margin: 6px 0 0; }
.form-status { font-size: .85rem; margin: 20px 0 0; color: var(--accent); }
.form-status:empty { margin-top: 0; min-height: 1px; }
.form-panel .button { width: 100%; margin-top: 26px; }
.form-panel .draft-link { display: block; margin-top: 14px; }
.faq { max-width: 850px; }
details { border-bottom: 1px solid var(--border); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding-block: 20px; font-size: 1rem; font-weight: 500; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); padding: 0 38px 24px 0; font-size: .93rem; }
.site-footer { padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 60px; padding-bottom: 56px; }
.footer-grid .brand { margin-bottom: 20px; }
.footer-grid p { color: var(--muted); font-size: .85rem; max-width: 32ch; }
.footer-heading { font-size: .83rem; font-weight: 600; margin: 8px 0 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .83rem; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.email-link { overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 24px; display: flex; gap: 24px; justify-content: space-between; font-size: .7rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.reveal { transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-revealing { animation: reveal 700ms var(--ease) both; }
@keyframes reveal { from { opacity: .3; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes breathe { 0%, 100% { opacity: .45; } 50% { opacity: .9; } }
@media (max-width: 1079px) {
  html:not(.menu-ready) .site-header { position: relative; }
  .header-inner { gap: 18px; flex-wrap: wrap; padding-block: 14px; min-height: 80px; }
  .header-cta { margin-left: auto; }
  .site-nav { width: 100%; order: 4; margin: 0; gap: 22px; flex-wrap: wrap; }
  .menu-ready .site-nav { display: none; }
  .menu-ready .site-nav.is-open { display: flex; padding-block: 10px 6px; }
  .menu-ready .menu-toggle { display: inline-grid; place-items: center; }
  .hero-grid { gap: 36px; }
  .care-path { padding-inline: 24px; min-height: 450px; }
  .card { padding: 26px; }
}
@media (max-width: 767px) {
  .header-inner { gap: 10px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark img { width: 34px; height: 34px; }
  .header-cta { min-height: 44px; padding: 11px 13px; font-size: .73rem; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { min-height: 48px; font-size: .95rem; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .hero-grid { padding-top: 52px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(3.1rem, 12.8vw, 5rem); }
  .hero-copy .lead { font-size: 1rem; }
  .care-path { max-width: 470px; width: 100%; margin-inline: auto; min-height: 410px; padding-top: 32px; }
  .path-art { height: 210px; }
  .path-caption strong { font-size: 1.8rem; }
  .facts { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .fact { padding-left: 20px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact strong { font-size: 2.35rem; }
  .fact span { font-size: .7rem; }
  .cards, .cards-pair, .values, .footer-grid { grid-template-columns: 1fr; }
  .cards { gap: 16px; }
  .card { padding: 30px; }
  .card .icon { margin-bottom: 22px; }
  .section-heading { margin-bottom: 30px; }
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .closing { padding-block: 58px; }
  .page-hero { padding-block: 52px; }
  .page-hero h1 { font-size: clamp(3rem, 11.5vw, 5rem); }
  .service { grid-template-columns: 1fr; gap: 8px; padding-block: 36px; }
  .service h2 { margin-bottom: 18px; }
  .quote-block { padding: 30px; }
  .values { gap: 25px; }
  .platform-visual { padding: 30px; }
  .footer-grid { gap: 28px; padding-bottom: 38px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .path-art .path-line { stroke-dashoffset: 0; }
}
@media (forced-colors: active) {
  .button, .brand-mark, .care-path { border: 1px solid ButtonText; }
}
