:root {
  --color-primary: #6198d7;
  --color-secondary: #fab857;
  --color-text: #000000;
  --color-soft: #eef6ff;
  --color-deep: #1b4170;
  --color-green: #2ca363;
  --color-border: rgba(97, 152, 215, 0.22);
  --shadow-soft: 0 18px 50px rgba(24, 56, 95, 0.12);
  --shadow-card: 0 10px 28px rgba(20, 51, 88, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: var(--color-text);
  font-family: "Urbanist", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.8rem;
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  color: #000;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(97, 152, 215, 0.12);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 200px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.35rem;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.main-nav a {
  position: relative;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.header-contact {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--color-secondary);
  color: #000;
  transition: transform 180ms ease;
}

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

.header-contact svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-section {
  min-height: 600px;
  background: var(--color-soft);
}

.split-hero,
.split-story,
.split-proof,
.page-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.split-hero {
  min-height: 600px;
}

.hero-copy,
.story-copy,
.proof-copy {
  padding: 4rem 0;
}

.section-kicker {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.section-kicker-dark {
  color: #000;
}

.section-center,
.section-title,
.section-subtitle {
  text-align: center;
}

.hero-copy h1 {
  font-size: 46px;
  font-weight: 700;
  line-height: 56px;
  text-transform: capitalize;
}

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

.text-blue {
  color: var(--color-primary);
}

.lead,
.lead-content {
  color: #202020;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-links {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.btn-gold {
  background: var(--color-secondary);
  color: #000;
}

.btn-gold:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-blue {
  background: var(--color-primary);
  color: #fff;
}

.btn-blue:hover {
  background: #000;
}

.block-btn {
  width: 100%;
}

.page-hero-panel .block-btn + .block-btn {
  margin-top: 0.85rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.hero-notes span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.55rem 0.85rem;
  font-size: 15px;
}

.hero-media img,
.story-media img,
.proof-media img {
  width: 100%;
  box-shadow: var(--shadow-soft);
}

.hero-media img,
.story-media img:first-child {
  border-radius: 0 200px 0 0;
}

.proof-media img {
  border-radius: 0 200px 0 0;
}

.section-tech {
  position: relative;
  background: #fff;
}

.section-tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/home/bg-tech.png") center/cover no-repeat;
  opacity: 0.2;
}

.section-tech > .container {
  position: relative;
}

.story-section,
.services-section,
.workflow-section,
.feature-section,
.proof-section,
.page-hero,
.section {
  padding: 50px 0;
}

.mini-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.mini-point {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.mini-icon-gold {
  background: var(--color-secondary);
}

.mini-icon-blue {
  background: var(--color-primary);
  color: #fff;
}

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

.section-title {
  font-size: 44px;
  font-weight: 600;
}

.section-subtitle {
  max-width: 820px;
  margin: 0.75rem auto 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-card,
.workflow-card,
.doc-card,
.page-hero-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.service-card {
  padding: 1rem;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.service-card img {
  width: 84px;
  margin-bottom: 0.8rem;
}

.service-card h3 {
  font-size: 24px;
  font-weight: 600;
}

.text-link {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--color-primary);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.text-link:hover {
  color: #000;
}

.workflow-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.workflow-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}

.workflow-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  margin-top: 0.6rem;
  grid-column: 2;
  justify-self: end;
  text-align: right;
}

.workflow-links .text-link {
  margin-top: 0;
}

.workflow-number {
  color: var(--color-secondary);
  font-family: "Poppins", sans-serif;
  font-size: 44px;
  font-weight: 600;
}

.check-list,
.arrow-list,
.page-highlight-list,
.prose ul,
.prose ol {
  padding-left: 1.1rem;
}

.check-list li,
.arrow-list li,
.page-highlight-list li {
  margin-bottom: 0.7rem;
}

.arrow-list li::marker {
  color: var(--color-primary);
}

.proof-copy h2,
.page-hero h1 {
  font-size: 44px;
  font-weight: 600;
}

.page-hero {
  background: var(--color-soft);
}

.page-hero-panel {
  border-radius: var(--radius-lg);
  padding: 1.2rem;
}

.page-highlight-list {
  margin: 1rem 0 0;
}

.page-highlight-list li::marker {
  color: var(--color-green);
}

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

.doc-card {
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.prose {
  max-width: 860px;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 32px;
}

.prose h3 {
  margin-top: 1.4rem;
  font-size: 24px;
}

.prose code {
  background: rgba(97, 152, 215, 0.12);
  border-radius: 8px;
  padding: 0.1rem 0.35rem;
}

.site-footer {
  background: #fff;
  padding-top: 50px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  max-width: 42ch;
}

.footer-column h2 {
  font-size: 22px;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

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

.footer-bottom {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 2rem;
  text-align: center;
  font-size: 15px;
}

@media (max-width: 1024px) {
  .header-inner,
  .split-hero,
  .split-story,
  .split-proof,
  .page-hero-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 1rem 0;
    justify-items: start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .header-contact {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .brand-logo {
    width: 170px;
  }

  .hero-copy h1,
  .section-title,
  .proof-copy h2,
  .page-hero h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .service-grid,
  .docs-grid,
  .workflow-card {
    grid-template-columns: 1fr;
  }

  .workflow-card {
    gap: 0.25rem;
  }

  .hero-media img,
  .story-media img,
  .proof-media img {
    border-radius: 0 70px 0 0;
  }
}
