/* ==========================================================================
   Truepaybd — Public Website
   Professional fintech design system · navy / blue / neutral
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/home/static/assets/inter-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1b33;
  --navy-2: #0e2343;
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-soft: #eff5ff;
  --brand-border: #cfdffb;
  --emerald: #0f9d6e;
  --emerald-soft: #e9f8f1;
  --amber: #b45309;
  --amber-soft: #fff7e8;
  --danger: #dc2626;
  --danger-soft: #fef2f2;

  --heading: #101828;
  --body: #475467;
  --muted: #667085;
  --line: #e6eaf1;
  --line-strong: #d5dce8;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --surface-code: #0b1b33;

  --radius-sm: 8px;
  --radius-md: 11px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 4px 12px -3px rgba(16, 24, 40, 0.08), 0 2px 4px -2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 14px 32px -12px rgba(16, 24, 40, 0.16);
  --shadow-lg: 0 26px 54px -22px rgba(11, 27, 51, 0.28);
  --transition: 170ms cubic-bezier(0.2, 0, 0, 1);
  --maxw: 1180px;
}

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

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--heading);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

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

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 400;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement */
.top-announcement {
  background: var(--navy);
  color: #e2e8f0;
  font-size: 12.5px;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition), border-color var(--transition),
    transform var(--transition), box-shadow var(--transition), color var(--transition);
}

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

.btn-lg {
  padding: 12px 22px;
  font-size: 15px;
  border-radius: 9px;
}

.btn-sm {
  padding: 7px 13px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 2px 5px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--heading);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: #bcc8da;
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand-border);
}

.btn-outline:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
}

.btn-ghost {
  background: transparent;
  color: var(--body);
}

.btn-ghost:hover {
  background: var(--surface-alt);
  color: var(--heading);
}

.btn-light {
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
  font-weight: 650;
}

.btn-light:hover {
  background: #f2f6ff;
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.icon-inline {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 6px 20px -16px rgba(16, 24, 40, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 750;
  font-size: 16.5px;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.15;
}

.brand-tag {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
}

.primary-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition);
}

.nav-item:hover,
.nav-item.active {
  color: var(--brand-deep, #1d4ed8);
  background: var(--brand-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-mobile-actions {
  display: none;
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 8px;
  cursor: pointer;
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--heading);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0 68px;
  background:
    linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px),
    radial-gradient(760px 420px at 88% -10%, rgba(37, 99, 235, 0.09), transparent 65%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
  background-size: 40px 40px, 40px 40px, auto, auto;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(15, 157, 110, 0.14);
}

.hero-headline {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.036em;
  line-height: 1.1;
  color: var(--navy);
}

.text-accent {
  color: var(--brand);
}

.hero-description {
  margin: 0 0 26px;
  font-size: 16.5px;
  color: var(--body);
  max-width: 540px;
  line-height: 1.66;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 28px;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
}

.hero-secondary-link svg {
  width: 15px;
  height: 15px;
}

.hero-secondary-link:hover {
  color: var(--brand);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--body);
}

.trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* Interface preview */
.preview-shell {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.preview-Header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--navy);
  color: #fff;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.preview-switcher {
  display: flex;
  gap: 3px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 7px;
}

.preview-tab {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.preview-tab.active {
  background: #ffffff;
  color: var(--navy);
}

.preview-pane {
  padding: 18px;
}

.mock-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.mock-kpi {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
}

.mock-kpi-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-kpi-val {
  display: block;
  font-size: 18px;
  font-weight: 750;
  color: var(--navy);
  margin: 3px 0 1px;
  letter-spacing: -0.02em;
}

.mock-kpi-sub {
  font-size: 11px;
  color: var(--muted);
}

.mock-kpi-sub.positive {
  color: var(--emerald);
  font-weight: 600;
}

.mock-list-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}

.mock-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--heading);
}

.mock-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald);
}

.mock-tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}

.mock-tx-row:last-child {
  border-bottom: none;
}

.mock-tx-id {
  font-weight: 600;
  color: var(--heading);
}

.mock-tx-meta {
  font-size: 11px;
  color: var(--muted);
}

.mock-tx-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.badge-verified {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.badge-review {
  background: var(--amber-soft);
  color: var(--amber);
}

.badge-pending {
  background: var(--brand-soft);
  color: var(--brand);
}

.mock-security-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--body);
}

.mock-security-bar svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex-shrink: 0;
}

.mock-checkout-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 11px;
}

.mock-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand);
}

.mock-merchant-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.mock-timer {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  background: var(--amber-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

.mock-method-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 11px;
}

.method-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
}

.method-pill img {
  height: 20px;
  width: auto;
}

.mock-step-box {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  margin-bottom: 10px;
}

.mock-step-line {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 12px;
}

.mock-input-preview {
  margin-bottom: 10px;
}

.mock-input-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}

.mock-input-field {
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  font-weight: 600;
  font-size: 12.5px;
}

/* ==========================================================================
   Rails strip
   ========================================================================== */
.rails-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.rails-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rails-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.rails-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.rail-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--heading);
}

.rail-chip img {
  height: 16px;
  width: auto;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 76px 0;
}

.section-white {
  background: var(--surface);
}

.section-subtle {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--navy);
  color: #e2e8f0;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-header--left {
  margin-left: 0;
  text-align: left;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.section-dark .section-eyebrow {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.28);
  color: #93c5fd;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 33px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.18;
  color: var(--navy);
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  margin: 0;
  font-size: 15.5px;
  color: var(--body);
  line-height: 1.66;
}

.section-dark .section-subtitle {
  color: #a8b6cc;
}

/* About & features */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card,
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.about-card:hover,
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.about-icon,
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.about-icon svg,
.feature-icon svg {
  width: 21px;
  height: 21px;
}

.about-card h3,
.feature-card h3 {
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.012em;
}

.about-card p,
.feature-card p {
  margin: 0;
  font-size: 13.8px;
  color: var(--body);
  line-height: 1.62;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.feature-card:nth-child(3) .feature-icon {
  background: #f1f5f9;
  color: var(--navy);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--amber-soft);
  color: var(--amber);
}

.feature-card:nth-child(6) .feature-icon {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.feature-card:nth-child(7) .feature-icon {
  background: #f1f5f9;
  color: var(--navy);
}

/* Developer section */
.dev-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.dev-points {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.dev-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #c3cfdf;
}

.dev-points li::before {
  content: "✓";
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.code-window {
  background: #071322;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.code-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.code-tab {
  background: transparent;
  border: none;
  color: #93a4bd;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 5px;
  cursor: pointer;
}

.code-tab.active {
  background: rgba(37, 99, 235, 0.35);
  color: #ffffff;
}

.code-copy-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.code-copy-btn:hover {
  background: rgba(255, 255, 255, 0.13);
}

.code-window pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.65;
  color: #dbe5f1;
}

/* Steps timeline */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}

.step-number {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.step-body h3 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.step-body p {
  margin: 0;
  font-size: 12.5px;
  color: var(--body);
  line-height: 1.55;
}

.steps-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
  border: 1px solid var(--line-strong);
}

.steps-cta-banner h3 {
  margin: 0 0 3px;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.steps-cta-banner p {
  margin: 0;
  font-size: 14px;
  color: var(--body);
}

.steps-cta-buttons {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

/* Why choose */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.principle-highlight {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-left: 3px solid var(--brand);
}

.principle-highlight strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 14.5px;
}

.principle-highlight p {
  margin: 0;
  font-size: 13.5px;
  color: var(--body);
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.advantage-item {
  display: flex;
  gap: 11px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.adv-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-weight: 800;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-item h3 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.advantage-item p {
  margin: 0;
  font-size: 12.8px;
  color: var(--body);
  line-height: 1.55;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition), border-color var(--transition),
    transform var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.pricing-card--featured {
  border-color: var(--brand);
  box-shadow: 0 16px 36px -22px rgba(37, 99, 235, 0.55);
  position: relative;
}

.pricing-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--brand-border);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 9px;
}

.pricing-name {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 750;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.pricing-tagline {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  min-height: 40px;
}

.pricing-price {
  margin-bottom: 5px;
}

.pricing-amount {
  font-size: 31px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.035em;
}

.pricing-period {
  font-size: 13.5px;
  color: var(--muted);
}

.pricing-fee {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pricing-features li {
  font-size: 13px;
  color: var(--body);
  display: flex;
  gap: 8px;
  line-height: 1.5;
}

.pricing-features li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--line-strong);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.faq-chevron {
  font-size: 19px;
  font-weight: 500;
  color: var(--muted);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
  color: var(--brand);
}

.faq-answer {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
}

.faq-answer p {
  margin: 0;
}

/* Contact */
.contact-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.channel-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.channel-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.channel-row strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
}

.channel-row p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--body);
  line-height: 1.55;
}

.channel-row a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.channel-row a:hover {
  text-decoration: underline;
}

.contact-form-box {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.contact-form-box h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--navy);
}

.contact-form-sub {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 5px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13.5px;
  background: #fff;
  color: var(--heading);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.field textarea {
  resize: vertical;
  line-height: 1.6;
}

.form-feedback {
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 12px;
}

.form-feedback.ok {
  background: var(--emerald-soft);
  color: #065f46;
  border: 1px solid #b7e8d7;
}

.form-feedback.err {
  background: var(--danger-soft);
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Closing CTA */
.premium-cta {
  padding: 22px 0 54px;
  background: #ffffff;
}

.premium-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 40px 44px;
  border-radius: var(--radius-xl);
  color: #ffffff;
  background:
    radial-gradient(420px 240px at 92% 0%, rgba(59, 130, 246, 0.5), transparent 68%),
    linear-gradient(120deg, #0b1b33 0%, #102a4c 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.premium-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.premium-cta-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 11px;
}

.premium-cta-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 800;
  letter-spacing: -0.028em;
  color: #ffffff;
}

.premium-cta-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(226, 234, 246, 0.82);
}

.premium-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c7d3e2;
  padding: 48px 0 26px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .brand-title {
  color: #ffffff;
}

.footer-desc {
  margin: 12px 0 0;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 360px;
}

.footer-meta {
  font-size: 12px;
  color: #93a3b8;
  line-height: 1.7;
  text-align: right;
}

.footer-meta strong {
  color: #dbe5f3;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  padding: 30px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  text-decoration: none;
  font-size: 13px;
  color: #94a3b8;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  font-size: 12.5px;
  color: #94a3b8;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 9px;
  align-items: center;
}

.footer-bottom-links a {
  text-decoration: none;
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-page-main {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  padding: 52px 0 72px;
}

.legal-card {
  max-width: 840px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 44px 46px 46px;
  box-shadow: var(--shadow-sm);
}

.legal-card h1 {
  margin: 10px 0 8px;
  font-size: clamp(27px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.032em;
  color: var(--navy);
  line-height: 1.18;
}

.legal-card > p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
}

.legal-card h2 {
  margin: 30px 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--navy);
}

.legal-card ul {
  margin: 0 0 8px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-card li {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.65;
}

.legal-card p {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.7;
}

.legal-card a {
  color: var(--brand);
  font-weight: 500;
}

.legal-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 5px;
}

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes home-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes home-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.site-header {
  animation: home-fade-in 0.4s ease both;
}

.hero-copy > * {
  animation: home-fade-up 0.55s cubic-bezier(0.2, 0, 0, 1) both;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 0.04s;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 0.1s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 0.22s;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 0.28s;
}

.hero-visual .preview-shell {
  animation: home-fade-up 0.65s cubic-bezier(0.2, 0, 0, 1) 0.18s both;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.2, 0, 0, 1),
    transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.footer-col a,
.channel-row a,
.nav-item,
.method-pill {
  transition: color var(--transition), background-color var(--transition),
    border-color var(--transition), transform var(--transition);
}

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

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .hero-copy > *,
  .hero-visual .preview-shell {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: home-spin 0.7s linear infinite;
  vertical-align: -2px;
  flex-shrink: 0;
}

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

.btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

/* Telegram support widget */
.telegram-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px 11px 13px;
  border-radius: 999px;
  background: #1e88c7;
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 650;
  box-shadow: 0 14px 30px -14px rgba(30, 136, 199, 0.7);
  transition: transform var(--transition), box-shadow var(--transition);
}

.telegram-fab svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.telegram-fab:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 18px 36px -14px rgba(30, 136, 199, 0.8);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .dev-grid,
  .why-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 620px;
  }

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

  .about-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 26px;
  }

  .footer-meta {
    display: none;
  }

  .legal-card {
    padding: 36px 32px 38px;
  }
}

@media (max-width: 780px) {
  .container {
    padding: 0 18px;
  }

  .nav-actions {
    display: none;
  }

  .hamburger-btn {
    display: inline-block;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 14px 18px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: var(--shadow-md);
  }

  .primary-nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 1px;
  }

  .nav-item {
    display: block;
    padding: 10px 12px;
  }

  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .hero-section {
    padding: 44px 0 48px;
  }

  .hero-headline {
    font-size: clamp(29px, 8vw, 36px);
  }

  .features-grid,
  .advantages-grid,
  .form-grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .contact-card {
    padding: 22px;
  }

  .premium-cta-inner {
    padding: 30px 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 18px;
  }

  .legal-page-main {
    padding: 30px 0 48px;
  }

  .legal-card {
    padding: 26px 20px 30px;
    border-radius: 14px;
  }
}

@media (max-width: 560px) {
  .hero-cta-group .btn-lg {
    width: 100%;
  }

  .hero-secondary-link {
    width: 100%;
    justify-content: center;
  }

  .steps-timeline {
    grid-template-columns: 1fr;
  }

  .premium-cta-actions {
    width: 100%;
  }

  .premium-cta-actions .btn {
    flex: 1;
  }

  .telegram-fab {
    right: 14px;
    bottom: 14px;
    padding: 10px 13px;
  }

  .telegram-fab-label {
    display: none;
  }

  .legal-card ul {
    padding-left: 18px;
  }
}
