:root {
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --text: #0b1220;
  --text-secondary: #5b6b82;
  --background: #f4f7fb;
  --line: rgba(15, 23, 42, 0.08);
  --display: "Outfit", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--background);
  line-height: 1.55;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(37, 99, 235, 0.16), transparent 55%),
    radial-gradient(700px 380px at -10% 20%, rgba(96, 165, 250, 0.12), transparent 50%),
    linear-gradient(180deg, #eef3fb 0%, #f7f9fc 45%, #f4f7fb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 251, 0.78);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
}

.app-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 600;
}

.app-nav a.is-active {
  color: var(--primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.button-wide {
  width: 100%;
}

.header-cta {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.85rem;
}

.app-main {
  padding: 40px 0 80px;
}

.app-main-narrow {
  max-width: 480px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-header h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.section-header p {
  margin: 0 0 28px;
  color: var(--text-secondary);
}

.app-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.app-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.app-row:last-of-type {
  border-bottom: 0;
}

.app-label {
  color: var(--text-secondary);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.app-form {
  display: grid;
  gap: 16px;
}

.app-field {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.app-field input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  font-weight: 500;
  background: #fff;
}

.app-copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.app-copy-row input {
  min-width: 0;
}

.app-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.app-steps {
  margin: 0 0 20px;
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

.app-divider {
  display: grid;
  place-items: center;
  margin: 22px 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.app-divider::before {
  content: "";
  width: 100%;
  height: 1px;
  background: var(--line);
  grid-row: 1;
  grid-column: 1;
}

.app-divider span {
  grid-row: 1;
  grid-column: 1;
  background: #fff;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.tg-wrap {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

.app-error {
  margin: 16px 0 0;
  color: #b91c1c;
  font-size: 0.92rem;
}

.app-hint {
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.app-status {
  color: var(--text-secondary);
}

.pricing-plan-name {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
}

.pricing-plan-meta {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.pricing-amount {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.pricing-unit {
  display: grid;
  font-family: var(--display);
  font-weight: 700;
  padding-bottom: 2px;
}

.pricing-unit span {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

@media (max-width: 720px) {
  .app-nav a:not(.is-active) {
    display: none;
  }

  .app-copy-row {
    grid-template-columns: 1fr;
  }

  .app-actions {
    flex-direction: column;
  }

  .app-actions .button {
    width: 100%;
  }
}
