@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/apps/assets/fonts/manrope-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/apps/assets/fonts/manrope-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --surface-blue: #e9f3ff;
  --text: #05070b;
  --muted: #7d8797;
  --line: #d9dee8;
  --blue: #2d5fd4;
  --blue-dark: #224bb2;
  --button-blue: #39a7df;
  --button-blue-ink: #071225;
  --button-blue-shadow: rgba(34, 158, 217, 0.24);
  --cyan: #19b9e8;
  --cyan-dark: #0f8ed1;
  --green: #138a58;
  --green-soft: #e5f7ef;
  --red: #c4372f;
  --red-soft: #fff0ee;
  --amber: #946100;
  --amber-soft: #fff7df;
  --shadow: 0 20px 60px rgba(23, 47, 82, 0.12);
  --radius: 8px;
  --wizard-width: 860px;
  --font-sans: "Manrope", "Aptos", "Inter", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(23, 103, 194, 0.36);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 14px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(216, 226, 239, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  color: #05070b;
  font-size: 0.96rem;
  line-height: 1.15;
}

.brand-copy small {
  color: #6f7989;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.15;
}

.header-note,
.install-timer {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.install-timer {
  color: var(--blue-dark);
}

.install-timer.is-low {
  color: var(--red);
}

body[data-guide] {
  min-height: 100vh;
  background: #f7f8f6;
}

body[data-guide] .site-header {
  position: relative;
  min-height: 58px;
  padding: 14px max(20px, calc((100vw - var(--wizard-width)) / 2)) 10px;
  border-bottom: 0;
  background: #fff;
  backdrop-filter: none;
}

body[data-guide] .header-note,
body[data-guide] .install-timer {
  color: #8a92a1;
  font-size: 0.78rem;
  font-weight: 600;
}

.home-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  min-height: 560px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
  border: 1px solid rgba(216, 226, 239, 0.9);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.status-card h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.25rem;
  line-height: 1.04;
}

.hero-copy p {
  max-width: 60ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--cyan), #126fbe);
  box-shadow: var(--shadow);
}

.ready-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #fff;
}

.ready-item span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #28b982;
  color: #fff;
  font-weight: 800;
}

.ready-item strong {
  font-size: 1.1rem;
}

.ready-item small {
  color: #c7d6ea;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(23, 47, 82, 0.08);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 103, 194, 0.32);
  box-shadow: var(--shadow);
}

.guide-card-kicker {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-card h2 {
  margin: 10px 0;
  font-size: 1.6rem;
}

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

.card-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 36px;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--blue-dark);
  background: var(--surface-blue);
  font-size: 0.88rem;
  font-weight: 800;
}

.guide-shell {
  width: min(var(--wizard-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 64px;
}

.guide-loading,
.fallback-card,
.status-card {
  max-width: 760px;
  margin: 64px auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.status-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.guide-layout {
  display: block;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.guide-sidebar,
.step-card {
  border: 0;
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.guide-sidebar {
  display: block;
  min-height: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid #dde1e8;
  background: #fff;
  color: var(--muted);
}

.guide-sidebar h1 {
  margin: 0 0 18px;
  font-size: 1.14rem;
  line-height: 1.35;
  color: #fff;
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px 4px 7px;
  border: 1px solid #d7dce5;
  border-radius: 999px;
  background: #fff;
  color: #8a92a1;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.step-list li.is-active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.step-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #edf0f5;
  color: #8a92a1;
  font-size: 0.68rem;
  font-weight: 800;
}

.step-list li.is-active .step-marker {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.step-list li.is-complete .step-marker {
  background: #dfe7fb;
  color: var(--blue-dark);
}

.step-list li.is-separated-step {
  flex-basis: 100%;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  border-color: #b9e1f5;
  color: #126789;
  background: #eefaff;
  box-shadow: 0 8px 18px rgba(34, 158, 217, 0.08);
}

.step-list li.is-separated-step.is-active {
  border-color: var(--button-blue);
  color: var(--button-blue-ink);
  background: var(--button-blue);
}

.step-phase-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #126789;
  background: #d9f2ff;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.step-list li.is-active .step-phase-kicker {
  color: var(--button-blue-ink);
  background: rgba(255, 255, 255, 0.34);
}

.step-nav-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: -4px -11px -4px -7px;
  padding: 4px 11px 4px 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.step-nav-button:hover {
  color: var(--blue-dark);
}

.step-nav-button:focus-visible {
  outline: 3px solid rgba(23, 103, 194, 0.26);
  outline-offset: 2px;
}

.step-card {
  min-height: calc(100vh - 126px);
  padding: 28px 20px 40px;
  background: transparent;
}

.wizard-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 10px;
  color: #8a92a1;
  font-size: 0.82rem;
  line-height: 1.15;
}

.wizard-footer .debug-reset-btn {
  margin-left: auto;
  white-space: nowrap;
}

.dev-tools-panel {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #cdddf5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(36, 86, 200, 0.08), rgba(22, 160, 101, 0.08)),
    #fff;
  box-shadow: 0 16px 36px rgba(21, 42, 81, 0.08);
}

.dev-tools-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dev-tools-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dev-tools-header h2 {
  margin: 0;
  color: var(--dark);
  font-size: 1.12rem;
  letter-spacing: 0;
}

.dev-tools-header p {
  max-width: 620px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.dev-tools-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #d8e1ef;
  border-radius: 999px;
  color: #66758c;
  background: #f6f8fc;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.dev-tools-status.is-ready {
  border-color: #a8dfc6;
  color: #0f5b35;
  background: #e8f8ef;
}

.dev-tools-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.dev-tool-chip {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e2e8f2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.dev-tool-chip span {
  color: #7a8798;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dev-tool-chip strong {
  overflow: hidden;
  color: #21324a;
  font-size: 0.86rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dev-status-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d9e6f7;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.dev-status-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.dev-status-header strong {
  color: #17233a;
  font-size: 0.92rem;
  font-weight: 950;
}

.dev-status-header span {
  color: #718096;
  font-size: 0.78rem;
  font-weight: 750;
}

.dev-status-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}

.dev-status-btn {
  min-height: 38px;
  padding-inline: 10px;
  font-size: 0.78rem;
  white-space: normal;
}

.dev-status-btn.is-active {
  box-shadow: 0 10px 20px rgba(34, 158, 217, 0.18);
}

.dev-tools-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dev-tools-actions .btn {
  min-height: 38px;
}

.dev-tool-pass.is-active {
  border-color: #a8dfc6;
  color: #0f5b35;
  background: #e8f8ef;
  box-shadow: none;
}

.support-banner {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--amber);
  background: var(--amber-soft);
  font-weight: 800;
}

.step-count {
  margin: 0 0 5px;
  color: #4f647e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.step-progress {
  display: none;
  gap: 10px;
  max-width: 760px;
  margin: 0 0 26px;
}

.step-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.step-progress-row strong {
  color: var(--blue-dark);
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border: 1px solid #93d9ef;
  border-radius: 999px;
  background: #f4fbff;
}

.progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), #71d7ee);
}

.step-card h2 {
  margin: 0;
  font-size: 1.95rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.lead {
  max-width: 70ch;
  margin: 4px 0 22px;
  color: #354158;
  font-size: 0.98rem;
}

.lead-bold {
  margin-top: -12px;
  font-weight: 950;
}

.lead-highlight {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: -10px 0 22px;
  padding: 12px 16px;
  border: 1px solid #a8dfc6;
  border-radius: 12px;
  color: #0f6b43;
  background:
    radial-gradient(circle at 0 0, rgba(19, 138, 88, 0.18), transparent 44%),
    #f1fbf6;
  box-shadow: 0 12px 28px rgba(19, 138, 88, 0.11);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.25;
}

.step-media {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.step-media img,
.step-media video {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #fff;
}

.step-media figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.instruction-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding-left: 28px;
  color: var(--text);
  font-size: 1.02rem;
}

.expected-panel,
.success-panel,
.payment-placeholder,
.action-panel,
.calculator-inline,
.trouble-panel,
.blocked-panel,
.error-panel {
  margin: 18px 0;
  padding: 18px;
  border-radius: var(--radius);
}

.expected-panel {
  border: 1px solid #bfe7d4;
  background: var(--green-soft);
}

.expected-panel p,
.payment-placeholder p,
.action-panel p,
.calculator-inline p {
  margin: 6px 0 0;
  color: var(--muted);
}

.success-panel {
  border: 1px solid #a9dfc7;
  background: var(--green-soft);
}

.success-panel code,
.payment-placeholder code,
.inline-result code {
  display: inline-flex;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 7px;
  background: #102744;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.payment-placeholder {
  padding: clamp(28px, 4vw, 38px);
  border: 1px solid #cbd7ec;
  border-radius: 19px;
  background: linear-gradient(135deg, #eef3ff 0%, #e5ebf8 100%);
  box-shadow: 0 22px 48px rgba(38, 67, 119, 0.15);
}

.payment-panel.is-locked {
  border-style: dashed;
  background: #f4f8ff;
  box-shadow: none;
}

.payment-panel-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 344px);
  gap: clamp(30px, 5vw, 46px);
  align-items: center;
}

.payment-panel-copy {
  display: grid;
  gap: 22px;
}

.payment-panel-copy p {
  max-width: 44rem;
  margin: 0;
  color: #425174;
  font-size: 1rem;
  line-height: 1.55;
}

.payment-benefits {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-benefits li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #071225;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.24;
}

.payment-benefit-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 8px 16px rgba(19, 138, 88, 0.18);
}

.payment-benefit-icon::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.payment-panel-copy .payment-dev-note {
  padding: 10px 11px;
  border: 1px solid rgba(96, 112, 137, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  color: #607089;
  font-size: 0.9rem;
}

.payment-id-card {
  display: grid;
  gap: 10px;
  width: min(342px, 100%);
  padding: 15px 16px;
  border: 1px solid rgba(192, 204, 226, 0.78);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(42, 70, 118, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.payment-id-card span {
  color: #68789d;
  font-size: 0.78rem;
  font-weight: 800;
}

.payment-id-value {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
}

.payment-id-card code {
  display: flex;
  align-items: center;
  min-height: 41px;
  margin: 0;
  padding: 10px 13px;
  border-radius: 8px;
  background: #0c1628;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.payment-id-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #ccd7ea;
  border-radius: 10px;
  color: #52657f;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.payment-id-copy svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.payment-id-copy:hover,
.payment-id-copy:focus-visible {
  transform: translateY(-1px);
  border-color: var(--button-blue);
  color: #102047;
}

.payment-id-copy.is-copied {
  border-color: #9edfc2;
  color: #0f5b35;
  background: #e8f8ef;
}

.payment-checkout-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(217, 224, 238, 0.9);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(42, 70, 118, 0.12);
}

.payment-price {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 152px;
  padding: 26px 22px;
  color: var(--green);
  font-size: clamp(3.6rem, 7vw, 4.25rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 6px 10px rgba(19, 138, 88, 0.18);
}

.payment-checkout-actions {
  display: grid;
  align-content: center;
  min-height: 164px;
  padding: 26px;
  border-top: 1px solid #e3e8f2;
  background: #f6f8fd;
}

.payment-redirect-note {
  justify-self: center;
  width: min(100%, 25ch);
  margin: 13px auto 0;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.28;
  text-align: center;
}

.payment-checkout-state {
  justify-items: center;
  gap: 9px;
  min-height: 242px;
  padding: 4px 0;
  text-align: center;
}

.payment-status-heading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #12203a;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.1;
}

.payment-status-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 8px 16px rgba(19, 138, 88, 0.16);
}

.payment-status-icon::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.payment-status-copy {
  max-width: 31ch;
  margin: 4px auto 2px;
  color: #68758a;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.45;
}

.payment-status-copy strong {
  color: #14223d;
  font-weight: 900;
}

.payment-email-busy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  margin: 2px 0 4px;
}

.payment-email-busy span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 8px 16px rgba(19, 138, 88, 0.16);
  animation: payment-busy-dot 1.25s ease-in-out infinite;
}

.payment-email-busy span:nth-child(2) {
  animation-delay: 140ms;
}

.payment-email-busy span:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes payment-busy-dot {
  0%,
  80%,
  100% {
    opacity: 0.38;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

.payment-support-actions {
  width: min(100%, 292px);
  margin: 8px auto 0;
}

.payment-support-actions .support-channel-row {
  width: 100%;
  min-width: 0;
  gap: 8px;
  justify-content: center;
}

.payment-support-actions .support-channel-btn {
  min-height: 40px;
  font-size: 0.74rem;
}

.payment-support-actions .support-channel-telegram {
  flex: 0 0 128px;
  min-width: 128px;
  padding: 0 10px;
}

.payment-support-actions .support-channel-whatsapp {
  flex: 0 0 128px;
  min-width: 128px;
  padding: 0 10px;
}

.payment-methods-visual {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(198, 211, 231, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 55px rgba(27, 49, 84, 0.14);
}

.payment-methods-visual img {
  display: block;
  width: 100%;
  border-radius: 14px;
  background: #fff;
}

.payment-methods-visual figcaption {
  color: #607089;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.action-panel,
.calculator-inline {
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.connection-panel {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
}

.connection-checker-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

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

.connection-mini-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  border: 1px solid #dce6f5;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
}

.connection-mini-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
}

.connection-mini-step strong,
.connection-checker strong {
  display: block;
  color: var(--text);
  line-height: 1.25;
}

.connection-mini-step p {
  font-size: 0.86rem;
  line-height: 1.4;
}

.connection-checker {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.connection-frame-shell {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.connection-frame-shell.is-local-checker {
  display: grid;
  place-items: center;
  min-height: 330px;
  border: 1px solid #e6eaf0;
  background: #fff;
}

.connection-frame-shell.is-loaded {
  min-height: 300px;
  background: transparent;
}

.connection-frame-shell.has-success {
  min-height: 260px;
  background: transparent;
}

.connection-frame-shell iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  background: #fff;
}

.connection-frame-shell .connection-success-panel {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(232, 248, 239, 0.96);
  box-shadow: 0 16px 32px rgba(21, 100, 62, 0.12);
  backdrop-filter: blur(8px);
}

.connection-frame-help {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 9px;
  padding: 15px;
  border: 1px solid #b9c9df;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(13, 23, 48, 0.13);
}

.connection-frame-help p {
  max-width: 68ch;
  margin: 0;
}

.connection-frame-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.connection-frame-placeholder {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 42px 22px;
  color: #506176;
  text-align: center;
}

.connection-frame-placeholder strong {
  color: var(--text);
  font-size: 1.04rem;
}

.connection-frame-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 1.25rem;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(36, 86, 200, 0.2);
}

.connection-local-checker {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100% - 32px, 420px);
}

.connection-local-open {
  width: min(100%, 300px);
  min-height: 44px;
  padding: 8px 22px;
  border: 1px solid #053f07;
  border-radius: 999px;
  color: #fff;
  background: #08c510;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.connection-local-open:hover {
  filter: brightness(0.96);
  box-shadow: 0 8px 18px rgba(8, 197, 16, 0.16);
}

.connection-local-open:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(8, 197, 16, 0.12);
}

.connection-local-open:focus-visible {
  outline: 3px solid rgba(45, 95, 212, 0.25);
  outline-offset: 3px;
}

.connection-local-status {
  max-width: 340px;
  margin: 0;
  color: #66758a;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.connection-success-panel {
  display: grid;
  gap: 6px;
  margin: 0;
  border-color: #a8dfc6;
}

.connection-success-panel p {
  margin: 0;
}

.connection-success-panel code {
  width: fit-content;
}

.calculator-inline {
  display: grid;
  gap: 12px;
}

.password-tool {
  gap: 16px;
  border-color: #d8e3f2;
  background: linear-gradient(180deg, #fbfcff, #f3f7ff);
}

.calculator-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.calculator-selected-version {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #cad8eb;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 850;
}

.password-version-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.password-version-tab {
  display: grid;
  gap: 7px;
  min-height: 92px;
  padding: 13px 12px;
  border: 1px solid #b8c8e2;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.password-version-tab strong {
  color: #13233d;
  font-size: 1.05rem;
  line-height: 1.05;
}

.password-version-tab span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.password-version-tab:hover,
.password-version-tab.is-attention-hover,
.password-version-tab.is-selected {
  transform: translateY(-1px);
  border-color: var(--blue);
  background: #f0f5ff;
}

.password-version-tab.is-attention-hover {
  box-shadow: 0 12px 24px rgba(36, 86, 200, 0.14);
}

.password-version-tab.is-selected {
  box-shadow: 0 0 0 2px rgba(36, 86, 200, 0.12);
}

.password-version-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: start;
}

.password-version-panel .btn,
.password-version-panel .inline-result {
  grid-column: 2;
}

.calculator-preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(13, 23, 48, 0.06);
}

.calculator-preview img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #111827;
}

.calculator-preview figcaption {
  padding: 9px 11px;
  border-top: 1px solid #e3e8f2;
  color: #4e5a6c;
  font-size: 0.8rem;
  font-weight: 800;
}

.calculator-preview-empty {
  display: grid;
  gap: 7px;
  padding: 18px;
  color: #fff;
  background: #172033;
}

.calculator-preview-empty span {
  color: #8fd6ff;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.calculator-preview-empty strong {
  font-size: 1.25rem;
}

.calculator-preview-empty small {
  color: #c7d3e5;
  line-height: 1.4;
}

.password-form-grid {
  display: grid;
  gap: 12px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.calculator-inline h3,
.action-panel h3,
.trouble-panel h3,
.payment-placeholder h3 {
  margin: 0 0 8px;
}

.field-label {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-weight: 800;
}

.field-label span,
.hint {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.text-input {
  width: 100%;
  max-width: 420px;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #bac9da;
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.text-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 86, 200, 0.11);
}

.text-input.is-invalid {
  border-color: #e46f66;
  background: #fff7f6;
  box-shadow: 0 0 0 4px rgba(228, 111, 102, 0.12);
}

.form-feedback {
  display: block;
  margin: 0;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.45;
}

.inline-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fff;
}

.inline-success {
  border: 1px solid #a9dfc7;
  background: var(--green-soft);
}

.inline-error,
.error-panel {
  border: 1px solid #f1b5ae;
  color: var(--red);
  background: var(--red-soft);
}

.btn-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.spinner {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 999px;
  animation: calculator-spin 0.75s linear infinite;
}

.spinner-dark {
  border-color: rgba(36, 86, 200, 0.18);
  border-top-color: var(--blue);
}

.btn.is-copied {
  border-color: #9edfc2;
  background: #16a065;
  color: #fff;
}

@keyframes calculator-spin {
  to {
    transform: rotate(360deg);
  }
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 10px;
  margin: 22px 0 28px;
}

.model-card {
  min-height: 74px;
  padding: 14px 10px 12px;
  border: 2px solid #d4dbe8;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.model-card strong,
.model-card span {
  display: block;
  text-align: center;
}

.model-card strong {
  color: #05070b;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.15;
}

.model-card span {
  margin-top: 5px;
  color: #7f8798;
  font-size: 0.76rem;
  font-weight: 500;
}

.model-card:hover,
.model-card.is-selected {
  transform: translateY(-1px);
  border-color: var(--blue);
  background: #f7f9ff;
  color: var(--blue-dark);
  box-shadow: 0 8px 18px rgba(45, 95, 212, 0.1);
}

.model-helper {
  margin: 2px 0 0;
  color: #8a92a1;
  font-size: 0.82rem;
  text-align: right;
}

.year-panel {
  max-width: 500px;
  margin: 14px 0;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.year-panel .field-label {
  margin: 0;
}

.year-panel .hint {
  display: block;
  margin: 7px 0 0;
  max-width: 58ch;
}

.year-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.year-choice {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid #cdd7e7;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.year-choice strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.year-choice span {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.35;
}

.year-choice:hover,
.year-choice.is-selected {
  border-color: var(--blue);
  background: #f2f6ff;
}

.year-choice.is-selected {
  box-shadow: 0 0 0 2px rgba(36, 86, 200, 0.12);
}

.button-row,
.utility-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.button-row {
  justify-content: flex-end;
  border-top: 0;
  padding-top: 8px;
}

.payment-wallet-actions {
  display: grid;
  gap: 11px;
  width: 100%;
  margin: 0;
}

.payment-wallet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  width: 100%;
  padding: 9px 18px;
  border: 1px solid #090b10;
  border-radius: 10px;
  color: #fff;
  background: #07080d;
  font-family: Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.payment-wallet-button:hover,
.payment-wallet-button:focus-visible {
  transform: translateY(-1px);
  background: #111;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.payment-wallet-button:focus-visible {
  outline: 3px solid rgba(36, 86, 200, 0.32);
  outline-offset: 3px;
}

.payment-wallet-button.is-loading {
  cursor: wait;
  font-size: 0.88rem;
  font-weight: 850;
  white-space: nowrap;
}

.payment-wallet-button:disabled {
  opacity: 1;
}

.payment-wallet-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-top-color: #fff;
  border-radius: 999px;
  animation: payment-spin 760ms linear infinite;
}

@keyframes payment-spin {
  to {
    transform: rotate(360deg);
  }
}

.payment-wallet-apple-mark,
.payment-wallet-google-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.payment-wallet-apple-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.payment-wallet-google-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.payment-wallet-google-pay {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
}

.utility-row {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.utility-row summary {
  display: inline-flex;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.utility-row[open] summary {
  margin-bottom: 8px;
}

.utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 130px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0%, transparent 38%, rgba(255, 255, 255, 0.34) 48%, transparent 58%, transparent 100%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:hover:not(:disabled)::after,
.btn:focus-visible::after {
  animation: button-shine 900ms ease;
}

.btn:disabled {
  background: #cbd2dd;
  color: #fff;
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none;
}

.btn:disabled::before,
.btn:disabled::after {
  display: none;
}

.btn-primary {
  background: var(--button-blue);
  color: var(--button-blue-ink);
  box-shadow: 0 12px 24px var(--button-blue-shadow);
}

.btn-primary::before {
  background: rgba(57, 167, 223, 0.22);
  animation: button-pulse-blue 2.8s ease-in-out infinite;
}

.btn-primary:hover:not(:disabled) {
  background: var(--button-blue);
  box-shadow: 0 14px 28px rgba(34, 158, 217, 0.3);
}

.btn-secondary {
  border-color: #bac9da;
  background: #fff;
  color: var(--blue-dark);
}

.btn-subtle {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.debug-reset-btn {
  min-height: 36px;
  padding-inline: 12px;
  background: #f5f7fb;
}

.debug-reset-btn:hover:not(:disabled) {
  background: #eceff5;
}

.btn-whatsapp {
  background: var(--button-blue);
  color: var(--button-blue-ink);
  box-shadow: 0 12px 24px var(--button-blue-shadow);
}

.btn-whatsapp::before {
  background: rgba(57, 167, 223, 0.22);
  animation: button-pulse-green 2.6s ease-in-out infinite;
}

.btn-whatsapp:hover:not(:disabled) {
  background: var(--button-blue);
  box-shadow: 0 14px 28px rgba(34, 158, 217, 0.3);
}

.wa-open-app-btn {
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--button-blue);
  border-radius: 50px;
  background: var(--button-blue);
  box-shadow: none;
  color: var(--button-blue-ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 16px;
  padding: 16px 28px;
  position: relative;
  text-align: center;
  transition: color 0.33s linear 0.5s, border-color 0.5s ease-out, background-color 0.33s linear 0s, transform 160ms ease;
  white-space: nowrap;
  z-index: 1;
}

.wa-open-app-btn::before {
  display: none;
}

.wa-open-app-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  min-width: 167px;
  height: 167px;
  border-radius: 50%;
  background: var(--button-blue);
  transform: scale(1) translateY(67px);
  transition: transform 1s cubic-bezier(0.66, 0, 0.34, 1);
  pointer-events: none;
}

.wa-open-app-btn:hover:not(:disabled),
.wa-open-app-btn:active:not(:disabled) {
  border-color: var(--button-blue);
  background: var(--button-blue);
  color: var(--button-blue-ink);
  box-shadow: none;
  transition-delay: 0.5s, 0s, 0s, 0s;
}

.wa-open-app-btn:hover:not(:disabled)::after,
.wa-open-app-btn:active:not(:disabled)::after {
  animation: none;
  transform: scale(1.47) translateY(0);
}

.wa-open-app-btn:focus,
.wa-open-app-btn:focus-visible {
  outline: 3px solid rgba(34, 158, 217, 0.35);
  outline-offset: 3px;
}

.wa-open-app-btn:focus::after,
.wa-open-app-btn:focus-visible::after {
  animation: none;
}

.wa-open-app-btn:disabled,
.wa-open-app-btn[aria-disabled='true'] {
  border-color: #cdd0d5;
  background: #cdd0d5;
  color: #5e5e5e;
  cursor: not-allowed;
  box-shadow: none;
}

.wa-open-app-btn:disabled::after,
.wa-open-app-btn[aria-disabled='true']::after {
  display: none;
}

.support-channel-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.support-channel-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid rgba(7, 18, 37, 0.12);
  border-radius: 999px;
  color: #071225;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(25, 52, 94, 0.16);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.support-channel-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -92px;
  z-index: -1;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.22);
  transition: opacity 180ms ease, transform 720ms cubic-bezier(0.66, 0, 0.34, 1), bottom 720ms cubic-bezier(0.66, 0, 0.34, 1);
}

.support-channel-btn:hover,
.support-channel-btn:focus-visible {
  transform: translateY(-2px);
}

.support-channel-btn:hover::after,
.support-channel-btn:focus-visible::after {
  bottom: -54px;
  opacity: 1;
  transform: translateX(-50%) scale(1.34);
}

.support-channel-btn:focus-visible {
  outline: 3px solid rgba(34, 158, 217, 0.28);
  outline-offset: 3px;
}

.support-channel-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.support-channel-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.support-channel-label {
  position: relative;
  z-index: 1;
}

.support-channel-telegram {
  flex: 0 0 128px;
  min-width: 128px;
  gap: 7px;
  padding: 0 12px;
  background: var(--button-blue);
  font-size: 0.86rem;
}

.support-channel-telegram:hover,
.support-channel-telegram:focus-visible {
  box-shadow: 0 16px 30px rgba(34, 158, 217, 0.3);
  border-color: rgba(17, 121, 173, 0.34);
}

.support-channel-whatsapp {
  flex: 0 0 128px;
  min-width: 128px;
  gap: 7px;
  padding: 0 12px;
  background: #59d96d;
  font-size: 0.86rem;
  box-shadow: 0 12px 22px rgba(44, 181, 76, 0.18);
}

.support-channel-whatsapp .support-channel-icon,
.support-channel-whatsapp .support-channel-icon svg {
  width: 16px;
  height: 16px;
}

.support-channel-whatsapp:hover,
.support-channel-whatsapp:focus-visible {
  box-shadow: 0 16px 30px rgba(44, 181, 76, 0.28);
  border-color: rgba(22, 147, 54, 0.3);
}

@media (max-width: 520px) {
  .support-channel-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .support-channel-telegram,
  .support-channel-whatsapp {
    width: 100%;
    min-width: 0;
  }
}

.btn-small {
  min-height: 36px;
  margin-left: 10px;
  padding: 8px 10px;
  font-size: 0.88rem;
}

@keyframes button-shine {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes button-pulse-blue {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.96);
  }
  45% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes button-pulse-green {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.96);
  }
  45% {
    opacity: 1;
    transform: scale(1.14);
  }
}

.trouble-panel {
  display: grid;
  gap: 16px;
  scroll-margin-top: 124px;
  border: 1px solid #d9e4f4;
  background: linear-gradient(180deg, #ffffff, #f5f8ff);
  box-shadow: 0 16px 36px rgba(13, 23, 48, 0.08);
}

.trouble-panel.is-unlocked {
  border-color: #a8dfc6;
  background: linear-gradient(180deg, #ffffff, #f2fbf7);
}

.trouble-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.trouble-header-copy {
  display: grid;
  gap: 6px;
}

.trouble-header-tools {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
}

.trouble-reset-btn {
  min-height: 42px;
  padding-inline: 14px;
  white-space: nowrap;
}

.trouble-eyebrow {
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trouble-panel.is-unlocked .trouble-eyebrow {
  color: var(--green);
}

.trouble-panel h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

.trouble-header p,
.trouble-lock-panel p,
.trouble-unlock-panel p {
  margin: 0;
  color: #5b6675;
  line-height: 1.45;
}

.trouble-progress {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #e1e8f3;
}

.trouble-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #38bdf8);
  transition: width 220ms ease;
}

.trouble-panel.is-unlocked .trouble-progress-fill {
  background: linear-gradient(90deg, var(--green), #29c37b);
}

.trouble-attention-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid #efd58b;
  border-radius: 12px;
  background: var(--amber-soft);
  color: #7a4d00;
  font-size: 0.9rem;
  line-height: 1.25;
}

.trouble-attention-box strong {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trouble-attention-box span {
  min-width: 0;
  font-weight: 750;
}

.trouble-list {
  display: grid;
  gap: 9px;
}

.check-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid #dbe4f1;
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.check-row:hover {
  border-color: #b7c8e4;
  box-shadow: 0 8px 18px rgba(13, 23, 48, 0.05);
}

.check-row.is-complete {
  border-color: #a8dfc6;
  background: #f4fbf7;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}

.check-copy {
  display: grid;
  gap: 2px;
}

.check-copy strong {
  color: #42506a;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.check-copy span {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.4;
}

.check-state {
  align-self: center;
  min-width: 70px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #6b7482;
  background: #eef2f7;
  font-size: 0.72rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.check-action-btn {
  align-self: center;
  min-width: 78px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  color: var(--button-blue-ink);
  background: var(--button-blue);
  box-shadow: 0 10px 20px var(--button-blue-shadow);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.check-action-btn:hover,
.check-action-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(34, 158, 217, 0.3);
  filter: saturate(1.08);
}

.check-row.is-complete .check-state {
  color: #0f6b43;
  background: #dff5ea;
}

.check-support-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  color: #66758c;
  background: #eef2f7;
}

.check-support-index svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}

.check-support-index.is-locked {
  border: 1px solid #d4deeb;
  color: #6d7888;
  background: #f5f7fb;
}

.check-support-index.is-ready {
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 16px rgba(19, 138, 88, 0.14);
}

.trouble-support-step {
  border-color: #cbd7ea;
  background: #f8fbff;
}

.support-step-highlight {
  display: block;
  margin-top: 9px;
  padding: 10px 12px;
  border: 1px solid #e2bd55;
  border-radius: 10px;
  color: #5c4300;
  background: #fff6d9;
  font-weight: 900;
  line-height: 1.36;
}

.trouble-support-step.is-complete {
  border-color: #a8dfc6;
  background: var(--green-soft);
}

.trouble-support-step .trouble-support-actions {
  grid-column: 2 / -1;
  margin-top: 3px;
}

.trouble-lock-panel,
.trouble-unlock-panel {
  padding: 15px;
  border-radius: 12px;
}

.trouble-lock-panel {
  border: 1px solid #efd58b;
  color: var(--amber);
  background: var(--amber-soft);
}

.trouble-unlock-panel {
  border: 1px solid #a8dfc6;
  color: #0f6b43;
  background: var(--green-soft);
}

.trouble-lock-panel strong,
.trouble-unlock-panel strong {
  display: block;
  margin-bottom: 5px;
}

.trouble-support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.blocked-panel {
  border: 1px solid #f1b5ae;
  background: var(--red-soft);
  color: var(--red);
}

.blocked-panel p {
  margin: 8px 0 0;
}

.blocked-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .hero-section,
  .guide-layout,
  .guide-cards {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-copy {
    padding: 34px;
  }

  .guide-sidebar {
    position: static;
    min-height: auto;
  }

  .hero-copy h1,
  .status-card h1,
  .step-card h2 {
    font-size: 2.7rem;
  }

  .step-card {
    padding: 26px;
  }

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

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-shell,
  .guide-shell {
    width: min(100% - 20px, 1320px);
  }

  .hero-copy,
  .hero-panel,
  .step-card,
  .guide-sidebar {
    padding: 18px;
  }

  .guide-sidebar {
    display: none;
  }

  body[data-guide]::after {
    display: none;
  }

  .step-progress {
    margin-bottom: 18px;
  }

  .hero-copy h1,
  .status-card h1,
  .step-card h2 {
    font-size: 2.15rem;
  }

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

  .button-row {
    justify-content: stretch;
  }

  .payment-wallet-actions {
    width: 100%;
    margin-left: 0;
  }

  .btn,
  .button-row .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .wa-open-app-btn,
  .wa-open-app-btn::before,
  .wa-open-app-btn::after,
  .support-channel-btn,
  .support-channel-btn::after,
  .payment-wallet-spinner,
  .payment-email-busy span {
    transition: none;
    animation: none;
  }

}

/* Drive-Smart reference design refresh */
:root {
  --bg: #f2f2ef;
  --surface: #ffffff;
  --text: #171a20;
  --muted: #697281;
  --line: #e3e5df;
  --blue: #2456c8;
  --blue-dark: #173f9d;
  --button-blue: #39a7df;
  --button-blue-ink: #071225;
  --button-blue-shadow: rgba(34, 158, 217, 0.24);
  --dark: #0d1730;
  --green: #137a49;
  --green-soft: #e8f6ee;
  --red: #bf2f2a;
  --red-soft: #fff0ee;
  --amber: #7d5700;
  --amber-soft: #fff6dc;
  --shadow: 0 18px 45px rgba(13, 23, 48, 0.1);
  --radius: 10px;
}

body {
  background: var(--bg);
  color: var(--text);
}

body[data-page="home"] {
  background: linear-gradient(to bottom, var(--dark) 0 407px, var(--bg) 407px 100%);
}

.home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 0 max(20px, calc((100vw - 900px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-sizing: border-box;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.home-brand .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  font-size: 0.78rem;
}

.home-brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.home-brand-copy strong {
  font-size: 0.88rem;
  font-weight: 800;
}

.home-brand-copy small {
  color: #bac5d9;
  font-size: 0.72rem;
  font-weight: 500;
}

.home-topbar-note {
  color: #c9d3e8;
  font-size: 0.78rem;
  font-weight: 650;
}

.home-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-topbar-support {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 34px;
  min-width: 0;
}

.home-topbar-support[hidden] {
  display: none;
}

.home-topbar-support .support-channel-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 104px;
  min-height: 34px;
  padding: 0 11px;
  font-size: 0.78rem;
  box-shadow: 0 10px 20px rgba(34, 158, 217, 0.18);
}

.home-topbar-support .support-channel-whatsapp {
  min-width: 94px;
  box-shadow: 0 10px 20px rgba(44, 181, 76, 0.16);
}

.home-topbar-support .support-channel-icon,
.home-topbar-support .support-channel-icon svg {
  width: 15px;
  height: 15px;
}

.home-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 32px;
}

.home-hero {
  position: relative;
  display: block;
  padding: 48px 0 0;
}

.home-copy {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 0;
  color: #fff;
  text-align: center;
}

.home-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #dce5fb;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  font-weight: 800;
}

.home-copy h1 {
  margin: 26px 0 0;
  max-width: 760px;
  font-size: 2.75rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.home-copy p {
  max-width: 760px;
  margin: 16px auto 0;
  color: #d8e0f1;
  font-size: 1rem;
  line-height: 1.55;
}

.home-model-card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  margin: 43px auto 0;
  padding: 28px 25px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 58px rgba(13, 23, 48, 0.18);
}

.home-model-card h2 {
  margin: 0 0 18px;
  font-size: 1.22rem;
  line-height: 1.15;
  text-align: center;
}

.home-card-copy {
  max-width: 500px;
  margin: 8px auto 17px;
  color: #697281;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
}

.home-model-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.home-model-grid .model-card {
  position: relative;
  overflow: hidden;
  min-height: 61px;
  padding: 10px 8px 8px;
  border: 1.5px solid #d6dbe6;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.home-model-grid .model-card strong {
  color: #0d1424;
  font-size: 0.92rem;
}

.home-model-grid .model-card span {
  margin-top: 6px;
  color: #778197;
  font-size: 0.62rem;
}

.home-model-grid .model-card.is-selected {
  border-color: #2f5fe3;
  background: linear-gradient(180deg, #f7faff 0%, #edf4ff 100%);
  box-shadow: none;
}

.home-model-grid .model-card.is-selected strong {
  color: #1f4fd6;
}

.home-model-grid .model-card.is-selected::after {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 999px;
  background: #2d5bd6;
  color: #fff;
  content: "✓";
  font-size: 0.73rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(18, 47, 124, 0.22);
}

.home-t8-gate[hidden] {
  display: none;
}

.home-year-panel {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #d9e2ef;
  border-radius: 11px;
  background: #f7faff;
  text-align: left;
}

.home-year-panel h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}

.home-year-panel p {
  max-width: 500px;
  margin: 8px auto 0;
  color: #677287;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

.home-year-panel .year-choice-grid {
  margin-top: 12px;
}

.home-year-panel .year-choice {
  min-height: 78px;
  padding: 12px;
}

.home-year-panel .year-choice strong {
  font-size: 0.9rem;
}

.home-year-panel .year-choice span {
  font-size: 0.76rem;
}

.home-blocked-panel {
  margin-top: 12px;
  padding: 14px;
  border-radius: 11px;
  text-align: left;
}

.home-blocked-panel strong {
  color: var(--red);
  font-size: 0.95rem;
}

.home-blocked-panel p {
  color: #8b342d;
  font-size: 0.8rem;
  line-height: 1.4;
}

.home-blocked-panel .btn {
  width: 100%;
  min-height: 44px;
  margin-top: 0;
  font-size: 0.9rem;
}

.home-model-card .home-start-button {
  display: flex;
  width: min(100%, 236px);
  min-height: 40px;
  margin: 15px auto 0;
  padding: 9px 18px;
  border-radius: 5px;
  background: var(--button-blue);
  color: var(--button-blue-ink);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 1px 2px rgba(13, 38, 95, 0.16);
}

.home-start-button.btn-primary::before,
.home-start-button.btn-primary::after {
  display: none;
}

.home-start-button.btn-primary:hover:not(:disabled) {
  background: var(--button-blue);
  box-shadow: 0 2px 5px rgba(13, 38, 95, 0.2);
}

.home-dev-tools {
  margin-top: 14px;
  padding: 0;
  text-align: center;
}

.home-dev-tools p {
  margin: 10px 0 0;
  color: #c6d0e1;
  font-size: 0.72rem;
  line-height: 1.4;
}

.home-start-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(100%, 236px);
  margin: 9px auto 0;
  color: #70798b;
  font-size: 0.69rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.home-start-note svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  fill: none;
  stroke: #7c8798;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-return-banner {
  width: min(860px, calc(100% - 20px));
  margin: 28px auto 0;
  padding: 12px 14px 14px;
  border: 1px solid #c8d8f2;
  border-radius: 10px;
  background: #edf2ff;
  color: #12224f;
  box-sizing: border-box;
  display: grid;
  gap: 8px;
}

.home-return-banner p {
  margin: 0;
  color: #2d3f69;
  font-size: 0.9rem;
  line-height: 1.4;
}

.home-return-banner strong {
  color: #0d1740;
  font-size: 0.98rem;
}

.home-return-timer {
  font-weight: 760;
  color: #1e3b8b;
}

.home-return-meta {
  font-size: 0.8rem !important;
  color: #4b5f8e !important;
}

.home-return-banner.is-expired {
  border-color: #f2c3bd;
  background: #fff3f1;
  color: #5b1f18;
}

.home-return-banner.is-expired strong,
.home-return-banner.is-expired p {
  color: #5b1f18;
}

.home-return-banner .btn.btn-subtle {
  justify-self: start;
  width: auto;
  min-height: 36px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.how-it-works {
  margin-top: 52px;
}

.home-flow-section {
  width: min(1280px, calc(100vw - 64px));
  margin-left: 50%;
  transform: translateX(-50%);
  text-align: left;
}

.guide-flow-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}

.guide-flow-card {
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 22px;
  border: 1px solid #e2e7f0;
  border-radius: 14px;
  background: #fff;
  color: #172032;
  box-shadow: 0 14px 36px rgba(32, 47, 82, 0.055);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

a.guide-flow-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 95, 212, 0.28);
  box-shadow: 0 16px 34px rgba(32, 47, 82, 0.1);
}

.guide-flow-card-primary {
  border-color: #d9e2f9;
}

.guide-flow-card.is-success {
  border-color: rgba(26, 150, 91, 0.42);
  background: linear-gradient(180deg, #ffffff, #f1fbf5);
  box-shadow: 0 16px 38px rgba(23, 129, 78, 0.11);
}

a.guide-flow-card.is-success:hover {
  border-color: rgba(26, 150, 91, 0.58);
  box-shadow: 0 18px 40px rgba(23, 129, 78, 0.15);
}

.guide-flow-card-apps {
  border-color: #cfe1f7;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.guide-flow-card-apps.is-disabled {
  border-color: #e2e7f0;
  background: linear-gradient(180deg, #ffffff, #f5f7fa);
}

.flow-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #536078;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.flow-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #315bd7;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.flow-step-number.is-muted {
  background: #e4e8ef;
  color: #4b5568;
}

.flow-step-number.is-success {
  background: #16965b;
  color: #fff;
}

.flow-card-body {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  flex: 1;
  margin: 22px 0 20px;
}

.flow-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 70px;
  border: 1px solid #dfe7fb;
  border-radius: 18px;
  color: #315bd7;
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
}

.flow-card-icon svg {
  display: block;
  width: 62px;
  height: 44px;
  overflow: hidden;
}

.flow-card-icon img {
  display: block;
  width: 104px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.flow-card-icon-image {
  width: 104px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.flow-card-icon-apps {
  width: 92px;
  height: 76px;
  border: 1px solid #d8e7f8;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #edf7ff);
}

.flow-card-icon-apps img {
  width: 64px;
}

.flow-card-icon path,
.flow-card-icon rect,
.flow-card-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-card-icon .icon-muted-fill {
  fill: #f5f8fd;
  stroke: #6d778c;
}

.flow-card-icon-install .icon-muted-fill {
  fill: #ffffff;
  stroke: #315bd7;
}

.flow-card-icon .icon-wheel,
.flow-card-icon .icon-check-circle {
  fill: #fff;
}

.flow-card-icon .icon-link {
  stroke: #315bd7;
  stroke-width: 2.6;
}

.flow-card-icon-finish rect:not(.icon-muted-fill) {
  color: #6c7485;
}

.flow-card-icon-finish {
  background: linear-gradient(180deg, #fafbfe, #f0f3f8);
  border-color: #dfe3ea;
}

.flow-card-icon .icon-check-circle {
  stroke: #edf2f8;
  stroke-width: 0;
}

.flow-card-icon .icon-check {
  stroke: #24a768;
  stroke-width: 3;
}

.flow-card-body h3 {
  margin: 0 0 5px;
  color: #121927;
  font-size: 1.14rem;
  line-height: 1.1;
}

.flow-card-body p {
  margin: 0;
  color: #36445a;
  font-size: 0.82rem;
  line-height: 1.42;
}

.flow-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  width: 100%;
  margin-top: auto;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.flow-card-button svg {
  width: 16px;
  height: 16px;
}

.flow-card-button svg path,
.flow-card-button svg rect,
.flow-card-button svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-card-button-primary {
  color: #fff;
  background: #315bd7;
  box-shadow: inset 0 -1px 0 rgba(9, 22, 66, 0.18);
}

.flow-card-button-disabled {
  color: #667084;
  background: linear-gradient(180deg, #eef0f4, #e2e4e9);
  cursor: default;
}

.flow-card-button-secondary {
  border: 1px solid #cbd3df;
  color: #202a3d;
  background: #fff;
}

.flow-card-button-success {
  color: #fff;
  background: linear-gradient(180deg, #22b96f, #168a57);
  box-shadow: inset 0 -1px 0 rgba(5, 70, 38, 0.22), 0 10px 20px rgba(20, 139, 84, 0.18);
}

.guide-flow-arrow {
  align-self: center;
  justify-self: center;
  width: 24px;
  height: 24px;
  color: #b7bdc8;
}

.guide-flow-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 24px;
}

.flow-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  color: #171f31;
}

.flow-trust-item + .flow-trust-item {
  border-left: 1px solid #e2e6ed;
}

.flow-trust-item svg {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  color: #0c1424;
}

.flow-trust-item svg path,
.flow-trust-item svg circle,
.flow-trust-item svg rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-trust-item span {
  display: grid;
  gap: 2px;
}

.flow-trust-item strong {
  font-size: 0.85rem;
  line-height: 1.2;
}

.flow-trust-item small {
  color: #4f5c70;
  font-size: 0.72rem;
  line-height: 1.25;
}

.home-apps-section {
  width: min(1280px, calc(100vw - 64px));
  margin: 42px 50% 74px;
  transform: translateX(-50%);
  text-align: left;
}

.home-apps-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.home-apps-kicker {
  display: block;
  margin-bottom: 6px;
  color: #315bd7;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-apps-header h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-apps-header p {
  max-width: 720px;
  margin: 7px 0 0;
  color: #536078;
  font-size: 0.94rem;
  line-height: 1.45;
}

.home-apps-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #d9e5f7;
  border-radius: 999px;
  color: #43536d;
  background: #fff;
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}

.home-apps-panel {
  display: grid;
  gap: 24px;
  padding: 22px;
  border: 1px solid #dce8f8;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 44%, #f7fbff 100%);
  box-shadow: 0 16px 38px rgba(32, 47, 82, 0.07);
}

.home-app-row {
  display: grid;
  gap: 14px;
}

.home-app-row-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.home-app-row-title h3 {
  margin: 0;
  color: #121927;
  font-size: 1.18rem;
  line-height: 1.2;
}

.home-app-title-split {
  display: grid;
  gap: 3px;
  max-width: 18rem;
  font-size: clamp(1.34rem, 2vw, 1.72rem);
  font-weight: 950;
  line-height: 1.02;
}

.home-app-title-split span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.home-app-title-split span:last-child {
  color: var(--button-blue);
}

.home-app-row-title > span {
  color: #667084;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-app-row-title > .home-apps-chip {
  color: #43536d;
  font-size: 0.76rem;
  font-weight: 850;
}

.home-installed-apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-installed-app-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 102px;
  padding: 14px;
  border: 1px solid #e1e8f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(32, 47, 82, 0.055);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-installed-app-card:hover,
.home-installed-app-card:focus-visible {
  border-color: #b9d5ff;
  box-shadow: 0 18px 36px rgba(32, 47, 82, 0.11);
  transform: translateY(-2px);
}

.home-installed-app-card:focus-visible {
  outline: 3px solid rgba(58, 169, 222, 0.24);
  outline-offset: 3px;
}

.home-installed-app-card img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 8px 18px rgba(20, 37, 61, 0.11);
}

.home-installed-app-card strong,
.home-installed-app-card span {
  display: block;
}

.home-installed-app-card strong {
  margin-bottom: 4px;
  color: #121927;
  font-size: 0.95rem;
  line-height: 1.16;
}

.home-installed-app-card span {
  color: #536078;
  font-size: 0.78rem;
  line-height: 1.32;
}

.home-installed-app-card .home-installed-app-label {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 5px 8px;
  border: 1px solid #a8dfc6;
  border-radius: 999px;
  color: #0f6b43;
  background: #e8f8ef;
  font-size: 0.7rem;
  font-weight: 950;
  line-height: 1;
}

.home-app-store-showcase {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 2px;
}

.home-app-store-showcase h3 {
  margin: 0 0 0 27px;
  color: var(--button-blue);
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: 0;
}

.home-app-rail-shell {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 0 26px 6px;
}

.home-app-rail-shell::before,
.home-app-rail-shell::after {
  content: "";
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 34px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 28px rgba(31, 47, 77, 0.09);
  pointer-events: none;
}

.home-app-rail-shell::before {
  left: 0;
}

.home-app-rail-shell::after {
  right: 0;
}

.home-app-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 14px;
  overflow: visible;
  padding: 0;
}

.home-app-tile {
  display: grid;
  gap: 7px;
  min-height: 142px;
  padding: 11px 10px;
  border: 1px solid #e1e8f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(32, 47, 82, 0.045);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-app-tile:hover,
.home-app-tile:focus-visible {
  border-color: #b9d5ff;
  box-shadow: 0 16px 30px rgba(32, 47, 82, 0.1);
  transform: translateY(-2px);
}

.home-app-tile:focus-visible {
  outline: 3px solid rgba(58, 169, 222, 0.24);
  outline-offset: 3px;
}

.home-app-tile.is-not-supported {
  border-color: #ead3d6;
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.home-app-tile.is-not-supported:hover,
.home-app-tile.is-not-supported:focus-visible {
  border-color: #e89aa4;
  box-shadow: 0 16px 30px rgba(154, 38, 53, 0.1);
}

.home-app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  color: #fff;
  font-size: 1.03rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 10px 20px rgba(20, 37, 61, 0.12);
}

.home-app-icon.has-image {
  overflow: hidden;
  background: #f7f9fc;
}

.home-app-icon.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-app-tile strong {
  color: #121927;
  font-size: 0.86rem;
  line-height: 1.15;
}

.home-app-tile small {
  color: #667084;
  font-size: 0.72rem;
  line-height: 1.2;
}

.home-app-status {
  align-self: end;
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid #f0b9c1;
  border-radius: 999px;
  color: #9b1c2b;
  background: #fff0f2;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-app-status.is-positive {
  border-color: #a8dfc6;
  color: #0f6b43;
  background: #e8f8ef;
}

.home-app-icon-waze {
  background: linear-gradient(135deg, #67d5ee, #35a9dc);
}

.home-app-icon-youtube {
  background: linear-gradient(135deg, #ff2f42, #d71427);
}

.home-app-icon-netflix {
  background: linear-gradient(135deg, #111827, #e50914);
}

.home-app-icon-tv {
  background: linear-gradient(135deg, #19264a, #4462f5);
}

.home-app-icon-whatsapp {
  background: linear-gradient(135deg, #25d366, #18b957);
}

.home-app-icon-tiktok {
  background: linear-gradient(135deg, #050505, #252525);
}

.home-app-icon-maps {
  background: linear-gradient(135deg, #34a853, #4285f4);
}

.home-app-icon-spotify {
  background: linear-gradient(135deg, #1db954, #108a3b);
}

.home-app-icon-apple {
  background: linear-gradient(135deg, #111827, #6b7280);
}

.home-app-icon-google {
  background: linear-gradient(135deg, #4285f4, #34a853 48%, #fbbc05 52%, #ea4335);
}

.home-app-icon-microg {
  background: linear-gradient(135deg, #6ee7b7, #10b981);
}

.home-support-section {
  width: min(860px, calc(100vw - 64px));
  margin: -34px auto 78px;
}

.home-support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 20px;
  border: 1px solid #dce8f8;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0, rgba(57, 167, 223, 0.12), transparent 36%),
    #fff;
  box-shadow: 0 16px 38px rgba(32, 47, 82, 0.07);
}

.home-support-copy {
  min-width: 0;
}

.home-support-copy .home-apps-kicker {
  margin-bottom: 5px;
}

.home-support-copy h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.home-support-actions {
  flex: 0 0 auto;
}

body[data-guide] {
  background: var(--bg);
}

body[data-guide] .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.brand-mark {
  background: var(--blue);
}

.install-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #0f5b35 !important;
  background: var(--green-soft);
}

.timer-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.install-timer.is-low {
  color: var(--red) !important;
  background: var(--red-soft);
}

.guide-shell {
  width: min(860px, calc(100% - 32px));
  padding-top: 18px;
}

.guide-sidebar {
  position: sticky;
  top: 64px;
  z-index: 12;
  padding: 0 0 14px;
  border-bottom: 0;
  background: var(--bg);
}

.step-list {
  gap: 9px;
}

.step-list li {
  min-height: 30px;
  padding: 4px 12px 4px 7px;
  border-color: #d9dcd6;
  color: #747d8b;
  background: #fff;
}

.step-list li.is-active {
  border-color: var(--blue);
  background: var(--blue);
}

.step-card {
  min-height: calc(100vh - 154px);
  padding: 22px 0 40px;
}

.step-card h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.step-heading-with-icon {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 780px;
}

.step-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: 1px solid #d7e3f4;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f1f7ff);
  box-shadow: 0 12px 28px rgba(25, 49, 89, 0.08);
}

.step-heading-icon img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.step-heading-copy .lead {
  margin-bottom: 0;
}

.app-listing {
  display: grid;
  gap: 26px;
  max-width: 900px;
}

.app-listing-hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 4px 0 8px;
}

.app-listing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #4285f4, #34a853 48%, #fbbc05 52%, #ea4335);
  box-shadow: 0 18px 38px rgba(24, 39, 75, 0.15);
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: 0;
  overflow: hidden;
}

.app-listing-icon.has-image {
  border: 1px solid #dde5f0;
  background: #f6f8fb;
}

.app-listing-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-listing-icon-waze {
  background: linear-gradient(135deg, #67d5ee, #35a9dc);
}

.app-listing-icon-youtube {
  background: linear-gradient(135deg, #ff2f42, #d71427);
}

.app-listing-icon-netflix {
  background: linear-gradient(135deg, #111827, #e50914);
}

.app-listing-icon-tv {
  background: linear-gradient(135deg, #19264a, #4462f5);
}

.app-listing-icon-whatsapp {
  background: linear-gradient(135deg, #25d366, #18b957);
}

.app-listing-icon-tiktok {
  background: linear-gradient(135deg, #050505, #252525);
}

.app-listing-icon-maps {
  background: linear-gradient(135deg, #34a853, #4285f4);
}

.app-listing-icon-spotify {
  background: linear-gradient(135deg, #1db954, #108a3b);
}

.app-listing-icon-apple {
  background: linear-gradient(135deg, #111827, #6b7280);
}

.app-listing-icon-google {
  background: linear-gradient(135deg, #4285f4, #34a853 48%, #fbbc05 52%, #ea4335);
}

.app-listing-main {
  display: grid;
  justify-items: start;
  gap: 9px;
  min-width: 0;
}

.app-listing-title-row {
  display: grid;
  grid-template-columns: minmax(0, auto) auto;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
}

.app-listing-title-row h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.app-listing-badges {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 4px;
  min-width: 0;
}

.app-listing-lead {
  max-width: 58ch;
  margin: 0;
  color: #4d5868;
  font-size: 1rem;
  line-height: 1.45;
}

.app-listing-meta {
  margin: 0;
  color: #1f7a48;
  font-size: 0.92rem;
  font-weight: 850;
}

.app-listing-internet-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid #a8dfc6;
  border-radius: 999px;
  color: #0f6b43;
  background: #e8f8ef;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.app-listing-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 4px;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.app-listing-status.is-supported {
  color: #0f6b43;
  background: transparent;
}

.app-listing-status.is-blocked {
  color: #9b1c2b;
  background: #fff0f2;
}

.app-listing-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 46px;
  margin-top: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  color: #fff;
  background: #0f9d58;
  box-shadow: 0 14px 30px rgba(15, 157, 88, 0.22);
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1;
}

.app-listing-action.is-disabled {
  color: #9b1c2b;
  background: #ffe8ec;
  box-shadow: none;
}

.app-listing-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding: 16px 0;
  border-top: 1px solid #e6ebf2;
  border-bottom: 1px solid #e6ebf2;
}

.app-listing-fact {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 46px;
  padding: 0 12px;
  border: 0;
  text-align: center;
}

.app-listing-tab {
  align-content: center;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.app-listing-tab:hover,
.app-listing-tab:focus-visible,
.app-listing-tab.is-active {
  color: #102047;
  background: #eefaff;
}

.app-listing-tab:focus-visible {
  outline: 3px solid rgba(58, 174, 224, 0.22);
  outline-offset: -3px;
}

.app-listing-tab.is-active {
  box-shadow: inset 0 -3px 0 var(--button-blue);
}

.app-listing-fact + .app-listing-fact {
  border-left: 1px solid #e6ebf2;
}

.app-listing-fact strong {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.15;
}

.app-listing-fact span {
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
}

.app-listing-preview {
  display: grid;
  gap: 12px;
}

.app-listing-preview > h3,
.app-listing-related h3 {
  margin: 0;
  color: #111827;
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.15;
}

.app-listing-media {
  max-width: 760px;
  margin: 0;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(24, 39, 75, 0.08);
}

.app-listing-media .media-body {
  padding: 14px;
}

.app-listing-media img {
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}

.app-listing-media video {
  border-radius: 12px;
}

.app-listing-section-panels {
  display: grid;
}

.app-howto-tabs {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.app-howto-intro {
  max-width: 64ch;
  margin: 0;
  color: #4d5868;
  font-size: 0.98rem;
  line-height: 1.55;
}

.app-howto-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0;
}

.app-howto-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #dbe7f7;
  border-radius: 999px;
  color: #42526b;
  background: #fff;
  box-shadow: 0 8px 18px rgba(24, 39, 75, 0.04);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.app-howto-tab:hover,
.app-howto-tab:focus-visible,
.app-howto-tab.is-active {
  border-color: rgba(57, 167, 223, 0.75);
  color: #071225;
  background: #eefaff;
  box-shadow: 0 12px 24px rgba(24, 39, 75, 0.08);
}

.app-howto-tab:hover,
.app-howto-tab:focus-visible {
  transform: translateY(-1px);
}

.app-howto-tab:focus-visible {
  outline: 3px solid rgba(57, 167, 223, 0.24);
  outline-offset: 2px;
}

.app-howto-panels {
  display: grid;
}

.app-howto-panel {
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.app-howto-panel h4 {
  margin: 0;
  color: #111827;
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.16;
}

.app-howto-panel p {
  max-width: 68ch;
  margin: 0;
  color: #4d5868;
  font-size: 0.98rem;
  line-height: 1.55;
}

.app-howto-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.app-howto-media {
  margin: 0;
}

.app-howto-media .media-body {
  padding: 12px;
}

.app-howto-media img,
.app-howto-media video {
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}

.app-mini-guide {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-top: 2px;
  padding: 16px;
  border: 1px solid #dbe7f7;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(58, 174, 224, 0.08), rgba(19, 138, 88, 0.08)),
    #fff;
  box-shadow: 0 16px 36px rgba(24, 39, 75, 0.08);
}

.app-mini-guide-progress {
  color: #3a5f88;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-mini-guide-step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.app-mini-guide-step-label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid #dbe7f7;
  border-radius: 12px;
  color: #44546a;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(24, 39, 75, 0.04);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.app-mini-guide-step-label:hover,
.app-mini-guide-step-label:focus-visible {
  border-color: rgba(57, 167, 223, 0.7);
  color: #071225;
  background: #fff;
  box-shadow: 0 12px 24px rgba(24, 39, 75, 0.08);
  transform: translateY(-1px);
}

.app-mini-guide-step-label:focus-visible {
  outline: 3px solid rgba(57, 167, 223, 0.28);
  outline-offset: 2px;
}

.app-mini-guide-step-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #3a5f88;
  background: #eaf4fd;
  font-size: 0.78rem;
  font-weight: 950;
}

.app-mini-guide-step-label strong {
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.app-mini-guide-step-label.is-active {
  border-color: var(--button-blue);
  color: #071225;
  background: rgba(57, 167, 223, 0.12);
  box-shadow: 0 12px 26px rgba(57, 167, 223, 0.14);
}

.app-mini-guide-step-label.is-active span {
  color: var(--button-blue-ink);
  background: var(--button-blue);
  box-shadow: 0 8px 16px rgba(58, 174, 224, 0.22);
}

.app-mini-guide-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 20px 18px 18px 70px;
  border: 1px solid #e1e8f4;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.app-mini-guide.is-single-step .app-mini-guide-card {
  padding: 18px;
}

.app-mini-guide-index {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--button-blue);
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(58, 174, 224, 0.22);
}

.app-mini-guide-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.app-mini-guide-card h4 {
  margin: 0;
  color: #111827;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.18;
}

.app-mini-guide-card .section-anchor-link {
  flex: 0 0 auto;
}

.app-mini-guide-card p {
  max-width: 58ch;
  margin: 0;
  color: #4d5868;
  font-size: 0.98rem;
  line-height: 1.52;
}

.app-mini-guide-substeps {
  display: grid;
  gap: 8px;
  max-width: 58ch;
  margin: 4px 0 2px;
  padding: 12px;
  border: 1px solid #dbe7f7;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(57, 167, 223, 0.07), rgba(19, 138, 88, 0.06)),
    #fff;
}

.app-mini-guide-substeps-title {
  color: #233750;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-mini-guide-substep-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-mini-guide-substep {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-width: 0;
}

.app-mini-guide-substep-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 999px;
  color: #126789;
  background: #eaf7fd;
  font-size: 0.76rem;
  font-weight: 950;
}

.app-mini-guide-substep-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.app-mini-guide-substep-copy > strong {
  color: #13233d;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.25;
}

.app-mini-guide-substep-copy p {
  max-width: none;
  margin: 0;
  color: #4d5868;
  font-size: 0.9rem;
  line-height: 1.42;
}

.app-mini-guide-substep-copy em {
  color: #65758c;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.34;
}

.app-mini-guide-substep-media {
  margin: 7px 0 2px;
  border-radius: 10px;
}

.app-mini-guide-substep-media img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #fff;
}

.app-mini-guide-media {
  margin: 8px 0 2px;
  border-radius: 12px;
  background: #fff;
}

.app-mini-guide-media img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}

.app-mini-guide-media video {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #fff;
}

.guide-layout[data-step-id="apps.xeq"] .app-mini-guide-media.is-video {
  width: min(100%, 360px);
  margin-right: auto;
  margin-left: auto;
}

.guide-layout[data-step-id="apps.xeq"] .app-mini-guide-media video {
  max-height: min(70vh, 560px);
  object-fit: contain;
}

.app-mini-guide-open {
  justify-self: start;
  min-height: 38px;
  margin-top: 2px;
  padding: 9px 14px;
}

.app-mini-guide-card.is-linked-section {
  border-color: var(--button-blue);
  box-shadow:
    0 0 0 8px rgba(57, 167, 223, 0.14),
    0 16px 36px rgba(24, 39, 75, 0.1);
}

.app-mini-guide-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.app-mini-guide-actions .btn {
  min-height: 40px;
  padding: 10px 18px;
}

.app-mini-guide-next.is-done {
  background: #0f9d58;
  box-shadow: 0 12px 24px rgba(15, 157, 88, 0.2);
}

.app-mini-guide.is-complete .app-mini-guide-card {
  border-color: #a8dfc6;
  background: #f4fbf7;
}

.app-listing-related {
  display: grid;
  gap: 14px;
}

.app-listing-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.app-listing-related-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid #dbe7f7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(24, 39, 75, 0.07);
}

.app-listing-related-media {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.app-listing-related-media .media-body {
  padding: 0;
}

.app-listing-related-media .media-canvas {
  border: 0;
  border-radius: 0;
  background: #f8fbff;
}

.app-listing-related-media img {
  width: 100%;
  height: 156px;
  border-radius: 0;
  object-fit: contain;
  background: #fff;
}

.app-listing-related-body {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.app-listing-related-body h4 {
  margin: 0;
  color: #111827;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.2;
}

.app-listing-related-body p {
  margin: 0;
  color: #4d5868;
  font-size: 0.9rem;
  line-height: 1.48;
}

.app-listing-related-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: #3aaee0;
  box-shadow: 0 10px 22px rgba(58, 174, 224, 0.22);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.app-listing-section {
  display: grid;
  gap: 8px;
}

.app-listing-section p {
  max-width: 72ch;
  margin: 0;
  color: #4d5868;
  font-size: 0.98rem;
  line-height: 1.58;
}

.app-listing-section.is-about p {
  color: #273244;
  font-size: 1.03rem;
}

.app-listing-section.is-warning {
  padding: 16px 18px;
  border: 1px solid #f1c6cd;
  border-radius: 16px;
  background: #fff7f8;
}

.lead {
  max-width: 700px;
  margin-top: 8px;
  color: #4f5865;
  font-size: 1.03rem;
}

.step-media,
.section-media {
  border: 1px solid #e5e6e2;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 23, 48, 0.05);
}

.media-body {
  padding: 16px 20px 20px;
}

.has-media-lightbox,
.has-media-lightbox body {
  overflow: hidden;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(10, 12, 15, 0.88);
}

.media-lightbox-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
}

.media-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #171a20;
  background: #fff;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.media-lightbox-close:hover,
.media-lightbox-close:focus-visible {
  box-shadow: 0 0 0 4px rgba(36, 86, 200, 0.12);
}

.media-lightbox-canvas {
  padding: 0;
  background: transparent;
  overflow: visible;
}

.media-lightbox-canvas img,
.media-lightbox-canvas video {
  display: block;
  width: auto;
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  background: #101215;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.media-lightbox-caption {
  margin: 0;
  max-width: 520px;
  padding: 0;
  color: #cfd3da;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}

.media-canvas {
  position: relative;
  display: block;
  width: 100%;
  appearance: none;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #101215;
  overflow: hidden;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  text-align: inherit;
}

.media-canvas:hover .media-expand-hint,
.media-canvas:focus-visible .media-expand-hint {
  background: rgba(16, 18, 21, 0.82);
}

.media-canvas:focus-visible {
  outline: 3px solid rgba(36, 86, 200, 0.35);
  outline-offset: 3px;
}

.is-video .media-canvas {
  cursor: default;
}

.media-video-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 52px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: rgba(5, 7, 11, 0.76);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  opacity: 0.94;
  transform: translate(-50%, -50%);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.media-video-toggle:hover,
.media-video-toggle:focus-visible {
  background: rgba(5, 7, 11, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.04);
}

.media-video-toggle:focus-visible {
  outline: 3px solid rgba(57, 167, 223, 0.38);
  outline-offset: 4px;
}

.media-video-toggle.is-playing {
  pointer-events: none;
  opacity: 0;
}

.media-video-toggle-icon {
  display: block;
}

.media-video-toggle-play {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid currentColor;
}

.media-video-toggle-pause {
  display: none;
  width: 20px;
  height: 26px;
  border-right: 7px solid currentColor;
  border-left: 7px solid currentColor;
}

.media-video-toggle.is-playing .media-video-toggle-play {
  display: none;
}

.media-video-toggle.is-playing .media-video-toggle-pause {
  display: block;
}

.step-media img,
.step-media video,
.section-media img,
.section-media video {
  display: block;
  width: 100%;
  max-height: none;
  object-fit: cover;
  background: #101215;
}

.guide-layout[data-step-id="prep.connection-check"] .step-media {
  width: min(100%, 720px);
  margin: 18px auto;
}

.guide-layout[data-step-id="prep.connection-check"] .step-media .media-body {
  padding: 12px;
}

.guide-layout[data-step-id="prep.connection-check"] .step-media img {
  object-fit: contain;
  background: #fff;
}

.step-media video,
.section-media video {
  background: #05070b;
}

.step-media.app-mini-guide-media video {
  max-height: 280px;
  object-fit: contain;
  background: #fff;
}

.guide-layout[data-step-id="apps.xeq"] .step-media.app-mini-guide-media video {
  max-height: min(70vh, 560px);
  object-fit: contain;
}

.step-media figcaption,
.section-media figcaption {
  margin: 0 0 14px;
  padding: 0;
  color: #4f5865;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.step-media figcaption::before,
.section-media figcaption::before {
  content: none;
}

.media-expand-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #fff;
  background: rgba(16, 18, 21, 0.62);
  pointer-events: none;
}

.media-video-expand {
  top: 10px;
  bottom: auto;
  border: 0;
  cursor: pointer;
  pointer-events: auto;
  transition: background 160ms ease, transform 160ms ease;
}

.media-video-expand:hover,
.media-video-expand:focus-visible {
  background: rgba(16, 18, 21, 0.86);
  transform: translateY(-1px);
}

.media-video-expand:focus-visible {
  outline: 3px solid rgba(57, 167, 223, 0.38);
  outline-offset: 3px;
}

.info-card-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.info-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(13, 23, 48, 0.05);
}

.info-card--attention {
  border-color: #efd58b;
  background:
    radial-gradient(circle at 0 0, rgba(255, 220, 120, 0.28), transparent 42%),
    linear-gradient(180deg, #fffdf5, var(--amber-soft));
  box-shadow: 0 12px 28px rgba(148, 97, 0, 0.1);
}

.info-card--attention .info-badge {
  color: #7a4d00;
  background: #ffe9a8;
  box-shadow: 0 8px 18px rgba(148, 97, 0, 0.14);
}

.info-card--attention .info-copy h3 {
  color: #7a4d00;
  font-weight: 950;
}

.info-card.has-icon {
  grid-template-columns: 38px 48px minmax(0, 1fr);
  align-items: center;
}

.info-badge,
.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid #e1e5ec;
  border-radius: 50%;
  background: #f8f9fb;
  box-shadow: 0 2px 4px rgba(18, 31, 58, 0.05);
}

.info-card-icon img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
  box-sizing: border-box;
  object-fit: contain;
}

.info-card-image {
  display: block;
  width: min(430px, 100%);
  margin-top: 12px;
  border: 1px solid #dce4ee;
  border-radius: 10px;
  background: #101318;
  box-shadow: 0 12px 28px rgba(13, 23, 48, 0.12);
}

.info-card-inline-media {
  margin: 0;
}

.info-card-inline-media img {
  background: #fff;
}

.info-card-support-actions {
  margin-top: 12px;
}

.info-card-support-actions .support-channel-row {
  justify-content: flex-start;
}

.info-copy h3,
.section-copy h3 {
  margin: 0 0 5px;
  font-size: 1rem;
  line-height: 1.25;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.section-heading h3 {
  margin-bottom: 5px;
}

.section-anchor-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #d9e0ec;
  border-radius: 999px;
  color: var(--blue);
  background: #f8fbff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-1px);
  transition: opacity 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.section-heading:hover .section-anchor-link,
.section-anchor-link:focus-visible {
  opacity: 1;
}

.section-anchor-link:hover,
.section-anchor-link:focus-visible {
  border-color: var(--blue);
  background: #edf4ff;
  outline: none;
}

.info-copy p,
.section-copy p {
  margin: 0;
  color: var(--muted);
}

.equipment-list {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
}

.equipment-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid #dedfd9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(13, 23, 48, 0.02);
}

.equipment-card-1 {
  grid-template-columns: 28px minmax(0, 1fr) 138px;
  min-height: 122px;
}

.equipment-card-2 {
  min-height: 286px;
}

.equipment-card-3 {
  min-height: 62px;
  align-items: center;
}

.equipment-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #eef3ff;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 850;
}

.equipment-copy {
  min-width: 0;
}

.equipment-copy h3 {
  margin: 1px 0 7px;
  color: #050b16;
  font-size: 1.02rem;
  line-height: 1.2;
}

.equipment-main-copy {
  max-width: 76ch;
  margin: 0;
  color: #344057;
  font-size: 0.88rem;
  line-height: 1.42;
}

.equipment-checklist {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: #4d5a6b;
  font-size: 0.88rem;
}

.equipment-checklist li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.equipment-check-icon {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #e6f7ee;
}

.equipment-check-icon::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 4px;
  width: 7px;
  height: 5px;
  border-left: 2px solid #168a57;
  border-bottom: 2px solid #168a57;
  transform: rotate(-45deg);
}

.equipment-side-image {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
}

.equipment-side-image img {
  display: block;
  width: min(128px, 100%);
  height: auto;
  object-fit: contain;
}

.connection-setup-list {
  margin: 18px 0 22px;
}

.connection-setup-card {
  grid-template-columns: 28px minmax(0, 1fr) minmax(240px, 38%);
  align-items: center;
  min-height: 154px;
  border-color: #d7e3f4;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 34px rgba(32, 47, 82, 0.06);
}

.connection-setup-copy .equipment-main-copy {
  max-width: 58ch;
  color: #172032;
  font-size: 1.05rem;
  font-weight: 760;
  line-height: 1.45;
}

.connection-setup-image {
  justify-content: center;
}

.connection-setup-image img {
  width: min(360px, 100%);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(24, 39, 75, 0.11);
}

.equipment-helper {
  margin: 16px 0 0;
  color: #8a6574;
  font-size: 0.78rem;
  line-height: 1.45;
}

.equipment-gear-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: end;
  margin-top: 12px;
}

.equipment-gear-grid.is-single {
  max-width: 190px;
}

.equipment-gear-option {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 0;
  min-width: 120px;
}

.equipment-gear-image {
  display: flex;
  align-items: end;
  justify-content: center;
  width: 128px;
  height: 144px;
  background: #fff;
}

.equipment-gear-image img {
  display: block;
  max-width: 100%;
  max-height: 144px;
  object-fit: contain;
}

.equipment-gear-option figcaption {
  display: grid;
  gap: 2px;
  color: #040a15;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.16;
}

.equipment-gear-option figcaption strong {
  font-weight: 850;
}

.equipment-gear-option figcaption span {
  color: #15915b;
  font-size: 0.72rem;
  font-weight: 850;
}

.equipment-gear-separator {
  align-self: center;
  color: #c2c5cc;
  font-size: 0.82rem;
  font-weight: 800;
}

.section-steps {
  display: grid;
  gap: 20px;
  margin: 22px 0;
}

.section-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  scroll-margin-top: 108px;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.section-step.is-active-section .section-number {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(36, 86, 200, 0.24);
  transform: translateY(-1px);
}

.section-step.is-active-section .section-media,
.section-step.is-active-section .calculator-inline,
.section-step.is-active-section .section-support-alert {
  animation: section-active-rise 360ms ease both;
}

.section-step.is-linked-section {
  border-radius: 14px;
  background: rgba(36, 86, 200, 0.05);
  box-shadow: 0 0 0 10px rgba(36, 86, 200, 0.05);
}

@keyframes section-active-rise {
  from {
    opacity: 0.88;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-media {
  margin: 14px 0 0;
  overflow: hidden;
}

.section-media-stack {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.section-media-stack .section-media {
  margin: 0;
}

.section-step--compact-media .section-media {
  width: min(440px, 100%);
  margin-top: 12px;
  border-radius: 12px;
}

.section-step--compact-media .section-media .media-body {
  padding: 10px;
}

.section-step--support-aside .section-copy {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(280px, 1fr);
  gap: 10px 18px;
  align-items: start;
}

.section-step--support-aside .section-heading,
.section-step--support-aside .section-copy > p,
.section-step--support-aside .section-media {
  grid-column: 1;
}

.section-step--support-aside .section-media {
  width: min(440px, 100%);
  margin-top: 2px;
  border-radius: 12px;
}

.section-step--support-aside .section-media .media-body {
  padding: 10px;
}

.section-step--support-aside .section-support-alert {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 0;
  align-self: start;
  justify-items: center;
  gap: 11px;
  padding: 13px;
  border-color: #f3c5c0;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(180deg, #fff8f7 0%, #fff0ee 100%);
  box-shadow: 0 14px 34px rgba(120, 36, 30, 0.08);
}

.section-step--support-aside .section-support-alert.has-support-media {
  grid-template-columns: 1fr;
  gap: 11px;
}

.section-step--support-aside .section-support-alert .section-support-media {
  order: -1;
  width: min(270px, 100%);
  justify-self: center;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(64, 18, 16, 0.12);
}

.section-step--support-aside .section-support-alert .section-support-media img {
  max-height: 112px;
  object-fit: cover;
}

.section-step--support-aside .section-support-copy {
  gap: 7px;
  justify-items: center;
}

.section-step--support-aside .section-support-alert strong {
  font-size: 0.98rem;
}

.section-step--support-aside .section-support-alert p {
  color: #74352f;
  font-size: 0.9rem;
  line-height: 1.48;
}

.section-step--support-aside .section-support-actions {
  justify-content: center;
  margin-top: 2px;
  width: 100%;
}

.section-step--support-aside .support-channel-row {
  width: min(100%, 344px);
  min-width: 0;
  gap: 8px;
  margin-inline: auto;
}

.section-step--support-aside .support-channel-btn {
  min-height: 44px;
  font-size: 0.86rem;
}

.section-step--support-aside .support-channel-telegram {
  flex-basis: 128px;
  min-width: 128px;
  padding: 0 12px;
}

.section-step--support-aside .support-channel-whatsapp {
  flex-basis: 128px;
  min-width: 128px;
  font-size: 0.8rem;
}

.section-step--inline-media .section-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 8px 16px;
  align-items: start;
}

.section-step--inline-media .section-heading,
.section-step--inline-media .section-copy h3,
.section-step--inline-media .section-copy p {
  grid-column: 1;
}

.section-step--inline-media .section-media {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 100%;
  max-width: 240px;
  margin: 0;
  justify-self: start;
  border-radius: 10px;
}

.section-step--inline-media .section-media .media-body {
  padding: 8px 10px 10px;
}

.section-step--inline-media .section-media figcaption {
  margin-bottom: 8px;
  font-size: 0.75rem;
  line-height: 1.35;
}

.section-step--inline-media .section-media img {
  max-height: 110px;
  object-fit: contain;
}

.section-step--inline-media .section-support-alert {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.section-copy .calculator-mount {
  margin-top: 16px;
}

.section-copy .password-tool {
  margin-bottom: 0;
}

.section-support-alert {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #f0b3ad;
  border-radius: 14px;
  background: #fff0ee;
}

.section-support-alert.has-support-media {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 360px);
  gap: 16px;
  align-items: center;
}

.section-support-copy {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.section-support-alert strong {
  color: #8b251f;
  font-size: 1rem;
  line-height: 1.25;
}

.section-support-alert p {
  margin: 0;
  color: #6f352f;
}

.section-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-support-media {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(139, 37, 31, 0.22);
  border-radius: 10px;
  background: #101927;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(80, 20, 18, 0.12);
}

.section-support-media img {
  display: block;
  width: 100%;
  height: auto;
}

.section-support-media:focus-visible {
  outline: 3px solid rgba(139, 37, 31, 0.28);
  outline-offset: 3px;
}

.section-media img {
  display: block;
  width: 100%;
  max-height: none;
  object-fit: cover;
  background: #101215;
}

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

.media-grid .step-media {
  margin: 0;
}

.note-panel,
.warning-panel {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 14px;
  font-weight: 750;
}

.note-panel {
  border: 1px solid #f2d992;
  color: var(--amber);
  background: var(--amber-soft);
}

.notice-title {
  display: block;
  margin-bottom: 8px;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1.25;
}

.notice-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.notice-list li {
  margin: 0;
}

.warning-panel {
  border: 1px solid #f0b3ad;
  color: var(--red);
  background: var(--red-soft);
}

.ready-checks {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.check-intro {
  margin: 18px 0 8px;
  color: #4f5865;
  font-size: 0.95rem;
  font-weight: 800;
}

.ready-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 800;
}

.ready-check.is-next {
  border-color: #bfd0f8;
}

.install-demo {
  display: grid;
  gap: 18px;
  margin: 22px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #d4dfef;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% -12%, rgba(22, 160, 101, 0.1), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 20px 48px rgba(21, 42, 81, 0.12);
}

.install-demo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.install-demo-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.install-demo-header h3 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.04;
}

.install-demo-header p {
  max-width: 62ch;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.42;
}

.install-demo-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #d7e2f1;
  border-radius: 999px;
  color: #31496e;
  background: #f4f8ff;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.install-demo-warning {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #ff9a9a;
  border-radius: 14px;
  color: #c51616;
  background: #fff4f4;
  font-size: 1rem;
  line-height: 1.25;
}

.install-demo-warning span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #fff;
  background: #ef2020;
  font-size: 1.2rem;
  font-weight: 950;
}

.installer-progress-rail {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #e1e8f3;
}

.installer-progress-rail span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #17b94c, #2d72f3);
  transition: width 260ms ease;
}

.installer-step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.installer-step {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 118px;
  padding: 12px;
  border: 1px solid #d9e2f1;
  border-radius: 13px;
  background: #fff;
  opacity: 0.5;
}

.installer-step.is-current,
.installer-step.is-done {
  opacity: 1;
}

.installer-step.is-current {
  border-color: #8fb2f4;
  background: #f5f8ff;
  box-shadow: 0 12px 28px rgba(45, 95, 212, 0.12);
}

.installer-step.is-done {
  border-color: #a8dfc6;
  background: #f1fff7;
}

.installer-step.is-failed {
  opacity: 1;
  border-color: #f0b3ad;
  background: #fff3f1;
  box-shadow: 0 12px 28px rgba(139, 37, 31, 0.1);
}

.installer-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.installer-step-top span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
}

.installer-step-top strong {
  color: #7a879b;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.installer-step.is-current .installer-step-top strong {
  color: var(--blue-dark);
}

.installer-step.is-done .installer-step-top strong {
  color: #128653;
}

.installer-step.is-failed .installer-step-top span {
  background: #c4372f;
}

.installer-step.is-failed .installer-step-top strong {
  color: #a62a24;
}

.installer-step h4 {
  margin: 0;
  color: #101621;
  font-size: 0.9rem;
  line-height: 1.2;
}

.installer-step p {
  margin: 0;
  color: #5c687a;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.35;
}

.installer-flow {
  display: grid;
  place-items: center;
  gap: 16px;
  min-height: 210px;
  padding: 30px 18px;
  border: 1px solid rgba(196, 211, 232, 0.9);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% -30%, rgba(22, 160, 101, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 38px rgba(21, 42, 81, 0.09);
}

.installer-flow-button {
  --install-flow-start: #17b94c;
  --install-flow-end: #0b9435;
  --install-flow-shadow: rgba(10, 118, 48, 0.28);
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  width: min(430px, 100%);
  min-height: 70px;
  padding: 12px 24px 13px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.32), transparent 44%),
    linear-gradient(135deg, var(--install-flow-start), var(--install-flow-end));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -2px 0 rgba(0, 0, 0, 0.13),
    0 16px 30px var(--install-flow-shadow);
  cursor: pointer;
  font: inherit;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.installer-flow-button::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 54%);
  pointer-events: none;
}

.installer-flow-button:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.13),
    0 20px 38px var(--install-flow-shadow);
}

.installer-flow-button:disabled {
  cursor: default;
  opacity: 1;
}

.installer-flow-button.is-install {
  --install-flow-start: #3f7cf4;
  --install-flow-end: #2457c4;
  --install-flow-shadow: rgba(35, 85, 196, 0.28);
}

.installer-flow-button.is-installing {
  --install-flow-start: #22ad66;
  --install-flow-end: #138a58;
  --install-flow-shadow: rgba(19, 138, 88, 0.24);
}

.installer-flow-button.is-installing::after {
  content: '';
  position: absolute;
  right: 24px;
  top: calc(50% - 10px);
  width: 18px;
  height: 18px;
  border: 4px solid rgba(255, 255, 255, 0.34);
  border-top-color: #fff;
  border-radius: 50%;
  animation: payment-spin 760ms linear infinite;
}

.installer-flow-button.is-success {
  --install-flow-start: #25bf7c;
  --install-flow-end: #118653;
  --install-flow-shadow: rgba(19, 138, 85, 0.26);
}

.installer-flow-button.is-failed {
  --install-flow-start: #dc5149;
  --install-flow-end: #b92f28;
  --install-flow-shadow: rgba(185, 47, 40, 0.24);
}

.installer-flow-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  opacity: 0.9;
  text-transform: uppercase;
  animation: installer-kicker-pulse 2.8s ease-in-out infinite;
}

@keyframes installer-kicker-pulse {
  0%,
  100% {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    opacity: 0.86;
  }

  45% {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12);
    opacity: 1;
  }
}

.installer-flow-button strong {
  position: relative;
  z-index: 1;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.1;
}

.installer-flow-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 8px 0 0;
  padding: 8px 12px;
  border: 1px solid #c8e7d6;
  border-radius: 999px;
  color: #0f5b35;
  background: #effaf4;
  box-shadow: 0 10px 22px rgba(19, 138, 88, 0.1);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
}

.installer-flow-timer span {
  color: #42705b;
}

.installer-flow-timer strong {
  min-width: 4ch;
  color: #0c4f2f;
  font-size: 0.94rem;
  font-weight: 950;
  letter-spacing: 0;
}

.install-demo[data-install-state="failed"] .installer-flow {
  grid-template-columns: minmax(260px, 360px) minmax(360px, 1fr);
  align-items: center;
}

.install-failure-panel {
  display: grid;
  gap: 14px;
  width: min(720px, 100%);
  padding: 16px;
  border: 1px solid #f0b3ad;
  border-radius: 16px;
  color: #8b251f;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.8), transparent 34%),
    linear-gradient(135deg, #fffafa, #fff2ef);
  box-shadow: 0 16px 34px rgba(139, 37, 31, 0.09);
}

.install-failure-header {
  display: grid;
  gap: 5px;
}

.install-failure-header strong {
  font-size: 0.98rem;
  font-weight: 950;
}

.install-failure-header p {
  margin: 0;
  color: #71322e;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
}

.install-failure-step-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.install-failure-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-height: 0;
  padding: 12px 14px;
  border: 1px solid rgba(240, 179, 173, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  scroll-margin-top: 110px;
}

.install-failure-step-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.install-failure-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  background: #d33e36;
  box-shadow: 0 8px 18px rgba(185, 47, 40, 0.2);
  font-size: 0.84rem;
  font-weight: 950;
}

.install-failure-step-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.install-failure-step-title strong {
  color: #7c211c;
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.2;
}

.install-failure-step-title .section-anchor-link {
  position: static;
  flex: 0 0 auto;
  opacity: 0.55;
  transform: none;
}

.install-failure-step:hover .section-anchor-link,
.install-failure-step .section-anchor-link:focus-visible {
  opacity: 1;
}

.install-failure-step p {
  margin: 0;
  color: #5f302c;
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.38;
}

.install-failure-step p strong {
  color: #9c2c26;
  font-weight: 950;
}

.install-failure-step-note {
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff7d8;
  color: #6b5513 !important;
}

.install-failure-step-media-grid {
  display: grid;
  gap: 8px;
}

.install-failure-step-media {
  margin: 0;
}

.install-failure-step.is-active-section,
.install-failure-step.is-linked-section {
  border-color: #db635c;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 3px rgba(211, 62, 54, 0.12);
}

@media (max-width: 820px) {
  .install-demo[data-install-state="failed"] .installer-flow {
    grid-template-columns: 1fr;
  }
}

.install-success-panel {
  margin: 24px 0 8px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #dce8df;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 8%, rgba(19, 138, 88, 0.12), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7fbf7 48%, #eef5ff 100%);
  box-shadow: 0 20px 50px rgba(24, 44, 84, 0.12);
}

.install-success-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 6px 12px 6px 8px;
  border: 1px solid #b8dfca;
  border-radius: 999px;
  color: #0d6841;
  background: #e9f8ef;
  font-size: 0.85rem;
  font-weight: 850;
}

.install-success-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 0.58rem;
  font-weight: 900;
}

.install-success-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  margin-top: 22px;
}

.install-success-copy h3 {
  margin: 0 0 10px;
  color: #121722;
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.install-success-copy p {
  max-width: 42ch;
  margin: 0;
  color: #4f5b6f;
  font-size: 1rem;
  font-weight: 650;
}

.install-success-steps {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: success-step;
}

.install-success-steps li {
  counter-increment: success-step;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #1d2737;
  font-size: 0.95rem;
  font-weight: 750;
}

.install-success-steps li::before {
  content: counter(success-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--blue);
  background: #eaf0ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.disconnect-visual {
  display: grid;
  gap: 14px;
}

.install-success-next {
  justify-content: center;
  gap: 14px;
  min-width: min(100%, 360px);
  min-height: 58px;
  padding: 12px 24px;
  border: 1px solid rgba(8, 99, 55, 0.18);
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #188b51 0%, #117444 100%);
  box-shadow: 0 16px 30px rgba(17, 116, 68, 0.24);
  font-size: 1.06rem;
  font-weight: 950;
}

.install-success-next::before {
  display: none;
}

.install-success-next:hover,
.install-success-next:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #1a9558 0%, #0f6f40 100%);
  box-shadow: 0 18px 34px rgba(17, 116, 68, 0.28);
}

.install-success-next-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #16824c;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64);
}

.install-success-next-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.disconnect-image-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.disconnect-image-card {
  display: grid;
  gap: 10px;
  margin: 0;
}

.disconnect-image-card figcaption {
  margin: 0;
  color: #101621;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.disconnect-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.28;
  border: 1px solid #d7e1ef;
  border-radius: 14px;
  object-fit: cover;
  background: #eef3f8;
  box-shadow: 0 14px 28px rgba(17, 31, 56, 0.12);
}

.disconnect-image-card-complete img {
  aspect-ratio: auto;
  border-radius: 16px;
  object-fit: contain;
  background: #f7fbff;
}

.disconnect-image-join {
  position: absolute;
  left: 50%;
  top: calc(50% + 16px);
  width: 54px;
  height: 54px;
  border: 5px solid #ffffff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 2px rgba(209, 217, 227, 0.7);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.disconnect-done-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  font-size: 1.08rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 24px rgba(19, 138, 88, 0.18);
}

.disconnect-done-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  flex: 0 0 auto;
}

.disconnect-done-icon::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg) translate(1px, -1px);
}

.finish-panel {
  --finish-confetti-duration: 1.25s;
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 8px;
  overflow: hidden;
  margin: 24px 0;
  padding: 34px;
  border: 1px solid #b9e3ca;
  border-radius: 16px;
  color: #0f5b35;
  background: var(--green-soft);
  text-align: center;
}

.finish-panel > :not(.finish-confetti) {
  position: relative;
  z-index: 1;
}

.finish-confetti {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.finish-confetti span {
  position: absolute;
  top: 20px;
  left: var(--x);
  width: 8px;
  height: 14px;
  border-radius: 2px;
  background: var(--confetti-color);
  opacity: 0;
  transform: translate3d(-50%, -24px, 0) rotate(0deg);
}

.finish-panel.is-celebrating .finish-confetti span {
  animation: finish-confetti-fall var(--finish-confetti-duration) cubic-bezier(0.17, 0.67, 0.22, 1.01) var(--delay) both infinite;
}

.finish-confetti span:nth-child(3n) {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.finish-confetti span:nth-child(4n) {
  width: 12px;
  height: 6px;
}

@keyframes finish-confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -24px, 0) rotate(0deg) scale(0.82);
  }

  6% {
    opacity: 1;
  }

  86% {
    opacity: 0.94;
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--drift)), var(--fall), 0) rotate(var(--rotate)) scale(1);
  }
}

.finish-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 1.8rem;
  font-weight: 800;
  animation: finish-check-pop 620ms cubic-bezier(0.18, 0.89, 0.32, 1.28) both;
}

@keyframes finish-check-pop {
  0% {
    transform: scale(0.84);
    box-shadow: 0 0 0 0 rgba(19, 138, 88, 0.28);
  }

  62% {
    transform: scale(1.08);
    box-shadow: 0 0 0 16px rgba(19, 138, 88, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .finish-confetti span,
  .finish-check {
    animation: none;
  }

  .finish-confetti span {
    display: none;
  }
}

.button-row {
  margin-top: 26px;
}

.button-row.has-support-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.button-row .button-back {
  margin-right: auto;
}

.button-row.has-support-action .button-back {
  justify-self: start;
  margin-right: 0;
}

.button-row.has-support-action .support-channel-row {
  justify-self: center;
}

.button-row.has-support-action .btn-primary {
  justify-self: end;
  white-space: nowrap;
}

.btn {
  min-height: 46px;
  border-radius: 10px;
}

.btn.wa-open-app-btn {
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
}

@media (max-width: 880px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .home-copy {
    padding-bottom: 0;
  }

  .home-model-card {
    margin-bottom: 0;
  }

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

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

  .guide-flow-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .flow-trust-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-trust-item {
    justify-content: flex-start;
    padding: 0;
  }

  .flow-trust-item + .flow-trust-item {
    border-left: 0;
  }

  .home-apps-section {
    width: min(100% - 40px, 1280px);
  }

  .home-support-section {
    width: min(100% - 40px, 860px);
  }

  .home-support-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-support-actions,
  .home-support-actions .support-channel-row {
    width: 100%;
  }

  .home-apps-header {
    align-items: start;
    flex-direction: column;
  }

  .home-installed-apps {
    grid-template-columns: 1fr;
  }

  .home-app-store-showcase h3 {
    margin-left: 0;
  }

  .home-app-rail-shell {
    margin-inline: -8px;
    padding-inline: 8px;
    overflow: hidden;
  }

  .home-app-rail {
    grid-auto-flow: column;
    grid-auto-columns: 118px;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #c3d1e7 transparent;
  }

  .app-listing {
    max-width: none;
  }

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

  .app-listing-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .app-listing-fact:nth-child(odd) {
    border-left: 0;
  }

  .app-listing-fact:nth-child(n + 3) {
    padding-top: 14px;
    border-top: 1px solid #e6ebf2;
  }

  .install-success-layout {
    grid-template-columns: 1fr;
  }

  .disconnect-visual {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  body[data-page="home"] {
    background: linear-gradient(to bottom, var(--dark) 0 390px, var(--bg) 390px 100%);
  }

  .home-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 20px;
  }

  .home-topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .home-page {
    width: min(100% - 20px, 1060px);
  }

  .home-copy h1 {
    font-size: 2.75rem;
    line-height: 1.06;
  }

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

  .year-choice-grid {
    grid-template-columns: 1fr;
  }

  .guide-flow-card {
    height: auto;
    min-height: 0;
    padding: 18px;
  }

  .flow-card-body {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 14px;
    margin: 18px 0 18px;
  }

  .flow-card-icon {
    width: 68px;
    height: 64px;
    border-radius: 16px;
  }

  .flow-card-icon svg {
    width: 56px;
    height: 42px;
  }

  .flow-card-icon img {
    width: 88px;
  }

  .home-apps-section {
    width: min(100% - 20px, 1280px);
    margin-top: 30px;
    margin-bottom: 48px;
  }

  .home-apps-panel {
    padding: 18px 12px;
  }

  .home-app-row-title {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .home-app-rail {
    grid-auto-columns: 108px;
    gap: 12px;
  }

  .app-listing {
    gap: 22px;
  }

  .app-listing-hero {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
  }

  .app-listing-icon {
    width: 82px;
    height: 82px;
    border-radius: 20px;
    font-size: 1.05rem;
  }

  .app-listing-icon img {
    width: 56px;
    height: 56px;
  }

  .app-listing-title-row {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }

  .app-listing-title-row h2 {
    font-size: clamp(1.72rem, 9vw, 2.25rem);
  }

  .app-listing-badges {
    justify-items: start;
  }

  .app-listing-action {
    width: 100%;
    min-width: 0;
  }

  .app-listing-facts {
    grid-template-columns: 1fr 1fr;
  }

  .app-listing-related-grid {
    grid-template-columns: 1fr;
  }

  .app-listing-related-media img {
    height: 180px;
  }

  .app-howto-tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-howto-tab {
    justify-content: center;
    border-radius: 12px;
    white-space: normal;
    line-height: 1.15;
  }

  .app-howto-media-grid {
    grid-template-columns: 1fr;
  }

  .app-howto-media img,
  .app-howto-media video {
    max-height: none;
  }

  .app-mini-guide {
    padding: 14px;
  }

  .app-mini-guide-step-list {
    grid-template-columns: 1fr;
  }

  .app-mini-guide-card {
    min-height: 0;
    padding: 64px 14px 16px;
  }

  .app-mini-guide.is-single-step .app-mini-guide-card {
    padding: 14px;
  }

  .app-mini-guide-media img {
    max-height: 190px;
  }

  .app-mini-guide-actions {
    justify-content: stretch;
  }

  .app-mini-guide-actions .btn {
    flex: 1;
  }

  .app-listing-section.is-warning {
    padding: 14px;
  }

  .step-heading-with-icon {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  .step-heading-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .step-heading-icon img {
    width: 36px;
    height: 36px;
  }

  .calculator-heading {
    display: grid;
  }

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

  .installer-step-grid {
    grid-template-columns: 1fr;
  }

  .installer-step {
    min-height: 0;
  }

  .password-version-panel {
    grid-template-columns: 1fr;
  }

  .password-version-panel .btn,
  .password-version-panel .inline-result {
    grid-column: auto;
  }

  .trouble-header {
    grid-template-columns: 1fr;
  }

  .connection-checker-header {
    display: grid;
  }

  .connection-mini-steps {
    grid-template-columns: 1fr;
  }

  .connection-frame-shell,
  .connection-frame-shell.is-loaded {
    min-height: 300px;
  }

  .connection-frame-shell iframe {
    height: 300px;
  }

  .connection-frame-shell .connection-success-panel {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 12px;
  }

  .connection-frame-shell .connection-success-panel p {
    font-size: 0.84rem;
    line-height: 1.36;
  }

  .connection-frame-help {
    position: static;
    margin: 12px;
  }

  .connection-frame-help-actions .btn {
    width: 100%;
  }

  .payment-panel-grid {
    grid-template-columns: 1fr;
  }

  .payment-id-card {
    width: 100%;
    min-width: 0;
  }

  .payment-methods-visual {
    padding: 10px;
  }

  .install-success-panel {
    padding: 16px;
    border-radius: 16px;
  }

  .install-success-status {
    width: 100%;
    justify-content: center;
  }

  .disconnect-visual {
    gap: 12px;
  }

  .disconnect-image-grid {
    grid-template-columns: 1fr;
  }

  .disconnect-image-card figcaption {
    text-align: left;
  }

  .disconnect-image-card img {
    aspect-ratio: 1 / 0.78;
  }

  .disconnect-image-join {
    display: none;
  }

  .disconnect-done-pill {
    width: 100%;
  }

  .equipment-card,
  .equipment-card-1 {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .equipment-card-1 {
    min-height: 0;
  }

  .connection-setup-card {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .connection-setup-image {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 10px;
  }

  .equipment-side-image {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 10px;
  }

  .equipment-side-image img {
    width: 118px;
  }

  .equipment-card-2 {
    min-height: 0;
  }

  .equipment-gear-grid {
    gap: 12px;
  }

  .equipment-gear-option {
    min-width: 104px;
  }

  .equipment-gear-image {
    width: 112px;
    height: 128px;
  }

  .trouble-header {
    display: grid;
  }

  .trouble-header-tools {
    display: grid;
    justify-content: stretch;
  }

  .trouble-reset-btn {
    width: 100%;
  }

  .dev-tools-panel {
    padding: 14px;
  }

  .dev-tools-header {
    display: grid;
  }

  .dev-tools-meta {
    grid-template-columns: 1fr;
  }

  .dev-status-header {
    display: grid;
  }

  .dev-status-actions {
    grid-template-columns: 1fr;
  }

  .dev-tools-actions {
    display: grid;
  }

  .dev-tools-actions .btn {
    width: 100%;
  }

  .wizard-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .wizard-footer .debug-reset-btn {
    margin-left: 0;
  }

  .check-row {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .check-state {
    grid-column: 2;
    justify-self: start;
  }

  .trouble-support-actions .btn {
    width: 100%;
  }

  .trouble-support-actions .support-channel-row,
  .blocked-actions .support-channel-row,
  .section-support-actions .support-channel-row {
    width: 100%;
  }

  body[data-guide] .site-header {
    position: relative;
  }

  .guide-sidebar {
    display: block;
    position: static;
    overflow-x: auto;
  }

  .step-list {
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
  }

  .step-card {
    padding: 18px 0 34px;
  }

  .section-step {
    grid-template-columns: 34px 1fr;
    gap: 10px;
  }

  .section-anchor-link {
    opacity: 1;
  }

  .section-step--inline-media .section-copy,
  .section-step--support-aside .section-copy {
    grid-template-columns: 1fr;
  }

  .section-step--inline-media .section-copy h3,
  .section-step--inline-media .section-heading,
  .section-step--inline-media .section-copy p,
  .section-step--inline-media .section-media,
  .section-step--inline-media .section-support-alert,
  .section-step--support-aside .section-heading,
  .section-step--support-aside .section-copy > p,
  .section-step--support-aside .section-media,
  .section-step--support-aside .section-support-alert {
    grid-column: 1;
  }

  .section-step--inline-media .section-media {
    grid-row: auto;
    max-width: min(240px, 100%);
  }

  .section-step--support-aside .section-support-alert {
    grid-row: auto;
    margin-top: 10px;
  }

  .section-support-alert.has-support-media {
    grid-template-columns: 1fr;
  }

  .button-row {
    justify-content: stretch;
  }

  .button-row.has-support-action {
    grid-template-columns: 1fr;
  }

  .button-row.has-support-action .button-back,
  .button-row.has-support-action .support-channel-row,
  .button-row.has-support-action .btn-primary {
    justify-self: stretch;
  }

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

  .button-row .btn,
  .home-model-card .btn {
    width: 100%;
  }
}
