/* Dev Medicines Private Limited — site styles */
:root {
  --navy: #0f2a44;
  --navy-2: #173b5e;
  --teal: #0e8a83;
  --teal-dark: #0a6e68;
  --ice: #e8f5f4;
  --frost: #f5f9fb;
  --ink: #1b2733;
  --muted: #5b6b7a;
  --line: #dbe4ea;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 68, 0.08);
  --max: 1140px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.alt { background: var(--frost); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.05rem;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.05rem; }
.brand-text span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
}
.nav-links a:hover { background: var(--ice); }
.nav-links a[aria-current="page"] { color: var(--teal-dark); background: var(--ice); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 0.98rem;
  padding: 12px 22px; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--ice); }
.btn-ghost-light { border-color: rgba(255,255,255,0.6); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.nav-links .btn { padding: 9px 18px; }
.nav-links .btn-primary, .nav-links .btn-primary:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, rgba(14,138,131,0.35), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #e6eef5;
  padding: 96px 0 88px;
}
.hero h1 { color: #fff; max-width: 820px; }
.hero .lead { color: #c4d4e2; }
.hero .eyebrow { color: #7fd8d0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 14px; border-radius: 999px; font-size: 0.9rem; color: #e6eef5;
}
.badge svg { width: 16px; height: 16px; color: #7fd8d0; }

.page-hero { padding: 72px 0 64px; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  margin-top: -48px; position: relative; z-index: 2; border: 1px solid var(--line);
}
.stat { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block; font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem; color: var(--navy); line-height: 1.1;
}
.stat span { font-size: 0.9rem; color: var(--muted); }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--ice); color: var(--teal-dark);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6e68' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

.panel {
  background: linear-gradient(160deg, var(--ice), #fff);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}

/* Partners */
.partner {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff;
}
.partner .tag {
  align-self: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.tag.current { background: #e3f6ee; color: #146c43; }
.tag.legacy { background: #eef2f6; color: var(--muted); }
.partner h3 { margin: 6px 0 0; }
.partner p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--teal);
}
.timeline strong { display: block; color: var(--navy); }
.timeline span { color: var(--muted); font-size: 0.96rem; }

/* CTA band */
.cta {
  background: linear-gradient(135deg, var(--teal-dark), var(--navy));
  color: #e6eef5; border-radius: 20px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; color: #c9dbe6; }

/* Contact */
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .icon { flex-shrink: 0; margin: 0; }
.contact-card h3 { margin-bottom: 4px; }
.reveal-out { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.reveal-out a { text-decoration: none; }
.reveal-out a:hover { text-decoration: underline; }
.small { font-size: 0.88rem; color: var(--muted); }

form .field { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--navy); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #c9d5de; border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible {
  outline: 3px solid rgba(14, 138, 131, 0.35); outline-offset: 2px; border-color: var(--teal);
}
textarea { min-height: 130px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 12px; }
.form-msg { margin-top: 12px; font-weight: 600; min-height: 1.4em; }
.form-msg.error { color: #b42318; }
.form-msg.ok { color: #146c43; }

/* Footer */
.site-footer { background: var(--navy); color: #b7c7d6; padding: 56px 0 28px; margin-top: 80px; font-size: 0.95rem; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { color: #d7e3ee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .grid-2, .grid-3, .row-2 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 80px; }
  .cta { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .container { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
  .card:hover { transform: none; }
}
