/* ==========================================================================
   KaamLink — marketing site design system
   Connectgo Infoware · https://kaamlink.connectgoinfoware.com/

   ONE stylesheet. Every page links this file and nothing else.
   Page builders: use the class names in _TEMPLATE.md. Do not add <style>
   blocks to pages. If something is missing, report it — do not invent it.

   PALETTE PROVENANCE
   The ramp below is sampled from the real app icon (mobile/assets/icon.png)
   and reconciled with the app's own token file (mobile/src/theme/colors.ts),
   so the website and the product are the same brand, not two guesses at it.
   Measured icon pixels: bright cyan #10C7CC at the roof apex / K-stem top,
   #05B5BF mid, #0394A5 on the roof's right face, #00899E in the swoosh,
   #016787 at the K-stem foot, ink #001225–#223444 in the worker and windows.

   CONTRAST — every value below was computed, not eyeballed (WCAG 2.1, sRGB):
     --ink        #16242E on --surface .......... 15.8 : 1
     --ink        #16242E on --bg ............... 15.1 : 1
     --body       #4A5A63 on --surface ..........  7.2 : 1
     --body       #4A5A63 on --bg ...............  6.8 : 1
     --muted      #5E6E78 on --surface ..........  5.3 : 1
     --muted      #5E6E78 on --bg ...............  5.0 : 1
     --link       #06707A on --surface ..........  5.8 : 1
     --link       #06707A on --bg ...............  5.5 : 1
     white on --brand-700 #087D84 ...............  4.9 : 1
     white on --grad-brand lightest stop #0A8189   4.7 : 1
     white on --grad-hero lightest stop #0E7C8C .  4.9 : 1
     white on --ink-deep #122A3A ................ 14.8 : 1
     --on-dark-muted #9FB3BE on --ink-deep ......  6.8 : 1
   The app's own note applies here too: the bright aqua #18B8BE is only
   2.4:1 against white. It is a DECORATIVE fill (large shapes, the logo
   gradient, rules) and never carries small text in either direction.

   INDIC SCRIPT NOTE
   The app ships English, हिन्दी and ગુજરાતી. Devanagari and Gujarati place
   marks above and below the baseline and clip at tight leading, so no line
   box in this sheet drops below 1.3, and the `.indic` utility raises it to
   1.55 with a Noto fallback stack for any heading that contains them.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  /* Brand ramp — aqua → deep ocean teal, straight off the icon ------------- */
  --brand-50:  #EAF9F9;
  --brand-100: #D2F2F3;
  --brand-200: #A8E6E9;
  --brand-300: #72D6DB;
  --brand-400: #2FC3C9;   /* icon roof apex #10C7CC */
  --brand-500: #18B8BE;   /* THE brand aqua — decorative fills only */
  --brand-600: #0D939B;   /* app `primary` — large UI, borders, icons */
  --brand-700: #087D84;   /* app `primaryPressed` — safe white-text fill */
  --brand-800: #06707A;   /* text-grade brand: links, small brand text */
  --brand-900: #05586B;   /* icon K-stem foot #016787 */

  /* Ink ------------------------------------------------------------------- */
  --ink:        #16242E;  /* headings, strong body */
  --ink-deep:   #122A3A;  /* footer / dark sections — app `navy` */
  --ink-deeper: #0C1D29;
  --body:       #4A5A63;  /* default paragraph colour */
  --muted:      #5E6E78;  /* meta, captions, hints — still AA */
  --muted-soft: #8496A0;  /* decorative only: rules, disabled, watermarks */

  /* Surfaces -------------------------------------------------------------- */
  --bg:            #F7FAFA;  /* page background — never plain white */
  --surface:       #FFFFFF;
  --surface-soft:  #F1FBFA;  /* app `surfaceSecondary` */
  --surface-tint:  #E4F8F7;  /* app `primaryLight` */
  --surface-sunk:  #EFF5F5;
  --border:        #E1ECEC;
  --border-strong: #C9DCDC;
  --divider:       #EDF3F3;

  /* On dark --------------------------------------------------------------- */
  --on-dark:        #FFFFFF;
  --on-dark-muted:  #9FB3BE;
  --on-dark-border: rgba(255, 255, 255, .16);
  --on-dark-panel:  rgba(255, 255, 255, .08);

  /* Semantic — `-ink` variants are the text-grade tones (AA on light) ------ */
  --success:      #239B71;
  --success-ink:  #14795A;
  --success-soft: #EAF8F2;
  --warning:      #E6A23C;
  --warning-ink:  #8A5A07;
  --warning-soft: #FDF3E4;
  --danger:       #DA4B4B;
  --danger-ink:   #A82F2F;
  --danger-soft:  #FFF0F0;
  --info:         var(--brand-600);
  --info-ink:     var(--brand-800);
  --info-soft:    var(--surface-tint);

  /* Role tokens ----------------------------------------------------------- */
  --link:       var(--brand-800);
  --link-hover: var(--brand-900);
  --focus:      #0A8189;
  --focus-dark: #7BE3E8;

  /* Gradients — the lightest stop of each is >= 4.5:1 against white text --- */
  --grad-brand: linear-gradient(135deg, #0A8189 0%, #06667E 100%);
  --grad-brand-hover: linear-gradient(135deg, #096F77 0%, #05586B 100%);
  --grad-hero:  linear-gradient(158deg, #0E7C8C 0%, #0A5A70 48%, #122A3A 100%);
  --grad-ink:   linear-gradient(158deg, #16384B 0%, #122A3A 60%, #0C1D29 100%);
  --grad-rule:  linear-gradient(90deg, var(--brand-500), var(--brand-800));
  --grad-wash:  linear-gradient(180deg, var(--surface-tint) 0%, var(--bg) 100%);

  /* Type ------------------------------------------------------------------ */
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-indic: "Noto Sans Gujarati", "Noto Sans Devanagari", "Nirmala UI",
                var(--font-body);

  /* Fluid scale, 375px → 1440px --------------------------------------------
     -2 12→12.5 | -1 13.5→14.5 | 0 16→17 | 1 17→20 | 2 20→24
      3 24→31   |  4 28→40     | 5 34→54                                    */
  --step--2: clamp(.75rem,   .739rem + .047vw,  .781rem);
  --step--1: clamp(.844rem,  .822rem + .094vw,  .906rem);
  --step-0:  clamp(1rem,     .978rem + .094vw,  1.0625rem);
  --step-1:  clamp(1.0625rem, .996rem + .282vw, 1.25rem);
  --step-2:  clamp(1.25rem,  1.162rem + .376vw, 1.5rem);
  --step-3:  clamp(1.5rem,   1.346rem + .657vw, 1.9375rem);
  --step-4:  clamp(1.75rem,  1.486rem + 1.127vw, 2.5rem);
  --step-5:  clamp(2.125rem, 1.685rem + 1.878vw, 3.375rem);

  --lh-tight: 1.22;
  --lh-head:  1.3;
  --lh-body:  1.7;

  /* Space — mirrors the app's 4/8/12/16/20/24/32/40/48 scale --------------- */
  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.25rem; --s-6: 1.5rem;  --s-7: 2rem;    --s-8: 2.5rem;
  --s-9: 3rem;    --s-10: 4rem;
  --gutter:  clamp(1.25rem, .986rem + 1.127vw, 2rem);
  --section: clamp(3.5rem, 2.444rem + 4.508vw, 6.5rem);
  --wrap:    1160px;
  --measure: 68ch;

  /* Radii — the app's radius scale, scaled for web ------------------------- */
  --r-sm: 8px;  --r-md: 14px; --r-lg: 18px;
  --r-xl: 24px; --r-2xl: 32px; --r-full: 999px;

  /* Elevation ------------------------------------------------------------- */
  --sh-sm: 0 1px 2px rgba(18, 42, 58, .06), 0 1px 3px rgba(18, 42, 58, .05);
  --sh-md: 0 4px 10px rgba(18, 42, 58, .06), 0 12px 28px rgba(18, 42, 58, .07);
  --sh-lg: 0 10px 24px rgba(18, 42, 58, .08), 0 28px 60px rgba(18, 42, 58, .10);
  --sh-brand: 0 6px 16px rgba(8, 125, 132, .22), 0 16px 36px rgba(8, 125, 132, .16);

  --header-h: 68px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-7) 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: var(--lh-head);
  font-weight: 700;
  margin: 0 0 var(--s-4);
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 800; line-height: var(--lh-tight); }
h2 { font-size: var(--step-4); font-weight: 700; line-height: var(--lh-tight); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); font-weight: 600; }
h5 { font-size: var(--step-1); font-weight: 600; }
h6 { font-size: var(--step-0); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 var(--s-4); }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--ink); }
small { font-size: var(--step--1); }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--link-hover); }

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.35em; }
li { margin-bottom: .4em; }

code, kbd, samp {
  font-family: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  font-size: .9em;
  background: var(--surface-sunk);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .1em .38em;
  color: var(--ink);
  word-break: break-word;
}

/* ------------------------------------------------------------------- focus */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.cta-band :focus-visible,
.section--ink :focus-visible { outline-color: var(--focus-dark); }

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 200;
  background: var(--surface);
  color: var(--link);
  font-weight: 600;
  padding: .7rem 1.1rem;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  transition: top .15s var(--ease);
}
.skip-link:focus { top: var(--s-3); }

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

/* ------------------------------------------------------------ layout prims */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }
.wrap--wide   { max-width: 1320px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .62); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.section--alt  { background: var(--surface); border-block: 1px solid var(--border); }
.section--soft { background: var(--surface-soft); border-block: 1px solid var(--border); }
.section--tint { background: var(--grad-wash); }
.section--ink  { background: var(--grad-ink); color: var(--on-dark-muted); }
.section--ink h1, .section--ink h2, .section--ink h3,
.section--ink h4, .section--ink h5, .section--ink h6,
.section--ink strong { color: var(--on-dark); }
.section--ink a { color: var(--brand-300); }
.section--ink a:hover { color: var(--on-dark); }

.stack > * + * { margin-top: var(--s-5); }
.stack--sm > * + * { margin-top: var(--s-3); }
.stack--lg > * + * { margin-top: var(--s-7); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}
.cluster--center { justify-content: center; }

.center { text-align: center; }
.center .lede, .center .section-head__lede { margin-inline: auto; }

/* Deterministic column counts — a `.grid--3` is 3 across on desktop, always.
   Use `.grid--auto` when you genuinely want "as many as fit".              */
.grid { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
.grid--gap-lg { gap: var(--s-7); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

@media (min-width: 620px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* a child that should span the full row of any grid */
.grid__full { grid-column: 1 / -1; }

.anchor { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* ---------------------------------------------------------------- headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand-800);
  margin: 0 0 var(--s-3);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 1.75rem; height: 3px;
  border-radius: 2px;
  background: var(--grad-rule);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow, .section--ink .eyebrow,
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--brand-300); }

.section-head { margin-bottom: var(--s-8); max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head > :last-child { margin-bottom: 0; }

.lede {
  font-size: var(--step-1);
  line-height: 1.65;
  color: var(--body);
  max-width: var(--measure);
}
.section--ink .lede, .on-dark .lede, .hero .lede, .page-hero .lede { color: var(--on-dark-muted); }

.text-muted { color: var(--muted); }
.text-small { font-size: var(--step--1); }
.text-brand { color: var(--brand-800); }

.indic {
  font-family: var(--font-indic);
  line-height: 1.55;
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .78rem 1.5rem;
  font-family: var(--font-head);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
              background-color .16s var(--ease), color .16s var(--ease),
              border-color .16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-image: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn--primary:hover { background-image: var(--grad-brand-hover); color: #fff; }

.btn--outline {
  background: var(--surface);
  color: var(--brand-800);
  border-color: var(--border-strong);
  box-shadow: var(--sh-sm);
}
.btn--outline:hover {
  color: var(--brand-900);
  border-color: var(--brand-600);
  background: var(--surface-tint);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-800);
  border-color: transparent;
  padding-inline: .6rem;
}
.btn--ghost:hover { color: var(--brand-900); background: var(--surface-tint); }

/* on dark backgrounds */
.btn--on-dark {
  background: #fff;
  color: var(--brand-900);
  box-shadow: 0 10px 26px rgba(6, 29, 41, .28);
}
.btn--on-dark:hover { background: var(--brand-50); color: var(--brand-900); }

.btn--on-dark-outline {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn--on-dark-outline:hover {
  background: rgba(255, 255, 255, .16);
  border-color: #fff;
  color: #fff;
}

.btn--lg { min-height: 54px; padding: .95rem 1.9rem; font-size: var(--step-1); }
.btn--sm { min-height: 40px; padding: .45rem 1rem; font-size: var(--step--1); }
.btn--block { display: flex; width: 100%; }
.btn__icon { width: 1.15em; height: 1.15em; flex: none; }

.btn[aria-disabled="true"], .btn:disabled {
  opacity: .55;
  pointer-events: none;
  box-shadow: none;
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: #fff; }
}
.site-header.is-stuck { box-shadow: var(--sh-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-height: var(--header-h);
  padding-block: .6rem;
}

/* brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
  margin-right: auto;
}
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand__by {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.brand:hover .brand__name { color: var(--brand-800); }

.site-footer .brand__name, .site-footer .brand { color: #fff; }
.site-footer .brand__by { color: var(--on-dark-muted); }
.site-footer .brand:hover .brand__name { color: var(--brand-300); }

/* nav */
.nav { display: flex; align-items: center; gap: var(--s-4); }
.nav__list {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: block;
  padding: .55rem .7rem;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: .94rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav__link:hover { color: var(--brand-800); background: var(--surface-tint); }
.nav__link[aria-current="page"] {
  color: var(--brand-800);
  background: var(--surface-tint);
}
.nav__cta { flex: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 48px; height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1079px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-3);
    padding: var(--s-4) var(--gutter) var(--s-6);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-md);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.is-open { position: sticky; }
  .site-header.is-open .nav { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: .8rem .9rem; font-size: 1rem; }
  .nav__cta .btn { width: 100%; }
}

/* ------------------------------------------------------------------- heros */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  color: var(--on-dark-muted);
  padding-block: clamp(3rem, 1.9rem + 4.7vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 40rem; height: 40rem;
  background: radial-gradient(circle, rgba(34, 199, 203, .28) 0%, rgba(34, 199, 203, 0) 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -35% -15%;
  width: 34rem; height: 34rem;
  background: radial-gradient(circle, rgba(13, 147, 155, .30) 0%, rgba(13, 147, 155, 0) 64%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero__inner {
  display: grid;
  gap: var(--s-8);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-10); }
}
.hero__copy > :last-child { margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__media { display: flex; justify-content: center; }
.hero__note {
  margin-top: var(--s-5);
  font-size: var(--step--1);
  color: var(--on-dark-muted);
}

/* interior page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  color: var(--on-dark-muted);
  padding-block: clamp(2.5rem, 1.7rem + 3.4vw, 4.5rem);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto auto;
  width: 34rem; height: 34rem;
  background: radial-gradient(circle, rgba(34, 199, 203, .26) 0%, rgba(34, 199, 203, 0) 62%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: var(--s-4); }
.page-hero .lede { max-width: 58ch; }
.page-hero__inner { max-width: 62rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.page-hero--customer { background: linear-gradient(158deg, #12909E 0%, #0A6480 52%, #123449 100%); }
.page-hero--worker   { background: linear-gradient(158deg, #0B6E80 0%, #0D3A50 55%, #101F2C 100%); }
.page-hero--plain {
  background: var(--grad-wash);
  color: var(--body);
  border-bottom: 1px solid var(--border);
}
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain .eyebrow { color: var(--brand-800); }
.page-hero--plain .lede { color: var(--body); }
.page-hero--plain::before { display: none; }

/* breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .55rem;
  list-style: none;
  margin: 0 0 var(--s-4);
  padding: 0;
  font-size: var(--step--1);
  color: var(--on-dark-muted);
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: .55rem; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero--plain .crumbs { color: var(--muted); }
.page-hero--plain .crumbs a:hover { color: var(--brand-800); }

/* ------------------------------------------------------------------- cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: var(--s-6);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease),
              border-color .2s var(--ease);
}
.card > :last-child { margin-bottom: 0; }
.card--hover:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  border-color: var(--brand-200);
}
.card--flat { box-shadow: none; }
.card--soft { background: var(--surface-soft); }
.card--tint { background: var(--surface-tint); border-color: var(--brand-200); }
.card--ink {
  background: var(--grad-ink);
  border-color: rgba(255, 255, 255, .1);
  color: var(--on-dark-muted);
}
.card--ink h2, .card--ink h3, .card--ink h4, .card--ink strong { color: #fff; }
.card--pad-lg { padding: var(--s-8); }
.card__title { font-size: var(--step-2); margin-bottom: var(--s-2); }
.card__text { margin-bottom: 0; color: var(--body); }
.card__meta {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
  font-size: var(--step--1);
  color: var(--muted);
}

/* topped card — thin brand rule along the top edge only */
.card--topped { position: relative; overflow: hidden; }
.card--topped::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-rule);
}

/* feature tile with icon */
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--sh-sm);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease),
              border-color .2s var(--ease);
}
.tile:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  border-color: var(--brand-200);
}
.tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--surface-tint);
  color: var(--brand-800);
  margin-bottom: var(--s-4);
  flex: none;
}
.tile__icon svg { width: 26px; height: 26px; }
.tile__icon--solid { background-image: var(--grad-brand); color: #fff; }
.tile__title { font-size: var(--step-1); font-weight: 700; margin-bottom: var(--s-2); }
.tile__text { margin-bottom: 0; font-size: var(--step-0); }
.tile > :last-child { margin-bottom: 0; }

.section--ink .tile, .on-dark .tile {
  background: var(--on-dark-panel);
  border-color: var(--on-dark-border);
  box-shadow: none;
  color: var(--on-dark-muted);
}
.section--ink .tile:hover, .on-dark .tile:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-3px);
}
.section--ink .tile__icon, .on-dark .tile__icon {
  background: rgba(255, 255, 255, .14);
  color: var(--brand-300);
}
.section--ink .tile__title, .on-dark .tile__title { color: #fff; }

/* ------------------------------------------------------------------- steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li { margin: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--s-4);
  padding-bottom: var(--s-7);
}
.step:last-child { padding-bottom: 0; }
/* connector line down the numbers */
.step::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 3.1rem;
  bottom: .5rem;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, var(--brand-200), var(--border));
}
.step:last-child::before { display: none; }
.step__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: var(--r-full);
  background-image: var(--grad-brand);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  flex: none;
  box-shadow: var(--sh-brand);
}
.step__num--outline {
  background: var(--surface);
  background-image: none;
  color: var(--brand-800);
  border: 2px solid var(--brand-300);
  box-shadow: none;
}
.step__body { padding-top: .35rem; }
.step__body > :last-child { margin-bottom: 0; }
.step__title { font-size: var(--step-2); margin-bottom: var(--s-2); }
.step__text { margin-bottom: 0; }

.section--ink .step::before, .on-dark .step::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .06));
}
.section--ink .step__title, .on-dark .step__title { color: #fff; }

/* ------------------------------------------------------------------- stats */
.stats {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-5);
  box-shadow: var(--sh-sm);
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  background-image: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .35rem;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat__num { color: var(--brand-800); }
}
.stat__label {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}
.section--ink .stat, .on-dark .stat, .hero .stat {
  background: var(--on-dark-panel);
  border-color: var(--on-dark-border);
  box-shadow: none;
}
.section--ink .stat__num, .on-dark .stat__num, .hero .stat__num {
  background-image: none;
  color: #fff;
}
.section--ink .stat__label, .on-dark .stat__label, .hero .stat__label {
  color: var(--on-dark-muted);
}

/* ------------------------------------------------------ badges, pills, tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .3rem .7rem;
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.5;
  background: var(--surface-sunk);
  color: var(--ink);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.badge--brand   { background: var(--surface-tint); color: var(--brand-800); border-color: var(--brand-200); }
.badge--success { background: var(--success-soft); color: var(--success-ink); border-color: #C8E9DB; }
.badge--warn    { background: var(--warning-soft); color: var(--warning-ink); border-color: #F3DFBD; }
.badge--danger  { background: var(--danger-soft);  color: var(--danger-ink);  border-color: #F5CFCF; }
.badge--solid   { background-image: var(--grad-brand); color: #fff; border-color: transparent; }
.badge--on-dark {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .26);
}
.badge__dot { width: .5em; height: .5em; border-radius: 50%; background: currentColor; flex: none; }

.pill-row { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.pill-row li { margin: 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .5rem .95rem;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
}
a.pill:hover { border-color: var(--brand-600); color: var(--brand-800); background: var(--surface-tint); }
.pill svg { width: 1.05em; height: 1.05em; color: var(--brand-700); flex: none; }
.on-dark .pill, .hero .pill, .section--ink .pill {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
}
.on-dark .pill svg, .hero .pill svg, .section--ink .pill svg { color: var(--brand-300); }

/* ------------------------------------------------------------------- lists */
.list-check { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.list-check li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--s-3);
  line-height: var(--lh-body);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .34em;
  width: 1.25rem; height: 1.25rem;
  border-radius: var(--r-full);
  background: var(--surface-tint) no-repeat center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087D84' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: .8rem .8rem;
}
.section--ink .list-check li::before, .on-dark .list-check li::before {
  background-color: rgba(255, 255, 255, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237BE3E8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.list-plain { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.list-plain li { margin-bottom: var(--s-2); }

.list-split { columns: 2; column-gap: var(--s-7); }
@media (max-width: 640px) { .list-split { columns: 1; } }

/* definition rows — good for "what we collect" tables in legal pages */
.deflist { margin: 0; }
.deflist dt {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  margin-top: var(--s-5);
}
.deflist dt:first-child { margin-top: 0; }
.deflist dd { margin: .3rem 0 0; padding-left: 0; color: var(--body); }

/* --------------------------------------------------------- the phone frame */
/* Holds its exact shape whether or not the screenshot has landed yet.
   site.js flags a failed/absent image with data-missing on .phone__screen,
   which hides the <img> and reveals the built-in skeleton beneath it.     */
.phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  max-width: 288px;
}
.phone__frame {
  position: relative;
  width: 100%;
  padding: 11px;
  border-radius: 42px;
  background: linear-gradient(150deg, #23404F 0%, #16242E 42%, #0C1D29 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    inset 0 0 0 3px rgba(12, 29, 41, .9),
    var(--sh-lg);
}
/* side buttons */
.phone__frame::before,
.phone__frame::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #2C4A59, #16242E);
}
.phone__frame::before { top: 22%; height: 7%; }
.phone__frame::after  { top: 33%; height: 12%; }

.phone__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  overflow: hidden;
  background: var(--surface-tint);
  background-image: linear-gradient(180deg, #F3FCFB 0%, #E4F8F7 100%);
  isolation: isolate;
}
.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: var(--surface);
  z-index: 2;
}
/* --fit shows the whole screenshot with no cropping, letterboxed on tint */
.phone--fit .phone__screen img { object-fit: contain; object-position: center; background: transparent; }

/* skeleton beneath the image: status bar, header block, three rows */
.phone__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-color: transparent;
  background-image:
    linear-gradient(var(--brand-200), var(--brand-200)),   /* header block */
    linear-gradient(#fff, #fff),                            /* card 1 */
    linear-gradient(#fff, #fff),                            /* card 2 */
    linear-gradient(#fff, #fff),                            /* card 3 */
    linear-gradient(var(--brand-100), var(--brand-100));    /* tab bar */
  background-size:
    100% 22%,
    76% 11%,
    76% 11%,
    76% 11%,
    100% 9%;
  background-position:
    0 0,
    center 32%,
    center 48%,
    center 64%,
    0 100%;
  opacity: .9;
}
.phone__screen::after {
  content: "KaamLink";
  position: absolute;
  left: 0; right: 0;
  top: 9%;
  z-index: 1;
  text-align: center;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.phone__screen[data-missing] img { display: none; }

.phone__caption {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
  max-width: 26ch;
}
.on-dark .phone__caption, .hero .phone__caption,
.section--ink .phone__caption, .page-hero .phone__caption { color: var(--on-dark-muted); }

.phone--sm { max-width: 216px; }
.phone--sm .phone__frame { padding: 8px; border-radius: 32px; }
.phone--sm .phone__screen { border-radius: 25px; }
.phone--lg { max-width: 330px; }

/* a row of phones; scrolls sideways on small screens instead of shrinking */
.phone-row {
  display: flex;
  gap: var(--s-6);
  justify-content: center;
  flex-wrap: wrap;
}
.phone-row--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  padding-bottom: var(--s-4);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.phone-row--scroll .phone { flex: none; scroll-snap-align: center; }
.phone-row--stagger .phone:nth-child(even) { margin-top: var(--s-7); }
@media (max-width: 720px) {
  .phone-row--stagger .phone:nth-child(even) { margin-top: 0; }
}

/* ------------------------------------------- alternating feature + screen */
.split {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-10); }
  .split--media-narrow { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .split--reverse .split__media { order: -1; }
}
.split + .split { margin-top: var(--section); }
.split__body > :last-child { margin-bottom: 0; }
.split__media { display: flex; justify-content: center; }
.split__media--pair { gap: var(--s-5); }

/* ---------------------------------------------- two-sided (customer|worker) */
.duo {
  display: grid;
  gap: var(--s-6);
}
@media (min-width: 880px) {
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
}
.duo__col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  box-shadow: var(--sh-sm);
}
.duo__col--customer { border-top: 4px solid var(--brand-500); }
.duo__col--worker   { border-top: 4px solid var(--brand-800); }
.duo__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--border);
}
.duo__head h2, .duo__head h3 { margin: 0; font-size: var(--step-2); }
.duo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--surface-tint);
  color: var(--brand-800);
  flex: none;
}
.duo__icon svg { width: 24px; height: 24px; }
.duo__col--worker .duo__icon { background-image: var(--grad-brand); color: #fff; }
.duo__tag {
  display: block;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------------------------------------------------------------- callouts */
.callout {
  position: relative;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-600);
  border-radius: var(--r-md);
  background: var(--surface-tint);
  padding: var(--s-5) var(--s-6);
  margin-block: var(--s-6);
  color: var(--body);
}
.callout > :last-child { margin-bottom: 0; }
.callout__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--s-2);
  line-height: 1.4;
}
.callout__title svg { width: 1.15em; height: 1.15em; flex: none; color: var(--brand-800); }

.callout--info    { background: var(--info-soft);    border-left-color: var(--brand-600); }
.callout--success { background: var(--success-soft); border-left-color: var(--success);
                    border-color: #C8E9DB; }
.callout--success .callout__title svg { color: var(--success-ink); }
.callout--warn    { background: var(--warning-soft); border-left-color: var(--warning);
                    border-color: #F3DFBD; }
.callout--warn .callout__title svg { color: var(--warning-ink); }
.callout--danger  { background: var(--danger-soft);  border-left-color: var(--danger);
                    border-color: #F5CFCF; }
.callout--danger .callout__title svg { color: var(--danger-ink); }
.callout--neutral { background: var(--surface-soft); border-left-color: var(--border-strong); }

/* -------------------------------------------------------------- prose/legal */
.prose {
  max-width: var(--measure);
  color: var(--body);
  font-size: var(--step-0);
  line-height: 1.75;
}
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 {
  font-size: var(--step-3);
  margin-top: var(--s-9);
  margin-bottom: var(--s-3);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 {
  font-size: var(--step-2);
  margin-top: var(--s-7);
  margin-bottom: var(--s-2);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.prose h4 {
  font-size: var(--step-1);
  margin-top: var(--s-6);
  margin-bottom: var(--s-2);
}
.prose p, .prose ul, .prose ol { margin-bottom: var(--s-4); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose li > ul, .prose li > ol { margin-top: .5em; margin-bottom: .5em; }
.prose a { font-weight: 500; }
.prose strong { color: var(--ink); }
.prose .callout { max-width: none; }

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin: 0 0 var(--s-7);
  padding: var(--s-4) var(--s-5);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: var(--step--1);
  color: var(--muted);
}
.legal-meta strong { color: var(--ink); }

/* in-page table of contents for the legal pages */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
  margin-bottom: var(--s-8);
  box-shadow: var(--sh-sm);
}
.toc__title {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s-3);
}
.toc ol, .toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: var(--s-6);
}
@media (max-width: 640px) { .toc ol, .toc ul { columns: 1; } }
.toc li { margin-bottom: .45em; break-inside: avoid; }
.toc a { font-size: var(--step--1); font-weight: 500; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  margin-block: var(--s-6);
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: var(--step--1);
}
.table th, .table td {
  text-align: left;
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}
.table thead th {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-soft);
  white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-soft); }

/* --------------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--border); }
.faq__item {
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.faq__item > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  font-family: var(--font-head);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  line-height: 1.45;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "";
  flex: none;
  width: 1.25rem; height: 1.25rem;
  margin-top: .18em;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087D84' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .2s var(--ease);
}
.faq__item[open] > summary::after { transform: rotate(45deg); }
.faq__item > summary:hover { color: var(--brand-800); }
.faq__answer { padding: 0 0 var(--s-5); max-width: var(--measure); }
.faq__answer > :last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------- form */
.form { max-width: 640px; }
.form-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.field__req { color: var(--danger-ink); margin-left: .15em; }
.field__hint { font-size: var(--step--2); color: var(--muted); line-height: 1.5; }

.input, .textarea, .select {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.65; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6E78' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 1.1rem;
  padding-right: 2.6rem;
  cursor: pointer;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--brand-300); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(8, 125, 132, .18);
}
.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}
.input:invalid:not(:placeholder-shown),
.textarea:invalid:not(:placeholder-shown) { border-color: var(--danger); }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--body);
}
.checkbox-row input[type="checkbox"] {
  width: 20px; height: 20px;
  margin: .18rem 0 0;
  accent-color: var(--brand-700);
  flex: none;
  cursor: pointer;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.form-note { font-size: var(--step--2); color: var(--muted); margin: var(--s-4) 0 0; line-height: 1.6; }

.form__status {
  margin-top: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  font-size: var(--step--1);
  line-height: 1.6;
  background: var(--success-soft);
  border: 1px solid #C8E9DB;
  color: var(--success-ink);
}
.form__status[hidden] { display: none; }
.form__status--error { background: var(--danger-soft); border-color: #F5CFCF; color: var(--danger-ink); }

/* honeypot — never shown, never focusable in practice */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

/* ------------------------------------------------------- contact info card */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list li:first-child { padding-top: 0; }
.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: var(--surface-tint);
  color: var(--brand-800);
  flex: none;
}
.contact-list__icon svg { width: 21px; height: 21px; }
.contact-list__label {
  display: block;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .15rem;
}
.contact-list__value {
  font-family: var(--font-head);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.5;
  word-break: break-word;
}
a.contact-list__value:hover { color: var(--brand-800); text-decoration: underline; }

/* ---------------------------------------------------------------- cta band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  color: var(--on-dark-muted);
  border-radius: var(--r-2xl);
  padding: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -55% -20% auto auto;
  width: 30rem; height: 30rem;
  background: radial-gradient(circle, rgba(34, 199, 203, .3) 0%, rgba(34, 199, 203, 0) 62%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .lede { margin-inline: auto; color: var(--on-dark-muted); }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
  margin-top: var(--s-6);
}
.cta-band--flat { border-radius: 0; }

/* ---------------------------------------------------------------- language */
.lang-chips { display: flex; flex-wrap: wrap; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.lang-chips li { margin: 0; }
.lang-chip {
  display: inline-flex;
  flex-direction: column;
  gap: .1rem;
  padding: .6rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  line-height: 1.5;
}
.lang-chip__native {
  font-family: var(--font-indic);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
}
.lang-chip__name {
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.on-dark .lang-chip, .hero .lang-chip, .section--ink .lang-chip {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .24);
  box-shadow: none;
}
.on-dark .lang-chip__native, .hero .lang-chip__native, .section--ink .lang-chip__native { color: #fff; }
.on-dark .lang-chip__name, .hero .lang-chip__name, .section--ink .lang-chip__name { color: var(--on-dark-muted); }

/* ------------------------------------------------------------------ footer */
.site-footer {
  background: var(--grad-ink);
  color: var(--on-dark-muted);
  padding-top: var(--s-10);
  font-size: var(--step--1);
  line-height: 1.7;
}
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer__grid {
  display: grid;
  gap: var(--s-8);
  padding-bottom: var(--s-8);
}
@media (min-width: 700px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--s-7); }
}
.footer__brand { max-width: 32ch; }
.footer__brand .brand { margin-right: 0; margin-bottom: var(--s-4); }
.footer__tagline { margin: 0 0 var(--s-5); color: var(--on-dark-muted); }

.footer__col > :last-child { margin-bottom: 0; }
.footer__title {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--s-4);
  line-height: 1.4;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: .65rem; }
.footer__list a { display: inline-block; }

.footer__contact { list-style: none; margin: 0; padding: 0; }
.footer__contact li { display: flex; gap: .6rem; margin-bottom: .8rem; align-items: flex-start; }
.footer__contact svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .35rem; color: var(--brand-300); }
.footer__contact a { word-break: break-word; }

.footer__bottom {
  border-top: 1px solid var(--on-dark-border);
  padding-block: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  align-items: center;
  justify-content: space-between;
  font-size: var(--step--2);
}
.footer__copy { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; margin: 0; padding: 0; }
.footer__legal li { margin: 0; }

/* ------------------------------------------------------------------ misc */
.divider { height: 1px; background: var(--border); border: 0; margin-block: var(--s-8); }
.rule-brand { height: 3px; width: 4rem; border-radius: 2px; background: var(--grad-rule); border: 0; margin: 0 0 var(--s-5); }
.center .rule-brand { margin-inline: auto; }

.notice-strip {
  background: var(--surface-tint);
  border-bottom: 1px solid var(--brand-200);
  padding-block: .7rem;
  font-size: var(--step--1);
  color: var(--brand-900);
  text-align: center;
}
.notice-strip a { color: var(--brand-900); font-weight: 600; }

/* ---------------------------------------------------- motion & print guards */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .card--hover:hover, .tile:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band,
  .skip-link, .phone-row, .hero__media { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  .prose { max-width: none; }
  a { color: #000; text-decoration: underline; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
  .callout, .card, .toc { border: 1px solid #999; box-shadow: none; background: #fff; }
}
