:root {
  --text: #172c39;
  --teal: #2ebfc2;
  --teal-dark: #179fa3;
  --line: #dcebed;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  overflow-x: hidden;
  background: #f8fcfc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

.start-page {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: clamp(24px, 5vw, 72px);
  overflow: hidden;
}

.start-page::before,
.start-page::after {
  position: absolute;
  inset: 0;
  content: "";
}

.start-page::before {
  background: url("./assets/ficbarn-home-hero.jpg") center / cover no-repeat;
}

.start-page::after {
  background: rgba(248, 252, 252, 0.68);
}

.start-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: clamp(28px, 4vh, 48px);
  width: min(760px, 58vw);
  margin-left: clamp(0px, 3vw, 48px);
  text-align: left;
}

.start-content h1 {
  display: grid;
  gap: 12px;
  margin: 0;
  color: var(--text);
  font-weight: 800;
  line-height: 1.18;
}

.start-content h1 span {
  color: var(--teal-dark);
  font-size: clamp(48px, 6.2vw, 88px);
}

.start-content h1 strong {
  max-width: 760px;
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 800;
  text-wrap: balance;
}

.feature-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: clamp(10px, 1.4vw, 20px);
  margin-top: -8px;
  color: #607b84;
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 700;
}

.feature-line i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.start-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: clamp(280px, 28vw, 360px);
  min-height: clamp(64px, 7vh, 76px);
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 0 30px;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 34px rgba(34, 175, 179, 0.2);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.start-button b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  transition: transform 160ms ease;
}

.start-button:hover {
  transform: translateY(-3px);
  background: var(--teal-dark);
  box-shadow: 0 18px 40px rgba(26, 148, 152, 0.27);
}

.start-button:hover b {
  transform: translateX(4px);
}

.start-button:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(26, 148, 152, 0.18);
}

.start-button:focus-visible {
  outline: 3px solid rgba(46, 191, 194, 0.28);
  outline-offset: 5px;
}

.customer-service {
  position: fixed;
  z-index: 3;
  right: clamp(18px, 2.6vw, 40px);
  bottom: clamp(18px, 2.6vw, 40px);
}

.customer-service summary {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(23, 44, 57, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(23, 44, 57, 0.11);
  cursor: pointer;
  list-style: none;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease;
}

.customer-service summary::-webkit-details-marker {
  display: none;
}

.customer-service summary:hover,
.customer-service[open] summary {
  color: var(--teal-dark);
  border-color: rgba(46, 191, 194, 0.45);
  transform: translateY(-2px);
}

.customer-service svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.customer-popover {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(280px, calc(100vw - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 38px rgba(23, 44, 57, 0.13);
}

.customer-popover strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 16px;
}

.customer-popover p {
  margin: 0;
  color: #607b84;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .start-page {
    place-items: center;
    padding: 30px 22px;
  }

  .start-page::before {
    background-position: 68% center;
  }

  .start-page::after {
    background: rgba(248, 252, 252, 0.82);
  }

  .start-content {
    width: min(100%, 520px);
    margin-left: 0;
    justify-items: center;
    gap: 32px;
    text-align: center;
  }

  .start-content h1 span {
    font-size: 52px;
  }

  .start-content h1 strong {
    font-size: clamp(25px, 8vw, 32px);
    line-height: 1.42;
  }

  .feature-line {
    justify-content: center;
    max-width: 300px;
    gap: 9px 12px;
    font-size: 14px;
  }

  .start-button {
    width: 100%;
    min-width: 0;
    min-height: 66px;
    font-size: 19px;
  }

  .customer-service {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-height: 650px) and (min-width: 641px) {
  .start-content {
    gap: 24px;
  }

  .start-content h1 span {
    font-size: clamp(44px, 8vh, 68px);
  }

  .start-content h1 strong {
    font-size: clamp(26px, 5.2vh, 40px);
  }

  .start-button {
    min-height: 60px;
  }
}
