/* Parakh: base. Phone first. The colour is the material: moulding sand, core sand, cast iron,
   and the inspector's white paint marker. No added hue. */

:root {
  --sand: #d6cab2;      /* moulding sand: the ground */
  --core: #e8e0cf;      /* core sand: panels and tables */
  --paper: #f6f2ea;     /* form fields */
  --ink: #232220;       /* cast-iron graphite: text */
  --ink-2: #4a4439;     /* secondary text on sand */
  --rule: #a99d86;      /* hairlines on sand */
  --iron: #272623;      /* the hero, header and footer */
  --iron-2: #34322e;
  --raised: #aaa498;    /* raised cast letters on iron */
  --chalk: #f2efe8;     /* paint-marker white: text on iron */
  --chalk-2: #c9c3b7;   /* secondary text on iron */
  --brick: #8e2a1d;     /* "Expired" only */
  --wide: "Archivo", "Arial Black", system-ui, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --gu: "Hind Vadodara", "Noto Sans Gujarati", sans-serif;
  --gutter: 1rem;
  --max: 84rem;
  --head: 3.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head) + 0.75rem);
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
.on-dark :focus-visible,
.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.band-dark :focus-visible { outline-color: var(--chalk); }

[id] { scroll-margin-top: calc(var(--head) + 0.75rem); }

h1, h2, h3 { margin: 0 0 0.5rem; line-height: 1.12; font-family: var(--wide); font-stretch: 112%; font-weight: 750; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 6.4vw, 3.4rem); }
.h-big { font-size: clamp(1.6rem, 4.6vw, 2.5rem); }
.h-mid { font-size: clamp(1.25rem, 3.2vw, 1.6rem); }
.h-small { font-size: 1rem; font-stretch: 105%; font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0 0 0.75rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  margin: 0 0 0.5rem;
  font-family: var(--wide);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.label.on-dark { color: var(--chalk-2); }

.lede { font-size: 1.08rem; max-width: 46rem; color: var(--ink-2); }
.small { font-size: 0.875rem; }
.muted { color: var(--ink-2); }
.block { display: block; }
.num { font-variant-numeric: tabular-nums; }
.big-num { font-family: var(--wide); font-stretch: 108%; font-weight: 650; letter-spacing: 0.02em; }
.code {
  display: inline-block;
  font-family: var(--wide);
  font-stretch: 125%;
  font-weight: 750;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

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

.skip {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 50;
  background: var(--chalk); color: var(--ink); padding: 0.6rem 0.9rem; font-weight: 700;
}
.skip:focus { top: 0.5rem; }

/* ---- Buttons ----------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 2.9rem; padding: 0.6rem 1.15rem;
  border: 2px solid var(--ink); border-radius: 3px;
  font-family: var(--wide); font-stretch: 110%; font-weight: 700; font-size: 0.98rem;
  text-decoration: none; line-height: 1.2; text-align: center; cursor: pointer;
}
.btn-go { background: var(--ink); color: var(--chalk); }
.btn-go:hover { background: #000; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--core); }
.btn-small { min-height: 2.5rem; padding: 0.45rem 0.85rem; font-size: 0.9rem; }
.btn-text { font-weight: 600; }

.on-dark .btn-go, .hero .btn-go, .band-dark .btn-go, .site-header .btn-go { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.on-dark .btn-go:hover, .hero .btn-go:hover, .band-dark .btn-go:hover, .site-header .btn-go:hover { background: #fff; }
.on-dark .btn-line, .hero .btn-line, .band-dark .btn-line { color: var(--chalk); border-color: var(--chalk-2); }
.on-dark .btn-line:hover, .hero .btn-line:hover, .band-dark .btn-line:hover { background: var(--iron-2); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; margin: 1.25rem 0 0; }

.out { width: 0.62em; height: 0.62em; margin-left: 0.22em; fill: none; stroke: currentColor; stroke-width: 1.6; vertical-align: 0.05em; }
.tick { width: 1.15rem; height: 1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.flow-arrow { width: 2.4em; height: 1em; fill: currentColor; }

/* ---- The wordmark ------------------------------------------------------------------ */

.logo { display: inline-flex; text-decoration: none; }
.wordmark { display: inline-flex; align-items: center; gap: 0.35rem; }
.boss {
  display: inline-block;
  padding: 0.18rem 0.55rem 0.14rem;
  border-radius: 0.5rem;
  background: linear-gradient(160deg, #3d3b36, #2a2926);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.14), inset -1px -1px 0 rgba(0, 0, 0, 0.5), 0 1px 0 rgba(0, 0, 0, 0.4);
  color: var(--raised);
  font-family: var(--wide); font-stretch: 125%; font-weight: 850; font-size: 1.05rem; letter-spacing: 0.09em;
  text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.22), 1px 1px 0 rgba(0, 0, 0, 0.6);
}
.wordmark-arrow { width: 1.6rem; height: 0.7rem; fill: var(--raised); }

/* ---- Header (sticky at every width) ----------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--iron); color: var(--chalk);
  border-bottom: 1px solid #000;
}
.header-row { display: flex; align-items: center; gap: 0.75rem; min-height: var(--head); }
.header-row .logo { margin-right: auto; }
.nav-wide, .header-phone { display: none; }
.header-cta { white-space: nowrap; }
.hide-small { display: none; }

.nav-small { position: static; }
.nav-small summary {
  list-style: none; cursor: pointer;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--chalk-2); border-radius: 3px;
}
.nav-small summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 1.2rem; height: 2px; background: var(--chalk); position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.nav-small[open] .burger { background: transparent; }
.nav-small[open] .burger::before { top: 0; transform: rotate(45deg); }
.nav-small[open] .burger::after { top: 0; transform: rotate(-45deg); }
.nav-small nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--iron); border-top: 1px solid var(--iron-2); border-bottom: 2px solid #000;
  max-height: calc(100vh - var(--head)); overflow-y: auto;
}
.nav-small ul { list-style: none; margin: 0; padding: 0.5rem var(--gutter) 1rem; }
.nav-small a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--iron-2); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.nav-small a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }

/* ---- Footer ------------------------------------------------------------------------ */

.site-footer { background: var(--iron); color: var(--chalk); padding: 3rem 0 1.5rem; }
.site-footer .label { color: var(--chalk-2); }
.footer-grid { display: grid; gap: 2rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 0.45rem; }
.footer-links .muted, .site-footer .muted { color: var(--chalk-2); }
.local-name { margin: 0.9rem 0 0.3rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; }
.local-name [lang="gu"] { font-family: var(--gu); font-weight: 500; font-size: 1.5rem; color: var(--chalk); }
.local-meaning { font-size: 0.88rem; color: var(--chalk-2); }
.footer-promise { color: var(--chalk-2); max-width: 26rem; }
.imprint-name { font-weight: 700; margin-bottom: 0.3rem; }
.imprint-address { color: var(--chalk-2); }
.site-footer .kv dt { color: var(--chalk-2); }
.footer-base { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--iron-2); font-size: 0.82rem; color: var(--chalk-2); }
.footer-base p { margin: 0 0 0.35rem; }

/* ---- Key-value lists --------------------------------------------------------------- */

.kv { margin: 0; display: grid; gap: 0.5rem; }
.kv > div { display: grid; grid-template-columns: minmax(6.5rem, 34%) 1fr; gap: 0.75rem; }
.kv dt { color: var(--ink-2); font-size: 0.88rem; }
.kv dd { margin: 0; }

/* ---- Forms (the platform's Form markup) ------------------------------------------- */

.form { display: grid; gap: 1.1rem; }
.unrigid-field { display: grid; gap: 0.3rem; }
.unrigid-field label { font-weight: 650; }
.unrigid-required { font-weight: 400; color: var(--ink-2); font-size: 0.88rem; }
.unrigid-help { font-size: 0.875rem; color: var(--ink-2); margin: 0; }
.unrigid-error { color: var(--brick); font-weight: 650; font-size: 0.9rem; }
.form input:not([type="checkbox"]):not([type="radio"]),
.form select,
.form textarea {
  width: 100%; min-height: 2.9rem; padding: 0.6rem 0.75rem;
  font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid #6b6455; border-radius: 3px;
}
.form textarea { min-height: 7rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.form input[type="checkbox"] { width: 1.3rem; height: 1.3rem; accent-color: var(--ink); margin: 0.15rem 0.5rem 0 0; flex: none; }
.form button, .form [type="submit"] {
  justify-self: start; min-height: 3rem; padding: 0.65rem 1.4rem;
  background: var(--ink); color: var(--chalk); border: 2px solid var(--ink); border-radius: 3px;
  font-family: var(--wide); font-stretch: 110%; font-weight: 700; font-size: 1rem; cursor: pointer;
}
.form button:hover, .form [type="submit"]:hover { background: #000; }
.form button:disabled { opacity: 0.6; cursor: progress; }
.unrigid-form-status { padding: 0.75rem 1rem; background: var(--core); border-left: 4px solid var(--ink); font-weight: 600; }
