/* TechConnect public site.
   Self-hosted fonts and no external requests: the page must load on a slow
   phone connection in a warehouse, and it must not depend on Google's CDN
   staying reachable from India. */

@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --brand: #3a47d5;          /* AppTheme.seed — the same blue as the app */
  --brand-dark: #2b36ad;
  --ink: #1b1c20;
  --ink-2: #43454f;
  --ink-3: #6b6e7d;
  --line: #e3e5ec;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 22, 40, 0.04), 0 12px 32px rgba(20, 22, 40, 0.06);
  --wrap: 1120px;
}

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

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); }

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

/* --- Header --------------------------------------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 74px;
}
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
}
.logo img { height: 32px; width: auto; }
.logo span {
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.nav a:not(.btn):hover { color: var(--brand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  padding: 84px 0 76px;
  background:
    radial-gradient(1000px 460px at 12% -8%, rgba(58, 71, 213, 0.09), transparent 62%),
    radial-gradient(760px 380px at 96% 4%, rgba(58, 71, 213, 0.06), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(58, 71, 213, 0.09);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(34px, 5.1vw, 55px);
  line-height: 1.08;
  letter-spacing: -1.6px;
  font-weight: 700;
  margin: 20px 0 0;
}
h1 em { font-style: normal; color: var(--brand); }
.lede {
  font-size: 18px;
  color: var(--ink-2);
  margin: 20px 0 0;
  max-width: 34em;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.note { margin-top: 15px; font-size: 13.5px; color: var(--ink-3); }

/* --- QR card ------------------------------------------------------------- */
.qr-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 26px;
  text-align: center;
}
.qr-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.qr-card p {
  margin: 7px 0 18px;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.45;
}
.qr-frame {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  max-width: 236px;
  margin: 0 auto;
}
.qr-frame img { width: 100%; height: auto; }
.qr-meta {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-3);
}
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--surface-2);
  white-space: nowrap;
}

/* --- Sections ------------------------------------------------------------ */
section { padding: 76px 0; }
section.tint { background: var(--surface-2); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; }
.section-head .kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--brand);
}
h2 {
  font-size: clamp(27px, 3.4vw, 37px);
  line-height: 1.16;
  letter-spacing: -1px;
  font-weight: 700;
  margin: 12px 0 0;
}
.section-head p { color: var(--ink-2); margin: 14px 0 0; font-size: 17px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(58, 71, 213, 0.09);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.card .icon svg { width: 21px; height: 21px; }
.card h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 700; letter-spacing: -0.3px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Two audiences, side by side. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  background: var(--surface);
}
.panel.accent { background: var(--brand); border-color: var(--brand); color: #fff; }
.panel.accent h3, .panel.accent li { color: #fff; }
.panel.accent .tag { background: rgba(255, 255, 255, 0.16); color: #fff; }
.panel .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(58, 71, 213, 0.09);
  color: var(--brand);
}
.panel h3 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 16px 0 14px;
  font-weight: 700;
}
.panel ul { margin: 0; padding: 0; list-style: none; }
.panel li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 15px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.65;
  color: var(--brand);
}
.panel.accent li::before { color: #fff; }

/* Steps */
.steps { counter-reset: step; margin-top: 40px; display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: grid;
  place-items: center;
}
.step h3 { margin: 6px 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Categories */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tag-lg {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* --- Download ------------------------------------------------------------ */
.download-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: center;
}
.install-list { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: inst; }
.install-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 13px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.install-list li::before {
  counter-increment: inst;
  content: counter(inst);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(58, 71, 213, 0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* --- Footer -------------------------------------------------------------- */
/* Dark, so the page has a definite end rather than fading out on white, and so
   the download CTA sitting in it reads as the last word. */
footer {
  background: #14161f;
  color: #cfd2de;
  padding: 0;
  margin-top: 0;
}

/* The CTA strip that opens the footer. */
.foot-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 46px 0;
}
.foot-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
}
.foot-cta h2 {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 29px);
  letter-spacing: -0.7px;
  margin: 0;
}
.foot-cta p { margin: 8px 0 0; color: #9aa0b4; font-size: 15px; max-width: 46ch; }
.foot-qr {
  background: #fff;
  border-radius: 12px;
  padding: 9px;
  width: 96px;
  height: 96px;
  flex: none;
}
.foot-qr img { width: 100%; height: 100%; }
.btn-light { background: #fff; color: #14161f; }
.btn-light:hover { background: #e8eaf4; }

/* The columns. */
.foot-main { padding: 52px 0 44px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr;
  gap: 38px;
}
/* The logo artwork is drawn for a light background, so it gets its own white
   plate — but only the artwork. Plating the whole lockup let the wordmark
   overflow the plate and turn dark-on-dark. */
.foot-brand .logo { gap: 10px; align-items: flex-start; }
.foot-brand .logo .plate {
  background: #fff;
  border-radius: 10px;
  padding: 8px 11px;
  display: inline-flex;
  flex: none;
}
.foot-brand .logo span { color: #fff; }
.foot-about {
  margin: 18px 0 0;
  color: #9aa0b4;
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 34ch;
}
.foot-contact { margin: 20px 0 0; display: grid; gap: 10px; }
.foot-contact a, .foot-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cfd2de;
  text-decoration: none;
  font-size: 14.5px;
}
.foot-contact a:hover { color: #fff; }
.foot-contact svg { width: 16px; height: 16px; flex: none; color: #7f86a0; }

.foot-col h3 {
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #ffffff;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a {
  color: #9aa0b4;
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.45;
}
.foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: #7f86a0;
  line-height: 1.5;
}

/* The legal line. */
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0 30px;
}
.foot-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: #7f86a0;
}
.foot-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-legal a { color: #9aa0b4; text-decoration: none; }
.foot-legal a:hover { color: #fff; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9aa0b4;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
}
.to-top:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.to-top svg { width: 14px; height: 14px; }

/* --- Trust strip --------------------------------------------------------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 26px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.trust-item { display: flex; gap: 13px; align-items: flex-start; }
.trust-item svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }
.trust-item strong { display: block; font-size: 14.5px; font-weight: 700; }
.trust-item span { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }

/* --- FAQ ----------------------------------------------------------------- */
.faq { margin-top: 38px; display: grid; gap: 12px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 700;
  font-size: 16.5px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 0.18s;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer {
  padding: 0 0 22px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 68ch;
}
.faq .answer a { font-weight: 600; }

/* --- Legal pages --------------------------------------------------------- */
.doc { padding: 60px 0 80px; }
.doc-inner { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 10px; }
.doc .updated { color: var(--ink-3); font-size: 14px; margin: 0 0 34px; }
.doc h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
  margin: 38px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 9px; }
.doc strong { color: var(--ink); }
.doc .callout {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 26px 0;
}
.doc .callout p:last-child { margin-bottom: 0; }

/* --- Accessibility ------------------------------------------------------- */
/* Keyboard users need to see where they are; the default outline disappears
   against the brand blue, so it is drawn explicitly on both surfaces. */
:focus-visible {
  outline: 3px solid rgba(58, 71, 213, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}
footer :focus-visible { outline-color: rgba(255, 255, 255, 0.7); }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 50;
  box-shadow: var(--shadow);
}
.skip-link:focus { left: 16px; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1040px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 34px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
}
@media (max-width: 940px) {
  .hero-grid, .download-grid, .split { grid-template-columns: 1fr; }
  .foot-cta-inner { grid-template-columns: 1fr; }
  .foot-qr { display: none; }
  .hero { padding: 56px 0 60px; }
  .qr-card { max-width: 400px; }
  section { padding: 60px 0; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  /* A compact header CTA, so it and the logo both fit on a narrow phone. */
  .nav .btn { padding: 11px 15px; font-size: 14px; }
  .nav .btn svg { display: none; }
  .foot-grid { grid-template-columns: 1fr; row-gap: 30px; }
  .trust-grid { grid-template-columns: 1fr; }
  .foot-bottom-inner { flex-direction: column; align-items: flex-start; }
  .faq summary { font-size: 15.5px; }
  .bar { height: 66px; }
  .logo img { height: 32px; }
  .card, .panel, .step { padding: 22px; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
}

