/* vaidyah.care — brand tokens and the page. Cream ground, teal primary, coral accent. */
:root { --cream: #F7F4EE; --teal: #0F766E; --teal-dark: #0B5E58; --coral: #E0654F; --coral-light: #F2A08F; --ink: #1F2A2E; --muted: #4A5A5E; --line: #E6E1D8; --line-strong: #C9C2B6; --fill: #EFEBE3; --surface: #FFFFFF; --teal-soft: #E6F2F1; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--cream); }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: 40px; line-height: 1.15; }
p { margin: 0; }
img { max-width: 100%; }
.wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.eyebrow.light { color: var(--coral-light); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid var(--teal); border-radius: 8px; background: var(--teal); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 17px; border-radius: 10px; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--fill); color: var(--ink); }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn.ghost-light:hover { background: rgba(255,255,255,0.12); }
.btn.coral { background: var(--coral); border-color: var(--coral); }
.btn.coral:hover { background: #C9553F; border-color: #C9553F; }
.pill { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--fill); color: var(--muted); }
.pill.dashed { background: transparent; border: 1px dashed var(--line-strong); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card .tag { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.card-title { font-size: 19px; font-weight: 600; line-height: 1.3; }
.card p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.card > a { font-size: 14px; font-weight: 600; margin-top: auto; }
.cards { display: grid; gap: 20px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.row-end { display: flex; justify-content: flex-end; margin-top: auto; }
.hidden { display: none !important; }

/* header */
.site-header { background: var(--cream); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; gap: 48px; height: 88px; }
.brand img { height: 46px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-2px); }
.menu-panel { position: absolute; top: 40px; left: -16px; width: 560px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(31,42,46,0.12); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.menu-panel a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 8px; color: var(--ink); }
.menu-panel a:hover { background: var(--cream); }
.menu-panel a strong { font-size: 15px; }
.menu-panel a span { font-size: 13px; color: var(--muted); }
.soon { font-style: normal; font-size: 10px; padding: 1px 6px; border-radius: 999px; background: #FDF1EE; color: var(--coral); font-weight: 600; vertical-align: middle; }
.site-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.signin { color: var(--muted); }
.phone-menu { display: none; }

/* hero */
.hero { background: linear-gradient(rgba(31,42,46,0.62), rgba(31,42,46,0.42)), url(hero-doctor-child.jpg) center 30% / cover no-repeat; color: #fff; }
.hero-inner { min-height: 640px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { font-size: 64px; line-height: 1.1; letter-spacing: -0.02em; max-width: 960px; }
.rotate { color: var(--coral-light); }
.caret { opacity: 0.6; font-weight: 400; margin-left: 4px; }
.hero-line { font-size: 22px; font-weight: 500; max-width: 760px; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 680px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* logos */
.logos { background: #fff; border-bottom: 1px solid var(--line); }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; min-height: 96px; padding-top: 16px; padding-bottom: 16px; }
.logos-row img { height: 44px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: 0.8; }
.logos-row img:hover { filter: none; opacity: 1; }
.logo-text { font-family: "Source Serif 4", Georgia, serif; font-size: 20px; font-weight: 600; color: var(--muted); }

/* showcase */
.showcase { padding: 72px 0 0; }
.showcase .wrap { max-width: 1048px; }
.tabs { display: flex; border: 1px solid var(--line); border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; }
.tabs button { flex: 1; height: 48px; border: 0; border-left: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--ink); }
.tabs button:first-child { border-left: 0; }
.tabs button.on { background: var(--teal); color: #fff; font-weight: 600; }
.panel { padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 8px; }
.panel.hidden { display: none; }
.convo, .note { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; line-height: 1.55; }
.note { border-color: var(--teal); background: var(--cream); }
.note.wide { grid-column: 1 / -1; font-size: 15px; }
.label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.label.teal { color: var(--teal); }
.arrow { display: flex; align-items: center; justify-content: center; color: var(--teal); }
.rec { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #B42318; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #B42318; }
.code { font-size: 11px; padding: 1px 6px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.rx { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }

/* products, capabilities */
.products { padding: 88px 0 40px; text-align: center; }
.products .cards { text-align: left; margin-top: 32px; }
.capabilities { padding: 72px 0; }
.capabilities h2 { margin-bottom: 28px; }
.cap-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.cap-cards { display: grid; gap: 14px; }
.cap-cards .card { padding: 22px 24px; }
.photo { border-radius: 14px; min-height: 320px; background-size: cover; background-position: center; }
.photo.team { background-image: url(team-corridor.jpg); background-position: center 25%; }
.photo.care { background-image: url(care-nurse-patient.jpg); background-position: center 20%; }

/* testimonials, numbers, credentials, blog */
.testimonials { padding: 72px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testimonials h2 { margin-bottom: 28px; }
.card.quote { background: var(--cream); }
.card.quote p { font-size: 15px; color: var(--muted); }
.who { display: flex; flex-direction: column; margin-top: auto; }
.who span { font-size: 13px; color: var(--muted); }
.numbers { padding: 56px 0; }
.numbers-row { display: flex; justify-content: center; gap: 72px; flex-wrap: wrap; }
.numbers-row > div { display: flex; flex-direction: column; align-items: center; }
.big { font-family: "Source Serif 4", Georgia, serif; font-size: 44px; font-weight: 700; color: var(--teal); line-height: 1.1; }
.credentials { padding: 56px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.credentials h2 { font-size: 34px; margin-bottom: 24px; }
.badges { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.badge { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; }
.badge img, .badge-blank { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; }
.badge-blank { border: 1px solid var(--line-strong); }
.badge .muted { font-size: 12px; }
.blog { padding: 72px 0; }
.blog h2 { margin-bottom: 24px; }
.cover { height: 140px; width: 100%; object-fit: cover; border-radius: 8px; }
.post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin: 8px 0 16px; }

/* tour */
.tour { padding: 72px 0; }
.tour-band { display: grid; grid-template-columns: minmax(0, 1fr) 360px; background: var(--ink); color: #fff; border-radius: 18px; overflow: hidden; }
.tour-text { padding: 44px 48px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.tour-text h2 { font-size: 32px; }
.tour-text p { color: var(--line-strong); max-width: 640px; }
.tour-text .btn { margin-top: 12px; }
.tour .photo { border-radius: 0; min-height: 280px; }

/* contact */
.contact { padding: 64px 0 80px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.form-card { padding: 36px; gap: 18px; }
.form-card h1 { font-size: 36px; }
.lead { font-size: 15px; color: var(--muted); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 16px; color: var(--ink); padding: 0 14px; height: 46px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; }
.contact-form textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,0.15); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.narrow { max-width: 260px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.error { color: #B42318; font-size: 14px; }
.contact-side { display: flex; flex-direction: column; gap: 20px; padding-top: 12px; }
.big-link { font-size: 20px; font-weight: 600; word-break: break-all; }
.steps { gap: 14px; }
.step { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.step span { width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* legal */
.legal { padding: 64px 0 80px; }
.legal-wrap { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 24px; margin-top: 18px; }
.legal p { color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.foot-line { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 28px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-cols a { color: var(--ink); }
.foot-brand img { height: 36px; width: auto; align-self: flex-start; }
.foot-brand .muted { font-size: 13px; }
.foot-head { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; }

/* tablet */
@media (max-width: 1024px) {
  h2 { font-size: 34px; }
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid { grid-template-columns: 1fr; }
  .photo.team { min-height: 260px; }
  .hero h1 { font-size: 52px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
/* header on tablets and phones: the full-screen menu (iPad included) */
@media (max-width: 1024px) {
  .site-header .wrap { height: 72px; gap: 16px; }
  .brand img { height: 40px; }
  .site-nav, .site-actions { display: none; }
  .phone-menu { display: block; margin-left: auto; }
  .phone-menu summary { list-style: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); border-radius: 8px; }
  .phone-menu summary::-webkit-details-marker { display: none; }
  .phone-panel { position: fixed; inset: 0; z-index: 50; background: var(--ink); color: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 20px 40px; display: flex; flex-direction: column; gap: 6px; }
  html.menu-open, html.menu-open body { overflow: hidden; }
  .pm-top { display: flex; align-items: center; justify-content: space-between; height: 72px; margin-bottom: 8px; }
  .pm-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: "Source Serif 4", Georgia, serif; font-size: 26px; font-weight: 700; }
  .pm-brand img { height: 40px; width: auto; }
  .pm-close { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .pm-group summary { list-style: none; display: block; position: relative; width: 100%; padding: 14px 40px 14px 0; font-size: 22px; font-weight: 600; line-height: 28px; color: #fff; cursor: pointer; }
  .pm-group summary::-webkit-details-marker { display: none; }
  .pm-caret { position: absolute; right: 10px; top: 50%; width: 11px; height: 11px; margin-top: -9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: transform 150ms; }
  .pm-group[open] .pm-caret { transform: rotate(-135deg); margin-top: -3px; }
  .pm-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 8px 20px 14px; margin: 4px 0 12px; display: flex; flex-direction: column; }
  .pm-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 12px 0 6px; }
  .pm-card a { color: var(--ink); font-size: 18px; font-weight: 600; padding: 11px 0; display: flex; align-items: center; gap: 10px; }
  .pm-sep { height: 1px; background: var(--line); margin: 8px 0 4px; }
  .pm-badge { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--coral); color: #fff; }
  .pm-link { color: #fff; font-size: 22px; font-weight: 600; min-height: 56px; display: flex; align-items: center; }
  .pm-link.muted { color: #C9C2B6; font-weight: 500; }
  .pm-cta { margin-top: 16px; align-self: flex-start; background: var(--coral); border-color: var(--coral); }
  .pm-cta:hover { background: #C9553F; border-color: #C9553F; }
}
/* phone */
@media (max-width: 760px) {
  .site-header .wrap { height: 68px; }
  .brand img { height: 36px; }
  .hero-inner { min-height: 480px; padding: 40px 24px; }
  .hero h1 { font-size: 34px; }
  .hero-line { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { width: 100%; flex-direction: column; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: 0 0 auto; padding: 0 16px; }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mracks { grid-template-columns: 1fr; }
  .mrack { flex-direction: row; align-items: center; gap: 6px; }
  .mrack i { width: 28px; }
  .mrack span { margin: 0 0 0 6px; }
  .mstats { gap: 16px; }
  .numbers-row { gap: 24px; }
  .panel { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); }
  .cards.four, .cards.three { grid-template-columns: 1fr; }
  .products { padding: 48px 0 24px; text-align: left; }
  .numbers-row { gap: 28px; }
  .tour-band { grid-template-columns: 1fr; }
  .tour-text { padding: 28px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-card { padding: 22px 18px; }
  .two { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .menu-panel { position: static; width: auto; box-shadow: none; }
}

/* ---------- product story pages (WEB-09) ---------- */
.center { text-align: center; }
.narrow-text { max-width: 760px; margin-left: auto; margin-right: auto; }
.narrow-wrap { max-width: 900px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-hero { padding: 56px 0 40px; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.p-hero-text { display: flex; flex-direction: column; gap: 18px; }
.p-hero h1 { font-size: 54px; line-height: 1.08; letter-spacing: -0.02em; }
.p-hero .lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-actions.left { justify-content: flex-start; }
.p-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.p-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--muted); }
.p-badge img { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; }
.p-badge span:only-child { padding-left: 8px; }
.p-problem, .p-how, .p-built, .p-team { padding: 72px 0; }
.p-problem h2, .p-how h2, .p-built h2, .p-team h2, .p-faq h2 { margin-bottom: 12px; }
.p-problem .lead, .p-how .lead { margin-bottom: 36px; }
.p-built h2, .p-team h2 { margin-bottom: 32px; }
.p-problem { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-card { gap: 12px; }
.p-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.p-promise { padding: 80px 0; }
.p-promise-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.p-promise h2 { font-size: 40px; margin-bottom: 18px; }
.p-promise .lead { font-size: 17px; color: var(--muted); }
.p-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.p-points li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.p-points li:first-child { border-top: 0; padding-top: 0; }
.p-points .num { width: 34px; height: 34px; border-radius: 50%; background: #FDF1EE; color: var(--coral); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-points strong { display: block; font-size: 17px; margin-bottom: 4px; }
.p-points p { color: var(--muted); font-size: 15px; }
.p-how { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px 0; }
.p-row.flip .p-row-art { order: 2; }
.p-row h3 { font-size: 28px; margin-bottom: 12px; }
.p-row p { font-size: 16px; color: var(--muted); }
.p-row-art { display: flex; justify-content: center; }
.row-comp { width: 100%; max-width: 520px; }
.p-faq { padding: 72px 0; }
.p-faq h2 { margin-bottom: 28px; }
.faq { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; padding: 0 22px; }
.faq[open] { border-color: var(--teal); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: "Source Serif 4", Georgia, serif; font-size: 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq-toggle { width: 34px; height: 34px; border-radius: 8px; background: var(--teal-soft); position: relative; flex-shrink: 0; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 11px; top: 16px; width: 12px; height: 2px; background: var(--teal); }
.faq-toggle::after { transform: rotate(90deg); }
.faq[open] .faq-toggle::after { display: none; }
.faq p { color: var(--muted); font-size: 15px; padding: 0 0 20px; }
.p-cta { background: var(--teal); color: #fff; padding: 72px 0; }
.p-cta h2 { font-size: 36px; margin-bottom: 10px; }
.p-cta p { color: rgba(255,255,255,0.85); margin-bottom: 24px; font-size: 17px; }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.btn.dark:hover { background: #000; border-color: #000; }
.p-more { padding: 40px 0 8px; }
.p-more-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-weight: 600; }

/* mock screens */
.mcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.5; box-shadow: 0 10px 30px rgba(31,42,46,0.08); text-align: left; }
.mhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mhead.teal { color: var(--teal); }
.mline b { color: var(--muted); font-weight: 500; margin-right: 4px; }
.mline b::after { content: " ·"; }
.mrx { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; }
.mrow { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--fill); }
.mrow.found { background: var(--teal-soft); border-radius: 8px; padding: 8px 10px; border-top: 0; }
.mrow .grow { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.mrow .grow strong { font-weight: 600; }
.mrow .grow .muted { font-size: 12px; }
.mchip { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.mchip.green { background: #E3F5E9; color: #1B7A3D; }
.mchip.teal { background: var(--teal-soft); color: var(--teal); }
.mchip.amber { background: #FFF1D6; color: #9A6200; }
.mchip.grey { background: var(--fill); color: var(--muted); }
.mchip.dashed { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); font-weight: 500; }
.av { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 600; color: #fff; flex-shrink: 0; letter-spacing: 0.02em; }
.av.teal { background: var(--teal); } .av.coral { background: var(--coral); } .av.ink { background: var(--ink); }
.msearch { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--teal); border-radius: 8px; color: var(--teal); font-weight: 600; font-size: 15px; }
.mletterhead { display: flex; flex-direction: column; border-bottom: 2px solid var(--teal); padding-bottom: 8px; }
.mletterhead strong { font-family: "Source Serif 4", Georgia, serif; font-size: 17px; color: var(--teal); }
.mletterhead span { font-size: 11px; color: var(--muted); }
.msig { font-size: 12px; color: var(--muted); text-align: right; font-style: italic; }
.mtimeline > div { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; }
.mtimeline i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; position: relative; top: -1px; }
.mtimeline strong { width: 54px; flex-shrink: 0; font-size: 12px; }
.mtrend { width: 100%; height: 60px; margin-top: 4px; }
.mbl { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-top: 1px solid var(--fill); }
.mbl.total { font-weight: 600; border-top: 1px solid var(--line-strong); padding-top: 8px; }
.mstats { display: flex; gap: 24px; flex-wrap: wrap; }
.mstats > div { display: flex; flex-direction: column; }
.mstats .big { font-family: "Source Serif 4", Georgia, serif; font-size: 22px; font-weight: 700; color: var(--teal); }
.mstats .muted { font-size: 11px; }
.mbar { display: flex; height: 22px; border-radius: 6px; overflow: hidden; font-size: 10px; font-weight: 600; color: #fff; }
.mbar span { display: inline-flex; align-items: center; padding-left: 6px; white-space: nowrap; overflow: hidden; }
.mbar .teal { background: var(--teal); } .mbar .ink { background: var(--ink); } .mbar .coral { background: var(--coral); }
.mphone { width: 300px; max-width: 100%; background: #ECE5DD; border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 8px; border: 6px solid var(--ink); box-shadow: 0 16px 40px rgba(31,42,46,0.15); font-size: 13px; text-align: left; }
.mphone.small { width: 280px; }
.mphone-head { display: flex; align-items: center; gap: 10px; background: var(--teal); color: #fff; margin: -14px -14px 6px; padding: 12px 14px; border-radius: 16px 16px 0 0; }
.mphone-head div { display: flex; flex-direction: column; line-height: 1.2; }
.mphone-head span { font-size: 11px; opacity: 0.85; }
.mbubble { background: #fff; border-radius: 10px 10px 10px 2px; padding: 8px 10px; max-width: 92%; box-shadow: 0 1px 1px rgba(0,0,0,0.06); }
.mbubble.doc { border-left: 3px solid var(--teal); }
.mbubble.me { align-self: flex-end; background: #DCF8C6; border-radius: 10px 10px 2px 10px; }
.mbubble .muted { font-size: 12px; }
.mphone .mrow { border-top: 0; gap: 8px; }

/* hero compositions */
.hero-comp { position: relative; min-height: 460px; }
.hero-panel { position: absolute; right: 0; top: 40px; width: 78%; height: 380px; background: var(--teal); border-radius: 24px; opacity: 0.92; }
.hero-comp.whatsapp .hero-panel, .hero-comp.bill .hero-panel { background: var(--coral); opacity: 0.85; }
.hc { position: absolute; }
.hc.a { left: 0; top: 0; width: 62%; z-index: 2; }
.hc.b { right: 0; bottom: 0; width: 58%; z-index: 3; }
.hc.a.phone, .hc.b.phone { width: auto; }
.hc.people { right: 6%; bottom: 8px; display: flex; gap: 0; z-index: 1; }
.hc.people .person { width: 110px; height: 128px; margin-left: -28px; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15)); }
.hero-comp.scribe .hc.people, .hero-comp.abdm .hc.people { left: 2%; right: auto; bottom: 0; }
.hero-comp.queue .hc.people { right: 4%; bottom: 20px; }
.hero-comp.whatsapp .hc.a { left: 6%; top: 0; }
.hero-comp.whatsapp .hc.people { right: 4%; bottom: 20px; }
.hero-comp.bill .hc.people { left: 2%; right: auto; bottom: 0; }
.hc.chip-float { left: 4%; bottom: 24px; z-index: 4; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 8px 12px; box-shadow: 0 10px 30px rgba(31,42,46,0.15); font-size: 13px; }
.hc.chip-float div { display: flex; flex-direction: column; line-height: 1.2; }
.hc.chip-float span:not(.av):not(.mchip) { font-size: 11px; color: var(--muted); }
.hero-comp.whatsapp .hc.chip-float { left: auto; right: 0; bottom: 200px; }
.hero-comp.bill .hc.chip-float, .hero-comp.scribe .hc.chip-float, .hero-comp.abdm .hc.chip-float { left: auto; right: 0; top: -16px; bottom: auto; }
.hero-comp.bill .hc.a, .hero-comp.scribe .hc.a, .hero-comp.abdm .hc.a { width: 56%; }

@media (max-width: 1024px) {
  .p-hero h1 { font-size: 42px; }
  .cards.two { grid-template-columns: 1fr 1fr; }
  .p-promise-grid { grid-template-columns: 1fr; gap: 28px; }
  .p-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .p-hero-art { max-width: 640px; margin: 0 auto; width: 100%; }
  .hero-comp { min-height: 440px; }
}
@media (max-width: 760px) {
  .p-hero { padding: 32px 0 24px; }
  .p-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .p-hero h1 { font-size: 34px; }
  .p-hero .lead { font-size: 16px; }
  .hero-actions.left { flex-direction: column; }
  .cards.two { grid-template-columns: 1fr; }
  .p-problem, .p-how, .p-built, .p-team, .p-faq, .p-cta, .p-promise { padding: 48px 0; }
  .p-promise h2 { font-size: 30px; }
  .p-row { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
  .p-row.flip .p-row-art { order: 0; }
  .p-row h3 { font-size: 24px; }
  .faq summary { font-size: 17px; }
  .p-cta h2 { font-size: 28px; }
  .hero-comp { min-height: 0; display: flex; flex-direction: column; gap: 12px; }
  .hero-panel { display: none; }
  .hc { position: static; width: auto !important; }
  .hc.chip-float { align-self: flex-start; }
  /* the illustrated people stay on phones: a band in the panel colour under the screens */
  .hc.people { order: 10; display: flex; justify-content: center; align-items: flex-end; margin: 4px 0 0; padding: 14px 12px 0; background: var(--teal); border-radius: 18px; overflow: hidden; }
  .hero-comp.whatsapp .hc.people, .hero-comp.bill .hc.people { background: var(--coral); }
  .hc.people .person { width: 96px; height: 112px; margin: 0 -14px; }
  .mphone { margin: 0 auto; }
}

/* ---------- solutions, trust, about, calculator, resources, compare (WEB-10..15) ---------- */
.menu-panel.narrow { width: 420px; grid-template-columns: 1fr; }
.s-day { padding: 72px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-day h2 { margin-bottom: 36px; }
.s-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.s-timeline::before { content: ""; position: absolute; left: 62px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.s-timeline li { display: flex; gap: 28px; padding: 18px 0; position: relative; }
.s-time { width: 52px; flex-shrink: 0; font-family: "Source Serif 4", Georgia, serif; font-weight: 700; color: var(--teal); font-size: 18px; text-align: right; }
.s-timeline li::before { content: ""; position: absolute; left: 57px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); border: 2px solid #fff; }
.s-timeline strong { display: block; font-size: 18px; margin-bottom: 4px; }
.s-timeline p { color: var(--muted); font-size: 15px; }
.code.red { background: #FDECEA; color: #B42318; }
.mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mgrid > div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; background: var(--cream); border-radius: 8px; font-size: 12px; }
.mgrid strong { font-size: 15px; }
.mgrid .mchip { align-self: flex-start; margin-top: 2px; }
.maddendum { padding: 10px 12px; border-left: 3px solid var(--coral); background: #FDF6F4; border-radius: 0 8px 8px 0; }
.mtime { width: 44px; flex-shrink: 0; font-weight: 600; color: var(--teal); font-size: 13px; }
.mapprove { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--cream); border-radius: 8px; }
.mapprove div { display: flex; flex-direction: column; flex-grow: 1; line-height: 1.3; }
.mpin { letter-spacing: 3px; font-size: 10px; color: var(--teal); }
.mracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mrack { display: flex; flex-direction: column; gap: 4px; padding: 10px; background: var(--ink); border-radius: 8px; color: #fff; font-size: 11px; }
.mrack i { display: block; height: 8px; border-radius: 3px; background: #3C4A4F; position: relative; }
.mrack i::after { content: ""; position: absolute; right: 4px; top: 2px; width: 4px; height: 4px; border-radius: 50%; background: #34D399; }
.mrack span { margin-top: 6px; color: #C9C2B6; }
.mtenants { display: flex; align-items: stretch; gap: 10px; }
.mtenant { flex: 1; display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--teal); border-radius: 8px; background: var(--teal-soft); }
.mwall { width: 6px; border-radius: 3px; background: var(--ink); }
.mtable { width: 100%; border-collapse: collapse; font-size: 12px; }
.mtable th, .mtable td { padding: 6px 8px; text-align: center; border-top: 1px solid var(--fill); }
.mtable th:first-child, .mtable td:first-child { text-align: left; }
.mtable th { font-weight: 600; color: var(--muted); border-top: 0; }
.strike { text-decoration: line-through; color: #B42318; background: #FDECEA; padding: 1px 6px; border-radius: 4px; margin-right: 4px; font-size: 12px; }
.a-hero { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.a-people { display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.a-people .person { width: 96px; height: 112px; margin: 0 -10px; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.12)); }
.a-people .person:nth-child(even) { transform: translateY(-16px); }
.a-caption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
.a-vision { background: var(--ink); color: #fff; padding: 64px 0; }
.a-vision h2 { font-size: 34px; max-width: 860px; margin: 0 auto; line-height: 1.3; }
.a-regions { padding: 72px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.a-regions h2 { margin-bottom: 20px; }
.a-chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.a-chip { padding: 8px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 600; font-size: 14px; }
.a-where { padding: 56px 0; }
.a-where-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.a-where p { color: var(--muted); margin-bottom: 8px; }
.c-hero { padding: 56px 0 24px; }
.c-hero h1 { font-size: 44px; margin: 8px 0 12px; }
.c-body { padding: 24px 0 80px; }
.c-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.c-form { gap: 14px; }
.c-form h3 { font-size: 17px; margin-top: 8px; }
.c-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.c-form input { font: inherit; font-size: 16px; color: var(--ink); height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; }
.c-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,0.15); }
.c-results { display: flex; flex-direction: column; gap: 16px; }
.c-result.teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.c-result.teal .muted-light { color: rgba(255,255,255,0.8); font-size: 14px; }
.c-big { font-family: "Source Serif 4", Georgia, serif; font-size: 36px; font-weight: 700; line-height: 1.1; }
.c-big span { font-size: 52px; }
.c-note .btn { align-self: flex-start; margin-top: 6px; }
.r-body { padding: 16px 0 80px; }
.r-body .eyebrow { margin-bottom: 16px; }
.r-card { color: var(--ink); }
.r-card:hover { border-color: var(--teal); }
.r-link { font-weight: 600; color: var(--teal); margin-top: auto; font-size: 14px; }
.g-cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 22px; background: var(--teal-soft); border-radius: 12px; margin-top: 24px; }
.g-cta span { color: var(--muted); }
.g-more { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.cmp-body { padding: 24px 0 72px; }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; }
.cmp th, .cmp td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.cmp thead th { border-top: 0; background: var(--fill); font-size: 13px; }
.cmp tbody th { font-weight: 600; width: 22%; }
.cmp td { color: var(--muted); }
.cmp .us { background: var(--teal-soft); color: var(--ink); }
.cmp thead th.us { background: var(--teal); color: #fff; }
.cmp-cards { display: none; }
.cmp-cell { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--fill); font-size: 14px; }
.cmp-cell.us { color: var(--teal); font-weight: 600; }
.us-card { border-color: var(--teal); background: var(--teal-soft); }
@media (max-width: 1024px) {
  .a-where-grid { grid-template-columns: 1fr; }
  .c-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .cmp-scroll { display: none; }
  .cmp-cards { display: grid; gap: 14px; }
}
@media (max-width: 760px) {
  .s-timeline::before { left: 12px; }
  .s-timeline li { flex-direction: column; gap: 6px; padding-left: 32px; }
  .s-timeline li::before { left: 7px; top: 24px; }
  .s-time { text-align: left; width: auto; }
  .a-vision h2 { font-size: 24px; }
  .a-people .person { width: 72px; height: 84px; margin: 0 -8px; }
  .c-hero h1 { font-size: 30px; }
  .c-big span { font-size: 40px; }
  .menu-panel.narrow { width: auto; }
}

/* notice dialog (a sign-in attempt without an account lands here) */
.notice-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(31,42,46,0.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.notice-backdrop[hidden] { display: none; }
.notice-card { background: #fff; border-radius: 16px; padding: 28px; max-width: 460px; width: 100%; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 60px rgba(31,42,46,0.25); }
.notice-card h3 { font-size: 22px; line-height: 1.25; }
.notice-card p { color: var(--muted); font-size: 15px; }
.notice-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
