/* CloseYourChallan — visual system
   Grounded in two things the audience already reads fluently: the Indian
   registration plate, and traffic signage. Green means go, red means stop, and
   the plate is the object people actually recognise. Colour carries meaning
   here; it is never decoration. */

:root {
  --plate-face:   #FFFFFF;
  --plate-ink:    #000000;   /* true black, as on a real plate */
  --signal-green: #0A6640;
  --signal-red:   #B3121B;
  --amber-verify: #B36B00;
  --paper:        #EDF0EE;
  --rule:         #C9CFCB;
  --body-text:    #23292B;
  --muted-text:   #5C6663;
  --ind-blue:     #1B3E8F;

  --measure: 34rem;
  --gutter: 1.25rem;
  --radius: 3px;      /* signage, not app chrome */
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body-text);
  background: var(--plate-face);
}

h1, h2, h3 { font-family: 'Archivo', Arial, sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.75rem, 5.5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 4vw, 1.8rem); }
h3 { font-size: 1.1rem; }
p  { margin: 0 0 1rem; max-width: 64ch; }

a { color: var(--signal-green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--plate-ink); }

:focus-visible { outline: 3px solid var(--ind-blue); outline-offset: 2px; }

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

/* ------------------------------------------------------------- masthead */
.masthead {
  border-bottom: 2px solid var(--plate-ink);
  background: var(--plate-face);
  position: sticky; top: 0; z-index: 40;
}
.masthead .wrap { display: flex; align-items: center; gap: 1rem; min-height: 60px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--plate-ink); text-decoration: none; font-size: 1.05rem; }
.brand img { display: block; height: 28px; width: auto; }
.masthead nav { margin-left: auto; display: flex; gap: 1.1rem; align-items: center; }
.masthead nav a { color: var(--body-text); text-decoration: none; font-size: .93rem; font-weight: 500; }
.masthead nav a:hover { text-decoration: underline; }
@media (max-width: 640px) { .masthead nav a.hide-sm { display: none; } }

/* ---------------------------------------------------------------- plate */
/* The hero input is a registration plate. This is the one bold thing on the
   page; everything else stays quiet around it. */
.plate {
  display: block;
  background: var(--plate-face);
  border: 3px solid var(--plate-ink);
  border-radius: 6px;
  padding: 0;
  position: relative;
  overflow: hidden;
  max-width: 22rem;
}
.plate-strip {
  position: absolute; left: 0; top: 0; bottom: 0; width: 34px;
  background: var(--ind-blue);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 6px;
}
.plate-strip span { color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .06em; }
.plate-strip svg { width: 18px; height: 13px; margin-bottom: 4px; }
.plate input {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: 'Archivo Black', 'Archivo', Arial, sans-serif;
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--plate-ink);
  padding: .55rem .6rem .55rem 46px;
  text-align: left;
}
.plate input::placeholder { color: #B9BEBB; letter-spacing: .09em; }
.plate input:focus { outline: none; }
.plate:focus-within { box-shadow: 0 0 0 3px rgba(27,62,143,.35); }

/* ---------------------------------------------------------------- forms */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.hint { color: var(--muted-text); font-size: .85rem; margin: .35rem 0 0; }
input[type=text], input[type=tel], input[type=email], input[type=password],
input[type=number], input[type=date], input[type=url], select, textarea {
  width: 100%;
  font: inherit;
  padding: .6rem .7rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  color: var(--body-text);
}
input:focus, select:focus, textarea:focus { border-color: var(--ind-blue); outline: none; box-shadow: 0 0 0 3px rgba(27,62,143,.18); }
textarea { min-height: 7rem; resize: vertical; }
.field { margin-bottom: 1rem; }
.field-error { color: var(--signal-red); font-size: .85rem; margin-top: .3rem; font-weight: 500; }
fieldset { border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; margin: 0 0 1.25rem; }
legend { font-weight: 700; padding: 0 .4rem; font-size: .95rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700;
  padding: .7rem 1.2rem;
  border-radius: var(--radius);
  border: 2px solid var(--signal-green);
  background: var(--signal-green);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  min-height: 46px;
}
.btn:hover { background: #08512F; border-color: #08512F; color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--signal-green); }
.btn-outline:hover { background: var(--signal-green); color: #fff; }
.btn-plain { background: transparent; border-color: var(--rule); color: var(--body-text); font-weight: 600; }
.btn-plain:hover { background: var(--paper); border-color: var(--body-text); color: var(--body-text); }
.btn-danger { background: var(--signal-red); border-color: var(--signal-red); }
.btn-danger:hover { background: #8D0E15; border-color: #8D0E15; }
.btn-sm { padding: .4rem .75rem; min-height: 36px; font-size: .88rem; }
.btn-block { display: flex; width: 100%; }

/* --------------------------------------------------------------- layout */
.band { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section { padding: 2.5rem 0; }
.section-tight { padding: 1.5rem 0; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------- messages */
.notice { border-left: 4px solid var(--rule); padding: .75rem 1rem; margin: 0 0 1rem; background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; }
.notice p:last-child { margin-bottom: 0; }
.notice-success { border-left-color: var(--signal-green); background: #E8F2ED; }
.notice-error   { border-left-color: var(--signal-red);   background: #FBEBEC; }
.notice-warning { border-left-color: var(--amber-verify); background: #FBF2E4; }
.notice-info    { border-left-color: var(--ind-blue);     background: #EAEEF7; }

/* ------------------------------------------------------- challan rows */
/* A row, not a card. The left rule is the status: people scan the colour
   before they read the words. */
.challan {
  border: 1px solid var(--rule);
  border-left: 5px solid var(--rule);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .9rem 1rem;
  margin-bottom: .75rem;
  background: #fff;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.challan-ok       { border-left-color: var(--signal-green); }
.challan-blocked  { border-left-color: var(--signal-red); }
.challan-review   { border-left-color: var(--amber-verify); }
.challan-off      { border-left-color: var(--rule); background: #FAFBFA; }
.challan input[type=checkbox] { width: 22px; height: 22px; margin-top: .2rem; flex: 0 0 auto; accent-color: var(--signal-green); }
.challan-body { flex: 1 1 auto; min-width: 0; }
.challan-title { font-weight: 700; font-size: 1.02rem; margin: 0 0 .15rem; }
.challan-meta { color: var(--muted-text); font-size: .86rem; margin: 0 0 .5rem; }
.challan-amounts { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; font-size: .9rem; margin-bottom: .4rem; }
.challan-amounts b { font-weight: 700; }
.challan-total { font-family: 'Archivo Black', Arial, sans-serif; font-size: 1.05rem; }

/* The court-presence warning. Deliberately loud: it is the single most
   important thing a customer can be told wrong. */
.court-warning {
  display: flex; gap: .55rem; align-items: flex-start;
  background: #FBEBEC;
  border: 1.5px solid var(--signal-red);
  color: #7A0D13;
  border-radius: var(--radius);
  padding: .6rem .75rem;
  font-weight: 600;
  font-size: .93rem;
  margin: .5rem 0;
}
.court-warning svg { flex: 0 0 auto; margin-top: 1px; }

.tag { display: inline-block; font-size: .74rem; font-weight: 700; padding: .16rem .5rem; border-radius: 2px; border: 1px solid currentColor; }
.tag-green { color: var(--signal-green); }
.tag-red   { color: var(--signal-red); }
.tag-amber { color: var(--amber-verify); }
.tag-grey  { color: var(--muted-text); }

/* --------------------------------------------------------------- tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--rule); vertical-align: top; white-space: nowrap; }
table.data th { font-weight: 700; background: var(--paper); position: sticky; top: 0; }
table.data td.wrap-cell { white-space: normal; min-width: 12rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------- money list */
.totals { border-top: 2px solid var(--plate-ink); padding-top: .75rem; }
.totals dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; margin: 0; font-size: .95rem; }
.totals dt { color: var(--muted-text); }
.totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totals .grand dt, .totals .grand dd { font-family: 'Archivo Black', Arial, sans-serif; font-size: 1.15rem; color: var(--plate-ink); }

/* ---------------------------------------------------------------- steps */
/* Numbered because this genuinely is a sequence. */
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
ol.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; margin-bottom: 1.25rem; }
ol.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 1.9rem; height: 1.9rem;
  border: 2px solid var(--plate-ink); border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Archivo Black', Arial, sans-serif; font-size: .9rem;
}
ol.steps h3 { margin-bottom: .2rem; }
ol.steps p { margin-bottom: 0; color: var(--muted-text); }

/* ------------------------------------------------------------------ faq */
details.faq { border-bottom: 1px solid var(--rule); padding: .85rem 0; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-family: 'Archivo Black', Arial, sans-serif; color: var(--signal-green); }
details.faq[open] summary::after { content: '\2013'; }
details.faq p { margin: .6rem 0 0; color: var(--muted-text); }

/* --------------------------------------------------------------- footer */
.site-footer { border-top: 2px solid var(--plate-ink); padding: 2rem 0 2.5rem; font-size: .9rem; color: var(--muted-text); margin-top: 3rem; }
.site-footer a { color: var(--body-text); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; margin: 0 0 1.25rem; list-style: none; }
.legal-note { border-left: 3px solid var(--rule); padding-left: .85rem; max-width: 62ch; }

/* --------------------------------------------------------------- admin */
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 900px) { .admin-shell { grid-template-columns: 230px 1fr; } }
.admin-nav { background: var(--plate-ink); color: #fff; padding: 1rem; }
.admin-nav a { display: block; color: #D8DEDB; text-decoration: none; padding: .45rem .5rem; border-radius: var(--radius); font-size: .92rem; }
.admin-nav a:hover, .admin-nav a[aria-current=page] { background: #1E2422; color: #fff; }
.admin-nav .group { color: #838C89; font-size: .72rem; font-weight: 700; letter-spacing: .05em; margin: 1rem .5rem .35rem; }
.admin-main { padding: 1.5rem var(--gutter) 4rem; }
.stat-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
.stat { border: 1px solid var(--rule); border-top: 3px solid var(--plate-ink); padding: .7rem .8rem; }
.stat .n { font-family: 'Archivo Black', Arial, sans-serif; font-size: 1.5rem; display: block; line-height: 1.1; }
.stat .k { font-size: .8rem; color: var(--muted-text); }

/* ------------------------------------------------------------ utilities */
.muted { color: var(--muted-text); }
.small { font-size: .86rem; }
.mono-num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* One orchestrated moment: the OTP step arriving. Nothing else moves. */
.step-enter { animation: slide-in .28s ease-out; }
@keyframes slide-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .step-enter { animation: none; }
  * { transition: none !important; }
}

@media print {
  .masthead, .site-footer, .btn { display: none; }
}

/* ============================================================ */
/*  Marketing surface — banner, sections, cards, modal          */
/*  Added on top of the base system. The plate remains the one  */
/*  bold object; everything here supports it rather than        */
/*  competing with it.                                          */
/* ============================================================ */

:root {
  --ink-deep:   #0D1412;
  --green-deep: #064F31;
  --green-soft: #E8F2ED;
  --amber-soft: #FBF2E4;
  --red-soft:   #FBEBEC;
  --shadow-sm:  0 1px 2px rgba(13,20,18,.06), 0 2px 8px rgba(13,20,18,.05);
  --shadow-md:  0 2px 4px rgba(13,20,18,.07), 0 8px 24px rgba(13,20,18,.08);
}

/* ------------------------------------------------- announcement bar */
.announce {
  background: var(--ink-deep);
  color: #EDF0EE;
  font-size: .85rem;
  padding: .5rem 0;
}
.announce .wrap { display: flex; gap: .6rem; align-items: center; justify-content: center; text-align: center; flex-wrap: wrap; }
.announce strong { color: #fff; }
.announce a { color: #7FD1A8; font-weight: 600; }
@media (max-width: 560px) { .announce { font-size: .78rem; } }

/* ------------------------------------------------------------ hero */
/* The road-marking motif is drawn in CSS, not an image: it stays crisp
   at any width and costs nothing to load. */
.hero {
  position: relative;
  background:
    linear-gradient(165deg, #0A6640 0%, #053A24 100%);
  background-color: var(--green-deep);
  color: #fff;
  overflow: hidden;
  padding: 3rem 0 3.25rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 46px, transparent 46px 92px);
  opacity: .5;
}
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(90deg, #F2A007 0 34px, transparent 34px 68px);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 5.6vw, 3rem); max-width: 18ch; margin-bottom: .6rem; }
.hero p.lede { color: #CFE0D7; font-size: clamp(1rem, 2.5vw, 1.15rem); max-width: 46ch; margin-bottom: 1.6rem; }
.hero .plate { box-shadow: 0 6px 20px rgba(0,0,0,.28); }

.hero-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }

.hero-card {
  background: #fff;
  color: var(--body-text);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}
.hero-card h2 { font-size: 1.05rem; margin-bottom: .15rem; }
.hero-card .sub { color: var(--muted-text); font-size: .88rem; margin-bottom: 1rem; }

.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .55rem; }
.hero-points li { display: flex; gap: .55rem; align-items: flex-start; color: #DCEBE3; font-size: .93rem; }
.hero-points svg { flex: 0 0 auto; margin-top: 2px; }

/* ------------------------------------------------------- trust bar */
.trustbar { border-bottom: 1px solid var(--rule); background: #fff; }
.trustbar .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; }
@media (min-width: 760px) { .trustbar .wrap { grid-template-columns: repeat(4, 1fr); } }
.trustbar div { padding: 1.1rem .5rem; text-align: center; }
.trustbar .n { display: block; font-family: 'Archivo Black', Arial, sans-serif; font-size: 1.35rem; color: var(--green-deep); line-height: 1.1; }
.trustbar .k { font-size: .8rem; color: var(--muted-text); }

/* ----------------------------------------------------------- cards */
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .35rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--green-soft);
  display: grid; place-items: center;
  margin-bottom: .85rem;
}
.card-icon svg { width: 24px; height: 24px; }

.grid-3 { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------ section headings */
.section-head { max-width: 44rem; margin-bottom: 1.75rem; }
.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--signal-green); margin-bottom: .5rem;
}
.section-head p { color: var(--muted-text); font-size: 1.02rem; }

/* --------------------------------------------- green / red compare */
.compare { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-panel { border-radius: 8px; padding: 1.25rem; border: 1px solid var(--rule); }
.compare-yes { background: var(--green-soft); border-color: #A9CFBD; }
.compare-no  { background: var(--red-soft);  border-color: #E3A7AB; }
.compare-panel h3 { display: flex; align-items: center; gap: .5rem; }
.compare-panel ul { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .5rem; }
.compare-panel li { display: flex; gap: .5rem; align-items: flex-start; font-size: .93rem; }
.compare-panel li svg { flex: 0 0 auto; margin-top: 3px; }

/* ------------------------------------------------------ price card */
.price-card {
  border: 2px solid var(--plate-ink); border-radius: 8px; padding: 1.5rem;
  background: #fff; max-width: 26rem;
}
.price-row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--rule); }
.price-row:last-of-type { border-bottom: 0; }
.price-row .amt { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-big { font-family: 'Archivo Black', Arial, sans-serif; font-size: 2.1rem; line-height: 1; color: var(--green-deep); }

/* -------------------------------------------------- coverage grid */
.states-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); }
.state-chip {
  border: 1px solid var(--rule); border-radius: 6px; padding: .55rem .7rem;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  font-size: .88rem; background: #fff;
}
.state-chip b { font-weight: 700; }
.state-live  { border-left: 4px solid var(--signal-green); }
.state-soon  { border-left: 4px solid var(--amber-verify); color: var(--muted-text); }

/* ---------------------------------------------------------- CTA band */
.cta-band {
  background: var(--ink-deep); color: #fff;
  border-radius: 10px; padding: 2rem 1.5rem;
  display: grid; gap: 1.1rem; align-items: center;
}
@media (min-width: 780px) { .cta-band { grid-template-columns: 1fr auto; padding: 2.25rem 2.25rem; } }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: #B9C6C1; margin: 0; }
.cta-band .btn { background: #fff; color: var(--ink-deep); border-color: #fff; }
.cta-band .btn:hover { background: var(--signal-green); border-color: var(--signal-green); color: #fff; }

/* ------------------------------------------------------- blog cards */
.post-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  border: 1px solid var(--rule); border-radius: 8px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.post-card .thumb { height: 7px; background: var(--signal-green); }
.post-card .body { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.post-card h3 a { color: var(--plate-ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--signal-green); text-decoration: underline; }
.post-card p { font-size: .91rem; color: var(--muted-text); flex: 1; }
.post-meta { font-size: .8rem; color: var(--muted-text); margin-top: .6rem; }

/* -------------------------------------------------- article typography */
.cms-body { max-width: 68ch; }
.cms-body h2 { margin-top: 2rem; padding-bottom: .3rem; border-bottom: 1px solid var(--rule); }
.cms-body h3 { margin-top: 1.4rem; }
.cms-body ul, .cms-body ol { padding-left: 1.3rem; }
.cms-body li { margin-bottom: .4rem; }
.cms-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .93rem; }
.cms-body th, .cms-body td { border: 1px solid var(--rule); padding: .55rem .7rem; text-align: left; }
.cms-body th { background: var(--paper); font-weight: 700; }
.cms-body blockquote {
  margin: 1.2rem 0; padding: .8rem 1rem; background: var(--paper);
  border-left: 4px solid var(--signal-green); border-radius: 0 4px 4px 0;
}
.cms-body blockquote p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ modal */
/* The OTP step is a dialog so the vehicle number stays visible behind it
   and the customer keeps their place. */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(13,20,18,.62);
  display: grid; place-items: center; padding: 1rem; z-index: 100;
  animation: fade-in .16s ease-out;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: #fff; border-radius: 10px; width: 100%; max-width: 26rem;
  padding: 1.5rem; box-shadow: 0 12px 48px rgba(0,0,0,.3);
  animation: pop-in .2s ease-out;
}
.modal h2 { font-size: 1.25rem; margin-bottom: .3rem; }
.modal .sub { color: var(--muted-text); font-size: .9rem; margin-bottom: 1.1rem; }
.modal-close {
  float: right; background: none; border: 0; font-size: 1.5rem; line-height: 1;
  color: var(--muted-text); cursor: pointer; padding: 0 .2rem; margin: -.4rem -.2rem 0 0;
}
.modal-close:hover { color: var(--plate-ink); }
.modal-plate {
  display: inline-block; border: 2px solid var(--plate-ink); border-radius: 4px;
  padding: .2rem .55rem; font-family: 'Archivo Black', Arial, sans-serif;
  letter-spacing: .07em; font-size: 1rem; margin-bottom: 1rem;
}
.otp-boxes { display: flex; gap: .45rem; margin-bottom: .3rem; }
.otp-boxes input {
  width: 100%; aspect-ratio: 1 / 1; text-align: center; padding: 0;
  font-family: 'Archivo Black', Arial, sans-serif; font-size: 1.25rem;
  border: 1.5px solid var(--rule); border-radius: 6px;
}
.otp-boxes input:focus { border-color: var(--signal-green); box-shadow: 0 0 0 3px rgba(10,102,64,.16); }
.modal-steps { display: flex; gap: .35rem; margin-bottom: 1rem; }
.modal-steps span { height: 3px; flex: 1; background: var(--rule); border-radius: 2px; }
.modal-steps span.on { background: var(--signal-green); }
.resend { background: none; border: 0; color: var(--signal-green); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; }
.resend[disabled] { color: var(--muted-text); cursor: default; text-decoration: none; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop, .modal { animation: none; }
}

/* ------------------------------------------------------- misc bits */
.breadcrumb { font-size: .85rem; color: var(--muted-text); margin-bottom: .5rem; }
.breadcrumb a { color: var(--muted-text); }
.page-header { background: var(--paper); border-bottom: 1px solid var(--rule); padding: 2rem 0 1.75rem; }
.page-header h1 { margin-bottom: .4rem; }
.page-header p { color: var(--muted-text); max-width: 60ch; margin: 0; }
.footer-cols { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-bottom: 1.75rem; }
@media (min-width: 700px) { .footer-cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-cols h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--plate-ink); margin: 0 0 .6rem; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
