/* Jeevi.Care — "Hyderabad bazaar colour, hospital-grade clarity".
   Layout: full-width colour bands with zigzag (rangoli-border) edges, chunky ink outlines,
   hard offset shadows, tilted photo frames. One bright look by design (no dark theme). */
:root {
  --ink: #12245e;        /* mascot-jacket blue: text, outlines, shadows */
  --sun: #ffc629;        /* marigold: hero, highlights */
  --rani: #e8346c;       /* rani pink: energy, CTAs */
  --leaf: #12a06c;       /* leaf green: "available now", trust */
  --tang: #ff7a2e;       /* tangerine: emergency, warnings */
  --sky: #3d8bfd;        /* sky blue: accents */
  --paper: #ffffff;
  --sun-tint: #fff3cc;
  --rani-tint: #ffe3ec;
  --leaf-tint: #dcf5ea;
  --sky-tint: #e3eeff;
  --ink-soft: #3a4a80;
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Mukta", "Segoe UI", system-ui, sans-serif;
  --step--1: .9rem; --step-0: 1.08rem; --step-1: 1.3rem; --step-2: 1.7rem;
  --step-3: clamp(2rem, 4.2vw, 2.9rem); --step-4: clamp(2.5rem, 6.4vw, 4.6rem);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --line: 3px solid var(--ink);
  --pop: 5px 5px 0 var(--ink);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--rani); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.band { position: relative; padding-block: clamp(56px, 8vw, 104px); }
.band > .wrap { display: grid; gap: clamp(28px, 4vw, 48px); }
.band-sun { background: var(--sun); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-rani { background: var(--rani); color: var(--paper); }
.band-leaf { background: var(--leaf); color: var(--paper); }
.band-tint { background: var(--sun-tint); }
.band-sky { background: var(--sky-tint); }
.dots { background-image: radial-gradient(rgba(255,255,255,.16) 2px, transparent 2.6px); background-size: 24px 24px; }
.dots-ink { background-image: radial-gradient(rgba(18,36,94,.12) 2px, transparent 2.6px); background-size: 24px 24px; }
/* rangoli zigzag top edge: set --zc to the band's own colour */
.zig::before {
  content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px;
  background: linear-gradient(-45deg, var(--zc) 8px, transparent 0) 0 100% / 16px 16px repeat-x,
              linear-gradient(45deg, var(--zc) 8px, transparent 0) 0 100% / 16px 16px repeat-x;
}
.zig { --zc: var(--paper); }
.band-sun.zig { --zc: var(--sun); } .band-ink.zig { --zc: var(--ink); } .band-rani.zig { --zc: var(--rani); }
.band-leaf.zig { --zc: var(--leaf); } .band-tint.zig { --zc: var(--sun-tint); } .band-sky.zig { --zc: var(--sky-tint); }

.head { display: grid; gap: 14px; max-width: 760px; }
.head p { font-size: var(--step-1); line-height: 1.45; opacity: .92; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; width: fit-content;
  font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); border: var(--line); border-radius: 999px; padding: 4px 14px 2px;
}
.band-ink .eyebrow, .band-rani .eyebrow, .band-leaf .eyebrow { border-color: var(--paper); }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rani); }
.band-rani .eyebrow::before { background: var(--sun); }

/* highlighted words: a tilted marigold/pink sticker */
.hl { display: inline-block; padding: 0 .18em; border-radius: .18em; transform: rotate(-1.5deg); background: var(--rani); color: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.hl-sun { background: var(--sun); color: var(--ink); }
.hl-leaf { background: var(--leaf); color: var(--paper); }
.band-ink .hl { box-shadow: 4px 4px 0 var(--sun); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1;
  padding: 15px 24px 13px; border-radius: 999px; border: var(--line); text-decoration: none; cursor: pointer;
  background: var(--rani); color: var(--paper); box-shadow: var(--pop);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-leaf { background: var(--leaf); color: var(--paper); }
.band-ink .btn, .band-rani .btn, .band-leaf .btn { box-shadow: 5px 5px 0 var(--sun); }
.band-ink .btn:hover, .band-rani .btn:hover, .band-leaf .btn:hover { box-shadow: 7px 7px 0 var(--sun); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.arrow-link { font-family: var(--display); font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--rani); }
.arrow-link::after { content: " →"; }

/* ---------- ticker + header ---------- */
.ticker { background: var(--ink); color: var(--sun); overflow: hidden; font-family: var(--display); font-weight: 600; font-size: .98rem; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; padding-block: 7px 5px; }
.ticker-track span { white-space: nowrap; padding-inline: 22px; }
.ticker-track span::after { content: "✦"; color: var(--rani); padding-left: 44px; }
@keyframes tick { to { transform: translateX(-50%); } }

.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.85rem; line-height: 1; letter-spacing: -.02em; }
.logo img { width: 46px; height: 46px; border-radius: 50%; border: var(--line); object-fit: cover; object-position: 50% 12%; background: var(--sun); }
.logo b { color: var(--rani); font-weight: 800; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.04rem; padding: 8px 12px 6px; border-radius: 999px; }
.nav a:hover { background: var(--sun-tint); }
.nav a[aria-current="page"] { background: var(--sun); box-shadow: inset 0 0 0 2px var(--ink); }
.nav .btn { font-size: 1rem; padding: 11px 18px 9px; margin-left: 8px; box-shadow: 3px 3px 0 var(--ink); }
.nav .btn:hover { background: var(--rani); }
.menu-btn { display: none; margin-left: auto; background: var(--sun); border: var(--line); border-radius: 12px; width: 50px; height: 46px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 3px; background: var(--ink); border-radius: 3px; margin: 0 auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -7px; } .menu-btn span::after { position: absolute; top: 7px; }

@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: var(--line); padding: 12px var(--gutter-r) 20px var(--gutter); }
  .nav.open { display: flex; }
  .nav a { font-size: 1.25rem; padding: 10px 14px 8px; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- hero ---------- */
.hero { background: var(--sun); padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -180px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(232,52,108,.16) 0 10px, transparent 10px 26px); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy .lede { font-size: var(--step-1); line-height: 1.45; max-width: 34ch; }
.hero-note { font-size: var(--step--1); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px 3px; font-weight: 600; font-size: .98rem; }

.collage { position: relative; min-height: 520px; }
.frame { position: absolute; border: 4px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: var(--paper); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.collage .f1 { width: 68%; aspect-ratio: 725/900; right: 2%; top: 0; transform: rotate(3deg); box-shadow: 10px 10px 0 var(--rani); }
.collage .f2 { width: 46%; aspect-ratio: 725/900; left: 0; bottom: 0; transform: rotate(-5deg); box-shadow: 8px 8px 0 var(--leaf); }
.bubble { position: absolute; background: var(--paper); border: var(--line); border-radius: 20px 20px 20px 4px; padding: 12px 16px; box-shadow: var(--pop); font-size: .98rem; line-height: 1.4; max-width: 270px; }
.bubble small { display: block; font-weight: 700; color: var(--leaf); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.collage .bubble { right: -4px; bottom: 34px; transform: rotate(-2deg); }
.badge-round { position: absolute; left: 30%; top: 2%; width: 116px; height: 116px; border-radius: 50%; background: var(--rani); color: var(--paper);
  border: var(--line); display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; line-height: 1; font-size: 1.05rem;
  transform: rotate(-12deg); box-shadow: 4px 4px 0 var(--ink); }
.badge-round strong { display: block; font-size: 1.8rem; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .collage { min-height: 0; aspect-ratio: 1 / 1.02; max-width: 520px; width: 100%; margin-inline: auto; }
  .badge-round { width: 92px; height: 92px; font-size: .9rem; } .badge-round strong { font-size: 1.4rem; }
}

/* page hero for inner pages */
.page-hero { padding-block: clamp(44px, 6vw, 84px) clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.page-hero .head p { font-size: var(--step-1); }
.page-hero .frame { position: relative; transform: rotate(2.5deg); aspect-ratio: 4/3; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .frame { max-width: 480px; } }

/* ---------- problem / questions ---------- */
.qs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; }
.q { position: relative; padding: 28px 24px 24px; border: var(--line); border-radius: 26px 26px 26px 6px; background: var(--paper); display: grid; gap: 8px; }
.q:nth-child(1) { transform: rotate(-1.5deg); box-shadow: 6px 6px 0 var(--sun); }
.q:nth-child(2) { transform: rotate(1deg) translateY(18px); box-shadow: 6px 6px 0 var(--rani); }
.q:nth-child(3) { transform: rotate(-.6deg); box-shadow: 6px 6px 0 var(--leaf); }
.q .mark { position: absolute; top: -26px; right: 18px; width: 52px; height: 52px; border-radius: 50%; border: var(--line); background: var(--sun); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.8rem; }
.q:nth-child(2) .mark { background: var(--rani); color: var(--paper); } .q:nth-child(3) .mark { background: var(--leaf); color: var(--paper); }
.answer { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; background: var(--ink); color: var(--paper); border-radius: 28px; padding: clamp(22px, 4vw, 36px); margin-top: 18px; }
.answer img { width: 110px; height: 110px; border-radius: 50%; border: 4px solid var(--sun); object-fit: cover; object-position: 50% 10%; background: var(--sun); }
.answer h3 { font-size: var(--step-2); color: var(--sun); margin-bottom: 6px; }
@media (max-width: 760px) { .qs { grid-template-columns: 1fr; gap: 40px; } .q:nth-child(2) { transform: rotate(1deg); } .answer { grid-template-columns: 1fr; } }

/* ---------- journey road ---------- */
.road { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; position: relative; counter-reset: step; }
.road::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; border-top: 4px dashed var(--sun); }
.stop { position: relative; display: grid; gap: 10px; align-content: start; text-align: left; }
.stop .num { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.7rem;
  border: 4px solid var(--paper); color: var(--ink); position: relative; z-index: 1; }
.stop:nth-child(1) .num { background: var(--sun); } .stop:nth-child(2) .num { background: var(--rani); color: var(--paper); }
.stop:nth-child(3) .num { background: var(--sky); color: var(--paper); } .stop:nth-child(4) .num { background: var(--leaf); color: var(--paper); }
.stop:nth-child(5) .num { background: var(--tang); color: var(--paper); }
.stop h3 { font-size: var(--step-2); color: var(--sun); }
.stop p { opacity: .92; font-size: 1rem; }
@media (max-width: 900px) {
  .road { grid-template-columns: 1fr; gap: 22px; }
  .road::before { left: 32px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 4px dashed var(--sun); }
  .stop { grid-template-columns: 68px 1fr; column-gap: 18px; } .stop .num { grid-row: span 2; }
}

/* ---------- chip cloud ---------- */
.cloud { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.cloud li { font-family: var(--display); font-weight: 700; font-size: 1.12rem; padding: 9px 18px 6px; border-radius: 999px; border: var(--line); background: var(--paper); }
.cloud li:nth-child(4n+1) { background: var(--sun); } .cloud li:nth-child(4n+2) { background: var(--rani-tint); }
.cloud li:nth-child(4n+3) { background: var(--leaf-tint); } .cloud li:nth-child(4n) { background: var(--sky-tint); }
.cloud li:nth-child(odd) { transform: rotate(-1.5deg); } .cloud li:nth-child(3n) { transform: rotate(1.8deg); }
.fine { font-size: var(--step--1); opacity: .85; max-width: 72ch; }

/* ---------- feature rows (alternating photo + copy) ---------- */
.rows { display: grid; gap: clamp(48px, 7vw, 88px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.row:nth-child(even) .row-img { order: 2; }
.row-img { position: relative; }
.row-img .frame { position: relative; aspect-ratio: 4/3; transform: rotate(-2deg); }
.row:nth-child(even) .row-img .frame { transform: rotate(2deg); box-shadow: 8px 8px 0 var(--rani); }
.row:nth-child(3n) .row-img .frame { box-shadow: 8px 8px 0 var(--leaf); }
.row-copy { display: grid; gap: 14px; min-width: 0; }
.row-copy h3 { font-size: var(--step-3); font-weight: 800; }
.tag { display: inline-block; width: fit-content; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 12px 1px; border-radius: 999px; background: var(--leaf); color: var(--paper); }
.tag-soon { background: var(--tang); }
.price-pill { display: inline-block; width: fit-content; font-family: var(--display); font-weight: 800; font-size: 1.3rem; background: var(--sun); border: var(--line); border-radius: 12px; padding: 4px 14px 1px; transform: rotate(-1deg); }
@media (max-width: 820px) { .row { grid-template-columns: 1fr; } .row:nth-child(even) .row-img { order: 0; } }

/* ---------- promises (big numbers) ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; border-top: 3px solid rgba(255,255,255,.45); }
.promises li { padding: 24px 20px 6px 0; display: grid; gap: 6px; align-content: start; border-right: 3px solid rgba(255,255,255,.45); padding-left: 20px; }
.promises li:first-child { padding-left: 0; } .promises li:last-child { border-right: 0; }
.big { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5.5vw, 4.2rem); line-height: .95; color: var(--sun); }
.promises h3 { font-size: 1.25rem; }
.promises p { opacity: .93; font-size: 1rem; }
@media (max-width: 860px) { .promises { grid-template-columns: 1fr 1fr; } .promises li { padding-left: 0 !important; border-right: 0; border-bottom: 3px solid rgba(255,255,255,.3); padding-bottom: 20px; } }
@media (max-width: 460px) { .promises { grid-template-columns: 1fr; } }

/* ---------- quotes ---------- */
.says { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; align-items: start; }
.say { display: grid; gap: 14px; }
.say blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; padding: 24px 22px 20px; border: var(--line); border-radius: 24px 24px 24px 4px; background: var(--paper); box-shadow: var(--pop); }
.say:nth-child(1) blockquote { background: var(--sun); transform: rotate(-1.5deg); }
.say:nth-child(2) blockquote { background: var(--rani-tint); transform: rotate(1deg) translateY(16px); }
.say:nth-child(3) blockquote { background: var(--leaf-tint); transform: rotate(-.5deg); }
.say cite { font-style: normal; font-weight: 600; padding-left: 8px; }
.say:nth-child(2) cite { margin-top: 16px; }
@media (max-width: 820px) { .says { grid-template-columns: 1fr; } .say:nth-child(2) blockquote { transform: rotate(1deg); } .say:nth-child(2) cite { margin-top: 0; } }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.founder .pic { width: clamp(150px, 22vw, 230px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid var(--paper); box-shadow: 8px 8px 0 var(--sun); }
.founder .pic img { width: 100%; height: 100%; object-fit: cover; }
.founder blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.22; }
.founder figcaption { margin-top: 14px; font-weight: 600; }
.founder figcaption strong { color: var(--sun); font-family: var(--display); font-size: 1.2rem; }
@media (max-width: 680px) { .founder { grid-template-columns: 1fr; } }

/* ---------- CTA + emergency ---------- */
.cta { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.cta h2 { font-size: clamp(2.8rem, 8vw, 5.6rem); }
.cta img { border: var(--line); border-radius: 50%; width: min(280px, 100%); aspect-ratio: 1; object-fit: cover; object-position: 50% 8%; background: var(--rani); box-shadow: 8px 8px 0 var(--ink); justify-self: center; transform: rotate(4deg); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta img { width: 180px; } }
.sos { background: var(--tang); color: var(--ink); border-block: var(--line); }
.sos .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-block: 18px; }
.sos strong { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; background: var(--paper); border: var(--line); border-radius: 12px; padding: 8px 14px 4px; }
.sos p { flex: 1 1 320px; font-weight: 500; }

/* ---------- generic tiles / lists ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.tile { border: var(--line); border-radius: 20px; padding: 22px 20px 20px; background: var(--paper); color: var(--ink); display: grid; gap: 8px; align-content: start; min-width: 0; }
.tile p { font-size: 1rem; }
.tile .ico { width: 46px; height: 46px; border-radius: 14px; border: var(--line); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.3rem; background: var(--sun); }
.c-sun .ico, .tile.c-sun { --c: var(--sun); }
.tiles-color > .tile:nth-child(5n+1) { box-shadow: 6px 6px 0 var(--sun); }
.tiles-color > .tile:nth-child(5n+2) { box-shadow: 6px 6px 0 var(--rani); }
.tiles-color > .tile:nth-child(5n+3) { box-shadow: 6px 6px 0 var(--leaf); }
.tiles-color > .tile:nth-child(5n+4) { box-shadow: 6px 6px 0 var(--sky); }
.tiles-color > .tile:nth-child(5n+5) { box-shadow: 6px 6px 0 var(--tang); }
.tiles-color > .tile:nth-child(5n+2) .ico { background: var(--rani); color: var(--paper); }
.tiles-color > .tile:nth-child(5n+3) .ico { background: var(--leaf); color: var(--paper); }
.tiles-color > .tile:nth-child(5n+4) .ico { background: var(--sky); color: var(--paper); }
.tiles-color > .tile:nth-child(5n+5) .ico { background: var(--tang); }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf);
  -webkit-mask: radial-gradient(circle, #000 66%, transparent 67%); mask: radial-gradient(circle, #000 66%, transparent 67%); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.32em + 4px); width: 6px; height: 10px; border: solid var(--paper); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ticks.soon li::before { background: var(--tang); }
.nos { list-style: none; display: grid; gap: 8px; }
.nos li { position: relative; padding-left: 30px; }
.nos li::before { content: "×"; position: absolute; left: 0; top: .05em; width: 20px; height: 20px; border-radius: 50%; background: var(--rani); color: var(--paper); font-weight: 800; display: grid; place-items: center; font-size: 16px; line-height: 1; }

/* insurance stages */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; border: var(--line); border-radius: 24px; overflow: hidden; background: var(--paper); color: var(--ink); }
.stages > li { padding: 22px 20px; display: grid; gap: 10px; align-content: start; border-right: var(--line); min-width: 0; }
.stages > li:last-child { border-right: 0; }
.stages .when { font-family: var(--display); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px 1px; border-radius: 8px; width: fit-content; }
.stages > li:nth-child(1) .when { background: var(--sun); } .stages > li:nth-child(2) .when { background: var(--rani); color: var(--paper); }
.stages > li:nth-child(3) .when { background: var(--sky); color: var(--paper); } .stages > li:nth-child(4) .when { background: var(--leaf); color: var(--paper); }
.stages .ticks li { font-size: .98rem; }
@media (max-width: 900px) { .stages { grid-template-columns: 1fr 1fr; } .stages > li:nth-child(2) { border-right: 0; } .stages > li:nth-child(-n+2) { border-bottom: var(--line); } }
@media (max-width: 560px) { .stages { grid-template-columns: 1fr; } .stages > li { border-right: 0; border-bottom: var(--line); } .stages > li:last-child { border-bottom: 0; } }

/* home services list */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; border-top: var(--line); }
.svc li { padding: 18px 18px 18px 0; border-bottom: 2px dashed rgba(18,36,94,.35); display: grid; gap: 4px; align-content: start; }
.svc li:nth-child(3n+2), .svc li:nth-child(3n) { padding-left: 18px; border-left: 2px dashed rgba(18,36,94,.35); }
.svc h3 { font-size: 1.2rem; }
.svc p { font-size: .98rem; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr 1fr; } .svc li { padding-left: 0 !important; border-left: 0 !important; } .svc li:nth-child(odd) { padding-right: 18px; } }
@media (max-width: 540px) { .svc { grid-template-columns: 1fr; } }

/* trust ladder */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; }
.ladder li { position: relative; border: var(--line); border-radius: 18px; padding: 18px; background: var(--paper); color: var(--ink); display: grid; gap: 6px; align-content: start; }
.ladder li:nth-child(1) { margin-top: 54px; } .ladder li:nth-child(2) { margin-top: 36px; } .ladder li:nth-child(3) { margin-top: 18px; }
.ladder li:nth-child(1) { box-shadow: 0 8px 0 var(--sky); } .ladder li:nth-child(2) { box-shadow: 0 8px 0 var(--leaf); }
.ladder li:nth-child(3) { box-shadow: 0 8px 0 var(--rani); } .ladder li:nth-child(4) { box-shadow: 0 8px 0 var(--sun); background: var(--sun-tint); }
.ladder .lvl { font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
@media (max-width: 860px) { .ladder { grid-template-columns: 1fr 1fr; } .ladder li { margin-top: 0 !important; } }
@media (max-width: 520px) { .ladder { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.ticket { display: grid; grid-template-columns: 1fr auto; border: 4px solid var(--ink); border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 10px 10px 0 var(--rani); overflow: hidden; }
.ticket-main { padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; min-width: 0; }
.ticket-stub { background: var(--sun); border-left: 4px dashed var(--ink); padding: clamp(24px, 4vw, 40px) clamp(22px, 3vw, 34px); display: grid; gap: 12px; align-content: center; text-align: center; min-width: 240px; position: relative; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; left: -22px; width: 40px; height: 40px; border-radius: 50%; background: var(--sun-tint); border: 4px solid var(--ink); }
.ticket-stub::before { top: -24px; } .ticket-stub::after { bottom: -24px; }
.amount { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 8vw, 5.2rem); line-height: .9; }
.amount small { font-size: 1.2rem; font-weight: 700; }
.ticket .ticks { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.founding { background: var(--ink); color: var(--paper); border-radius: 14px; padding: 12px 14px 10px; font-weight: 600; line-height: 1.3; }
.founding strong { color: var(--sun); font-family: var(--display); font-size: 1.5rem; display: block; }
@media (max-width: 780px) { .ticket { grid-template-columns: 1fr; } .ticket-stub { border-left: 0; border-top: 4px dashed var(--ink); min-width: 0; } .ticket-stub::before, .ticket-stub::after { display: none; } .ticket .ticks { grid-template-columns: 1fr; } }

.episodes { list-style: none; display: grid; gap: 0; border-top: 3px solid var(--paper); }
.episodes li { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 22px 0; border-bottom: 3px solid rgba(255,255,255,.35); }
.episodes h3 { font-size: var(--step-2); }
.episodes p { opacity: .92; }
.tagprice { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); background: var(--sun); color: var(--ink); border: 3px solid var(--paper); border-radius: 14px; padding: 6px 18px 0; transform: rotate(-2deg); white-space: nowrap; }
.episodes li:nth-child(even) .tagprice { transform: rotate(1.5deg); background: var(--paper); }
@media (max-width: 560px) { .episodes li { grid-template-columns: 1fr; } .tagprice { width: fit-content; } }

.table-wrap { overflow-x: auto; border: var(--line); border-radius: 22px; background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 2px solid var(--sun-tint); vertical-align: top; }
thead th { font-family: var(--display); font-size: 1.2rem; background: var(--sun); border-bottom: var(--line); }
thead th:last-child { background: var(--rani); color: var(--paper); }
tbody td:last-child { font-weight: 600; background: var(--rani-tint); }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- who we help ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.jump a { display: inline-block; text-decoration: none; font-family: var(--display); font-weight: 700; padding: 9px 16px 6px; border: var(--line); border-radius: 999px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.jump a:hover { background: var(--sun); }
.persona { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 4vw, 52px); align-items: start; scroll-margin-top: 100px; }
.persona .frame { position: relative; aspect-ratio: 4/3; transform: rotate(-1.5deg); }
.persona blockquote { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; }
.persona .copy { display: grid; gap: 14px; min-width: 0; }
.bestfit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; border-top: 3px dashed currentColor; padding-top: 16px; }
.bestfit span { font-weight: 700; }
@media (max-width: 820px) { .persona { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form-card { border: 4px solid var(--ink); border-radius: 28px; background: var(--paper); color: var(--ink); padding: clamp(22px, 4vw, 38px); box-shadow: 10px 10px 0 var(--ink); display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 700; font-size: 1rem; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--sun-tint); border: 3px solid var(--ink); border-radius: 14px; padding: 12px 14px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: none; background: var(--paper); box-shadow: 4px 4px 0 var(--rani); }
textarea { min-height: 120px; resize: vertical; }
.form-done { border: var(--line); background: var(--leaf-tint); border-radius: 16px; padding: 16px 18px; display: grid; gap: 10px; }
.form-done strong { font-family: var(--display); font-size: 1.3rem; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list .k { font-family: var(--display); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.contact-list .v { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.15; word-break: break-word; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--paper); padding-block: 64px 28px; position: relative; }
.site-foot .wrap { display: grid; gap: 40px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; }
.foot-top h4 { font-size: 1.1rem; color: var(--sun); margin-bottom: 10px; }
.foot-top ul { list-style: none; display: grid; gap: 6px; }
.foot-top a { text-decoration: none; } .foot-top a:hover { color: var(--sun); text-decoration: underline; }
.site-foot .logo { color: var(--paper); } .site-foot .logo b { color: var(--sun); }
.foot-legal { font-size: .88rem; opacity: .78; border-top: 2px solid rgba(255,255,255,.2); padding-top: 20px; display: grid; gap: 8px; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }

/* floating WhatsApp */
.wa-float { position: fixed; right: max(18px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; background: var(--leaf); color: var(--paper); text-decoration: none; font-family: var(--display); font-weight: 700;
  border: var(--line); border-radius: 999px; padding: 10px 18px 8px 10px; box-shadow: 4px 4px 0 var(--ink); }
.wa-float img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--paper); object-fit: cover; object-position: 50% 10%; background: var(--sun); }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 8px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Spam trap for form submissions: hidden from people, filled only by bots */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- comparison table ---------- */
.table-wrap { color: var(--ink); }                          /* the actual fix */
.band-ink .table-wrap { border-color: var(--paper); box-shadow: 8px 8px 0 var(--sun); }

.compare thead th { color: var(--ink); }                    /* readable on marigold */
.compare thead th:last-child { color: var(--paper); }
.compare tbody td { line-height: 1.45; }
.compare tbody td:first-child { color: var(--ink-soft); }
.compare tbody td:last-child { color: var(--ink); }

/* ✕ / ✓ markers */
.compare tbody td { position: relative; padding-left: 48px; }
.compare tbody td::before {
  position: absolute; left: 16px; top: 17px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 13px; line-height: 1;
}
.compare tbody td:first-child::before { content: "✕"; background: var(--sun-tint); color: var(--ink-soft); border: 2px solid var(--ink-soft); }
.compare tbody td:last-child::before  { content: "✓"; background: var(--leaf); color: var(--paper); }

/* phones: stack each row as a card instead of scrolling sideways */
@media (max-width: 640px) {
  .compare { overflow: visible; }
  .compare table { min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { display: grid; border-bottom: var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody td { display: block; border-bottom: 0; padding-top: 30px; }
  .compare tbody td::after {
    content: attr(data-label); position: absolute; left: 48px; top: 10px;
    font-family: var(--display); font-weight: 700; font-size: .78rem;
    letter-spacing: .06em; text-transform: uppercase; opacity: .7;
  }
  .compare tbody td::before { top: 32px; }
}
