:root {
  --ink: #1a1a2e;
  --text: #3a3a5c;
  --muted: #7a7a9d;
  --line: #e0e8ff;
  --soft: #f5f7ff;
  --paper: #ffffff;
  --blue: #2b7fff;
  --blue-dark: #1a6fef;
  --yellow: #ffd600;
  --green: #1db87a;
  --navy: #1a1a2e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Nunito, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(43, 127, 255, .08), transparent 28%),
    linear-gradient(180deg, #fbfcff, #f5f7ff 52%, #fff);
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  height: 76px;
  margin: 16px auto 0;
  padding: 0 22px 0 26px;
  border: 1px solid rgba(224, 232, 255, .92);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 40px rgba(26, 26, 46, .07);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: 156px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(43, 127, 255, .2);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  min-height: 560px;
  margin: 24px auto 0;
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid rgba(224, 232, 255, .9);
  border-radius: 36px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 22px 70px rgba(26, 26, 46, .065);
  overflow: hidden;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 610px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(42px, 4.65vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--text);
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 800;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover,
.plan-grid a:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(43, 127, 255, .22);
}

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

.hero-product {
  position: relative;
}

.app-window {
  overflow: hidden;
  border: 1px solid #dfe8ff;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(43, 127, 255, .12);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 24px;
  border-bottom: 1px solid #edf2ff;
}

.app-top img {
  width: 154px;
}

.app-top span {
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--blue);
  background: #eef5ff;
  font-weight: 900;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.app-card,
.app-list {
  border: 1px solid #edf2ff;
  border-radius: 18px;
  padding: 18px;
  background: #fbfcff;
}

.app-card-blue {
  min-height: 144px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.app-card small {
  display: block;
  margin-bottom: 16px;
  color: inherit;
  opacity: .72;
  font-weight: 900;
}

.app-card strong {
  display: block;
  color: inherit;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1;
}

.app-card-blue strong::after {
  content: "%";
  font-size: 22px;
}

.app-card span {
  display: block;
  margin-top: 8px;
  color: inherit;
  opacity: .72;
  font-weight: 800;
}

.app-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
}

.app-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.app-list i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1160px, calc(100% - 32px));
  margin: 20px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}

.metrics article {
  min-height: 142px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(74px, 9vw, 120px) 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.split-section h2,
.section-head h2,
.integrations h2,
.final-cta h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
}

.split-section p:not(.section-label),
.section-head p:not(.section-label),
.final-cta > div p:not(.section-label) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 900;
  transition: transform .2s ease;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-stack article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.feature-stack span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--blue);
  background: #eef5ff;
  font-weight: 900;
}

.feature-stack h3,
.solution-grid h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 22px;
}

.feature-stack p,
.solution-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.blue-section {
  width: 100%;
  max-width: none;
  padding: clamp(74px, 9vw, 118px) max(16px, calc((100vw - 1160px) / 2));
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #213c86);
}

.blue-section .section-head {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.blue-section .section-label {
  color: var(--yellow);
}

.blue-section h2 {
  color: #fff;
}

.blue-section .section-head p {
  color: rgba(255,255,255,.72);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(1160px, 100%);
  margin: 40px auto 0;
}

.solution-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.08);
}

.solution-grid h3 {
  color: #fff;
}

.solution-grid p {
  color: rgba(255,255,255,.72);
}

.finance-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(26, 26, 46, .08);
}

.finance-panel > strong {
  display: block;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1;
}

.finance-panel > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 900;
}

.finance-panel div {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.finance-panel p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 900;
}

.finance-panel b {
  color: var(--ink);
}

.integrations {
  text-align: center;
}

.integrations h2 {
  margin: 0 auto;
}

.integration-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.integration-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 20px;
  color: var(--text);
  background: #fff;
  font-weight: 900;
}

.testimonial {
  padding: 0;
}

.testimonial > div {
  border-radius: 30px;
  padding: clamp(34px, 6vw, 70px);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.testimonial .section-label {
  color: rgba(255,255,255,.78);
}

blockquote {
  max-width: 900px;
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.06;
}

.testimonial span {
  color: rgba(255,255,255,.75);
  font-weight: 900;
}

.section-head {
  margin-bottom: 34px;
}

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

.plan-grid article {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.plan-grid article.featured {
  color: #fff;
  background: var(--navy);
}

.plan-grid p {
  color: var(--blue);
  font-weight: 900;
}

.plan-grid .featured p {
  color: var(--yellow);
}

.plan-grid h3 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.08;
}

.plan-grid span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

.plan-grid .featured span {
  color: rgba(255,255,255,.72);
}

.plan-grid a {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  margin-top: auto;
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  transition: transform .2s ease;
}

.faq {
  padding-top: 40px;
}

.faq details {
  border-top: 1px solid var(--line);
  background: #fff;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 26px 0;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  cursor: pointer;
}

.faq details p {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.65;
}

.final-cta {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 28px;
  border-radius: 30px;
  padding: clamp(34px, 6vw, 70px);
  color: #fff;
  background: var(--navy);
}

.final-cta .section-label {
  color: var(--yellow);
}

.final-cta h2 {
  color: #fff;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 15px 16px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font: 800 14px Nunito, Arial, sans-serif;
  outline: none;
}

.contact-form input,
.contact-form select {
  min-height: 52px;
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,.45);
}

.message-field,
.consent-field,
.form-status {
  grid-column: 1 / -1;
}

.consent-field {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  line-height: 1.35;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--yellow);
}

.contact-form button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font: 900 15px Nunito, Arial, sans-serif;
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--yellow);
  font-weight: 900;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 24px;
  border-radius: 24px;
  padding: 24px 28px;
  color: rgba(255,255,255,.72);
  background: #101026;
}

footer img {
  width: 150px;
}

/* Blog */
.blog-page {
  background: #fff;
}

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 clamp(20px, 6vw, 110px);
  border-bottom: 2px solid var(--line);
  background: #fff;
}

.blog-header img {
  width: 190px;
}

.blog-header nav {
  display: flex;
  gap: 28px;
  color: var(--ink);
  font-weight: 900;
}

.blog-hero {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 6vw, 110px) clamp(48px, 7vw, 86px);
  background: linear-gradient(135deg, #f5f7ff, #fff);
}

.blog-hero h1,
.article-page h1 {
  max-width: 980px;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 84px);
  line-height: .98;
}

.blog-hero p:not(.section-label),
.article-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
  font-weight: 800;
}

.blog-list {
  display: grid;
  gap: 1px;
  padding: 0 clamp(20px, 6vw, 110px) clamp(76px, 10vw, 132px);
  background: var(--line);
}

.blog-list article {
  display: grid;
  grid-template-columns: 180px minmax(0, .9fr) minmax(280px, .7fr);
  gap: 32px;
  padding: 38px;
  background: #fff;
}

.blog-list span,
.back-link {
  color: var(--blue);
  font-weight: 900;
}

.blog-list h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.05;
}

.blog-list p,
.article-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 700;
}

.article-wrap {
  padding: clamp(58px, 8vw, 110px) 20px;
}

.article-wrap article {
  max-width: 840px;
  margin: 0 auto;
}

.article-page h2 {
  margin-top: 48px;
  font-size: 30px;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 28px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
}

.article-cta a {
  border-radius: 999px;
  padding: 14px 20px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: #f5f7ff;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    top: 102px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(26, 26, 46, .12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .split-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .metrics,
  .solution-grid,
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metrics article:nth-child(2) {
    border-right: 0;
  }

  .metrics article {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    height: 66px;
  }

  .brand img {
    width: 132px;
  }

  .hero {
    min-height: auto;
    padding: 34px 20px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .app-grid,
  .metrics,
  .solution-grid,
  .plan-grid,
  .contact-form,
  .blog-list article {
    grid-template-columns: 1fr;
  }

  .app-list {
    grid-column: auto;
  }

  .metrics article {
    border-right: 0;
  }

  .feature-stack article {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  footer,
  .blog-header,
  .article-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}
