/* Decentralized Medical LLC — original design system */
:root {
  --ink: #0b1820;
  --muted: #52636d;
  --line: #d8e1e5;
  --mist: #f3f7f8;
  --white: #ffffff;
  --blue: #086a7a;
  --blue-dark: #064b57;
  --aqua: #c9edf0;
  --navy: #071f28;
  --radius: 10px;
  --content: 1180px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2b9eae; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -80px; padding: 10px 16px; color: #fff; background: var(--navy); border-radius: 6px; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: .75rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.lede { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.6; }
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(216,225,229,.82); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: .94rem; font-weight: 730; letter-spacing: -.01em; }
.brand-mark-shell { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; padding: 2px; overflow: hidden; background: #fff; border: 1px solid rgba(7,31,40,.10); border-radius: 9px; }
.brand-mark { width: 34px; height: 34px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; margin: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #283943; font-size: .91rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.nav-cta { padding: 9px 15px; color: #fff !important; background: var(--navy); border-radius: 999px; }
.nav-cta:hover { background: var(--blue-dark); }
.hero { min-height: 690px; display: grid; align-items: center; overflow: hidden; background: #eef6f6; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: center; gap: clamp(42px, 6vw, 86px); padding-block: 72px; }
.hero h1 { max-width: 720px; margin: 0 0 28px; font-size: clamp(3.2rem, 6vw, 5.6rem); font-weight: 680; letter-spacing: -.065em; line-height: .94; text-wrap: balance; }
.hero h1 span { color: var(--blue); }
.hero-copy { max-width: 680px; margin: 0 0 34px; color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.25rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.spaced { margin-top: 32px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--navy); border-radius: 999px; font-size: .92rem; font-weight: 700; text-decoration: none; }
.button.primary { color: #fff; background: var(--navy); }
.button.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary { background: transparent; }
.button.secondary:hover { background: #fff; }
.hero-photo { position: relative; height: clamp(520px, 50vw, 640px); margin: 0; overflow: hidden; border-radius: 12px; background: #dce9e9; box-shadow: 0 24px 60px rgba(7,31,40,.12); }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 68% center; }
.hero-photo figcaption { position: absolute; right: 18px; bottom: 18px; max-width: 250px; padding: 13px 16px; color: #d6e7ea; background: rgba(7,31,40,.90); border-radius: 8px; }
.hero-photo figcaption span, .hero-photo figcaption strong { display: block; }
.hero-photo figcaption span { font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.hero-photo figcaption strong { margin-top: 2px; color: #fff; font-size: .94rem; }
.section { padding-block: clamp(84px, 10vw, 136px); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: 60px; margin-bottom: 64px; }
.section h2 { max-width: 680px; margin: 0; font-size: clamp(2.35rem, 5vw, 4.7rem); font-weight: 660; letter-spacing: -.055em; line-height: 1; text-wrap: balance; }
.section-dark { color: #fff; background: var(--navy); }
.section-dark .eyebrow { color: #76d3dc; }
.section-dark .lede, .section-dark .feature p { color: #b8c9ce; }
.feature-list { border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 80px .8fr 1.2fr; gap: 30px; padding-block: 34px; border-bottom: 1px solid var(--line); }
.feature-number { color: var(--blue); font-size: .78rem; font-weight: 750; letter-spacing: .1em; }
.feature h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.025em; line-height: 1.25; }
.feature p { max-width: 600px; margin: 0; color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid #34505a; border-left: 1px solid #34505a; }
.principle { min-height: 250px; padding: 30px 26px; border-right: 1px solid #34505a; border-bottom: 1px solid #34505a; }
.principle .symbol { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 68px; border: 1px solid #41616c; border-radius: 50%; color: #76d3dc; font-size: .9rem; }
.principle h3 { margin: 0 0 10px; font-size: 1.1rem; }
.principle p { margin: 0; color: #b8c9ce; font-size: .91rem; }
.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
.process-intro { position: sticky; top: 122px; }
.process-intro h2 { margin-bottom: 26px; }
.steps { counter-reset: steps; }
.step { position: relative; padding: 12px 0 44px 72px; border-left: 1px solid var(--line); counter-increment: steps; }
.step:last-child { padding-bottom: 8px; }
.step::before { position: absolute; top: 5px; left: -22px; width: 43px; height: 43px; display: grid; place-items: center; color: var(--blue-dark); background: #fff; border: 1px solid var(--line); border-radius: 50%; content: counter(steps, decimal-leading-zero); font-size: .72rem; font-weight: 800; }
.step h3 { margin: 0 0 8px; font-size: 1.4rem; letter-spacing: -.025em; }
.step p { margin: 0; color: var(--muted); }
.statement { padding-block: clamp(90px, 12vw, 160px); background: var(--aqua); }
.statement blockquote { max-width: 980px; margin: 0; font-size: clamp(2.25rem, 5.5vw, 5.2rem); font-weight: 640; letter-spacing: -.055em; line-height: 1.02; }
.statement p { max-width: 640px; margin: 34px 0 0 auto; color: #31535b; font-size: 1.02rem; }
.cta-band { color: #fff; background: var(--blue-dark); }
.cta-band .container { min-height: 300px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; }
.cta-band h2 { max-width: 780px; margin: 0; font-size: clamp(2.5rem, 5vw, 4.9rem); font-weight: 640; letter-spacing: -.055em; line-height: 1; }
.cta-band .button { color: var(--navy); background: #fff; border-color: #fff; }
.page-hero { padding-block: clamp(90px, 12vw, 150px) clamp(70px, 9vw, 110px); background: var(--mist); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; margin: 0 0 24px; font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 670; letter-spacing: -.065em; line-height: .95; text-wrap: balance; }
.page-hero .lede { max-width: 780px; }
.photo-section { padding-top: clamp(38px, 5vw, 64px); }
.page-photo { margin: 0; }
.page-photo picture { display: block; overflow: hidden; background: #dce9e9; border-radius: 12px; }
.page-photo img { width: 100%; height: auto; aspect-ratio: 16 / 8.4; object-fit: cover; }
.page-photo figcaption { max-width: 680px; margin: 13px 0 0; color: var(--muted); font-size: .83rem; }
.content-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(50px, 8vw, 110px); align-items: start; padding-block: 86px 120px; }
.content-aside { position: sticky; top: 110px; }
.content-aside strong { display: block; margin-bottom: 10px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.content-aside p, .content-aside a { color: var(--muted); font-size: .88rem; }
.content-aside a { display: block; margin-block: 6px; }
.prose h2 { margin: 58px 0 16px; font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -.04em; line-height: 1.1; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 34px 0 10px; font-size: 1.15rem; }
.prose p, .prose li { color: #3f515b; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--blue-dark); font-weight: 650; }
.notice { margin-block: 32px; padding: 22px 24px; background: var(--mist); border-left: 3px solid var(--blue); }
.notice p { margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 60px; background: var(--line); border: 1px solid var(--line); }
.service-card { min-height: 300px; padding: 34px; background: #fff; }
.service-card .kicker { color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.service-card h2 { margin: 64px 0 14px; font-size: 1.55rem; letter-spacing: -.03em; line-height: 1.15; }
.service-card p { color: var(--muted); }
.support-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 54px; }
.support-card { padding: 30px; background: var(--mist); border: 1px solid var(--line); }
.support-card h2 { margin: 0 0 12px; font-size: 1.35rem; letter-spacing: -.025em; }
.support-card p { color: var(--muted); }
.site-footer { color: #d7e3e6; background: #051920; }
.footer-main { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 70px; padding-block: 72px; }
.footer-brand p { max-width: 430px; color: #9bb0b7; font-size: .92rem; }
.footer-title { display: block; margin-bottom: 16px; color: #fff; font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { display: block; margin-block: 9px; color: #b9c9ce; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #23404a; color: #9bb0b7; font-size: .78rem; }
.footer-bottom strong { color: #fff; font-weight: 650; }
@media (max-width: 900px) {
  .hero-grid, .section-head, .process { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 76px; gap: 62px; }
  .hero-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .section-head { align-items: start; gap: 24px; }
  .principles { grid-template-columns: 1fr 1fr; }
  .process-intro { position: static; }
  .cta-band .container { grid-template-columns: 1fr; padding-block: 74px; }
  .content-layout { grid-template-columns: 1fr; }
  .content-aside { position: static; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; }
}
@media (max-width: 700px) {
  .container { width: min(calc(100% - 32px), var(--content)); }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; align-items: stretch; padding: 18px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(7,31,40,.08); }
  .site-nav.open { display: grid; gap: 4px; }
  .site-nav a { min-height: 46px; display: flex; align-items: center; padding-inline: 8px; }
  .nav-cta { justify-content: center; margin-top: 8px; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 64px 72px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 9px; }
  .hero-photo img { object-position: 70% center; }
  .hero-photo figcaption { right: 12px; bottom: 12px; }
  .page-photo picture { border-radius: 8px; }
  .page-photo img { aspect-ratio: 4 / 3; object-position: center; }
  .feature { grid-template-columns: 42px 1fr; gap: 16px; }
  .feature p { grid-column: 2; }
  .principles { grid-template-columns: 1fr; }
  .principle { min-height: 210px; }
  .principle .symbol { margin-bottom: 45px; }
  .step { padding-left: 50px; }
  .statement p { margin-left: 0; }
  .service-grid, .support-options, .footer-main { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .footer-main { gap: 38px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
