:root {
  --blue: #1559ff;
  --blue-2: #0b46d8;
  --navy: #07183a;
  --navy-2: #020b24;
  --ink: #061531;
  --text: #33415c;
  --muted: #6d7890;
  --line: #dfe7f5;
  --soft: #f5f8ff;
  --paper: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

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

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

.site-header {
  width: min(var(--max), calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 28px;
  align-items: center;
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 4px;
  transform: skewX(-10deg);
}

.brand-mark i {
  display: block;
  background: linear-gradient(180deg, #2f79ff, #0c54f5);
}

.brand-mark i:nth-child(1) {
  height: 32%;
}

.brand-mark i:nth-child(2) {
  height: 58%;
}

.brand-mark i:nth-child(3) {
  height: 86%;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: #4d5a75;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.outline-mini,
.solid-mini {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.outline-mini {
  border: 1px solid #b9caff;
  color: var(--blue-2);
}

.solid-mini {
  background: var(--navy);
  color: #fff;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(500px, 560px) minmax(500px, 650px) minmax(24px, 1fr);
  gap: 58px;
  align-items: center;
  background:
    radial-gradient(circle at 85% 35%, rgba(21, 89, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f6f9ff 100%);
  overflow: hidden;
}

.hero-copy {
  grid-column: 2;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(42px, 4.45vw, 58px);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0;
  word-break: keep-all;
}

.headline-line {
  display: block;
  white-space: nowrap;
}

.hero h1 .accent {
  color: var(--blue);
}

.hero-copy p {
  margin-top: 24px;
  color: #3d4b65;
  font-size: 15px;
  line-height: 2;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.primary-button {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 18px 30px rgba(21, 89, 255, 0.2);
}

.secondary-button {
  border: 1px solid #a7bfff;
  background: #fff;
  color: var(--blue-2);
}

.primary-button::after,
.secondary-button::after {
  content: "→";
  margin-left: 14px;
}

.hero-image {
  grid-column: 3;
}

.hero-image img {
  width: 720px;
  max-width: none;
  border-radius: 18px;
  filter: drop-shadow(0 26px 44px rgba(17, 39, 78, 0.15));
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.45;
  font-weight: 900;
}

.section-heading h2::after {
  content: "";
  width: 42px;
  height: 3px;
  display: block;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--blue);
}

.section-heading p {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
}

.pain-section,
.solution-section,
.services-section,
.pricing-section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 58px;
}

.pain-grid article {
  min-height: 250px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 16px 32px rgba(7, 24, 58, 0.1);
}

.pain-grid img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  opacity: 0.45;
  filter: grayscale(20%);
}

.pain-grid article > div {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 28px;
  color: #fff;
  text-align: center;
}

.pain-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 62px;
  min-height: 28px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #dbe7ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pain-grid h3 {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 900;
}

.pain-grid p {
  margin-top: 14px;
  color: #e6ecf8;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
}

.solution-section {
  width: 100%;
  padding: 82px max(24px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, #f7faff 0%, #fff 100%);
}

.flow {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow article {
  position: relative;
  padding: 4px 16px 4px 0;
}

.flow article + article::before {
  content: "";
  width: 34px;
  height: 1px;
  position: absolute;
  left: -28px;
  top: 26px;
  background: #bfd0ff;
}

.flow span,
.service-icon {
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.flow h3 {
  margin-top: 22px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}

.flow p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
}

.service-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article {
  min-height: 226px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(9, 35, 82, 0.04);
}

.service-grid h3 {
  margin-top: 16px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

.service-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  font-weight: 700;
}

.service-grid a {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.service-grid a::after {
  content: "→";
  margin-left: 9px;
}

.pricing-section {
  padding-top: 54px;
}

.price-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.price-grid article {
  min-height: 420px;
  padding: 42px 36px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(9, 35, 82, 0.06);
}

.price-grid .recommended {
  border-color: var(--blue);
  transform: translateY(-12px);
}

.badge {
  height: 28px;
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px 8px 0 0;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.price-grid h3 {
  color: var(--ink);
  text-align: center;
  font-size: 20px;
}

.price-grid p {
  min-height: 50px;
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
}

.price-grid strong {
  display: block;
  margin-top: 26px;
  color: var(--ink);
  text-align: center;
  font-size: 42px;
  line-height: 1;
}

.price-grid small {
  font-size: 14px;
}

.price-grid ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: #33415c;
  font-size: 14px;
  font-weight: 800;
}

.price-grid li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--blue);
}

.price-grid article > a {
  width: 100%;
  min-height: 46px;
  margin-top: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #aec1ff;
  border-radius: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.recommended > a {
  background: var(--blue);
  color: #fff !important;
}

.cta {
  margin-top: 42px;
  padding: 64px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(circle at 92% 18%, rgba(21, 89, 255, 0.32), transparent 26%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}

.cta h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.5;
}

.cta p {
  margin-top: 16px;
  color: #dce7ff;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}

.cta-actions {
  display: flex;
  gap: 18px;
}

.white {
  background: #fff;
}

.bright {
  background: var(--blue);
}

.footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 24px;
}

.footer {
  display: grid;
  grid-template-columns: 1.05fr 1.55fr;
  gap: 70px;
}

.footer-brand p {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.footer-nav h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 14px;
}

.footer-nav a,
.footer-nav strong {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer-nav strong {
  color: var(--ink);
  font-size: 20px;
}

.footer-button {
  display: inline-flex !important;
  width: max-content;
  padding: 12px 18px;
  border: 1px solid #aec1ff;
  border-radius: 999px;
  color: var(--blue) !important;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 24px 1fr 24px;
    gap: 0;
    padding: 54px 0 70px;
  }

  .headline-line {
    white-space: normal;
  }

  .hero-copy,
  .hero-image {
    grid-column: 2;
  }

  .hero-image {
    margin-top: 42px;
  }

  .hero-image img {
    width: 100%;
    max-width: 860px;
  }

  .flow,
  .service-grid,
  .price-grid,
  .footer,
  .cta {
    grid-template-columns: 1fr 1fr;
  }

  .flow article + article::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 32px, var(--max));
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .header-actions {
    width: 100%;
  }

  .outline-mini,
  .solid-mini {
    flex: 1;
  }

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

  .pain-section,
  .services-section,
  .pricing-section {
    width: min(100% - 32px, var(--max));
    padding: 58px 0;
  }

  .pain-grid,
  .flow,
  .service-grid,
  .price-grid,
  .footer,
  .footer-nav,
  .cta {
    grid-template-columns: 1fr;
  }

  .price-grid .recommended {
    transform: none;
  }

  .cta {
    padding: 48px 16px;
  }

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