/* ============================================================================
   Gatish — the public site.
   Hand-written, no build step. Same palette as the console and the app, but this
   surface has a different job: the console is a tool people already trust, this
   has to earn the first minute of attention from somebody standing in a workshop.
   ========================================================================== */

:root {
  --ink: #12244C;
  --ink-raised: #1B3160;
  --ink-soft: #22396B;
  --signal: #F26A21;
  --signal-soft: #FDEEE3;
  --signal-text: #A34B0D;

  --paper: #F3F5FA;
  --surface: #FFFFFF;
  --line: #E2E7F1;
  --line2: #D5DDEA;

  --t1: #12244C;
  --t2: #4E5A72;
  --t3: #8792A8;
  --on-ink-soft: #D6DEEC;
  --on-ink-muted: #93A2BE;

  --in: #12805C;
  --in-soft: #E3F2EA;
  --in-text: #0A5C40;
  --due-soft: #FBF0DC;
  --due-text: #8A5606;
  --out: #C4271B;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Archivo, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--t1);
  background: var(--surface);
  font-variant-numeric: tabular-nums;
}

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ---- header ------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 62px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 21px; letter-spacing: -0.6px; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700;
}
.site-nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.site-nav a { font-size: 14px; font-weight: 600; color: var(--t2); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a.on { color: var(--ink); }

/* Mobile navigation.
   Hiding the nav entirely below 820px left a phone user with a logo and nothing else —
   and in India most of this traffic is a phone. A <details> menu needs no JavaScript,
   which keeps the site working on a slow connection where a script may not arrive. */
.menu-toggle { display: none; margin-left: auto; }

@media (max-width: 820px) {
  .site-nav { display: none; }
  .site-head .wrap { justify-content: space-between; gap: 10px; }
  .menu-toggle { display: inline-flex; }
}
.menu summary {
  list-style: none;
  cursor: pointer;
  padding: 9px 13px;
  border: 1px solid var(--line2);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--paper); }
.menu-panel {
  position: absolute;
  right: 20px;
  left: 20px;
  margin-top: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 16px 40px rgba(18, 36, 76, 0.14);
  padding: 8px;
  z-index: 50;
}
.menu-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--t1);
}
.menu-panel a:hover { background: var(--paper); text-decoration: none; }

/* ---- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line2);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; background: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn.primary:hover { background: #E15E17; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--ink-raised); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,0.28); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,0.08); }
.btn.lg { padding: 15px 26px; font-size: 16px; }
.btn.block { width: 100%; }

/* ---- sections ----------------------------------------------------------- */

section { padding: 74px 0; }
section.tight { padding: 46px 0; }
section.ink { background: var(--ink); color: #fff; }
section.paper { background: var(--paper); }

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 12px;
}
section.ink .eyebrow { color: var(--signal); }

h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.08; letter-spacing: -1.6px; margin: 0 0 18px; font-weight: 700; }
h2 { font-size: clamp(25px, 3.4vw, 36px); line-height: 1.18; letter-spacing: -0.9px; margin: 0 0 14px; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.3px; margin: 0 0 7px; font-weight: 700; }

.lead { font-size: clamp(16px, 2vw, 19px); color: var(--t2); line-height: 1.62; margin: 0 0 26px; }
section.ink .lead { color: var(--on-ink-soft); }

.muted { color: var(--t3); }
.small { font-size: 13.5px; }

/* ---- grid --------------------------------------------------------------- */

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
}
section.ink .card { background: var(--ink-raised); border-color: var(--ink-soft); color: #fff; }
section.ink .card p { color: var(--on-ink-soft); }

.card p { margin: 0; color: var(--t2); font-size: 14.5px; line-height: 1.6; }

/* ---- hero --------------------------------------------------------------- */

.hero {
  background: linear-gradient(168deg, var(--ink) 0%, #0C1A38 100%);
  color: #fff;
  padding: 84px 0 78px;
}
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-ink-soft); max-width: 620px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--on-ink-muted); }

.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; gap: 34px; } }

/* The phone-shaped panel that shows a real screen rather than a stock photo. */
.device {
  /* The hero sets color:#fff and it cascades into this white card, so any bare text node
     inside — the estimate line labels — rendered white on white and vanished. Only the
     spans with an explicit colour survived. */
  color: var(--t1);
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 16px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}
.device-bar {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--t3);
}
.device-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }

.line-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.line-row:last-child { border-bottom: 0; }
.line-row .amt { margin-left: auto; font-weight: 700; }
.line-row .tick { color: var(--in); font-weight: 800; }
.line-row .cross { color: var(--out); font-weight: 800; }

/* ---- pricing ------------------------------------------------------------ */

.plan {
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border: 2px solid var(--ink); box-shadow: 0 12px 34px rgba(18, 36, 76, 0.1); }
.plan .tag {
  display: inline-block;
  background: var(--signal-soft);
  color: var(--signal-text);
  font-size: 11px; font-weight: 800; letter-spacing: 0.8px;
  padding: 3px 9px; border-radius: 999px;
  margin-bottom: 10px;
}
.plan .price { font-size: 38px; font-weight: 700; letter-spacing: -1.4px; line-height: 1; }
.plan .per { font-size: 14px; color: var(--t3); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li {
  display: flex; gap: 9px; align-items: flex-start;
  padding: 6px 0; font-size: 14px; color: var(--t2);
}
.plan li b { color: var(--t1); font-weight: 600; }
.plan li::before { content: "✓"; color: var(--in); font-weight: 800; flex: 0 0 auto; }
.plan .cta { margin-top: 20px; }

/* ---- comparison table --------------------------------------------------- */

.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
table.cmp th, table.cmp td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--paper); font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--t3); }
table.cmp td.mark { text-align: center; width: 110px; }
table.cmp .yes { color: var(--in); font-weight: 800; }
table.cmp .no { color: var(--line2); font-weight: 800; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td .sub { display: block; font-size: 12px; color: var(--t3); margin-top: 2px; }

/* ---- steps -------------------------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
}
.step h3 { margin-bottom: 5px; }
.step p { margin: 0; color: var(--t2); font-size: 14.5px; }

/* ---- faq (details/summary — no JS) -------------------------------------- */

details.faq {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0 18px;
  margin-bottom: 10px;
  background: var(--surface);
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  margin-left: auto;
  font-size: 21px;
  font-weight: 400;
  color: var(--t3);
  line-height: 1;
}
details.faq[open] summary::after { content: "−"; }
details.faq p { margin: 0 0 18px; color: var(--t2); font-size: 14.5px; line-height: 1.68; }

/* ---- honest notices ----------------------------------------------------- */

.notice {
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
}
.notice.due { background: var(--due-soft); color: var(--due-text); }
.notice.in { background: var(--in-soft); color: var(--in-text); }
.notice.info { background: #E8EDF7; color: #16336E; }

/* ---- forms -------------------------------------------------------------- */

label.field { display: block; margin-bottom: 14px; }
label.field .lbl {
  display: block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.7px;
  text-transform: uppercase; color: var(--t3);
  margin-bottom: 6px;
}
input[type="text"], input[type="tel"], input[type="email"], textarea, select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line2);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 15px;
  background: var(--surface);
  color: var(--t1);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--ink);
  outline-offset: -1px;
  border-color: var(--ink);
}
.hint { display: block; margin-top: 5px; font-size: 12.5px; color: var(--t3); line-height: 1.5; }

/* ---- prose (legal pages) ------------------------------------------------ */

.prose h2 { font-size: 21px; letter-spacing: -0.4px; margin: 34px 0 10px; }
.prose p { color: var(--t2); font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; }

/* ---- footer ------------------------------------------------------------- */

.site-foot { background: var(--ink); color: var(--on-ink-soft); padding: 52px 0 34px; margin-top: 0; }
.site-foot a { color: var(--on-ink-soft); font-size: 14px; }
.site-foot a:hover { color: #fff; }
.site-foot h4 { color: #fff; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { padding: 4px 0; }
.foot-bottom {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid var(--ink-soft);
  font-size: 13px; color: var(--on-ink-muted);
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}

/* ---- 404 ---------------------------------------------------------------- */

.oops { padding: 110px 0; text-align: center; }
.oops .code { font-size: 74px; font-weight: 700; letter-spacing: -3px; color: var(--line2); line-height: 1; }

/* ---- mobile rhythm ------------------------------------------------------ */

@media (max-width: 640px) {
  /* 74px of padding between every section is a great deal of scrolling on a phone,
     and this audience is almost entirely on one. */
  section { padding: 44px 0; }
  section.tight { padding: 30px 0; }
  .hero { padding: 48px 0 44px; }
  .wrap { padding: 0 16px; }
  .card { padding: 18px; }
  .plan { padding: 20px 18px; }
  .grid { gap: 12px; }
  .btn.lg { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
