:root {
  --navy-950: #071427;
  --navy-900: #0b1f3a;
  --navy-800: #12345c;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --cyan-100: #e0f7ff;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --warning: #f59e0b;
  --danger: #dc2626;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--slate-900);
  background: var(--slate-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--slate-600);
  font-weight: 650;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--blue-600);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--navy-900);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  line-height: 1.2;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
}

.btn-secondary {
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.btn-soft {
  color: var(--navy-900);
  background: var(--cyan-100);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 68px;
  background:
    radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.20), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(34, 197, 94, 0.18), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.09);
  color: var(--blue-600);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
}

h1, h2, h3 {
  line-height: 1.1;
  color: var(--navy-950);
  letter-spacing: -0.045em;
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.65rem);
  max-width: 840px;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  margin: 22px 0 0;
  color: var(--slate-600);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.9rem;
  font-weight: 650;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.hero-panel {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.phone-card {
  border-radius: 24px;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-800));
  padding: 18px;
  color: var(--white);
  overflow: hidden;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-weight: 760;
}

.status-badge {
  font-size: 0.78rem;
  color: #bbf7d0;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.24);
  padding: 6px 9px;
  border-radius: 999px;
}

.chat {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.bubble {
  width: fit-content;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
}

.bubble-user {
  margin-left: auto;
  background: #dbeafe;
  color: var(--navy-950);
  border-bottom-right-radius: 4px;
}

.bubble-bot {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: #eef6ff;
  border-bottom-left-radius: 4px;
}

.receipt-preview {
  margin: 8px 0 0 auto;
  width: 172px;
  background: #fff;
  color: var(--navy-900);
  border-radius: 14px;
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
}

.receipt-preview span {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #cbd5e1;
  padding: 4px 0;
}

.receipt-preview strong {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.section {
  padding: 78px 0;
}

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

.section-dark {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .section-lead {
  color: #cbd5e1;
}

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

.section-kicker {
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 850;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section-lead {
  color: var(--slate-600);
  font-size: 1.05rem;
  margin: 15px auto 0;
  max-width: 780px;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card-soft {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.card-dark {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--cyan-100), var(--green-100));
  color: var(--navy-900);
  font-weight: 900;
  margin-bottom: 16px;
}

.card p, .card li {
  color: var(--slate-600);
}

.section-dark .card p,
.section-dark .card li {
  color: #dbeafe;
}

.steps {
  counter-reset: step;
}

.step-card {
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy-950);
  color: var(--white);
  font-weight: 850;
}

.warning-box {
  border: 1px solid rgba(245, 158, 11, 0.24);
  background: #fff7ed;
  color: #7c2d12;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.safe-box {
  border: 1px solid rgba(34, 197, 94, 0.24);
  background: #f0fdf4;
  color: #14532d;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: #15803d;
  font-weight: 900;
  font-size: 0.8rem;
}

.muted {
  color: var(--slate-600);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--slate-100);
  color: var(--slate-700);
  margin: 0 6px 8px 0;
}

.badge-green {
  background: var(--green-100);
  color: #166534;
}

.badge-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

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

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 18px 20px;
  color: var(--navy-950);
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--slate-600);
}

.faq-item.active .faq-answer {
  display: block;
}

.page-hero {
  padding: 70px 0 38px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--slate-200);
}

.page-hero .container {
  max-width: 880px;
}

.content {
  padding: 52px 0 78px;
}

.prose {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 34px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 24px;
}

.prose p,
.prose li {
  color: var(--slate-600);
}

.prose a {
  color: var(--blue-600);
  font-weight: 750;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  margin: 18px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th, td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--slate-200);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy-950);
  background: var(--slate-50);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.input, textarea {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.notice {
  padding: 18px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
}

.site-footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 28px;
}

.footer-grid h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav.is-open {
    align-items: flex-start;
    height: auto;
    padding: 17px 0;
    flex-direction: column;
  }

  .nav.is-open .nav-links,
  .nav.is-open .nav-actions {
    display: grid;
    width: 100%;
  }

  .nav.is-open .nav-links {
    gap: 10px;
    padding-top: 8px;
  }

  .nav.is-open .nav-actions {
    padding-bottom: 6px;
  }

  .hero {
    padding-top: 54px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .prose {
    border-radius: 18px;
  }
}
