:root {
  --bg-a: #f5f7fe;
  --bg-b: #eef2fb;
  --text: #2f3f86;
  --text-2: #4f5d90;
  --line: #d9def0;
  --brand: #4a72f6;
  --brand-2: #3b61dd;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    linear-gradient(#ffffff, #ffffff),
    radial-gradient(1200px 520px at 64% 78%, #e8efff 0%, transparent 70%),
    linear-gradient(170deg, var(--bg-a), var(--bg-b));
}

.container {
  width: min(1280px, 94vw);
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(145deg, #7f97ff, #4c63df);
  position: relative;
  box-shadow: 0 6px 14px rgba(76, 99, 223, 0.32);
}

.logo-icon::before {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 14px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(120, 145, 248, 0), rgba(120, 145, 248, 0.85), rgba(120, 145, 248, 0));
}

.logo-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 5px;
  border-radius: 999px;
  background: #6f86f0;
  left: 9px;
  bottom: -3px;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: #2b3a7d;
  letter-spacing: -0.01em;
}

.logo-text span {
  font-weight: 500;
}

.main-nav {
  display: flex;
  gap: 48px;
  margin-left: 0;
  justify-self: center;
}

.main-nav a {
  text-decoration: none;
  color: #324283;
  font-size: 16px;
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn.small {
  min-width: 150px;
  height: 46px;
  padding: 0 26px;
  font-size: 16px;
}

.btn.solid {
  color: var(--white);
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 20px rgba(70, 100, 230, 0.23);
}

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

.btn.ghost {
  color: #314082;
  background: #fff;
  border: 1px solid #d0d7f1;
  box-shadow: 0 6px 16px rgba(70, 100, 230, 0.08);
}

.btn.outline {
  color: #314082;
  background: transparent;
  border: 1px solid #c7d0ee;
}

.hero-wrap {
  padding: 18px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: center;
}

.hero-copy {
  margin-top: 0;
}

.hero-copy h1 {
  margin: 0 0 22px;
  line-height: 1.1;
  color: #2f3f86;
  font-size: clamp(34px, 4vw, 59px);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-copy h1 span {
  color: #2d3f8d;
}

.hero-copy h1 .line-2 {
  white-space: nowrap;
}

.lead {
  margin: 8px 0 6px;
  font-size: clamp(20px, 1.5vw, 42px);
  color: #5564a0;
}

.sublead {
  margin: 0 0 24px;
  color: #445287;
  font-size: clamp(17px, 1.18vw, 32px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-row .btn {
  min-width: 250px;
  height: 64px;
  padding: 0 34px;
  font-size: 17px;
}

.chips {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chip {
  min-height: 60px;
  padding: 12px 24px;
  border-radius: 16px;
  border: 1px solid #d6ddf5;
  background: #fff;
  display: inline-flex;
  align-items: center;
  font-size: clamp(16px, 1vw, 20px);
  font-weight: 700;
  color: #3a4a8f;
  box-shadow: 0 10px 20px rgba(56, 79, 168, 0.1);
}

.chip-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 8px;
  flex: 0 0 14px;
}

.mail-dot {
  border-radius: 3px;
  border: 1px solid #7288d8;
  background:
    linear-gradient(135deg, transparent 46%, #7288d8 47%, #7288d8 53%, transparent 54%),
    linear-gradient(225deg, transparent 46%, #7288d8 47%, #7288d8 53%, transparent 54%);
}

.wa-dot {
  background: #2ac84d;
  box-shadow: inset 0 0 0 2px #158a2f;
}

.hero-art {
  height: 520px;
  position: relative;
  overflow: hidden;
}

.hero-illustration {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page-section {
  padding: 60px 0;
  background: #ffffff;
}

.page-section.alt {
  background: #f6f8ff;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.section-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 36px);
  color: #2f3f86;
}

.section-text {
  color: #4b5a8c;
  font-size: 18px;
}

.point-list {
  margin: 0;
  padding-left: 18px;
  color: #4b5a8c;
  font-size: 17px;
  line-height: 1.6;
}

.section-card {
  background: #ffffff;
  border: 1px solid #d6dcf4;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(70, 88, 160, 0.1);
}

.section-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #2f3f86;
}

.section-card p {
  margin: 0;
  color: #4b5a8c;
  line-height: 1.6;
}

.section-title {
  margin: 0 0 20px;
  font-size: clamp(26px, 3vw, 36px);
  color: #2f3f86;
}

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

.step-card {
  background: #ffffff;
  border: 1px solid #d6dcf4;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(70, 88, 160, 0.08);
}

.step-card h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  color: #2f3f86;
}

.step-card p {
  margin: 0;
  color: #4b5a8c;
  font-size: 15px;
  line-height: 1.5;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef2ff;
  color: #2f3f86;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid #d6dcf4;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(70, 88, 160, 0.08);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #2f3f86;
}

.feature-card p {
  margin: 0;
  color: #4b5a8c;
  font-size: 15px;
  line-height: 1.5;
}

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

.usecase-card {
  background: #ffffff;
  border: 1px solid #d6dcf4;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(70, 88, 160, 0.08);
}

.usecase-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #2f3f86;
}

.usecase-card p {
  margin: 0;
  color: #4b5a8c;
  font-size: 15px;
  line-height: 1.5;
}

.cta-section {
  background: #eef2ff;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #1f3f95;
  color: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 36px rgba(31, 63, 149, 0.25);
}

.cta-box h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
}

.cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.rings {
  position: absolute;
  inset: 60px 0 0 0;
  border-radius: 55% 45% 45% 55% / 60% 45% 55% 40%;
  background:
    radial-gradient(50% 42% at 48% 58%, rgba(125, 162, 255, 0.55) 0%, rgba(125, 162, 255, 0.22) 44%, rgba(125, 162, 255, 0) 75%),
    radial-gradient(80% 55% at 45% 58%, rgba(170, 186, 247, 0.5) 0%, rgba(170, 186, 247, 0.16) 65%, transparent 100%),
    radial-gradient(95% 70% at 60% 58%, rgba(195, 208, 255, 0.7) 0%, rgba(195, 208, 255, 0.2) 68%, transparent 100%);
}

.icon {
  position: absolute;
  z-index: 3;
}

.icon-paper {
  width: 56px;
  height: 36px;
  left: 120px;
  top: 148px;
  background: linear-gradient(145deg, #ecf1ff, #cad8ff);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 50%);
}

.icon-bell {
  width: 48px;
  height: 48px;
  left: 244px;
  top: 126px;
  border-radius: 46% 46% 42% 42%;
  background: linear-gradient(145deg, #f3b17b, #ef8b45);
}

.icon-bell::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 8px;
  border-radius: 999px;
  background: #dc7f3f;
  left: 14px;
  bottom: -4px;
}

.icon-cal {
  width: 64px;
  height: 64px;
  right: 250px;
  top: 138px;
  border-radius: 18px;
  border: 4px solid #c7d3ff;
  background: #edf2ff;
}

.envelope {
  position: absolute;
  left: 84px;
  top: 296px;
  width: 214px;
  height: 132px;
  border-radius: 10px;
  background: linear-gradient(160deg, #f5f8ff, #dfe8ff);
  border: 1px solid #cfdbfb;
  z-index: 1;
}

.envelope::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 30px;
  height: 0;
  border-top: 44px solid #ecf2ff;
  border-left: 78px solid transparent;
  border-right: 78px solid transparent;
}

.envelope::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  clip-path: polygon(0 0, 50% 70%, 100% 0, 100% 100%, 0 100%);
  background: #f2f6ff;
}

.calendar {
  position: absolute;
  right: 260px;
  top: 250px;
  width: 200px;
  height: 170px;
  border-radius: 18px;
  background: linear-gradient(170deg, #f8faff, #e6edff);
  border: 1px solid #cad5f6;
  box-shadow: 0 16px 26px rgba(61, 85, 170, 0.2);
  z-index: 2;
}

.calendar::before,
.calendar::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 8px;
  height: 18px;
  border-radius: 999px;
  background: #d8e2ff;
  border: 1px solid #9fb3ec;
}

.calendar::before {
  left: 50px;
}

.calendar::after {
  right: 50px;
}

.calendar-bar {
  height: 36px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(145deg, #667ff0, #6f8cff);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
}

.calendar-grid span {
  height: 20px;
  border-radius: 5px;
  background: #dde6ff;
}

.arrow-flow {
  position: absolute;
  left: 286px;
  top: 332px;
  width: 132px;
  height: 22px;
  z-index: 3;
}

.arrow-flow::before {
  content: "";
  position: absolute;
  inset: 8px 20px 8px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #8ba3f5, #6d89f8);
}

.arrow-flow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 20px solid #6d89f8;
}

.phone {
  position: absolute;
  right: 42px;
  bottom: 34px;
  width: 228px;
  height: 388px;
  border-radius: 34px;
  border: 10px solid #324785;
  background: linear-gradient(165deg, #f3f6ff, #dce7ff);
  box-shadow: 0 20px 35px rgba(50, 72, 146, 0.2);
  z-index: 2;
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 86px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #8598d6;
}

.phone-lines {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  height: 120px;
  border-radius: 14px;
  background:
    linear-gradient(#b9c9f5, #b9c9f5) 0 8px / 80% 8px no-repeat,
    linear-gradient(#cad6fa, #cad6fa) 0 30px / 100% 8px no-repeat,
    linear-gradient(#d7e1ff, #d7e1ff) 0 52px / 92% 8px no-repeat,
    linear-gradient(#dfe7ff, #dfe7ff) 0 74px / 70% 8px no-repeat;
}

.card {
  position: absolute;
  border-radius: 16px;
  border: 1px solid #d3daf4;
  box-shadow: 0 14px 24px rgba(62, 85, 170, 0.18);
  font-weight: 800;
  z-index: 3;
}

.card.mail {
  left: 66px;
  top: 334px;
  min-width: 324px;
  min-height: 78px;
  background: #fff;
  color: #364889;
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 6;
  font-size: 17px;
}

.card.bubble {
  right: 108px;
  top: 236px;
  min-width: 232px;
  min-height: 110px;
  background: linear-gradient(145deg, #617cf0, #6d89ff);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.24;
}

.card.bubble::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -14px;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  background: #6784f8;
}

.card.call {
  right: 84px;
  bottom: 98px;
  min-width: 212px;
  min-height: 64px;
  background: #fff;
  color: #4a5c99;
  display: grid;
  place-items: center;
  z-index: 5;
}

.clock {
  position: absolute;
  right: 240px;
  top: 310px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #fff;
  border: 8px solid #f0887b;
  box-shadow: 0 14px 24px rgba(43, 66, 146, 0.22);
  z-index: 5;
}

.clock::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 33px;
  background: #395099;
  transform: translate(-50%, -93%) rotate(16deg);
  transform-origin: bottom center;
}

.clock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 4px;
  background: #395099;
  transform: translate(0, -50%) rotate(35deg);
  transform-origin: left center;
}

.simple-page {
  padding: 62px 0;
}

.simple-page h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 62px);
}

.simple-page p,
.simple-page li {
  color: #415089;
  font-size: clamp(17px, 1.2vw, 24px);
  line-height: 1.55;
}

.simple-page ul {
  padding-left: 20px;
}

.form-box {
  max-width: 560px;
  background: #fff;
  border: 1px solid #d6dcf4;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(70, 88, 160, 0.1);
}

.form-box label {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  color: #4a5688;
}

.form-box input {
  width: 100%;
  height: 48px;
  border: 1px solid #cfd7f3;
  border-radius: 12px;
  padding: 0 14px;
  margin-bottom: 14px;
  font-size: 17px;
}

.form-box .btn {
  border: none;
  cursor: pointer;
  width: 100%;
  height: 52px;
  font-size: 18px;
}

.form-message {
  min-height: 24px;
  margin: 10px 2px 0;
  color: #186236;
  font-size: 14px;
}

.form-message.error {
  color: #b42318;
}

.form-link {
  margin: 10px 2px 0;
  color: #415089;
  font-size: 14px;
}

.form-link a {
  color: #3557d5;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .logo-text {
    font-size: 33px;
  }

  .main-nav {
    gap: 24px;
    margin-left: 0;
  }

  .main-nav a {
    font-size: 15px;
  }

  .btn.small {
    min-width: 120px;
    height: 46px;
    font-size: 15px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .cta-row .btn {
    min-width: 180px;
    height: 54px;
    font-size: 17px;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: auto;
    padding: 12px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav {
    order: 3;
    margin-left: 0;
  }

  .hero-wrap {
    padding-top: 34px;
  }

  .steps-grid,
  .feature-grid,
  .usecase-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 .line-2 {
    white-space: normal;
  }

  .hero-copy {
    margin-top: 0;
  }

  .hero-art {
    height: 360px;
  }

  .envelope {
    left: 12px;
    top: 216px;
    width: 150px;
    height: 92px;
  }

  .phone {
    right: 12px;
    width: 150px;
    height: 260px;
  }

  .card.mail {
    left: 18px;
    top: 240px;
    min-width: 220px;
    min-height: 60px;
    font-size: 14px;
  }

  .card.bubble {
    right: 92px;
    top: 116px;
    min-width: 170px;
    min-height: 74px;
  }

  .card.call {
    right: 24px;
    bottom: 58px;
    min-width: 150px;
    min-height: 52px;
  }

  .clock {
    right: 156px;
    top: 206px;
    width: 90px;
    height: 90px;
  }

  .calendar {
    right: 126px;
    top: 150px;
    width: 128px;
    height: 108px;
  }

  .calendar-bar {
    height: 28px;
  }

  .calendar-grid span {
    height: 12px;
  }

  .arrow-flow {
    left: 146px;
    top: 220px;
    width: 78px;
  }
}
