:root {
  --ink: #071426;
  --ink-soft: #18304d;
  --muted: #5d7088;
  --line: #dce6f2;
  --surface: #f5f9fd;
  --surface-blue: #eaf4ff;
  --white: #ffffff;
  --navy: #07152d;
  --blue: #155eef;
  --blue-dark: #0c3fb4;
  --cyan: #19b9d5;
  --teal: #0c8f83;
  --shadow: 0 20px 55px rgba(6, 28, 59, 0.12);
  --radius: 1.35rem;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 7rem; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(25, 185, 213, 0.7);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--blue);
  border-radius: .5rem;
}

.skip-link:focus { top: 1rem; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.surface { background: var(--surface); }
.surface-blue { background: var(--surface-blue); }
.dark { color: var(--white); background: var(--navy); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .8rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.dark .eyebrow { color: #6ee7f4; }

h1, h2, h3, h4 {
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 { font-size: clamp(2.7rem, 6vw, 5.7rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0 0 1rem; }

.lead {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.dark .lead { color: #c8d5e7; }
.muted { color: var(--muted); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-head > div:first-child { max-width: 780px; }

.btn {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { color: var(--blue-dark); background: var(--white); }
.btn-light:hover { background: #eef5ff; }
.btn-outline { border-color: #93a6bd; }
.btn-outline:hover { color: var(--blue); border-color: var(--blue); }
.btn-arrow::after { content: "→"; font-size: 1.2em; }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 21, 45, .96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px rgba(255,255,255,.08);
}

.nav-wrap {
  display: flex;
  min-height: 5rem;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: .65rem;
  background: linear-gradient(145deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 28px rgba(21,94,239,.35);
}

.brand-mark svg { width: 1.35rem; height: 1.35rem; }
.brand span small { display: block; color: #9bb1c9; font-size: .62rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }

.main-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin-left: auto;
}

.main-nav a {
  padding: .75rem .85rem;
  color: #d7e2f0;
  border-radius: .5rem;
  font-size: .93rem;
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.09); }
.nav-cta { margin-left: .6rem; }

.menu-toggle {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  margin-left: auto;
  padding: .55rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: .55rem;
  color: var(--white);
  background: transparent;
}

.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("dhyayi-healthtech-hero.webp") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(5,18,40,.98) 0%, rgba(5,18,40,.9) 37%, rgba(5,18,40,.32) 70%, rgba(5,18,40,.14) 100%);
}

.hero-inner {
  display: grid;
  min-height: 690px;
  align-items: center;
  padding: 5rem 0;
}

.hero-copy { max-width: 710px; }
.hero h1 { max-width: 11ch; }
.hero .lead { max-width: 60ch; margin-bottom: 2rem; }
.hero .eyebrow { color: #75e6f4; }

.trust-strip {
  color: #d6e2ef;
  border-top: 1px solid rgba(255,255,255,.12);
  background: #0b1d38;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 8rem;
  padding: 1.5rem 1.25rem;
  border-right: 1px solid rgba(255,255,255,.12);
}

.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: .25rem; color: var(--white); font-size: 1.05rem; }
.trust-item span { color: #9fb2c8; font-size: .92rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.card {
  position: relative;
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover { transform: translateY(-5px); border-color: #a7c7f7; box-shadow: var(--shadow); }
.card p { color: var(--muted); }

.icon-box {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  margin-bottom: 1.3rem;
  place-items: center;
  color: var(--blue);
  border-radius: .9rem;
  background: var(--surface-blue);
}

.icon-box svg { width: 1.65rem; height: 1.65rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--blue); font-weight: 750; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.feature-panel {
  position: relative;
  overflow: hidden;
  min-height: 27rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 2rem;
  color: var(--white);
  background: linear-gradient(135deg, #0b2450, #1046c4 62%, #18a8cf);
}

.feature-panel::after {
  position: absolute;
  right: -8%;
  bottom: -45%;
  width: 30rem;
  height: 30rem;
  content: "";
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255,255,255,.035), 0 0 0 6rem rgba(255,255,255,.025);
}

.feature-panel > * { position: relative; z-index: 1; }
.feature-panel .lead { color: #dbeafe; }

.tab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 2rem;
}

.tab-button {
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--white);
  font-weight: 700;
}

.tab-button[aria-selected="true"] { color: var(--white); border-color: var(--blue); background: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; }

.market-panel {
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--radius);
  background: var(--surface);
}

.market-list { display: grid; gap: .7rem; align-content: start; }
.market-list span { padding: .85rem 1rem; border-left: 3px solid var(--cyan); background: var(--white); font-weight: 650; }

.process { counter-reset: process; }
.process-step { position: relative; padding-left: 4.5rem; }
.process-step::before {
  counter-increment: process;
  content: "0" counter(process);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 850;
}

.process-step::after { position: absolute; left: 3rem; top: 0; width: 1px; height: 100%; content: ""; background: var(--line); }
.process-step:last-child::after { display: none; }

.quote-card {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 2rem;
  background: var(--navy);
  color: var(--white);
}

.quote-card blockquote { margin: 0; font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.35; letter-spacing: -.025em; }

.article-card { padding: 0; overflow: hidden; }
.article-art {
  min-height: 13rem;
  display: flex;
  align-items: end;
  padding: 1.25rem;
  color: var(--white);
  background: linear-gradient(135deg, #091a39, #155eef 62%, #29bfd1);
}

.article-art.alt { background: linear-gradient(135deg, #092f39, #087d83 60%, #51d1ca); }
.article-art.purple { background: linear-gradient(135deg, #1a1642, #5f3dc4 58%, #16b6ce); }
.article-body { padding: 1.5rem; }
.tag { display: inline-flex; margin-bottom: .8rem; color: var(--blue); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.cta-band {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 2rem;
  color: var(--white);
  background: linear-gradient(110deg, var(--blue-dark), var(--blue) 55%, var(--cyan));
}

.cta-band .grid-2 { align-items: center; }
.cta-band .lead { color: #e2eeff; }
.cta-band .button-row { justify-content: flex-end; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  color: var(--white);
  background: linear-gradient(125deg, #07152d 0%, #0d2e66 62%, #0d829c 120%);
}

.page-hero::after {
  position: absolute;
  right: -10rem;
  top: -16rem;
  width: 38rem;
  height: 38rem;
  content: "";
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(255,255,255,.025), 0 0 0 10rem rgba(255,255,255,.02);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 13ch; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.page-hero .lead { max-width: 65ch; color: #d6e4f3; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.sticky-copy { position: sticky; top: 8rem; }

.check-list { display: grid; gap: .9rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { position: absolute; left: 0; top: .15rem; content: "✓"; color: var(--teal); font-weight: 900; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.contact-block { padding: 2rem; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.contact-block a { color: #7de7f2; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #b9c9da;
  border-radius: .65rem;
  color: var(--ink);
  background: var(--white);
}
.field textarea { min-height: 9rem; resize: vertical; }
.form-note { color: var(--muted); font-size: .9rem; }
.form-status { min-height: 1.5rem; color: var(--teal); font-weight: 700; }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 750;
}
.faq-button::after { content: "+"; color: var(--blue); font-size: 1.5rem; }
.faq-button[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: none; max-width: 72ch; padding: 0 0 1.35rem; color: var(--muted); }
.faq-answer.open { display: block; }

.site-footer { padding: 5rem 0 1.5rem; color: #c2d0e2; background: #050f20; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.footer-grid h3 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a:hover { color: #6ee7f4; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 5rem 0 auto;
    display: none;
    padding: 1rem;
    background: var(--navy);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 1rem; }
  .nav-cta { margin: .5rem 0 0; }
  .nav-cta .btn { width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .market-panel, .split, .contact-layout { grid-template-columns: 1fr; }
  .sticky-copy { position: static; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  .section { padding: 4.5rem 0; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 1rem; }
  .hero, .hero-inner { min-height: 660px; }
  .hero::before { background-position: 64% center; opacity: .55; }
  .hero::after { background: linear-gradient(90deg, rgba(5,18,40,.97), rgba(5,18,40,.72)); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .trust-item:last-child { border-bottom: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .cta-band .button-row { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
}

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