:root {
  --bg: #000;
  --fg: #fff;
  --muted: #b4b8c4;
  --faint: #8e94a3;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-2: rgba(255, 255, 255, 0.08);
  --blue: #60a5fa;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Space Grotesk", Inter, sans-serif;
  --sans: Inter, system-ui, sans-serif;
  --max: 1120px;
  --header: 74px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, "Noto Sans Gujarati", "Noto Sans Devanagari", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(59, 130, 246, 0.22), transparent 60%),
    radial-gradient(760px 480px at 92% 0%, rgba(168, 85, 247, 0.18), transparent 55%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  padding: 8px 12px;
  background: #fff;
  color: #000;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
}

.header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.brand small {
  display: block;
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: #d1d5db;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav .btn { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #3b82f6, #7c3aed);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.28);
}
.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); }
.btn-small { min-height: 42px; padding: 0 14px; font-size: 0.92rem; }
.header .btn { margin-left: 8px; }

.hero {
  position: relative;
  padding: 72px 0 28px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 10% 20% auto;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
  pointer-events: none;
}

.badge {
  position: relative;
  display: inline-flex;
  padding: 1px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 22px;
}
.badge::before {
  content: "";
  position: absolute;
  inset: -80%;
  background: conic-gradient(from 0deg, transparent 0 68%, #fff 80%, transparent 88%);
  animation: spin 5.5s linear infinite;
}
.badge span {
  position: relative;
  border-radius: 999px;
  background: #070707;
  padding: 8px 14px;
  font-size: 0.84rem;
  color: #e5e7eb;
  letter-spacing: 0.01em;
}

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.04em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.7rem, 6.5vw, 5.15rem); font-weight: 700; max-width: 16ch; margin-inline: auto; }
h2 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.03em; }

.grad {
  background: linear-gradient(105deg, #93c5fd 0%, #c4b5fd 48%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 62ch;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.promises li {
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.promises strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.promises span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
  max-width: 860px;
  padding: 0;
  list-style: none;
}
.gst-pills { margin: 0 auto 28px; }
.pills li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c5cad3;
  font-size: 0.86rem;
}
.pills a { color: inherit; }
.pills a:hover { color: #fff; }
a.text-link {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.text-link:hover { color: #fff; }

.hero-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 28px;
  text-align: left;
}
.hero-flow article {
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-flow em {
  color: #93c5fd;
  font-style: normal;
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.hero-flow strong { display: block; margin: 8px 0 6px; font-size: 1.02rem; }
.hero-flow p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.frame {
  margin: 48px auto 0;
  text-align: left;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.frame-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  font-size: 0.82rem;
}
.frame-bar .dots { display: flex; gap: 7px; justify-self: start; }
.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.frame-bar i:nth-child(1) { background: #ff5f57; }
.frame-bar i:nth-child(2) { background: #febc2e; }
.frame-bar i:nth-child(3) { background: #28c840; }
.frame-bar em { grid-column: 2; justify-self: center; font-style: normal; white-space: nowrap; }

.app {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 430px;
  background: linear-gradient(180deg, #fbfdff 0%, #eef6ff 100%);
  color: #0f1f3a;
}
.side {
  display: flex;
  flex-direction: column;
  padding: 16px 12px 14px;
  border-right: 1px solid #d7e6f8;
  background: #f7fbff;
}
.side-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
}
.side-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: 0 0 36px;
}
.side-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.1;
  background: linear-gradient(105deg, #1e3a5f 0%, #2563eb 48%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.side-brand small, .side-brand span { display: block; color: #587093; font-size: 0.68rem; line-height: 1.3; white-space: nowrap; }
.side-brand span { color: #2563eb; }
.side ul { list-style: none; margin: 14px 0 0; padding: 0; }
.side li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 9px;
  color: #334e72;
  font-size: 0.8rem;
}
.side li.on { background: #e7f0ff; color: #1d4ed8; font-weight: 700; }
.nav-ico {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  border: 1px solid transparent;
}
.nav-ico svg { width: 14px; height: 14px; display: block; fill: currentColor; }
.ico-blue { color: #1d4ed8; background: #dbeafe; border-color: #bfdbfe; }
.ico-indigo { color: #4338ca; background: #e0e7ff; border-color: #c7d2fe; }
.ico-purple { color: #7e22ce; background: #f3e8ff; border-color: #e9d5ff; }
.ico-cyan { color: #0e7490; background: #cffafe; border-color: #a5f3fc; }
.ico-teal { color: #0f766e; background: #ccfbf1; border-color: #99f6e4; }
.ico-orange { color: #c2410c; background: #ffedd5; border-color: #fed7aa; }
.ico-green { color: #166534; background: #dcfce7; border-color: #bbf7d0; }

.desk { padding: 16px 16px 18px; }
.desk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.desk-top strong { font-size: 0.98rem; }
.desk-actions { display: flex; gap: 8px; }
.chip {
  border: 0;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}
.chip-blue { background: #2563eb; color: #fff; }
.chip-line { background: #fff; color: #1e3a5f; border: 1px solid #d7e6f8; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stats article, .panel {
  background: #fff;
  border: 1px solid #e3eefb;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.04);
}
.stats article { padding: 12px; }
.stats span { display: block; color: #64748b; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; }
.stats strong { display: block; margin-top: 4px; font-family: var(--display); font-size: 1.45rem; color: #1d4ed8; letter-spacing: -0.04em; }

.panels {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
  margin-top: 10px;
}
.panel { padding: 12px 14px 14px; }
.panel h3 { font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0; margin-bottom: 10px; }
.bar { display: grid; grid-template-columns: 64px 1fr auto; gap: 8px; align-items: center; margin-top: 7px; font-size: 0.75rem; color: #475569; }
.bar b { height: 7px; border-radius: 99px; background: #e8eef7; position: relative; overflow: hidden; }
.bar b i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; }
.bar .draft { width: 12%; background: #cbd5e1; }
.bar .unpaid { width: 28%; background: #fb923c; }
.bar .paid { width: 86%; background: #22c55e; }
.client-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #eef3f9;
  font-size: 0.78rem;
}
.client-row:first-of-type { border-top: 0; }
.client-row span { color: #64748b; }

.sheet {
  margin-top: 10px;
  background: #fff;
  border: 1px solid #e3eefb;
  border-radius: 14px;
  padding: 12px 14px 6px;
}
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sheet-head h3 { margin: 0; }
.sheet-head span { color: #94a3b8; font-size: 0.72rem; }
.sheet-row {
  display: grid;
  grid-template-columns: 78px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #eef3f9;
  font-size: 0.78rem;
}
.sheet-row b { font-weight: 700; color: #1e3a5f; }
.who { color: #334155; }
.tag {
  justify-self: end;
  width: auto;
  white-space: nowrap;
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 700;
}
.tag.paid { background: #dcfce7; color: #15803d; }
.tag.due { background: #ffedd5; color: #c2410c; }
.tag.draft { background: #f1f5f9; color: #475569; }

.phone-nav { display: none; }

.frame-note {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 0.82rem;
  text-align: center;
}

.band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 56px auto 0;
  width: min(var(--max), calc(100% - 32px));
  padding: 0;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.band li {
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.band li:last-child { border-right: 0; }
.band a { display: block; color: inherit; }
.band a:hover strong { color: #fff; }
.card h3 a:hover,
.hero-flow a:hover,
.timeline h3 a:hover { color: #93c5fd; }
.hero-flow a { color: inherit; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto 18px;
  color: var(--faint);
  font-size: 0.88rem;
}
.crumbs a { color: #d1d5db; }
.crumbs a:hover { color: #fff; }
section.page-hero { padding: 48px 0 8px; }
section.page-hero h1 { font-size: clamp(2.15rem, 5vw, 3.5rem); max-width: 18ch; }
.related {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 28px;
}
.related a { color: #93c5fd; }
.related a:hover { color: #fff; }
.band strong { display: block; font-family: var(--display); letter-spacing: -0.03em; }
.band span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.88rem; }

section { padding: 88px 0; }
section[id],
article[id],
li[id] { scroll-margin-top: 88px; }
#features, #gst, #process, #contact {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 140px);
}
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #d1d5db;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sub { margin: 14px 0 0; color: var(--muted); }

.grid-3, .grid-2, .editions { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.editions { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.3); }
.card p { color: var(--muted); margin: 10px 0 0; }
.card h3 { margin-top: 14px; }
.grid-3, .editions { align-items: stretch; }
.grid-3 > .card, .editions > .card { height: 100%; }

.ticks { margin: 12px 0 0; padding: 0; list-style: none; }
.ticks li {
  position: relative;
  margin-top: 7px;
  padding-left: 16px;
  color: #d5d8e0;
  font-size: 0.92rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #c084fc);
}

.icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.icon svg {
  width: 26px;
  height: 26px;
  display: block;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.g-blue { background: linear-gradient(135deg, #3b82f6, #22d3ee); }
.g-purple { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.g-green { background: linear-gradient(135deg, #22c55e, #14b8a6); }
.g-amber { background: linear-gradient(135deg, #f59e0b, #f97316); }
.g-rose { background: linear-gradient(135deg, #fb7185, #e11d48); }
.g-indigo { background: linear-gradient(135deg, #6366f1, #8b5cf6); }

.edition-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.trade { color: var(--faint); font-size: 0.82rem; margin-top: 4px; }
.ver {
  flex: none;
  font-size: 0.75rem;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-radius: 999px;
  padding: 4px 8px;
}
.edition ul { margin: 14px 0 0; padding: 0; list-style: none; }
.edition li {
  position: relative;
  padding-left: 16px;
  margin-top: 7px;
  color: #d5d8e0;
  font-size: 0.94rem;
}
.edition li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #c084fc);
}
.edition .btn { margin-top: 18px; }

.points { display: grid; gap: 12px; margin-top: 22px; }
.point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.point strong { display: block; }
.point p { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; }
.point ul { margin: 10px 0 0; padding: 0; list-style: none; }
.point li {
  position: relative;
  margin-top: 6px;
  padding-left: 14px;
  color: #d5d8e0;
  font-size: 0.9rem;
}
.point li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #c084fc);
}

.stack { display: grid; gap: 12px; position: sticky; top: 96px; align-self: start; }
.stat {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}
.stat span { color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline > li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 18px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.timeline > li > span {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: #93c5fd;
  line-height: 1;
  padding-top: 4px;
}
.timeline h3 { font-size: 1.25rem; }
.timeline p { margin: 8px 0 0; color: var(--muted); }

.faq { display: grid; gap: 10px; }
.faq-item {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.faq-item button i {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-item button i::before,
.faq-item button i::after {
  content: "";
  position: absolute;
  background: #93c5fd;
  border-radius: 2px;
  transition: transform 0.2s var(--ease);
}
.faq-item button i::before { inset: 10px 2px auto; height: 1.5px; }
.faq-item button i::after { inset: 2px 10px; width: 1.5px; }
.faq-item.open button i::after { transform: scaleY(0); }
.faq-item .answer { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open { border-color: rgba(147, 197, 253, 0.4); box-shadow: 0 12px 32px rgba(59, 130, 246, 0.12); }
.faq-item.open .answer { display: block; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; }
label span { color: #e5e7eb; }
input, textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  padding: 13px 14px;
  outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { border-color: rgba(96, 165, 250, 0.8); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); }
.field-error { color: #fca5a5; font-size: 0.78rem; font-weight: 500; min-height: 1em; }
.form-note { margin: 0; color: var(--faint); font-size: 0.85rem; }
.form-status { min-height: 1.2em; margin: 0; color: #86efac; font-size: 0.9rem; }

.contact-side { display: grid; gap: 12px; }
.contact-card {
  display: block;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.contact-card small { display: block; color: var(--faint); }
.contact-card strong { display: block; margin-top: 2px; }
.contact-card:hover strong { color: #93c5fd; }

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 42px 0 88px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}
.footer-name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.footer p, .footer a { color: var(--muted); font-size: 0.92rem; }
.footer a { display: block; margin-top: 8px; }
.footer a:hover { color: #fff; }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--faint);
  font-size: 0.82rem;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; }

.missing { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.missing p { color: var(--muted); }

:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; }

@keyframes spin { to { transform: rotate(1turn); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .grid-3, .footer-grid, .band { grid-template-columns: 1fr 1fr; }
  .band li:nth-child(2) { border-right: 0; }
  .band li:nth-child(1),
  .band li:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .grid-2, .contact-grid, .app, .panels, .stats { grid-template-columns: 1fr; }
  .stack { position: static; }
  .side { display: none; }
  .phone-nav {
    display: flex;
    border-top: 1px solid #d7e6f8;
    background: #fff;
  }
  .phone-nav span {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    font-size: 0.68rem;
    color: #587093;
  }
  .phone-nav span.on { color: #1d4ed8; font-weight: 700; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--header) - 6px);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 16px;
    background: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  }
  .nav.open { display: flex; z-index: 50; }
  .header > .wrap > .btn { display: none; }
  .nav .btn { display: inline-flex; margin: 6px 8px 4px; }
  .grid-3, .editions, .footer-grid, .stats, .band, .promises { grid-template-columns: 1fr; }
  .band li { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .band li:last-child { border-bottom: 0; }
  .sheet-row { grid-template-columns: 1fr auto; }
  .sheet-row .who { grid-column: 1 / -1; }
  .timeline > li { grid-template-columns: 44px 1fr; padding: 16px; }
  section { padding: 64px 0; }
  h1 { max-width: none; font-size: clamp(2.15rem, 10vw, 3rem); }
  .legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge::before { animation: none; }
  .card, .btn { transition: none; }
}
