/* ============================================================
   CloudRadiology — design tokens
   ============================================================ */
:root{
  --ink:        #060B18;
  --navy:       #0E1B3A;
  --navy-soft:  #142248;
  --cloud:      #2F7FEE;
  --cloud-dim:  #1E5FC9;
  --amber:      #F5A623;
  --amber-dim:  #D98D12;
  --paper:      #F7F9FC;
  --paper-dim:  #EBEFF7;
  --slate:      #1B2437;
  --slate-60:   #4C5670;
  --slate-40:   #8992A8;
  --line:       #DCE2EE;
  --line-dark:  rgba(255,255,255,.10);
  --white:      #ffffff;

  --display: "Space Grotesk", "Inter", sans-serif;
  --body:    "Inter", sans-serif;
  --mono:    "IBM Plex Mono", monospace;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 2px rgba(6,11,24,.06), 0 8px 24px -12px rgba(6,11,24,.18);
  --max: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  color:var(--slate);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:600;
  line-height:1.15;
  margin:0 0 .5em;
  color:var(--ink);
  letter-spacing:-.01em;
}
p{ margin:0 0 1em; max-width:64ch; }
a{ color:var(--cloud-dim); text-decoration:none; }
a:hover{ text-decoration:underline; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

.wrap{ max-width:var(--max); margin:0 auto; padding:0 24px; }

.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--ink); color:#fff;
  padding:10px 16px; z-index:200; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

:focus-visible{ outline:2.5px solid var(--cloud); outline-offset:2px; }

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-cta,.btn-outline,.btn-text{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--body); font-weight:600; font-size:15px;
  padding:11px 22px; border-radius:8px; border:1.5px solid transparent;
  cursor:pointer; transition:background .15s ease, border-color .15s ease, color .15s ease;
  text-decoration:none;
}
.btn-cta{ background:var(--amber); color:var(--ink); }
.btn-cta:hover{ background:var(--amber-dim); text-decoration:none; }
.btn-outline{ border-color:var(--line); color:var(--slate); background:#fff; }
.btn-outline:hover{ border-color:var(--cloud); color:var(--cloud-dim); text-decoration:none; }
.btn-text{ color:var(--slate); padding:11px 8px; }
.btn-text:hover{ color:var(--cloud-dim); text-decoration:none; }
.btn-lg{ padding:14px 28px; font-size:16px; }
.on-dark .btn-outline{ background:transparent; border-color:var(--line-dark); color:#fff; }
.on-dark .btn-outline:hover{ border-color:var(--cloud); }

/* ============================================================
   Header
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(247,249,252,.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{ display:flex; align-items:center; gap:32px; height:72px; }
.brand{ display:flex; align-items:center; }
.brand-mark{ height:38px; }
.main-nav{ display:flex; gap:28px; margin-left:8px; flex:1; }
.main-nav a{ color:var(--slate-60); font-weight:500; font-size:15px; }
.main-nav a:hover,.main-nav a.active{ color:var(--ink); text-decoration:none; }
.header-actions{ display:flex; align-items:center; gap:6px; }
.nav-toggle{ display:none; background:none; border:none; width:40px; height:40px; cursor:pointer; }
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--ink); margin:5px auto; transition:transform .2s ease, opacity .2s ease; }
.mobile-nav{ display:none; flex-direction:column; padding:8px 24px 20px; border-top:1px solid var(--line); background:var(--paper); }
.mobile-nav a{ padding:12px 0; color:var(--slate); border-bottom:1px solid var(--line); font-weight:500; }
.mobile-nav .btn-cta{ margin-top:14px; justify-content:center; }

@media (max-width:900px){
  .main-nav,.header-actions{ display:none; }
  .nav-toggle{ display:block; margin-left:auto; }
  .mobile-nav.open{ display:flex; }
}

/* ============================================================
   Hero — worklist strip visual (the signature element)
   ============================================================ */
.hero{
  background:radial-gradient(120% 140% at 15% -10%, #101E42 0%, var(--ink) 55%);
  color:#fff; padding:76px 0 96px; position:relative; overflow:hidden;
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1{ color:#fff; font-size:clamp(34px,4.4vw,54px); max-width:15ch; }
.hero .lede{ color:#B9C3DC; font-size:18px; max-width:46ch; margin-bottom:28px; }
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:34px; }
.hero-trust{ display:flex; align-items:center; gap:14px; color:#8592B4; font-size:13.5px; }
.hero-trust strong{ color:#fff; }

/* the worklist strip: a stylized 4-stage pipeline, not a generic screenshot */
.worklist{
  background:var(--navy); border:1px solid var(--line-dark); border-radius:var(--radius-lg);
  padding:22px; box-shadow:0 30px 60px -20px rgba(0,0,0,.5);
}
.worklist-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.worklist-head span{ font-family:var(--mono); font-size:11.5px; color:#7686AB; letter-spacing:.02em; }
.worklist-live{ display:flex; align-items:center; gap:6px; font-family:var(--mono); font-size:11.5px; color:#3ED598; }
.worklist-live::before{ content:""; width:6px; height:6px; border-radius:50%; background:#3ED598; box-shadow:0 0 0 3px rgba(62,213,152,.2); }
.wl-row{
  display:grid; grid-template-columns:1.4fr 1fr auto; gap:12px; align-items:center;
  padding:13px 12px; border-radius:8px; margin-bottom:6px; background:var(--navy-soft);
}
.wl-study{ font-size:13.5px; color:#fff; font-weight:500; }
.wl-study small{ display:block; color:#7686AB; font-weight:400; font-size:11.5px; margin-top:1px; }
.wl-mod{ font-family:var(--mono); font-size:10.5px; padding:3px 7px; border-radius:5px; width:fit-content; }
.wl-mod.ct{ background:rgba(47,127,238,.18); color:#7FB0FF; }
.wl-mod.mr{ background:rgba(245,166,35,.16); color:#F5C069; }
.wl-mod.us{ background:rgba(62,213,152,.16); color:#6EE0AF; }
.wl-status{ font-size:11.5px; font-weight:600; padding:4px 10px; border-radius:20px; text-align:center; }
.wl-status.received{ background:rgba(255,255,255,.08); color:#B9C3DC; }
.wl-status.assigned{ background:rgba(47,127,238,.18); color:#7FB0FF; }
.wl-status.reporting{ background:rgba(245,166,35,.18); color:#F5C069; }
.wl-status.signed{ background:rgba(62,213,152,.18); color:#6EE0AF; }
.worklist-foot{ display:flex; justify-content:space-between; margin-top:14px; padding-top:14px; border-top:1px solid var(--line-dark); font-family:var(--mono); font-size:11px; color:#5E6C8E; }

@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; }
}

/* ============================================================
   Sections — generic
   ============================================================ */
.section{ padding:88px 0; }
.section-dark{ background:var(--ink); color:#fff; }
.section-dark p{ color:#B9C3DC; }
.section-dark h2{ color:#fff; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(26px,3vw,36px); }
.section-head p{ font-size:17px; color:var(--slate-60); max-width:56ch; }
.section-dark .section-head p{ color:#B9C3DC; }

/* ============================================================
   Feature grid
   ============================================================ */
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.feature-card{ background:#fff; padding:30px 26px; }
.feature-card h3{ font-size:17px; margin-bottom:8px; }
.feature-card p{ font-size:14.5px; color:var(--slate-60); margin:0; }
.feature-icon{ width:38px; height:38px; border-radius:9px; background:var(--paper-dim); display:flex; align-items:center; justify-content:center; margin-bottom:16px; color:var(--cloud-dim); }
@media (max-width:860px){ .feature-grid{ grid-template-columns:1fr; } }
@media (min-width:861px) and (max-width:1100px){ .feature-grid{ grid-template-columns:repeat(2,1fr); } }

/* ============================================================
   Pipeline (How it works) — numbered because it IS a sequence
   ============================================================ */
.pipeline{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; counter-reset:step; }
.pipeline-step{ position:relative; padding-top:8px; }
.pipeline-step::before{
  counter-increment:step; content:counter(step);
  font-family:var(--mono); font-size:13px; color:var(--cloud-dim);
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border:1.5px solid var(--cloud); border-radius:50%;
  margin-bottom:16px;
}
.pipeline-step h3{ font-size:16.5px; margin-bottom:6px; }
.pipeline-step p{ font-size:14px; color:var(--slate-60); margin:0; }
@media (max-width:860px){ .pipeline{ grid-template-columns:1fr 1fr; row-gap:32px; } }
@media (max-width:520px){ .pipeline{ grid-template-columns:1fr; } }

/* ============================================================
   Stats band
   ============================================================ */
.stats-band{ display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line-dark); border-bottom:1px solid var(--line-dark); }
.stat{ padding:30px 20px; text-align:center; border-right:1px solid var(--line-dark); }
.stat:last-child{ border-right:none; }
.stat b{ display:block; font-family:var(--display); font-size:32px; color:#fff; margin-bottom:4px; }
.stat span{ font-size:13px; color:#8592B4; }
@media (max-width:700px){ .stats-band{ grid-template-columns:1fr 1fr; } .stat{ border-bottom:1px solid var(--line-dark); } }

/* ============================================================
   Integrations
   ============================================================ */
.integrations{ display:flex; flex-wrap:wrap; gap:14px; }
.integration-chip{ display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--line); border-radius:10px; padding:14px 18px; font-size:14.5px; font-weight:500; }
.integration-chip .dot{ width:8px; height:8px; border-radius:50%; background:var(--cloud); flex-shrink:0; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testimonial{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px; }
.testimonial p{ font-size:15px; color:var(--slate); margin-bottom:18px; }
.testimonial-who{ display:flex; align-items:center; gap:10px; }
.testimonial-avatar{ width:38px; height:38px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--display); font-size:14px; font-weight:600; }
.testimonial-who small{ display:block; color:var(--slate-40); font-size:12.5px; }
@media (max-width:860px){ .testimonial-grid{ grid-template-columns:1fr; } }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:stretch; }
.plan{ background:#fff; border:1.5px solid var(--line); border-radius:var(--radius-lg); padding:32px 28px; display:flex; flex-direction:column; }
.plan.featured{ border-color:var(--cloud); box-shadow:0 20px 40px -20px rgba(47,127,238,.35); position:relative; }
.plan-badge{ position:absolute; top:-13px; left:28px; background:var(--cloud); color:#fff; font-size:11.5px; font-weight:700; padding:4px 12px; border-radius:20px; }
.plan h3{ font-size:19px; margin-bottom:4px; }
.plan .plan-sub{ font-size:13.5px; color:var(--slate-40); margin-bottom:20px; }
.plan .plan-price{ font-family:var(--display); font-size:30px; color:var(--ink); margin-bottom:4px; }
.plan .plan-price span{ font-family:var(--body); font-size:14px; font-weight:400; color:var(--slate-40); }
.plan-features{ margin:24px 0 28px; flex:1; }
.plan-features li{ display:flex; gap:10px; padding:8px 0; font-size:14.5px; color:var(--slate-60); border-top:1px solid var(--paper-dim); }
.plan-features li:first-child{ border-top:none; }
.plan-features li::before{ content:"✓"; color:var(--cloud-dim); font-weight:700; flex-shrink:0; }
@media (max-width:900px){ .pricing-grid{ grid-template-columns:1fr; max-width:420px; margin:0 auto; } }

.pricing-table-wrap{ overflow-x:auto; margin-top:56px; }
table.compare{ width:100%; border-collapse:collapse; min-width:640px; }
table.compare th,table.compare td{ padding:14px 16px; text-align:left; border-bottom:1px solid var(--line); font-size:14.5px; }
table.compare th{ font-family:var(--display); font-weight:600; color:var(--ink); font-size:14px; }
table.compare td:not(:first-child), table.compare th:not(:first-child){ text-align:center; }
table.compare tbody tr td:first-child{ color:var(--slate-60); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list{ max-width:760px; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:20px 4px; font-family:var(--display); font-size:16.5px; color:var(--ink); font-weight:600;
}
.faq-q .plus{ flex-shrink:0; width:22px; height:22px; position:relative; }
.faq-q .plus::before,.faq-q .plus::after{ content:""; position:absolute; background:var(--cloud-dim); transition:transform .2s ease; }
.faq-q .plus::before{ top:50%; left:0; width:100%; height:2px; margin-top:-1px; }
.faq-q .plus::after{ left:50%; top:0; height:100%; width:2px; margin-left:-1px; }
.faq-item[open] .plus::after{ transform:rotate(90deg); opacity:0; }
.faq-a{ padding:0 4px 22px; color:var(--slate-60); font-size:15px; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner{
  background:linear-gradient(135deg, #10204A 0%, #060B18 100%);
  border-radius:var(--radius-lg); padding:56px 48px; color:#fff;
  display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap;
}
.cta-banner h2{ color:#fff; font-size:26px; margin-bottom:8px; }
.cta-banner p{ color:#B9C3DC; margin:0; }

/* ============================================================
   Forms (contact page)
   ============================================================ */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13.5px; font-weight:600; color:var(--slate); margin-bottom:6px; }
.field input,.field textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:8px;
  font-family:var(--body); font-size:15px; color:var(--slate); background:#fff;
}
.field input:focus,.field textarea:focus{ border-color:var(--cloud); outline:none; }
.field textarea{ min-height:120px; resize:vertical; }
.contact-info-item{ display:flex; gap:14px; padding:16px 0; border-top:1px solid var(--line); }
.contact-info-item:first-child{ border-top:none; }
.contact-info-item h4{ font-size:15px; margin:0 0 2px; }
.contact-info-item p{ margin:0; font-size:14px; color:var(--slate-60); }
.form-msg{ padding:12px 16px; border-radius:8px; font-size:14.5px; margin-bottom:18px; }
.form-msg.success{ background:#E9FBF2; color:#0B7A47; border:1px solid #B7EDD1; }
.form-msg.error{ background:#FDECEC; color:#B3261E; border:1px solid #F5C2C0; }
@media (max-width:860px){ .form-grid{ grid-template-columns:1fr; gap:36px; } }

/* ============================================================
   Simple content pages (about / legal)
   ============================================================ */
.prose{ max-width:760px; }
.prose h2{ margin-top:44px; font-size:22px; }
.prose h2:first-child{ margin-top:0; }
.prose p,.prose li{ color:var(--slate-60); font-size:15.5px; }
.prose ul{ margin:0 0 1em; padding-left:1.2em; list-style:disc; }
.prose li{ margin-bottom:.4em; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer{ background:var(--ink); color:#B9C3DC; padding:64px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; }
.footer-mark{ height:32px; margin-bottom:14px; filter:brightness(0) invert(1); }
.footer-brand p{ font-size:14px; color:#7686AB; }
.footer-col h3{ color:#fff; font-size:13px; text-transform:none; margin-bottom:14px; }
.footer-col a{ display:block; color:#8592B4; font-size:14px; padding:5px 0; }
.footer-col a:hover{ color:#fff; text-decoration:none; }
.footer-address{ display:block; color:#8592B4; font-size:14px; padding:5px 0; }
.footer-bottom{ border-top:1px solid var(--line-dark); padding:20px 24px; font-size:13px; color:#5E6C8E; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } .footer-brand{ grid-column:1/-1; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
