@font-face {
  font-family: "Golos Text";
  src: url("fonts/GolosText-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

:root,
body[data-mode="light"] {
  color-scheme: light;
  --body: #f4f7f8;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-soft: #edf2f3;
  --surface-dark: #0d151a;
  --ink: #121a1f;
  --muted: #52616a;
  --faint: #72808a;
  --line: #cfdbdf;
  --line-strong: #adbdc3;
  --accent: #a6dd12;
  --accent-bright: #c8ff34;
  --accent-ink: #162000;
  --green: #16845f;
  --blue: #2c6ee8;
  --amber: #a66204;
  --red: #c83a3a;
  --topbar: rgba(244, 247, 248, .92);
  --shadow: 0 22px 60px rgba(15, 29, 36, .12);
  --shadow-small: 0 10px 28px rgba(15, 29, 36, .09);
  --screen-border: #33434c;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  font-family: "Golos Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--body);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 3%, rgba(183, 237, 32, .11), transparent 28rem),
    radial-gradient(circle at 92% 15%, rgba(44, 110, 232, .08), transparent 34rem);
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--accent-ink);
  background: var(--accent-bright);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

.narrow {
  width: min(880px, calc(100% - 44px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: var(--topbar);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1240px, calc(100% - 32px));
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #101800;
  background: var(--accent-bright);
  box-shadow: inset 0 0 0 1px rgba(17, 25, 0, .14);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--surface);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.menu-button {
  display: none;
  width: 42px;
  padding: 0;
  font-size: 20px;
}

.nav-cta {
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--accent-ink);
  background: var(--accent-bright);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  width: min(1260px, calc(100% - 44px));
  min-height: 690px;
  margin: 0 auto;
  padding: 72px 0 68px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(540px, 1.1fr);
  gap: 54px;
  align-items: center;
}

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

.eyebrow,
.version-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.eyebrow {
  margin-bottom: 20px;
  padding: 8px 12px;
  color: var(--accent-ink);
  background: var(--accent-bright);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f4800;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", "Golos Text", sans-serif;
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 70px);
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 780;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 760;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 24px;
}

.button {
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--accent-ink);
  background: var(--accent-bright);
  box-shadow: 0 10px 28px rgba(166, 221, 18, .2);
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.button.dark {
  color: #f4f8fa;
  background: #10181d;
}

.hero-facts {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.hero-facts li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
  font-weight: 900;
}

.hero-shots {
  position: relative;
  min-height: 560px;
}

.hero-shots::before {
  content: "";
  position: absolute;
  inset: 7% 0 5% 5%;
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(200, 255, 52, .32), rgba(44, 110, 232, .08));
  filter: blur(2px);
}

.app-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--screen-border);
  border-radius: 16px;
  background: #0c1318;
  box-shadow: var(--shadow);
}

.app-shot img {
  width: 100%;
  height: auto;
}

.app-shot figcaption {
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #dce5e9;
  background: #10191f;
  font-size: 12px;
  font-weight: 750;
}

.app-shot figcaption span:last-child {
  color: #94a3ab;
  font-weight: 600;
}

.hero-engineer {
  position: absolute;
  top: 20px;
  right: 0;
  width: 96%;
}

.hero-client {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 59%;
}

.channel-badge {
  position: absolute;
  right: 2%;
  bottom: 7%;
  max-width: 220px;
  padding: 12px 14px;
  border: 1px solid rgba(200, 255, 52, .38);
  border-radius: 12px;
  color: #dfe8ec;
  background: rgba(8, 15, 19, .94);
  box-shadow: var(--shadow-small);
  font-size: 13px;
  font-weight: 700;
}

.channel-badge strong {
  display: block;
  margin-bottom: 3px;
  color: var(--accent-bright);
}

.band {
  padding: 88px 0;
}

.band.compact {
  padding: 64px 0;
}

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

.band.dark-band {
  color: #eff5f7;
  background: #0c1419;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p,
.card p,
.role-card p,
.step-card p,
.callout p,
.download-card p,
.truth-card p {
  margin: 0;
  color: var(--muted);
}

.dark-band .section-head p,
.dark-band .card p,
.dark-band .step-card p {
  color: #aebcc3;
}

.kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dark-band .kicker {
  color: var(--accent-bright);
}

.grid {
  display: grid;
  gap: 16px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.role-card,
.step-card,
.download-card,
.truth-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.card,
.role-card,
.truth-card {
  padding: 24px;
}

.card-number,
.role-label,
.step-number,
.flow-node .node-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 11px;
  color: var(--accent-ink);
  background: var(--accent-bright);
  font-weight: 900;
}

.role-label {
  width: fit-content;
  padding-inline: 11px;
  display: inline-flex;
  font-size: 12px;
  letter-spacing: .06em;
}

.role-card ul,
.check-list,
.plain-list,
.need-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.role-card li,
.check-list li,
.need-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 25px;
  color: var(--muted);
}

.role-card li::before,
.check-list li::before,
.need-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.system-flow {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: stretch;
  justify-content: center;
  gap: 10px;
}

.flow-node {
  width: 210px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid #314149;
  border-radius: 15px;
  background: #121d23;
}

.flow-node .node-number {
  width: 32px;
  height: 32px;
  margin-bottom: 13px;
  border-radius: 9px;
}

.flow-node strong {
  display: block;
  margin-bottom: 5px;
}

.flow-node span {
  display: block;
  color: #aebcc3;
  font-size: 13px;
}

.flow-arrow {
  align-self: center;
  color: var(--accent-bright);
  font-size: 24px;
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  padding: 22px;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.screenshot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  gap: 28px;
  align-items: start;
}

.screenshot-layout.reverse {
  grid-template-columns: minmax(300px, .55fr) minmax(0, 1.45fr);
}

.screenshot-layout.reverse .app-shot {
  order: 2;
}

.shot-notes {
  display: grid;
  gap: 12px;
}

.shot-note {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.shot-note strong {
  display: block;
  margin-bottom: 5px;
}

.shot-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.page-head {
  padding: 78px 0 64px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(183, 237, 32, .12), transparent 52%);
}

.page-head .wrap {
  max-width: 960px;
}

.page-head h1 {
  max-width: 900px;
  font-size: clamp(40px, 5vw, 64px);
}

.page-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.callout {
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 14px;
  background: var(--surface);
}

.callout.warning {
  border-left-color: var(--amber);
  background: color-mix(in srgb, var(--surface) 88%, #f0a000 12%);
}

.callout.danger {
  border-left-color: var(--red);
  background: color-mix(in srgb, var(--surface) 90%, #e54848 10%);
}

.callout.success {
  border-left-color: var(--green);
}

.callout h3 {
  margin-bottom: 7px;
}

.truth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.truth-card.yes {
  border-top: 4px solid var(--green);
}

.truth-card.no {
  border-top: 4px solid var(--red);
}

.plain-list {
  padding-left: 20px;
  list-style: disc;
  color: var(--muted);
}

.plain-list li + li {
  margin-top: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.spec-table th,
.spec-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 30%;
  color: var(--ink);
  background: var(--surface-soft);
}

.spec-table td {
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.toc a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.guide-content {
  min-width: 0;
}

.guide-section {
  margin-bottom: 54px;
}

.guide-step {
  position: relative;
  margin-top: 18px;
  padding: 24px 24px 24px 76px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.guide-step .step-number {
  position: absolute;
  top: 22px;
  left: 22px;
  margin: 0;
}

.guide-step h3 {
  margin-bottom: 8px;
}

.guide-step p {
  margin: 0;
  color: var(--muted);
}

.guide-step p + p,
.guide-step ul {
  margin-top: 12px;
}

.inline-shot {
  margin-top: 18px;
}

.inline-shot figcaption {
  white-space: normal;
}

code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: Consolas, monospace;
  font-size: .92em;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.download-card {
  padding: 28px;
}

.download-card.featured {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
}

.download-card .tag {
  margin-bottom: 15px;
  padding: 7px 10px;
  color: var(--accent-ink);
  background: var(--accent-bright);
}

.download-card .button {
  width: 100%;
  margin-top: 22px;
}

.version-note {
  margin-top: 12px;
  color: var(--faint);
  font-size: 13px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.faq summary {
  padding: 19px 52px 19px 20px;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-family: "Manrope", sans-serif;
  font-weight: 760;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 20px;
  color: var(--green);
  font-size: 24px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p,
.faq details ul {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq details ul {
  padding-left: 40px;
}

.cta-band {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border: 1px solid #314149;
  border-radius: 18px;
  color: #eff5f7;
  background: #0d161b;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(27px, 3vw, 40px);
}

.cta-band p {
  margin: 0;
  color: #aebcc3;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 14px;
}

.footer-feedback {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.5fr);
  gap: 44px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-feedback-copy h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
}

.footer-feedback-copy p {
  max-width: 420px;
  margin: 0;
  line-height: 1.6;
}

.feedback-form {
  display: grid;
  gap: 14px;
}

.feedback-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feedback-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

.feedback-form textarea {
  min-height: 118px;
  resize: vertical;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.feedback-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.5;
}

.feedback-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--green);
}

.feedback-consent label {
  display: inline;
  color: inherit;
  font: inherit;
}

.feedback-consent a {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 2px;
}

.feedback-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 18px;
}

.feedback-submit {
  flex: 0 0 auto;
}

.feedback-submit:disabled {
  cursor: wait;
  opacity: .65;
}

.feedback-status {
  min-height: 20px;
  margin: 0;
  font-weight: 700;
}

.feedback-status.success {
  color: var(--green);
}

.feedback-status.error {
  color: var(--red);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  max-width: 430px;
  display: grid;
  gap: 4px;
}

.footer strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.footer-links {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.footer-link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px;
}

.footer-link-separator {
  color: var(--faint);
}

.footer-link-button {
  margin: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: var(--ink);
}

.footer-meta {
  max-width: 620px;
  display: grid;
  justify-items: end;
  gap: 12px;
  text-align: right;
}

.footer-details,
.footer-alpha {
  color: var(--faint);
  font-size: 13px;
}

.footer-email {
  overflow-wrap: anywhere;
  color: var(--ink) !important;
  font-weight: 750;
  text-underline-offset: 3px;
}

.legal-band {
  padding-top: 54px;
}

.legal-document {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.legal-document section + section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin: 0 0 16px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.legal-document h3 {
  margin: 24px 0 10px;
  font-size: 18px;
}

.legal-document p,
.legal-document ul {
  margin: 0 0 14px;
  color: var(--muted);
}

.legal-document ul {
  padding-left: 24px;
}

.legal-document li + li {
  margin-top: 7px;
}

.legal-document a {
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.legal-lead {
  color: var(--ink) !important;
  font-size: 18px;
}

.legal-note {
  margin: 20px 0 !important;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  color: var(--ink) !important;
  background: var(--surface-soft);
}

.legal-details {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.legal-details dt,
.legal-details dd {
  margin: 0;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
}

.legal-details dt {
  color: var(--muted);
  background: var(--surface-soft);
  font-weight: 700;
}

.legal-details dd {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.legal-details dt:last-of-type,
.legal-details dd:last-of-type {
  border-bottom: 0;
}

.legal-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-contact a {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 750;
  text-underline-offset: 3px;
}

.processing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.processing-grid > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.processing-grid h3 {
  margin-top: 0;
}

.processing-grid p:last-child {
  margin-bottom: 0;
}

.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: max(16px, calc((100vw - 1180px) / 2));
  bottom: 16px;
  left: max(16px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid #314149;
  border-radius: 15px;
  color: #eff5f7;
  background: #0d161b;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .28);
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent-copy {
  max-width: 720px;
}

.analytics-consent-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
}

.analytics-consent-copy p {
  margin: 0;
  color: #c7d1d6;
  line-height: 1.5;
}

.analytics-consent-copy a {
  color: #fff;
  font-weight: 700;
}

.analytics-consent-current {
  display: block;
  margin-top: 5px;
  color: #94a4ac;
  font-size: 12px;
}

.analytics-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.analytics-consent-actions .button {
  min-height: 42px;
  padding: 10px 15px;
  white-space: nowrap;
}

.footer a {
  color: var(--muted);
}

.mobile-only {
  display: none;
}

@media (max-width: 1080px) {
  .nav {
    width: min(100% - 24px, 980px);
  }

  .nav-links a {
    padding-inline: 8px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 58px;
  }

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

  .hero-shots {
    width: min(850px, 100%);
    min-height: 630px;
  }

  .system-flow {
    grid-template-columns: 1fr;
  }

  .flow-node {
    width: 100%;
    min-height: 0;
  }

  .flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

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

@media (max-width: 860px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 11px 12px;
    font-size: 15px;
  }

  .nav-cta {
    display: none;
  }

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

  .screenshot-layout,
  .screenshot-layout.reverse {
    grid-template-columns: 1fr;
  }

  .screenshot-layout.reverse .app-shot {
    order: 0;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .wrap,
  .narrow,
  .hero {
    width: min(100% - 28px, 100%);
  }

  .nav {
    width: calc(100% - 20px);
    gap: 8px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .hero {
    padding: 44px 0 52px;
    gap: 35px;
  }

  h1 {
    font-size: clamp(37px, 12vw, 52px);
  }

  .lead {
    font-size: 17px;
  }

  .actions .button {
    width: 100%;
  }

  .hero-shots {
    min-height: 380px;
  }

  .hero-engineer {
    width: 100%;
    top: 0;
  }

  .hero-client {
    width: 66%;
    bottom: 0;
  }

  .channel-badge {
    display: none;
  }

  .app-shot {
    border-radius: 11px;
  }

  .band,
  .band.compact {
    padding: 58px 0;
  }

  .page-head {
    padding: 54px 0 46px;
  }

  .page-head p {
    font-size: 17px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .steps,
  .truth-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .role-card,
  .truth-card,
  .download-card {
    padding: 20px;
  }

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table th {
    border-bottom: 0;
    padding-bottom: 5px;
  }

  .spec-table td {
    padding-top: 5px;
  }

  .guide-step {
    padding: 72px 20px 20px;
  }

  .guide-step .step-number {
    left: 20px;
  }

  .cta-band,
  .footer-feedback,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-feedback {
    grid-template-columns: 1fr;
  }

  .cta-band .button {
    width: 100%;
  }

  .footer-links {
    justify-items: start;
  }

  .footer-link-row {
    justify-content: flex-start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }

  .feedback-fields {
    grid-template-columns: 1fr;
  }

  .feedback-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .feedback-submit {
    width: 100%;
  }

  .legal-document {
    padding: 22px 18px;
    border-radius: 13px;
  }

  .legal-details {
    grid-template-columns: 1fr;
  }

  .processing-grid {
    grid-template-columns: 1fr;
  }

  .legal-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .analytics-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .analytics-consent-actions {
    flex-direction: column;
  }

  .analytics-consent-actions .button {
    width: 100%;
  }

  .legal-details dt,
  .legal-details dd {
    border-bottom: 0;
  }

  .legal-details dd {
    padding-top: 0;
    border-bottom: 1px solid var(--line);
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
