:root {
  --page: #ffffff;
  --paper: #f8f9fa;
  --soft: #f5f5f5;
  --mint: #f0f7f4;
  --ink: #121212;
  --muted: #6b7280;
  --line: #ececef;
  --green: #88d65e;
  --green-deep: #2f9d63;
  --kaspi: #e5484d;
  --dark: #121212;
  --dark-2: #232323;
  --shadow: 0 22px 70px rgba(18, 18, 18, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 2%, rgba(136, 214, 94, 0.14), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f8f9fa 46%, #ffffff 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

.site-shell {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  min-height: 66px;
  margin: 14px auto 0;
  padding: 0 18px;
  border: 1px solid rgba(240, 240, 240, 0.86);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.05);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 1.18rem;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: var(--green);
  background: var(--dark);
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.14);
  font-weight: 950;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #4b5563;
  font-size: 0.88rem;
  font-weight: 700;
}

.desktop-nav a {
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav .is-active {
  color: var(--green-deep);
}

.header-actions,
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-button,
.primary-button,
.ghost-button,
.white-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.link-button {
  color: var(--ink);
  background: transparent;
}

.primary-button {
  color: #ffffff;
  background: var(--dark);
  box-shadow: 0 14px 28px rgba(18, 18, 18, 0.14);
}

.primary-button.green {
  color: #111111;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(136, 214, 94, 0.28);
}

.ghost-button {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
}

.white-button {
  color: var(--dark);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: #f5f5f5;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.menu-button.is-active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button.is-active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 84px;
  right: 16px;
  left: 16px;
  z-index: 19;
  display: none;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 14px 12px;
  border-radius: 12px;
  font-weight: 800;
}

.mobile-nav .is-active {
  color: var(--green-deep);
  background: var(--mint);
}

.page-main {
  min-height: 70vh;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 5vw, 68px);
  min-height: 720px;
  padding: 64px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 42px -18vw 40px 46%;
  z-index: -1;
  border: 1px solid rgba(236, 236, 239, 0.82);
  border-radius: 40px 0 0 40px;
  background:
    radial-gradient(circle at 82% 18%, rgba(136, 214, 94, 0.23), transparent 25rem),
    linear-gradient(135deg, #f5f5f5, #ffffff 46%, #f0f7f4);
}

.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(136, 214, 94, 0.34);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--green-deep);
  background: var(--mint);
  font-size: 0.82rem;
  font-weight: 850;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 700px;
  margin-top: 20px;
  font-size: clamp(2.65rem, 7vw, 4.88rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 850;
}

h1 span,
h2 span {
  color: var(--green-deep);
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 760;
}

h3 {
  font-size: 1.32rem;
  line-height: 1.22;
  font-weight: 800;
}

.lead,
.simple-page p,
.section-copy {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
  line-height: 1.55;
  font-weight: 500;
}

.hero-buttons {
  flex-wrap: wrap;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  color: #3f4652;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.035);
  font-size: 0.82rem;
  font-weight: 750;
}

.chip i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(136, 214, 94, 0.16);
}

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

.product-card {
  position: absolute;
  top: 24px;
  right: 0;
  overflow: hidden;
  width: min(500px, 94%);
  min-height: 322px;
  padding: 24px;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 18%, rgba(136, 214, 94, 0.52), transparent 12rem),
    linear-gradient(135deg, #121212, #242424);
  box-shadow: 0 36px 86px rgba(18, 18, 18, 0.26);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -38% 20%;
  height: 220px;
  background: radial-gradient(circle, rgba(136, 214, 94, 0.28), transparent 64%);
}

.card-top,
.card-bottom,
.card-number {
  position: relative;
  z-index: 2;
}

.card-top,
.card-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 700;
}

.card-top b {
  display: block;
  margin-top: 6px;
  font-size: 1.38rem;
  line-height: 1.1;
}

.card-chip {
  width: 48px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #d9dbe0);
  opacity: 0.9;
}

.card-number {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 58px 0 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 750;
  letter-spacing: 0.08em;
}

.card-bottom b {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
}

.card-status,
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  color: #111111;
  background: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.phone-preview {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 4;
  width: 252px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  background: #0d0d0f;
  box-shadow: 0 36px 82px rgba(18, 18, 18, 0.32);
}

.phone-screen {
  overflow: hidden;
  min-height: 454px;
  border-radius: 30px;
  color: #111111;
  background: #ffffff;
}

.phone-head {
  padding: 19px 17px 76px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 14%, rgba(136, 214, 94, 0.58), transparent 28%),
    linear-gradient(135deg, #151515, #272727);
}

.phone-head small {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.7rem;
  font-weight: 750;
}

.phone-head strong {
  display: block;
  margin-top: 8px;
  font-size: 1.75rem;
  line-height: 1;
}

.payment-sheet {
  position: relative;
  margin: -50px 12px 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(18, 18, 18, 0.13);
}

.pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.pay-row:last-child {
  border-bottom: 0;
}

.pay-row small {
  display: block;
  color: #7b7f88;
  font-size: 0.7rem;
  font-weight: 750;
}

.pay-row b {
  display: block;
  margin-top: 3px;
  font-size: 0.88rem;
}

.kaspi-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 10px 0 2px;
  border-radius: 12px;
  padding: 0 12px;
  color: #ffffff;
  background: var(--kaspi);
  font-size: 0.75rem;
  font-weight: 900;
}

.floating-code {
  position: absolute;
  right: 0;
  bottom: 54px;
  z-index: 5;
  width: min(330px, 58%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: #dfffd2;
  background: rgba(18, 18, 18, 0.84);
  box-shadow: 0 24px 62px rgba(18, 18, 18, 0.22);
  backdrop-filter: blur(16px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.65;
}

.floating-code span,
.mini-code span {
  color: var(--green);
}

.mode-toggle {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(306px, calc(100% - 28px));
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #5b616d;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(18, 18, 18, 0.10);
  transform: translateX(-50%);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.mode-toggle span {
  border-radius: 999px;
  padding: 10px 12px;
}

.mode-toggle .active {
  color: #111111;
  background: var(--green);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -26px;
  padding-bottom: 56px;
}

.metric {
  min-height: 126px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(18, 18, 18, 0.045);
}

.metric strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 900;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  font-weight: 650;
}

.section {
  padding: clamp(56px, 7vw, 88px) 0;
}

.section.soft {
  background: var(--soft);
}

.section.mint {
  background: var(--mint);
}

.section-head {
  max-width: 790px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head p {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
  font-weight: 500;
}

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr;
  gap: 16px;
}

.tile,
.step,
.price-card,
.product-panel,
.calculator-card,
.checklist-card,
.contact-form,
.api-cards article {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.035);
}

.tile {
  min-height: 224px;
  padding: 24px;
}

.tile.dark {
  grid-row: span 2;
  min-height: 464px;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(circle at 80% 16%, rgba(136, 214, 94, 0.22), transparent 28%),
    linear-gradient(135deg, #121212, #232323);
  box-shadow: 0 24px 60px rgba(18, 18, 18, 0.18);
}

.tile.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 24px;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 15px;
  color: #111111;
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.tile h3,
.step h3,
.price-card h3,
.product-panel h3 {
  margin-bottom: 10px;
}

.tile p,
.step p,
.price-card p,
.product-panel p,
.api-cards p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  font-weight: 500;
}

.tile.dark p {
  color: rgba(255, 255, 255, 0.68);
}

.mini-code {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  color: #dfffd2;
  background: rgba(0, 0, 0, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.7;
}

.mini-card {
  min-height: 168px;
  border-radius: 22px;
  padding: 18px;
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 18%, rgba(136, 214, 94, 0.44), transparent 38%),
    linear-gradient(135deg, #161616, #282828);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.18);
  transform: rotate(-4deg);
}

.mini-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.mini-card small:first-child {
  margin-top: 0;
}

.mini-card b {
  display: block;
  margin-top: 32px;
  font-size: 1.32rem;
}

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

.service {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(18, 18, 18, 0.035);
}

.service-dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #111111;
  background: var(--green);
  font-size: 0.75rem;
  font-weight: 950;
  flex: 0 0 auto;
}

.service b {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
}

.service small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.25;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
}

.step {
  min-height: 260px;
  padding: 24px;
}

.step:first-child {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 78% 16%, rgba(136, 214, 94, 0.22), transparent 28%),
    linear-gradient(135deg, #121212, #242424);
}

.step:first-child p {
  color: rgba(255, 255, 255, 0.66);
}

.number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 15px;
  color: #111111;
  background: var(--green);
  font-weight: 950;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 24px;
  align-items: center;
}

.calculator-card {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.calculator-card label {
  display: grid;
  gap: 10px;
  color: #3f4652;
  font-weight: 800;
}

.calculator-card input[type="range"] {
  accent-color: var(--green);
}

.calc-result {
  border-radius: 20px;
  padding: 18px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 18%, rgba(136, 214, 94, 0.32), transparent 30%),
    linear-gradient(135deg, #121212, #242424);
}

.calc-result span,
.calc-result small {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 700;
}

.calc-result strong {
  display: block;
  margin: 8px 0;
  font-size: 2rem;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.price-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(136, 214, 94, 0.76);
  box-shadow: 0 20px 48px rgba(47, 157, 99, 0.14);
  transform: translateY(-10px);
}

.price-card strong {
  display: block;
  margin: 10px 0 4px;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 950;
}

.list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  color: #4b5563;
  font-size: 0.88rem;
  font-weight: 650;
  list-style: none;
}

.list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--green);
  flex: 0 0 auto;
}

.price-card .primary-button,
.price-card .ghost-button {
  width: 100%;
  margin-top: auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: 30px;
  align-items: start;
}

.faq-grid h2 {
  margin-top: 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  background: #ffffff;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(38px, 5vw, 58px);
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 18%, rgba(136, 214, 94, 0.28), transparent 28%),
    linear-gradient(135deg, #121212, #242424);
  box-shadow: 0 24px 70px rgba(18, 18, 18, 0.18);
}

.final-cta h2 {
  max-width: 760px;
  color: #ffffff;
}

.final-cta p {
  max-width: 680px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
}

.simple-page {
  padding: 86px 0 54px;
}

.simple-page h1 {
  max-width: 930px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.product-panel {
  padding: 24px;
}

.product-panel.large {
  grid-row: span 2;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 14%, rgba(136, 214, 94, 0.24), transparent 26%),
    linear-gradient(135deg, #121212, #242424);
}

.product-panel.large h2 {
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.product-panel.large p {
  color: rgba(255, 255, 255, 0.68);
}

.invoice-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.invoice-list div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  padding: 12px;
  color: #111111;
  background: rgba(255, 255, 255, 0.92);
}

.invoice-list span {
  color: #606774;
  font-size: 0.78rem;
  font-weight: 750;
}

.invoice-list em {
  border-radius: 999px;
  padding: 5px 8px;
  color: #111111;
  background: var(--green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.invoice-list em.wait {
  background: #ffdc7c;
}

.api-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 16px;
}

.code-window {
  overflow: hidden;
  border-radius: 24px;
  color: #dfffd2;
  background: #121212;
  box-shadow: 0 22px 60px rgba(18, 18, 18, 0.16);
}

.code-window > span {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 850;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.7;
}

.api-cards {
  display: grid;
  gap: 16px;
}

.api-cards article {
  padding: 22px;
}

.api-cards b {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--mint);
  font-size: 0.82rem;
  text-transform: uppercase;
}

td {
  color: #4b5563;
  font-weight: 600;
}

.checklist-card {
  padding: 24px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #3f4652;
  font-size: 0.88rem;
  font-weight: 850;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f8f9fa;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(136, 214, 94, 0.16);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-result {
  grid-column: 1 / -1;
  min-height: 22px;
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-result.is-error {
  color: var(--kaspi);
}

.site-footer {
  padding: 48px 0 28px;
  color: #d1d5db;
  background: #121212;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 0.7fr 0.8fr;
  gap: 28px;
}

.footer-brand {
  color: #ffffff;
}

.site-footer p {
  max-width: 430px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.94rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 20px;
}

.footer-bottom span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-actions .link-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero,
  .split-section,
  .faq-grid,
  .api-layout,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero::before {
    inset: auto -20px 38px -20px;
    height: 600px;
    border-radius: 32px;
  }

  .hero-art {
    min-height: 610px;
  }

  .metrics,
  .bento,
  .steps,
  .pricing,
  .services,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile.dark,
  .tile.wide,
  .product-panel.large {
    grid-column: span 2;
  }

  .price-card.featured {
    transform: none;
  }

  .final-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 60px;
    margin-top: 10px;
    padding: 0 12px;
  }

  .header-actions .primary-button {
    min-height: 40px;
    padding: 0 13px;
  }

  h1 {
    font-size: 2.62rem;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-art {
    min-height: 660px;
  }

  .product-card {
    right: -8px;
    width: calc(100% - 16px);
    min-height: 292px;
  }

  .card-number {
    margin: 44px 0 26px;
    font-size: 0.88rem;
  }

  .phone-preview {
    left: 50%;
    width: min(238px, 82%);
    transform: translateX(-50%);
  }

  .floating-code {
    right: 0;
    bottom: 432px;
    width: 100%;
  }

  .metrics,
  .bento,
  .services,
  .steps,
  .pricing,
  .product-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .tile.dark,
  .tile.wide,
  .product-panel.large {
    grid-column: auto;
  }

  .tile.wide {
    grid-template-columns: 1fr;
  }

  .mini-card {
    transform: none;
  }

  .metric {
    min-height: auto;
  }

  .contact-form .full {
    grid-column: auto;
  }

  .invoice-list div {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
