:root {
  --ink: #07183d;
  --muted: #536079;
  --blue: #087bea;
  --blue-deep: #006bd8;
  --line: #e7ecf4;
  --white: #ffffff;
  --shadow: 0 12px 36px rgba(36, 72, 116, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #f4f7fb;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.page-shell {
  position: relative;
  width: min(100%, 1536px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

main {
  position: relative;
}

.hero {
  position: relative;
  height: 810px;
  overflow: hidden;
  background: var(--white);
}

.hero-visual {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: min(66.48%, 1021px);
  height: 810px;
  margin: 0;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

.white-swoop {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: var(--white);
  clip-path: polygon(
    0 0,
    49% 0,
    46.5% 9%,
    43.8% 20%,
    41.8% 33%,
    39.8% 47%,
    37.2% 63%,
    34.3% 78%,
    38.8% 100%,
    0 100%
  );
}

.site-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  padding: 24px 42px 18px 43px;
}

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

.brand img {
  width: 59px;
  height: 59px;
  border-radius: 13px;
}

.brand span {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.8px;
}

.top-sign-in {
  display: inline-grid;
  place-items: center;
  min-width: 126px;
  height: 49px;
  border: 2px solid var(--blue);
  border-radius: 11px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.top-sign-in:hover,
.top-sign-in:focus-visible {
  color: var(--white);
  background: var(--blue);
  transform: translateY(-1px);
  outline: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 535px;
  margin: 37px 0 0 80px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 4vw, 64px);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -2.8px;
}

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

.intro {
  margin: 20px 0 23px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.48;
}

.benefits {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 59px;
}

.benefits img {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 11px;
}

.benefits h2,
.benefits p {
  margin: 0;
}

.benefits h2 {
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
}

.benefits p {
  color: #263554;
  font-size: 15px;
  line-height: 1.4;
}

.primary-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 335px;
  height: 50px;
  margin-top: 17px;
  border-radius: 11px;
  color: var(--white);
  background: linear-gradient(135deg, #087cf0, #0577e7);
  box-shadow: 0 10px 24px rgba(5, 119, 231, 0.2);
  font-size: 18px;
  font-weight: 680;
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.primary-cta .arrow {
  position: absolute;
  margin-left: 245px;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 119, 231, 0.28);
  outline: none;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #667087;
  font-size: 14px;
}

.trust-line img {
  width: 17px;
  height: 18px;
  object-fit: cover;
}

.feature-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: calc(100% - 108px);
  min-height: 151px;
  margin: 0 54px;
  padding: 30px 273px 25px 25px;
  border: 1px solid #edf1f6;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 11px 28px rgba(37, 73, 112, 0.09);
}

.feature-strip article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-width: 0;
  padding: 0 18px;
}

.feature-strip article:first-child {
  padding-left: 0;
}

.feature-strip article + article {
  border-left: 1px solid var(--line);
}

.feature-strip article > img {
  width: 70px;
  height: 74px;
  border-radius: 13px;
}

.feature-strip h2,
.feature-strip p {
  margin: 0;
}

.feature-strip h2 {
  margin: 6px 0 6px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
}

.feature-strip p {
  color: #43506a;
  font-size: 13px;
  line-height: 1.75;
}

.large-mascot {
  position: absolute;
  z-index: 5;
  right: 36px;
  bottom: -38px;
  width: 246px;
  height: 254px;
  border-radius: 54px;
  filter: drop-shadow(0 10px 11px rgba(19, 47, 81, 0.16));
}

footer {
  display: grid;
  place-items: center;
  min-height: 63px;
  color: #68728a;
  background: var(--white);
  font-size: 13px;
}

footer p {
  margin: 0;
}

footer span {
  padding: 0 9px;
}

@media (max-width: 1250px) {
  .hero-copy {
    width: 46%;
    margin-left: 5.2vw;
  }

  .hero-copy h1 {
    font-size: clamp(43px, 4.5vw, 56px);
  }

  .intro {
    font-size: 18px;
  }

  .desktop-break {
    display: none;
  }

  .feature-strip {
    padding-right: 220px;
  }

  .feature-strip article {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
    padding-inline: 10px;
  }

  .feature-strip article > img {
    width: 58px;
    height: 61px;
  }

  .feature-strip h2 {
    white-space: normal;
  }

  .large-mascot {
    right: 28px;
    width: 200px;
    height: auto;
  }
}

@media (max-width: 1020px) {
  .hero {
    height: 790px;
  }

  .site-header {
    padding-inline: 32px;
  }

  .brand span {
    font-size: 24px;
  }

  .hero-visual {
    width: 62%;
    height: 790px;
  }

  .white-swoop {
    clip-path: polygon(0 0, 48% 0, 46% 20%, 43% 42%, 40% 67%, 43% 100%, 0 100%);
  }

  .hero-copy {
    width: 44%;
    margin: 34px 0 0 5vw;
  }

  .hero-copy h1 {
    font-size: 42px;
    letter-spacing: -1.8px;
  }

  .intro {
    font-size: 17px;
  }

  .benefits p {
    font-size: 14px;
  }

  .primary-cta {
    width: min(335px, 100%);
  }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
    padding: 28px 210px 28px 25px;
  }

  .feature-strip article:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    box-shadow: none;
  }

  .hero {
    display: flex;
    height: auto;
    min-height: 0;
    flex-direction: column;
  }

  .white-swoop {
    display: none;
  }

  .site-header {
    min-height: 84px;
    padding: 15px 20px;
    background: var(--white);
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    font-size: 20px;
    letter-spacing: -0.4px;
  }

  .top-sign-in {
    min-width: 86px;
    height: 42px;
    font-size: 15px;
  }

  .hero-copy {
    order: 2;
    width: auto;
    margin: 0;
    padding: 42px 24px 34px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 11vw, 54px);
    line-height: 1.06;
    letter-spacing: -2px;
  }

  .intro {
    margin-top: 22px;
    font-size: 17px;
  }

  .benefits {
    margin-top: 25px;
  }

  .benefits h2 {
    font-size: 16px;
  }

  .primary-cta {
    width: 100%;
    max-width: 390px;
    margin-top: 24px;
  }

  .primary-cta .arrow {
    margin-left: min(68vw, 285px);
  }

  .hero-visual {
    position: relative;
    order: 3;
    width: 100%;
    height: clamp(400px, 83vw, 620px);
    background: #8cc9fb;
  }

  .hero-visual img {
    width: 128%;
    max-width: none;
    object-fit: cover;
    object-position: 68% center;
    transform: translateX(-7%);
  }

  .feature-strip {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    margin: 16px;
    padding: 24px 20px 175px;
  }

  .feature-strip article,
  .feature-strip article:first-child {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 0 0 20px;
    border-left: 0;
  }

  .feature-strip article + article {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-strip article > img {
    width: 64px;
    height: auto;
  }

  .feature-strip h2 {
    margin-top: 4px;
    font-size: 16px;
  }

  .feature-strip p {
    font-size: 14px;
    line-height: 1.55;
  }

  .large-mascot {
    right: 25px;
    bottom: 58px;
    width: 150px;
    border-radius: 34px;
  }

  footer {
    min-height: 78px;
    padding: 20px;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand span {
    max-width: 125px;
    font-size: 18px;
    line-height: 1.05;
  }

  .hero-copy {
    padding-inline: 20px;
  }

  .benefits li {
    align-items: flex-start;
  }

  .hero-visual {
    height: 430px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
