/* ==========================================================================
   OTLU SITES — DESIGN SYSTEM
   --------------------------------------------------------------------------
   Lifted wholesale from the Kora build: light paper canvas, bone bands, ink
   for the one dark section, hairline borders everywhere, mono micro-labels,
   pill buttons, 4px card radius, Bricolage/Manrope/JetBrains type, and the
   gap-px grid trick that turns a grid gap into a hairline rule.

   One substitution: Kora's electric blue is replaced by OTLU's brand red,
   because the OTLU wordmark carries a red dot and a blue accent beside it
   would read as two brands on one page. Everything else is Kora's.
   ========================================================================== */

:root {
  /* Surfaces */
  --paper: #ffffff;
  --bone: #f5f5f1;
  --bone-2: #ecece5;

  /* Ink */
  --ink: #0b0b0d;
  --ink-70: #4a4a52;
  --ink-50: #78787f;
  --ink-30: #a9a9b0;

  /* Hairlines */
  --line: #e4e4de;
  --line-strong: #cfcfc6;

  /* OTLU red — in Kora's "volt" slot */
  --volt: #f93d3a;
  --volt-deep: #c0201d;
  --volt-tint: #fdeceb;
  --volt-tint-2: #fbd3d1;

  /* Signal accent, used sparingly on the ink section */
  --signal: #ffd166;

  --good: #0f7a4d;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease-out-k: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--line);
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
fieldset {
  margin: 0;
}

fieldset {
  border: 0;
  padding: 0;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

input,
select,
textarea,
button {
  font-family: inherit;
}

::selection {
  background: var(--volt);
  color: #fff;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- layout */

.shell {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .shell {
    padding-inline: 40px;
  }
}

@media (min-width: 1280px) {
  .shell {
    padding-inline: 56px;
  }
}

.shell-tight {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .shell-tight {
    padding-inline: 40px;
  }
}

/* Single-column grids get an explicit shrinkable track for the same reason,
   and every grid child may shrink below its own min-content. Without this a
   Tamil heading on a 390px phone widened the page by 37px. */
.hero-grid,
.problem-grid,
.bharat,
.form-grid,
.faq-grid,
.stats,
.cells,
.process,
.plans,
.mosaic,
.vs-row,
.foot-top,
.fields {
  grid-template-columns: minmax(0, 1fr);
}

.hero-grid > *,
.problem-grid > *,
.bharat > *,
.form-grid > *,
.faq-grid > *,
.stats > *,
.cells > *,
.process > *,
.plans > *,
.mosaic > *,
.vs-row > *,
.foot-top > *,
.fields > * {
  min-width: 0;
}

/* A <select> reports an intrinsic width equal to its longest OPTION, and the
   Tamil category names are long enough to have pushed the whole form 8px past
   a 390px viewport. Clamping it lets the grid track shrink normally. */
select.field {
  width: 100%;
  max-width: 100%;
}

.section {
  padding-block: 72px;
}

@media (min-width: 768px) {
  .section {
    padding-block: 112px;
  }
}

.bg-bone {
  background: var(--bone);
}

.bg-ink {
  background: var(--ink);
  color: #fff;
}

.bg-paper {
  background: var(--paper);
}

.band-edge {
  border-block: 1px solid var(--line);
}

/* ------------------------------------------------------------------ type */

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  /* Ten scripts share these headings: they wrap, they never nowrap, and a
     Malayalam heading 40% longer than its English source still fits. */
  overflow-wrap: break-word;
}

.display-tight {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  overflow-wrap: break-word;
}

.micro {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-70);
}

@media (min-width: 768px) {
  .lede {
    font-size: 19px;
  }
}

.h-xl { font-size: 42px; }
.h-lg { font-size: 34px; }

@media (min-width: 640px) {
  .h-xl { font-size: 56px; }
  .h-lg { font-size: 44px; }
}

@media (min-width: 1024px) {
  .h-xl { font-size: 68px; }
  .h-lg { font-size: 54px; }
}

@media (min-width: 1280px) {
  .h-xl { font-size: 74px; }
}

.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  margin-top: 0.72em;
  background: var(--volt);
  flex: none;
}

.bg-ink .eyebrow {
  color: rgba(255, 255, 255, 0.45);
}

.bg-ink .eyebrow::before {
  background: var(--signal);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding-inline: 26px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s var(--ease-out-k),
    color 0.25s var(--ease-out-k),
    border-color 0.25s var(--ease-out-k),
    transform 0.2s var(--ease-out-k);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--volt);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--volt-deep);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover:not(:disabled) {
  background: var(--volt);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--ink);
}

.btn-white:hover:not(:disabled) {
  background: var(--signal);
}

.btn-wa {
  background: #128c4b;
  color: #fff;
}

.btn-wa:hover:not(:disabled) {
  background: #0f7a41;
}

.btn-sm {
  height: 40px;
  padding-inline: 18px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

/* Circular arrow affordance beside a section action link. */
.arrow-dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: all 0.3s var(--ease-out-k);
}

.arrow-dot svg {
  width: 14px;
  height: 14px;
}

.action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.action-link:hover .arrow-dot {
  border-color: var(--volt);
  background: var(--volt);
  color: #fff;
}

.link-sweep {
  position: relative;
  display: inline-block;
}

.link-sweep::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-k);
}

.link-sweep:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ----------------------------------------------------------------- chips */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding-inline: 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-70);
  white-space: nowrap;
}

.chip-volt {
  background: var(--volt-tint);
  border-color: transparent;
  color: var(--volt-deep);
}

.chip-signal {
  background: var(--signal);
  border-color: transparent;
  color: var(--ink);
}

/* ---------------------------------------------------------------- inputs */

.field {
  width: 100%;
  height: 52px;
  padding-inline: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--paper);
  font-size: 15px;
  color: var(--ink);
  transition:
    border-color 0.2s var(--ease-out-k),
    box-shadow 0.2s var(--ease-out-k);
}

.field::placeholder {
  color: var(--ink-30);
}

.field:focus {
  outline: none;
  border-color: var(--volt);
  box-shadow: 0 0 0 3px var(--volt-tint);
}

textarea.field {
  height: auto;
  padding-block: 14px;
  line-height: 1.55;
  resize: vertical;
}

select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230b0b0d' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 8px;
  font-weight: 500;
}

.card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

/* --------------------------------------------------------------- texture */

.grid-lines {
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
}

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

.ticker {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding-block: 8px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: k-marquee 40s linear infinite;
}

.ticker:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes k-marquee {
  to {
    transform: translateX(-50%);
  }
}

.ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.ticker-item {
  display: flex;
  align-items: center;
}

.ticker-item > span:first-child {
  padding-inline: 24px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
}

.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--signal);
  flex: none;
}

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: var(--paper);
  transition: border-color 0.3s, background-color 0.3s, backdrop-filter 0.3s;
}

.hdr.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
}

.hdr-row {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* The lockup: original OTLU mark, hairline, the word Sites. */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.lockup-mark {
  height: 26px;
  width: auto;
  flex: none;
}

.lockup-rule {
  width: 1px;
  height: 20px;
  background: var(--line-strong);
  flex: none;
}

.lockup-word {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.bg-ink .lockup-rule,
.foot .lockup-rule {
  background: rgba(255, 255, 255, 0.25);
}

.bg-ink .lockup-word,
.foot .lockup-word {
  color: #fff;
}

.hdr-nav {
  display: none;
  align-items: center;
  gap: 30px;
}

@media (min-width: 1024px) {
  .hdr-nav {
    display: flex;
  }
}

.hdr-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-70);
  text-decoration: none;
  transition: color 0.2s;
}

.hdr-nav a:hover {
  color: var(--volt);
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* The header CTA is hidden on phones — the lockup, the language pill, the
   button and the burger together ran 16px past a 390px viewport. The same
   action is in the sheet and in the sticky dock, so nothing is lost. */
.hdr-cta {
  display: none;
}

@media (min-width: 1024px) {
  .hdr-cta {
    display: inline-flex;
  }
}

.lang {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  height: 40px;
  padding-inline: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s;
}

.lang-btn::-webkit-details-marker {
  display: none;
}

.lang-btn:hover {
  border-color: var(--ink);
}

.lang-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.lang[open] .lang-caret {
  transform: rotate(180deg);
}

.lang-caret {
  transition: transform 0.3s var(--ease-out-k);
}

.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  max-height: min(64vh, 420px);
  overflow: auto;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 24px 48px -18px rgba(11, 11, 13, 0.22);
  z-index: 60;
}

.lang-list a {
  display: block;
  padding: 9px 12px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-70);
  transition: background 0.2s, color 0.2s;
}

.lang-list a:hover {
  background: var(--bone);
  color: var(--ink);
}

.lang-list a[aria-current='page'] {
  color: var(--volt);
}

.burger {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

.burger svg {
  width: 18px;
  height: 18px;
}

.burger .i-close,
.burger[aria-expanded='true'] .i-open {
  display: none;
}

.burger[aria-expanded='true'] .i-close {
  display: block;
}

.sheet {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 20px;
  max-height: calc(100dvh - 72px);
  overflow: auto;
}

.sheet nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.sheet nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.sheet-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 10px 0 20px;
  padding: 0;
}

.sheet-langs a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-70);
}

.sheet-langs a[aria-current='page'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.sheet-head {
  margin: 20px 0 0;
}

/* Sticky mobile bar. */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  gap: 8px;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
}

.dock .btn {
  flex: 1;
  padding-inline: 14px;
}

.dock.is-away {
  display: none;
}

@media (min-width: 768px) {
  .dock {
    display: none;
  }
}

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

.hero-grid {
  display: grid;
  align-items: center;
  gap: 48px;
  padding-block: 48px 64px;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 64px;
    padding-block: 64px 112px;
  }
}

.hero-copy {
  max-width: 680px;
}

.hero-h1 {
  margin-top: 24px;
}

/* The hand-drawn underline under the final phrase — Kora's signature. */
.swoosh {
  position: relative;
  display: inline-block;
}

.swoosh svg {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 12px;
  color: var(--volt);
}

.hero-hindi {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--volt);
  margin-top: 20px;
}

@media (min-width: 768px) {
  .hero-hindi {
    font-size: 24px;
  }
}

.hero-lede {
  margin-top: 24px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  list-style: none;
  padding: 0;
  margin-top: 32px;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-70);
}

.ticks svg {
  width: 16px;
  height: 16px;
  color: var(--volt);
  flex: none;
}

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

.stage {
  position: relative;
  display: grid;
  place-items: center;
  padding-block: 20px;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(286px, 76vw);
  aspect-ratio: 9 / 18.6;
  padding: 10px;
  border-radius: 38px;
  background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(11, 11, 13, 0.45), 0 0 0 1px var(--line-strong);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  translate: -50% 0;
  width: 36%;
  height: 20px;
  background: var(--ink);
  border-radius: 0 0 12px 12px;
  z-index: 3;
}

.screen {
  position: relative;
  height: 100%;
  border-radius: 29px;
  overflow: hidden;
  background: var(--paper);
}

.demo {
  --accent: var(--volt);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 32px 12px 12px;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  animation: demo-cycle 25s linear infinite;
  animation-delay: calc(var(--i) * 5s);
}

/* Handover crossfade: the outgoing screen stays fully opaque underneath
   (z-index drops it below) while the incoming one fades in on top, so the
   composite is never a washed-out blank — which is what a symmetric
   crossfade produced, and a screenshot caught. */
@keyframes demo-cycle {
  0%     { opacity: 0; z-index: 2; }
  3%     { opacity: 1; z-index: 2; }
  20%    { opacity: 1; z-index: 1; }
  23%    { opacity: 1; z-index: 1; }
  23.01% { opacity: 0; z-index: 1; }
  100%   { opacity: 0; z-index: 1; }
}

.demo-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.demo-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  flex: none;
}

.demo-name {
  display: grid;
  min-width: 0;
}

.demo-name strong {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.demo-name small {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-top: 3px;
}

.demo-hero {
  height: 74px;
  border-radius: 4px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, #fff), color-mix(in srgb, var(--accent) 40%, #fff));
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 8px;
  margin-bottom: 12px;
}

.demo-hero span {
  display: block;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.72);
}

.demo-hero span:nth-child(1) { width: 36%; height: 44%; }
.demo-hero span:nth-child(2) { width: 26%; height: 62%; }
.demo-hero span:nth-child(3) { width: 18%; height: 32%; }

.demo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.demo-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 9px;
  background: var(--paper);
}

.demo-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

.demo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 10px;
}

.demo-gallery i {
  aspect-ratio: 1;
  border-radius: 3px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 12%, #fff), color-mix(in srgb, var(--accent) 30%, #fff));
}

.demo-gallery i:nth-child(2) {
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 28%, #fff), color-mix(in srgb, var(--accent) 10%, #fff));
}

.demo-info {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.demo-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--ink-50);
}

.demo-info svg {
  width: 11px;
  height: 11px;
  color: var(--accent);
  flex: none;
}

/* The demo label must always be readable — it is the one label on this page
   that may never be mistaken for a real client's site. */
.demo-tag {
  align-self: center;
  margin: 10px 0;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  background: var(--bone-2);
  padding: 4px 9px;
  border-radius: 999px;
}

.demo-actions {
  display: flex;
  gap: 5px;
}

.demo-actions span {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 8px 0;
  border-radius: 999px;
  color: #fff;
}

.demo-actions svg {
  width: 14px;
  height: 14px;
}

.demo-call { background: var(--ink); }
.demo-wa { background: #128c4b; }
.demo-map { background: var(--accent); }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 20px 44px -18px rgba(11, 11, 13, 0.3);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  animation: k-drift 9s ease-in-out infinite;
}

.float-card svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* The floating cards sit against the phone's BEZEL, never across the demo's
   own content — an earlier position dropped one straight onto the demo
   business name. Above the top edge and below the action row. */
.float-a {
  top: -3%;
  left: -2%;
  max-width: 68%;
  animation-delay: -3s;
}

.float-a svg { color: var(--good); }

.float-b {
  bottom: -2%;
  right: -2%;
  animation-delay: -6s;
}

.float-b svg { color: var(--volt); }

.float-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-top: 3px;
  white-space: normal;
}

@keyframes k-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ------------------------------------------------------------ stats band */

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat {
  padding: 28px 0;
}

.stat:nth-child(odd) {
  padding-right: 20px;
}

.stat:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.stat:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .stat {
    padding: 40px 32px;
    border-left: 1px solid var(--line);
  }

  .stat:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 0;
  }
}

.stat svg {
  width: 20px;
  height: 20px;
  color: var(--volt);
  margin-bottom: 14px;
}

.stat p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* ----------------------------------------------------------- section head */

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .sec-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.sec-head-copy {
  max-width: 680px;
}

.sec-head h2 {
  margin-top: 20px;
}

.sec-head .lede {
  margin-top: 20px;
}

/* --------------------------------------------------- hairline cell grids */

/* Kora's trick: a 1px grid gap over a line-coloured background paints the
   dividers, so every cell shares exact hairlines with no double borders. */
.cells {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.cells-2 { grid-template-columns: minmax(0, 1fr); }
.cells-3 { grid-template-columns: minmax(0, 1fr); }
.cells-4 { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 640px) {
  .cells-2, .cells-3, .cells-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .cells-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cells-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cell {
  background: var(--paper);
  padding: 28px;
  transition: background 0.3s;
}

.cell:hover {
  background: var(--bone);
}

@media (min-width: 1024px) {
  .cell {
    padding: 32px;
  }
}

.bg-bone .cell {
  background: var(--paper);
}

.cell h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 18px;
}

.cell p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-70);
}

.cell-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--volt-tint);
  color: var(--volt-deep);
}

.cell-icon svg {
  width: 19px;
  height: 19px;
}

/* ------------------------------------------------------------- categories */

.cat {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 22px;
  text-decoration: none;
  transition: background 0.3s;
}

.cat:hover {
  background: var(--bone);
}

.cat-thumb {
  position: relative;
  height: 104px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--bone);
  overflow: hidden;
  padding: 10px;
  flex: none;
}

.cat:hover .cat-thumb {
  background: var(--paper);
}

.cat-dots {
  display: flex;
  gap: 4px;
}

.cat-dots i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--line-strong);
}

.cat-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--volt);
  transition: all 0.35s var(--ease-out-k);
}

.cat:hover .cat-icon {
  background: var(--volt);
  border-color: var(--volt);
  color: #fff;
  transform: translateY(-2px);
}

.cat-icon svg {
  width: 21px;
  height: 21px;
}

.cat-bars {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  gap: 4px;
}

.cat-bars i {
  height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
}

.cat-bars i:last-child {
  width: 56%;
}

.cat h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 16px;
}

.cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: auto;
  padding-top: 14px;
}

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--volt-deep);
  text-decoration: none;
}

.cat-link svg {
  width: 11px;
  height: 11px;
  transition: transform 0.3s var(--ease-out-k);
}

.cat:hover .cat-link svg {
  transform: translateX(3px);
}

/* ---------------------------------------------------------- problem list */

.problem-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.problem-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.problem-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-70);
}

.problem-list li::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--volt);
  flex: none;
  margin-top: 12px;
}

.solution {
  padding: 32px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
}

@media (min-width: 1024px) {
  .solution {
    position: sticky;
    top: 112px;
  }
}

.solution p {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .solution p {
    font-size: 30px;
  }
}

/* --------------------------------------------------------- process (ink) */

.process {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 56px;
}

@media (min-width: 768px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step {
  position: relative;
  background: var(--ink);
  padding: 28px;
  transition: background 0.3s;
}

@media (min-width: 1024px) {
  .step {
    padding: 32px;
  }
}

.step:hover {
  background: rgba(255, 255, 255, 0.04);
}

.step-n {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.3s;
}

.step:hover .step-n {
  color: var(--signal);
}

.step h3 {
  margin-top: 24px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.step p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.process-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .process-foot {
    flex-direction: row;
    align-items: center;
  }
}

.process-foot p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
}

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

/* Billing switch. Two radios plus :has() — the prices swap with no
   JavaScript at all, so the annual figure is correct even if the script
   never runs. Nothing here rewrites a price at runtime. */
.billing {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  margin-top: 28px;
}

.billing input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.billing label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding-inline: 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-50);
  cursor: pointer;
  transition: background 0.25s var(--ease-out-k), color 0.25s var(--ease-out-k);
}

.billing:has(#bill-monthly:checked) label[for='bill-monthly'],
.billing:has(#bill-annual:checked) label[for='bill-annual'] {
  background: var(--ink);
  color: #fff;
}

.billing-save {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--volt-tint);
  color: var(--volt-deep);
}

.billing:has(#bill-annual:checked) label[for='bill-annual'] .billing-save {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.plans {
  display: grid;
  gap: 20px;
  margin-top: 40px;
  max-width: 940px;
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

@media (min-width: 1024px) {
  .plan {
    padding: 32px;
  }
}

.plan-featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.plan-featured .plan-price {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.plan-amount {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.plan-per {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-50);
}

.plan-featured .plan-per {
  color: rgba(255, 255, 255, 0.45);
}

/* Both price blocks are rendered; the switch reveals one. */
.price-annual { display: none; }

#pricing:has(#bill-annual:checked) .price-monthly { display: none; }
#pricing:has(#bill-annual:checked) .price-annual { display: flex; }

.plan-commit {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--volt-deep);
  line-height: 1.6;
}

.plan-featured .plan-commit {
  color: var(--signal);
}

.plan-feats {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
}

.plan-feats li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-70);
}

.plan-featured .plan-feats li {
  color: rgba(255, 255, 255, 0.8);
}

.plan-feats svg {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex: none;
  color: var(--volt);
}

.plan-featured .plan-feats svg {
  color: var(--signal);
}

.plan .btn {
  margin-top: 32px;
}

.fineprint {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 940px;
  border-top: 1px solid var(--line);
}

.fineprint li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-50);
}

.fineprint li::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--line-strong);
  flex: none;
  margin-top: 11px;
}

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

.vs {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.vs-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .vs-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.vs-row + .vs-row {
  border-top: 1px solid var(--line);
}

.vs-row > span {
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--ink-50);
}

.vs-head > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bone);
}

.vs-otlu {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.vs-otlu svg {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex: none;
  color: var(--signal);
}

.vs-head .vs-otlu {
  color: #fff;
  font-family: var(--font-mono);
}

@media (max-width: 639px) {
  .vs-head {
    display: none;
  }

  .vs-row > span:first-child {
    padding-bottom: 4px;
    text-decoration: line-through;
    text-decoration-color: var(--line-strong);
  }
}

/* ---------------------------------------------------------------- bharat */

.bharat {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .bharat {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
  }
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--paper);
  padding: 18px 20px;
  transition: background 0.3s;
}

.tile:hover {
  background: var(--bone);
}

.tile strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.tile em {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-top: 7px;
}

.tile-cta {
  background: var(--volt);
  color: #fff;
  grid-column: 1 / -1;
}

.tile-cta:hover {
  background: var(--volt-deep);
}

.tile-cta em {
  color: rgba(255, 255, 255, 0.78);
}

.tile-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: all 0.3s var(--ease-out-k);
}

.tile-arrow svg {
  width: 12px;
  height: 12px;
}

.tile:hover .tile-arrow {
  border-color: var(--volt);
  background: var(--volt);
  color: #fff;
}

.tile-cta .tile-arrow {
  border-color: rgba(255, 255, 255, 0.4);
}

.tile-cta:hover .tile-arrow {
  background: #fff;
  border-color: #fff;
  color: var(--volt);
}

/* -------------------------------------------------------------- enquiries */

.enq {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 22px;
}

.enq-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--signal);
}

.enq-mark svg {
  width: 26px;
  height: 26px;
}

.enq p {
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

/* ------------------------------------------------------------------ form */

.form-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .form-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
  }
}

.form-aside {
  display: grid;
  gap: 22px;
  align-content: start;
}

@media (min-width: 1024px) {
  .form-aside {
    position: sticky;
    top: 112px;
  }
}

.form-aside .ticks {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.form-aside .btn {
  justify-self: start;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  padding: 28px;
}

@media (min-width: 768px) {
  .form-card {
    padding: 36px;
  }
}

.fields {
  display: grid;
  gap: 20px;
}

.f {
  display: block;
}

.f-err {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--volt-deep);
}

.f-bad .field {
  border-color: var(--volt);
  box-shadow: 0 0 0 3px var(--volt-tint);
}

.form-alert {
  padding: 14px 16px;
  border-radius: 4px;
  border: 1px solid var(--volt-tint-2);
  background: var(--volt-tint);
  color: var(--volt-deep);
  font-size: 14px;
  font-weight: 600;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pills label {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-k);
}

.pills label:has(input:checked) {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.pills input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-70);
}

.consent input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--volt);
}

/* Honeypot: off-screen rather than display:none, because a bot that checks
   for display:none skips the trap — and a person can never reach it. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sent {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 48px 12px;
}

.sent-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--volt-tint);
  color: var(--good);
}

.sent-mark svg {
  width: 28px;
  height: 28px;
}

.sent h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sent p {
  max-width: 40ch;
  font-size: 14.5px;
  color: var(--ink-70);
}

/* ------------------------------------------------------------------- faq */

.faq-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 64px;
  }
}

.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

@media (min-width: 768px) {
  .faq-item summary {
    padding: 24px 0;
  }
}

.faq-n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-30);
  width: 28px;
  flex: none;
  margin-top: 6px;
}

.faq-q {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .faq-q {
    font-size: 19px;
  }
}

.faq-item summary:hover .faq-q,
.faq-item[open] .faq-q {
  color: var(--volt);
}

.faq-sign {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  margin-top: 2px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: all 0.25s var(--ease-out-k);
}

.faq-item summary:hover .faq-sign {
  border-color: var(--ink);
}

.faq-item[open] .faq-sign {
  border-color: var(--volt);
  background: var(--volt);
  color: #fff;
}

.faq-sign::before,
.faq-sign::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.35s var(--ease-out-k), opacity 0.25s;
}

.faq-sign::before {
  width: 13px;
  height: 1.5px;
}

.faq-sign::after {
  width: 1.5px;
  height: 13px;
}

.faq-item[open] .faq-sign::after {
  transform: scaleY(0);
  opacity: 0;
}

.faq-item > p {
  padding: 0 40px 24px 48px;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-70);
}

/* --------------------------------------------------------------- closing */

.close {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 24px;
}

.close p {
  max-width: 46ch;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
}

.close-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

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

.foot {
  background: var(--ink);
  color: #fff;
  padding-top: 64px;
}

.foot-top {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
}

@media (min-width: 640px) {
  .foot-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .foot-top {
    grid-template-columns: 1.6fr repeat(4, 1fr);
  }
}

.foot-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

@media (max-width: 1023px) {
  .foot-brand {
    grid-column: 1 / -1;
  }
}

.foot-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 34ch;
}

.foot-col {
  display: grid;
  gap: 12px;
  align-content: start;
}

.foot-col h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.foot-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.foot-col a:hover {
  color: var(--signal);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

.foot-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

/* ------------------------------------------------------------ legal pages */

.legal-main {
  padding-block: 56px 88px;
}

.legal {
  display: grid;
  gap: 20px;
  max-width: 760px;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-size: 38px;
}

@media (min-width: 768px) {
  .legal h1 {
    font-size: 52px;
  }
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-50);
}

.legal-toc {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bone);
}

.legal-toc h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 12px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.legal-toc a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--volt);
}

.legal section {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.legal section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.legal section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-70);
}

.legal-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-foot-links a[aria-current='page'] {
  color: var(--signal);
}

/* ---------------------------------------------------------------- motion */

/* Kora's reveal: [data-reveal] fades up when it enters the viewport, and
   the observer force-shows anything already above the fold on load. If the
   script never runs at all, the no-js rule below leaves everything visible —
   content is never hidden by a mechanism that can fail silently. */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease-out-k),
    transform 0.8s var(--ease-out-k);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal][data-delay='1'] { transition-delay: 0.07s; }
[data-reveal][data-delay='2'] { transition-delay: 0.14s; }
[data-reveal][data-delay='3'] { transition-delay: 0.21s; }
[data-reveal][data-delay='4'] { transition-delay: 0.28s; }
[data-reveal][data-delay='5'] { transition-delay: 0.35s; }

/* Belt and braces: without JavaScript the reveal never gets its .is-in, so
   this makes the hidden state conditional on the script having booted. */
html:not(.js) [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .demo {
    animation: none;
    opacity: 0;
  }

  .demo[style*='--i:0'] {
    opacity: 1;
  }

  .marquee-track {
    animation: none;
  }
}

/* ------------------------------------------------------------ scrollbar */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bone);
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ink-30);
}

/* Room for the mobile dock so the footer is never covered. */
@media (max-width: 767px) {
  body {
    padding-bottom: 72px;
  }
}
