/* ==========================================================================
   ClaimSaathi — Free Health Insurance Claim Assistance (India)
   Stylesheet
   --------------------------------------------------------------------------
   Contents
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout helpers
   5.  Header & navigation
   6.  Buttons
   7.  Hero
   8.  Cards & grids
   9.  Steps / process
   10. Callouts, notes & warnings
   11. Quote / principle band
   12. Forms
   13. Accordion & list styles
   14. Tables
   15. Footer
   16. Utilities
   17. Responsive
   18. Motion & print
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Brand palette */
  --navy: #12304a;
  --navy-700: #0d2438;
  --navy-500: #1b4569;
  --blue: #246bce;
  --blue-dark: #1b55a6;
  --blue-light: #e8f0fb;
  --teal: #16a6a1;
  --teal-dark: #0d7b77;
  --teal-light: #e4f6f5;
  --wash: #f4f8fb;
  --white: #ffffff;
  --ink: #17212b;
  --ink-soft: #46586b;
  --ink-mute: #5c6b7c;

  /* Status colours — red used sparingly, warnings only */
  --alert: #c0392b;
  --alert-bg: #fdf1ef;
  --alert-border: #f2c8c1;
  --amber: #a86400;
  --amber-bg: #fdf6e8;
  --amber-border: #f0dcb4;

  /* Lines & surfaces */
  --line: #dce6f0;
  --line-soft: #e9f0f7;
  --surface: #ffffff;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(18, 48, 74, 0.06);
  --shadow-sm: 0 2px 6px rgba(18, 48, 74, 0.07);
  --shadow-md: 0 6px 18px rgba(18, 48, 74, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 48, 74, 0.12);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 88px;

  /* Layout */
  --wrap: 1140px;
  --wrap-narrow: 820px;
  --header-h: 72px;

  /* Type */
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Icons sit inside headings, buttons and list items, so they stay inline. */
svg {
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

/* The hidden attribute must win over component display rules such as
   .field { display: flex }, otherwise conditionally revealed fields show. */
[hidden] {
  display: none !important;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--s-6) 0;
}

/* Focus visibility — keyboard users must always see where they are */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--s-4);
  color: var(--navy);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem);
  letter-spacing: -0.028em;
}

h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.25rem);
  letter-spacing: -0.022em;
}

h3 {
  font-size: clamp(1.18rem, 1.05rem + 0.5vw, 1.4rem);
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 var(--s-4);
}

a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--navy);
}

strong {
  font-weight: 650;
  color: var(--navy);
}

small {
  font-size: 0.875rem;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: var(--s-3);
}

.eyebrow--light {
  color: #8fd6d3;
}

/* ==========================================================================
   4. LAYOUT HELPERS
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: clamp(var(--s-7), 5vw, var(--s-9));
}

.section--tight {
  padding-block: clamp(var(--s-6), 4vw, var(--s-7));
}

.section--wash {
  background: var(--wash);
}

.section--navy {
  background: var(--navy);
  color: #d8e5f0;
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--line {
  border-top: 1px solid var(--line-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: var(--s-6);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-bottom: 0;
}

.stack > * + * {
  margin-top: var(--s-4);
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

/* The header runs a little wider than the content column so the six nav
   links and the button have room before the menu collapses. */
.site-header .wrap {
  max-width: 1280px;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 750;
  font-size: 1.16rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

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

.nav a {
  display: inline-block;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  background: var(--wash);
  color: var(--navy);
}

.nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--blue-light);
}

.nav .btn {
  margin-left: 10px;
  padding: 9px 15px;
}

/* .nav a sets a muted link colour, so the button inside the nav has to
   restate its own colours or its label loses contrast against the blue. */
.nav a.btn--primary,
.nav a.btn--primary:hover,
.nav a.btn--primary[aria-current="page"] {
  background: var(--blue);
  color: var(--white);
}

.nav a.btn--primary:hover {
  background: var(--blue-dark);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 9px 13px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--wash);
}

.nav-toggle .bars {
  position: relative;
  width: 17px;
  height: 12px;
  display: inline-block;
}

.nav-toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle .bars span:nth-child(1) {
  top: 0;
}
.nav-toggle .bars span:nth-child(2) {
  top: 5px;
}
.nav-toggle .bars span:nth-child(3) {
  top: 10px;
}

.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease,
    border-color 0.16s ease, transform 0.12s ease, box-shadow 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--wash);
  border-color: #c6d6e6;
  color: var(--navy);
}

.btn--onnavy {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--onnavy:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

/* White on --teal is only 3:1, so the solid teal button uses the dark tone. */
.btn--teal {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--teal:hover {
  background: #0a6360;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 15px 28px;
  font-size: 1.02rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.btn-row--center {
  justify-content: center;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(168deg, #12304a 0%, #17436a 52%, #135c66 100%);
  color: #dce9f4;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 82% 18%,
      rgba(22, 166, 161, 0.3),
      transparent 46%
    ),
    radial-gradient(circle at 12% 88%, rgba(36, 107, 206, 0.32), transparent 52%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 760px;
  padding-block: clamp(var(--s-7), 7vw, 92px);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--s-4);
  text-wrap: balance;
  font-size: clamp(2.05rem, 1.4rem + 2.7vw, 3.2rem);
}

.hero-q {
  color: var(--white);
  font-size: clamp(1.12rem, 1.02rem + 0.6vw, 1.42rem);
  font-weight: 650;
  line-height: 1.4;
  max-width: 30ch;
  margin-bottom: 10px;
}

.hero-sub {
  color: #d6e6f2;
  font-size: clamp(1.02rem, 0.98rem + 0.35vw, 1.15rem);
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: var(--s-5);
}

.hero-free {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 34ch;
  color: #bdeeeb;
  font-weight: 700;
  font-size: clamp(0.95rem, 0.92rem + 0.2vw, 1.05rem);
  line-height: 1.45;
  margin-bottom: 0;
}

.hero-free svg {
  margin-top: 3px;
}

.hero .btn-row {
  margin-top: var(--s-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #d6ecea;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-5);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4fd6cf;
  flex: 0 0 auto;
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: var(--s-5) 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-3);
}

.trust-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 6px;
  border-radius: var(--r-md);
  background: var(--wash);
  line-height: 1.35;
}

.trust-list li svg {
  flex: 0 0 auto;
}

/* Principle band */
.principle {
  background: var(--teal-light);
  border-block: 1px solid #c8eae8;
  padding-block: clamp(var(--s-6), 4vw, var(--s-7));
  text-align: center;
}

.principle blockquote {
  margin: 0 auto;
  max-width: 620px;
  font-size: clamp(1.22rem, 1.02rem + 1vw, 1.7rem);
  font-weight: 700;
  color: #0b4a48;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   8. CARDS & GRIDS
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--s-5);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.18s ease, transform 0.18s ease,
    border-color 0.18s ease;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card--hover:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #c9dcef;
}

.card--flat {
  box-shadow: none;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-4);
  background: var(--blue-light);
  color: var(--blue-dark);
}

.card-icon--teal {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.card-icon--alert {
  background: var(--alert-bg);
  color: var(--alert);
}

.card-note {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--line);
  font-size: 0.86rem;
  color: var(--ink-mute);
}

/* Case cards */
.case-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-md);
  padding: var(--s-5);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.case-card--teal {
  border-left-color: var(--teal);
}

.case-card--alert {
  border-left-color: var(--alert);
}

.case-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.case-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* Small feature list */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}

.feature-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  line-height: 1.55;
}

.feature-list li svg {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--teal-dark);
}

.feature-list--blue li svg {
  color: var(--blue);
}

/* Do / Don't lists */
.dd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
}

.dd {
  border-radius: var(--r-lg);
  padding: var(--s-5);
  border: 1px solid var(--line);
  background: var(--white);
}

.dd--do {
  border-color: #c8eae8;
  background: var(--teal-light);
}

.dd--dont {
  border-color: var(--alert-border);
  background: var(--alert-bg);
}

.dd h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  margin-bottom: var(--s-4);
}

.dd--do h3 {
  color: #0f5f5c;
}

.dd--dont h3 {
  color: #9b2f22;
}

.dd ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dd li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.55;
}

.dd li svg {
  flex: 0 0 auto;
  margin-top: 4px;
}

.dd--do li svg {
  color: var(--teal-dark);
}

.dd--dont li svg {
  color: var(--alert);
}

/* ==========================================================================
   9. STEPS / PROCESS
   ========================================================================== */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-4);
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--s-5);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-xs);
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.step:nth-child(even) .step-num {
  background: var(--teal-dark);
}

.step h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.step p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.step-tag {
  display: inline-block;
  margin-top: var(--s-3);
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--wash);
  border: 1px solid var(--line);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Compact numbered principle list */
.principles {
  counter-reset: pr;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
}

.principles > li {
  counter-increment: pr;
  position: relative;
  padding: var(--s-4) var(--s-5) var(--s-4) 62px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
}

.principles > li::before {
  content: counter(pr);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.principles h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.principles p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   10. CALLOUTS, NOTES & WARNINGS
   ========================================================================== */

.callout {
  border-radius: var(--r-lg);
  padding: var(--s-5);
  border: 1px solid var(--line);
  background: var(--wash);
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.callout svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.callout h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout--info {
  background: var(--blue-light);
  border-color: #c9ddf6;
}

.callout--info svg {
  color: var(--blue-dark);
}

.callout--teal {
  background: var(--teal-light);
  border-color: #c8eae8;
}

.callout--teal svg {
  color: var(--teal-dark);
}

.callout--warn {
  background: var(--amber-bg);
  border-color: var(--amber-border);
}

.callout--warn svg {
  color: var(--amber);
}

.callout--warn h3 {
  color: #7a4a00;
}

.callout--alert {
  background: var(--alert-bg);
  border-color: var(--alert-border);
}

.callout--alert svg {
  color: var(--alert);
}

.callout--alert h3 {
  color: #9b2f22;
}

/* Sample email / quotation block */
.sample {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.sample-head {
  padding: 12px var(--s-5);
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.sample-body {
  padding: var(--s-5);
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--ink);
}

.sample-body p:last-child {
  margin-bottom: 0;
}

.sample-body .meta {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86rem;
  color: var(--ink-soft);
  background: var(--wash);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  margin-bottom: var(--s-4);
}

.copy-btn {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 13px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--navy);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.copy-btn:hover {
  background: var(--blue-light);
  border-color: #c9ddf6;
}

/* Emphasis equation strip */
.equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.equation span {
  font-weight: 700;
  font-size: clamp(0.95rem, 0.9rem + 0.35vw, 1.1rem);
  letter-spacing: 0.01em;
}

.equation .op {
  color: #6fd8d3;
  font-size: 1.3rem;
}

.equation .eq-out {
  background: var(--teal-dark);
  border-radius: var(--r-pill);
  padding: 7px 18px;
}

/* Disclaimer strip (footer + pages) */
/* ==========================================================================
   11. PAGE HEADER (inner pages)
   ========================================================================== */

.page-head {
  background: linear-gradient(160deg, #12304a 0%, #1a4a72 100%);
  color: #cfe0ee;
  padding-block: clamp(var(--s-6), 5vw, var(--s-8));
}

.page-head h1 {
  color: var(--white);
  margin-bottom: var(--s-3);
  text-wrap: balance;
}

.page-head p {
  margin-bottom: 0;
  color: #bfd5e7;
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.12rem);
  max-width: 68ch;
}

.breadcrumb {
  font-size: 0.84rem;
  margin-bottom: var(--s-4);
  color: #9fbdd5;
}

.breadcrumb a {
  color: #bfd9ee;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb span {
  margin-inline: 6px;
  opacity: 0.6;
}

/* ==========================================================================
   12. FORMS
   ========================================================================== */

.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: var(--s-6);
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(var(--s-5), 3vw, var(--s-7));
  box-shadow: var(--shadow-sm);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--s-7);
}

fieldset:last-of-type {
  margin-bottom: var(--s-5);
}

legend {
  display: block;
  width: 100%;
  padding: 0 0 var(--s-2);
  margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

legend .legend-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  margin-right: 10px;
  vertical-align: 2px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4) var(--s-5);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.label-hint {
  font-weight: 400;
  color: var(--ink-mute);
  font-size: 0.85rem;
}

.req {
  color: var(--alert);
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #ccdcea;
  border-radius: var(--r-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 44px;
}

textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

input::placeholder,
textarea::placeholder {
  color: #9bb0c4;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #b3cadf;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 107, 206, 0.16);
  outline: none;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2346586b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
}

.field-note {
  font-size: 0.83rem;
  color: var(--ink-mute);
  margin: 0;
}

/* Radio / checkbox groups */
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  position: relative;
  display: inline-flex;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.choice span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid #ccdcea;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-soft);
  background: var(--white);
  transition: all 0.15s ease;
  cursor: pointer;
}

.choice input:hover + span {
  border-color: var(--blue);
  color: var(--navy);
}

.choice input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.choice input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Checkbox list (document categories) */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  font-size: 0.93rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
}

.check:hover {
  border-color: var(--blue);
  background: #fbfdff;
}

.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
  flex: 0 0 auto;
  cursor: pointer;
}

.check:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-light);
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: var(--s-5);
  border: 1px solid #c9ddf6;
  background: var(--blue-light);
  border-radius: var(--r-md);
  font-size: 0.93rem;
  line-height: 1.6;
  cursor: pointer;
}

.consent input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--blue);
  flex: 0 0 auto;
  cursor: pointer;
}

/* Honeypot field for Netlify spam filtering — visually hidden, not focusable */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form aside */
.form-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: var(--s-4);
}

.aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-xs);
}

.aside-card h3 {
  font-size: 0.98rem;
  margin-bottom: 10px;
}

.aside-card p,
.aside-card li {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.aside-card p:last-child {
  margin-bottom: 0;
}

.aside-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

/* Validation messaging */
.form-error {
  display: none;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--alert);
  font-weight: 600;
}

.field--invalid .form-error {
  display: block;
}

.field--invalid input,
.field--invalid select,
.field--invalid textarea {
  border-color: var(--alert);
}

.form-status {
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  font-size: 0.93rem;
  font-weight: 600;
  display: none;
}

.form-status--error {
  display: block;
  background: var(--alert-bg);
  border: 1px solid var(--alert-border);
  color: #9b2f22;
}

/* ==========================================================================
   13. ACCORDION & CONTENT LISTS
   ========================================================================== */

details.acc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: var(--s-3);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

details.acc[open] {
  border-color: #c9ddf6;
}

details.acc summary {
  cursor: pointer;
  padding: var(--s-4) var(--s-5);
  font-weight: 650;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-size: 1rem;
}

details.acc summary::-webkit-details-marker {
  display: none;
}

details.acc summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

details.acc[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

details.acc summary:hover {
  background: var(--wash);
}

details.acc .acc-body {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--ink-soft);
}

details.acc .acc-body > *:last-child {
  margin-bottom: 0;
}

/* Prose (legal / guide pages) */
.prose {
  max-width: 78ch;
}

.prose h2 {
  margin-top: var(--s-7);
  padding-top: var(--s-2);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: var(--s-5);
  font-size: 1.1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 var(--s-4);
  padding-left: 22px;
  display: grid;
  gap: 9px;
}

.prose li {
  line-height: 1.6;
}

.prose li::marker {
  color: var(--blue);
}

/* Table of contents */
.toc {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  margin-bottom: var(--s-6);
}

.toc h2 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin: 0 0 var(--s-3);
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
  font-size: 0.94rem;
}

.toc a {
  color: var(--blue-dark);
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
  color: var(--navy);
}

/* Inline code (file names, examples) */
code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--wash);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--navy);
  word-break: break-word;
}

/* Support page — UPI contribution block */
.donate {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: clamp(var(--s-5), 4vw, var(--s-7));
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(var(--s-5), 3vw, var(--s-6));
  box-shadow: var(--shadow-sm);
}

.qr-figure {
  margin: 0;
  text-align: center;
}

.qr-figure img {
  width: 100%;
  max-width: 290px;
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}

.qr-figure figcaption {
  margin-top: var(--s-3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-mute);
}

.donate-details .muted {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.pay-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.pay-id {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.pay-id code {
  font-size: 1.02rem;
  font-weight: 650;
  padding: 5px 11px;
  background: var(--teal-light);
  border-color: #c8eae8;
  color: #0b5d5a;
}

.donate-details .btn-row {
  margin-top: var(--s-5);
}

.donate-details .card-note {
  margin-top: var(--s-5);
  border-top: 0;
  padding-top: 0;
}

/* Two quiet lines under the contribution block */
.donate-note {
  margin: var(--s-5) 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.donate-safety {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 0.86rem;
  color: var(--ink-mute);
}

/* ==========================================================================
   14. TABLES
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 520px;
}

th,
td {
  text-align: left;
  padding: 13px var(--s-4);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

thead th {
  background: var(--wash);
  color: var(--navy);
  font-weight: 650;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
}

tbody tr:last-child td {
  border-bottom: 0;
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--navy);
  color: #b9cdde;
  padding-block: var(--s-7) var(--s-5);
  font-size: 0.93rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-5);
}

.brand--footer .brand-name {
  color: var(--white);
  font-size: 1.1rem;
}

.brand--footer .brand-tag {
  color: #9ab6cd;
}

.footer-links {
  padding-block: var(--s-5);
  border-block: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px var(--s-5);
}

.footer-links a {
  color: #c3d7e7;
  text-decoration: none;
  font-size: 0.93rem;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-disclaimer {
  margin: var(--s-5) 0 0;
  color: #a9c3d8;
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 88ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-4);
  margin-top: var(--s-4);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #93afc6;
  font-size: 0.84rem;
}

.footer-bottom a {
  color: #cfe0ee;
}

/* ==========================================================================
   16. UTILITIES
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-4 {
  margin-top: var(--s-4);
}
.mt-5 {
  margin-top: var(--s-5);
}
.mt-6 {
  margin-top: var(--s-6);
}
.mb-5 {
  margin-bottom: var(--s-5);
}
.mb-6 {
  margin-bottom: var(--s-6);
}

.muted {
  color: var(--ink-mute);
}

.nowrap {
  white-space: nowrap;
}

/* Final CTA band */
.cta-band {
  background: linear-gradient(140deg, #12304a 0%, #17466c 60%, #11605f 100%);
  color: #d5e6f2;
  border-radius: var(--r-xl);
  padding: clamp(var(--s-6), 4vw, var(--s-7));
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--s-3);
}

.cta-band p {
  color: #d4e5f1;
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: var(--s-5);
}

/* ==========================================================================
   17. RESPONSIVE
   ========================================================================== */

@media (max-width: 1040px) {
  .trust-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The six nav links plus the button need roughly 1100px before they crowd the
   logo, so the menu collapses earlier than the rest of the layout. */
@media (max-width: 1060px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: var(--s-4) var(--s-5) var(--s-5);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 14px;
    font-size: 1rem;
    border-radius: var(--r-sm);
  }

  .nav .btn {
    margin: var(--s-3) 0 0;
    width: 100%;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-6);
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-5);
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding-inline: var(--s-4);
  }

  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .dd-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .donate {
    grid-template-columns: minmax(0, 1fr);
  }

  .qr-figure img {
    max-width: 240px;
  }

  .field-grid,
  .check-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-3);
  }

  .step-num {
    width: 40px;
    height: 40px;
    font-size: 0.98rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Comfortable tap targets on phones */
  .btn {
    width: 100%;
    min-height: 46px;
  }

  .btn--sm {
    padding: 11px 18px;
    font-size: 0.92rem;
  }

  /* The small copy buttons sit inside headers, so they keep their own width
     but still need a finger-sized height. */
  .copy-btn {
    min-height: 38px;
    padding-inline: 16px;
  }

  .btn-row .btn {
    width: 100%;
  }

  .form-card {
    padding: var(--s-5) var(--s-4);
  }

  .callout {
    flex-direction: column;
    gap: var(--s-3);
  }
}

@media (max-width: 400px) {
  .brand-tag {
    display: none;
  }
}

/* ==========================================================================
   18. MOTION & PRINT
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .cta-band,
  .btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .hero,
  .page-head {
    background: none !important;
    color: #000;
  }

  .hero h1,
  .page-head h1,
  .hero p,
  .page-head p {
    color: #000 !important;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ==========================================================================
   19. SCANNABLE COMPONENTS
   Big steps, flow diagram, highlight strip, mini cards, split columns
   ========================================================================== */

/* ---- The journey: four steps with arrows between ---- */
.journey {
  list-style: none;
  margin: 0 0 var(--s-6);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-6);
}

.journey-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-5) var(--s-5);
  box-shadow: var(--shadow-xs);
}

/* arrow sitting in the gap between cards */
.journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--s-6) * -1);
  width: var(--s-6);
  height: 2px;
  background: #c6d8ea;
  transform: translateY(-50%);
}

.journey-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--s-6) * -1 + 1px);
  width: 8px;
  height: 8px;
  border-top: 2px solid #9dbdd9;
  border-right: 2px solid #9dbdd9;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}

.journey-num {
  position: absolute;
  top: -15px;
  left: var(--s-5);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 0 0 4px var(--white);
}

.journey-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--blue-light);
  color: var(--blue-dark);
  margin-bottom: var(--s-4);
}

.journey-step:nth-child(3) .journey-icon {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.journey-step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.journey-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ---- Highlighted strip (insurer replied again / contact email) ---- */
.strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4) var(--s-5);
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: var(--s-5) clamp(var(--s-5), 3vw, var(--s-6));
  color: #d5e6f2;
}

.strip-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.08rem;
}

.strip-title svg {
  color: #6fd8d3;
}

.strip-text {
  margin: 0;
  font-size: 0.95rem;
  color: #bdd4e6;
  max-width: 54ch;
}

.strip-mail {
  display: inline-block;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
  word-break: break-all;
}

.strip-mail:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* ---- Compact help cards ---- */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
}

.mini-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5) var(--s-4);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.mini-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--blue-light);
  color: var(--blue-dark);
  margin-bottom: var(--s-3);
}

.mini-card h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.mini-card p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---- Checkmark lists ---- */
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  font-size: 0.97rem;
}

.checks li svg {
  margin-top: 4px;
  color: var(--teal-dark);
}

/* ---- We help / you control ---- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
}

.split-col {
  border-radius: var(--r-lg);
  padding: var(--s-5);
  border: 1px solid var(--line);
}

.split-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}

.split-col--us {
  background: var(--teal-light);
  border-color: #c8eae8;
}

.split-col--us h3 {
  color: #0b5d5a;
  border-bottom-color: #c8eae8;
}

.split-col--you {
  background: var(--blue-light);
  border-color: #c9ddf6;
}

.split-col--you h3 {
  color: var(--blue-dark);
  border-bottom-color: #c9ddf6;
}

.split-col--you .checks li svg {
  color: var(--blue-dark);
}

.split-note {
  margin: var(--s-5) 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-mute);
}

/* ---- Arrow link ---- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-6) var(--s-6);
  }

  /* no arrow at the end of each row */
  .journey-step:nth-child(2)::after,
  .journey-step:nth-child(2)::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .journey {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-7);
  }

  /* arrows turn downward when the steps stack */
  .journey-step:not(:last-child)::after {
    top: auto;
    bottom: calc(var(--s-7) * -1);
    right: auto;
    left: 50%;
    width: 2px;
    height: var(--s-7);
    transform: translateX(-50%);
  }

  .journey-step:not(:last-child)::before {
    top: auto;
    bottom: calc(var(--s-7) * -1 + 3px);
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .journey-step:nth-child(2)::after,
  .journey-step:nth-child(2)::before {
    display: block;
  }
}

@media (max-width: 680px) {
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .strip-mail {
    width: 100%;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .mini-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   20. MULTI-STEP FORM
   ========================================================================== */

.progress {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
  display: flex;
  gap: 6px;
}

.prog-step {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  position: relative;
  padding-top: 4px;
  color: var(--ink-mute);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

/* connector line */
.prog-step::before {
  content: "";
  position: absolute;
  top: 19px;
  left: -53%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.prog-step:first-child::before {
  display: none;
}

.prog-dot {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 2px solid var(--line);
  color: var(--ink-mute);
  font-size: 0.82rem;
  font-weight: 700;
}

.prog-step.is-current .prog-dot {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.prog-step.is-current {
  color: var(--navy);
}

.prog-step.is-done .prog-dot {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.prog-step.is-done::before,
.prog-step.is-current::before {
  background: var(--teal-dark);
}

.prog-step.is-done {
  cursor: pointer;
  color: var(--teal-dark);
}

/* ---- Choice tiles ---- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tile {
  position: relative;
  display: block;
  cursor: pointer;
}

.tile input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.tile-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid #ccdcea;
  border-radius: var(--r-md);
  background: var(--white);
  transition: border-color 0.15s ease, background 0.15s ease,
    box-shadow 0.15s ease;
  height: 100%;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--blue-dark);
  flex: 0 0 auto;
}

.tile-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.3;
}

.tile:hover .tile-body {
  border-color: var(--blue);
  background: #fbfdff;
}

.tile input:checked + .tile-body {
  border-color: var(--blue);
  background: var(--blue-light);
  box-shadow: 0 0 0 1px var(--blue);
}

.tile input:checked + .tile-body .tile-icon {
  background: var(--blue);
  color: var(--white);
}

.tile input:focus-visible + .tile-body {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ---- Step navigation ---- */
.step-nav {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-soft);
}

.step-nav .step-count {
  margin-inline: auto;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-mute);
}

/* the back arrow points the other way */
.step-nav [data-step-back] svg {
  transform: rotate(180deg);
}

.step-panel {
  margin-bottom: 0;
}

/* Only a scripted page hides steps. Without JavaScript the .js class is never
   added, every step stays visible, and the form still works. */
.js form[data-steps] .step-panel {
  display: none;
}

.js form[data-steps] .step-panel.is-active {
  display: block;
}

/* Without JavaScript the steps run on, so give them separating rules */
html:not(.js) form[data-steps] .step-panel + .step-panel {
  margin-top: var(--s-7);
}

/* ---- What happens next ---- */
.next-box {
  margin-top: var(--s-6);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(var(--s-5), 3vw, var(--s-6));
}

.next-box h2 {
  font-size: 1.2rem;
  margin-bottom: var(--s-4);
}

.next-list {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
  display: grid;
  gap: 11px;
}

.next-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.next-list li span {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 1px;
}

@media (max-width: 680px) {
  .tile-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .prog-label {
    display: none;
  }

  .prog-step::before {
    top: 15px;
    left: -50%;
  }

  .step-nav {
    flex-wrap: wrap;
  }

  .step-nav .step-count {
    order: -1;
    width: 100%;
    margin-inline: 0;
    text-align: center;
    margin-bottom: var(--s-2);
  }

  .step-nav .btn {
    flex: 1 1 auto;
    width: auto;
  }
}

/* ==========================================================================
   21. THE FIVE RULES (claim guide)
   ========================================================================== */

.rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
  counter-reset: rule;
}

.rule {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-4);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5);
  box-shadow: var(--shadow-xs);
}

.rule-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.rule h3 {
  font-size: 1.04rem;
  margin-bottom: 3px;
}

.rule p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.rule-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--teal-light);
  color: var(--teal-dark);
}

@media (max-width: 680px) {
  .rule {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: var(--s-3);
  }

  .rule-icon {
    display: none;
  }
}

/* ==========================================================================
   22. THANKS / 404 PANEL + STRIP VARIANT
   ========================================================================== */

.thanks {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(var(--s-6), 5vw, var(--s-8)) var(--s-5);
  box-shadow: var(--shadow-sm);
}

.thanks-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto var(--s-4);
  background: var(--teal-light);
  color: var(--teal-dark);
}

.thanks-icon--mute {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.thanks .lead {
  margin-bottom: 0;
}

/* Light variant of the highlight strip, for pages on a white background */
.strip--light {
  background: var(--blue-light);
  border: 1px solid #c9ddf6;
  color: var(--ink);
}

.strip--light .strip-title {
  color: var(--navy);
}

.strip--light .strip-title svg {
  color: var(--blue-dark);
}

.strip--light .strip-text {
  color: var(--ink-soft);
}

/* Columns that should not stretch to match their tallest sibling */
.grid--top {
  align-items: start;
}

/* ==========================================================================
   23. HOMEPAGE SUPPORT NOTE
   Deliberately quiet: same teal callout surface used elsewhere, an outline
   button rather than a primary one, and no amounts or urgency.
   ========================================================================== */

.support-note {
  background: var(--teal-light);
  border: 1px solid #c8eae8;
  border-radius: var(--r-lg);
  padding: clamp(var(--s-5), 3vw, var(--s-6));
  text-align: center;
}

.support-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0 auto var(--s-4);
  background: var(--white);
  color: var(--teal-dark);
}

.support-note h2 {
  font-size: clamp(1.18rem, 1.08rem + 0.4vw, 1.4rem);
  margin-bottom: 10px;
  color: #0b4a48;
}

.support-note p {
  margin: 0 auto var(--s-5);
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.support-note .support-fine {
  margin: var(--s-4) auto 0;
  font-size: 0.86rem;
  color: var(--ink-mute);
}

/* ==========================================================================
   24. POLISH REVISION
   Sticky mobile CTA, quieter secondary hero button, mobile form progress,
   operator card, related links, and the two-column checklist.
   ========================================================================== */

/* ---- Hero secondary action: present, but clearly not the primary ---- */
.btn--quiet {
  background: transparent;
  color: #d6e6f2;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn--quiet:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

/* The hero headline wraps on its own; no hard break to go wrong on
   narrow phones. */
.hero h1 {
  text-wrap: balance;
  max-width: 15ch;
}

/* ---- Sticky call to action (phones only) ---- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  padding: 10px var(--s-4) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.22s ease;
}

.sticky-cta .btn {
  width: 100%;
  min-height: 48px;
  margin: 0;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

@media (max-width: 760px) {
  .sticky-cta:not([hidden]) {
    display: block;
  }

  /* room so the bar never sits on top of the last line of the footer */
  body:has(.sticky-cta:not([hidden])) .site-footer {
    padding-bottom: calc(var(--s-8) + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition: none;
  }
}

/* ---- Form progress on phones: one label plus a bar ---- */
.progress-wrap {
  margin-bottom: var(--s-5);
}

.progress-mobile {
  display: none;
}

.progress-mobile-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.progress-mobile-text strong {
  color: var(--navy);
}

.progress-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--blue);
  transition: width 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .progress-bar span {
    transition: none;
  }
}

@media (max-width: 680px) {
  .progress-mobile {
    display: block;
  }

  .progress {
    display: none;
  }
}

/* ---- Larger check list (the three homepage rules) ---- */
.checks--lg li {
  font-size: 1.02rem;
  gap: 12px;
}

.checks--lg li svg {
  margin-top: 5px;
}

.checks--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 680px) {
  .checks--two {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Card link on the help cards ---- */
.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.mini-link:hover {
  text-decoration: underline;
}

/* ---- Numbered list inside a card (situation pages) ---- */
.numbered {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-size: 0.96rem;
  line-height: 1.55;
}

.numbered li::marker {
  color: var(--blue);
  font-weight: 700;
}

/* ---- Who is behind ClaimSaathi ---- */
.operator-card {
  display: flex;
  gap: var(--s-5);
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(var(--s-5), 3vw, var(--s-6));
  box-shadow: var(--shadow-xs);
}

.operator-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
}

.operator-slot {
  margin: 0 0 var(--s-3);
  padding: 11px 15px;
  border: 1px dashed #dcb96e;
  border-radius: var(--r-sm);
  background: var(--amber-bg);
  color: #7a4a00;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.operator-note {
  margin-bottom: var(--s-3);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.operator-facts {
  margin-top: var(--s-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 680px) {
  .operator-card {
    flex-direction: column;
    gap: var(--s-4);
  }

  .operator-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Related situations ---- */
.related {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}

.related h2 {
  font-size: 1.05rem;
  margin-bottom: var(--s-4);
}

.related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

/* ---- Footer email + guides row ---- */
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cfe0ee;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 8px 0;
}

.footer-mail:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-links--guides {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-links--guides a {
  color: #9db9d0;
  font-size: 0.86rem;
}

/* Who is behind ClaimSaathi — plain, readable block */
.who-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(var(--s-5), 3vw, var(--s-6));
  box-shadow: var(--shadow-xs);
}

.who-card p {
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}

.who-contact {
  margin-bottom: 0;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
}
