:root {
  --blue: #1457e6;
  --blue-dark: #082554;
  --green: #45ad36;
  --ink: #172644;
  --muted: #526078;
  --border: #dfe7f3;
  --bg: #f7fbff;
  --surface: #ffffff;
  --soft-blue: #eef7ff;
  --shadow: 0 16px 38px rgba(8, 37, 84, .1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--blue-dark);
  background: var(--bg);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(8, 37, 84, .08);
  backdrop-filter: blur(10px);
}

.brand {
  justify-self: start;
}

.brand img {
  width: min(210px, 68vw);
  height: auto;
}

.nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--surface);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1;
}

.nav a.active,
.nav a:hover {
  color: white;
  border-color: var(--blue);
  background: var(--blue);
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
}

.header-button {
  width: 100%;
  padding: 0 18px;
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(20, 87, 230, .2);
}

.hero {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f4fbff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-copy {
  order: 2;
  padding: 32px 20px 44px;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  color: var(--blue-dark);
  font-size: clamp(2.4rem, 15vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.hero p {
  margin: 20px 0 0;
  max-width: 34rem;
  color: #243453;
  font-size: 1.05rem;
  line-height: 1.58;
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.button {
  width: 100%;
  padding: 0 22px;
  font-size: 1rem;
}

.primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 15px 30px rgba(20, 87, 230, .22);
}

.secondary {
  color: var(--blue-dark);
  background: white;
  border: 1.5px solid var(--green);
}

.hero-image {
  order: 1;
  min-height: clamp(260px, 74vw, 430px);
  position: relative;
  overflow: hidden;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0), #f4fbff 92%);
}

.hero-image picture,
.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image img {
  min-height: inherit;
  object-fit: cover;
  object-position: 54% center;
}

.features {
  display: grid;
  gap: 0;
  padding: 8px 20px 42px;
  background: white;
}

.features article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.features article:last-child {
  border-bottom: 0;
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  font-weight: 900;
}

.blue {
  background: #eaf2ff;
  color: var(--blue);
}

.green {
  background: #e8f7e5;
  color: var(--green);
}

.features h2 {
  grid-column: 2;
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.features p {
  grid-column: 2;
  margin: 0;
  color: #35425f;
  font-size: .98rem;
  line-height: 1.5;
}

.mission {
  padding: 52px 20px 58px;
  text-align: left;
  background: linear-gradient(180deg, #f3f9ff, #fff);
}

.mission p,
.label {
  margin: 0 0 11px;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: .78rem;
}

.mission h2,
.product-section h2,
.privacy-section h2,
.contact h2 {
  margin: 0 0 15px;
  color: var(--blue-dark);
  font-size: clamp(1.72rem, 9vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.mission .line {
  width: 58px;
  height: 3px;
  margin: 20px 0 18px;
  border-radius: 99px;
  background: var(--green);
}

.mission span {
  display: block;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.58;
}

.product-section,
.privacy-section,
.contact {
  width: min(100% - 32px, 1120px);
  margin: 34px auto;
  border-radius: 8px;
}

.product-section {
  display: grid;
  gap: 24px;
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.product-section p,
.privacy-section p,
.contact p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

.product-section p,
.contact p {
  margin: 0;
}

.product-card {
  display: grid;
  gap: 10px;
  align-content: center;
  min-height: 160px;
  padding: 24px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #4c8cff);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(20, 87, 230, .22);
}

.product-card span {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
}

.product-card small {
  opacity: .88;
}

.privacy-section {
  padding: 30px 24px;
  text-align: left;
  background: var(--soft-blue);
}

.privacy-section p {
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
}

.contact {
  display: grid;
  gap: 24px;
  align-items: start;
  padding: 28px 24px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.footer {
  display: grid;
  gap: 8px;
  padding: 28px 20px 34px;
  color: var(--muted);
  background: white;
  border-top: 1px solid var(--border);
  font-size: .95rem;
}

@media (min-width: 560px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nav {
    grid-column: 1 / -1;
  }

  .header-button {
    width: auto;
    min-width: 140px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .button {
    width: auto;
    min-width: 168px;
  }

  .features {
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
  }

  .features article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .product-section,
  .privacy-section,
  .contact {
    width: min(100% - 48px, 1120px);
    padding: 34px;
  }
}

@media (min-width: 820px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    padding: 0 5vw;
  }

  .brand img {
    width: 240px;
  }

  .nav {
    grid-column: auto;
    justify-content: center;
    overflow: visible;
    padding: 0;
  }

  .nav a {
    border: 0;
    padding: 32px 0 29px;
    background: transparent;
    border-radius: 0;
    position: relative;
  }

  .nav a.active,
  .nav a:hover {
    color: var(--blue);
    background: transparent;
  }

  .nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 3px;
    border-radius: 99px;
    background: var(--blue);
  }

  .header-button {
    min-height: 52px;
    padding: 0 24px;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    min-height: 620px;
    background:
      linear-gradient(90deg, #f5fbff 0%, #f5fbff 44%, rgba(245, 251, 255, .56) 61%, rgba(245, 251, 255, .04) 100%);
  }

  .hero-copy {
    order: 1;
    padding: 82px 0 86px 5vw;
    align-self: center;
    z-index: 1;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.8rem, 6vw, 5.1rem);
  }

  .hero p {
    font-size: clamp(1.18rem, 1.5vw, 1.42rem);
  }

  .hero-image {
    order: 2;
    min-height: 620px;
  }

  .hero-image::after {
    inset: 0;
    width: 58%;
    height: 100%;
    background: linear-gradient(90deg, rgba(247, 251, 255, .96), rgba(247, 251, 255, .42) 44%, rgba(247, 251, 255, 0));
  }

  .features {
    padding: 46px 5vw 72px;
  }

  .features article {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    gap: 0;
    padding: 0 26px;
    text-align: center;
    border-bottom: 0;
    border-right: 1px solid var(--border);
  }

  .features article:nth-child(2) {
    border-right: 0;
  }

  .features h2,
  .features p {
    grid-column: auto;
  }

  .icon {
    width: 78px;
    height: 78px;
    margin-bottom: 20px;
    font-size: 1.9rem;
  }

  .mission {
    text-align: center;
    padding: 66px 24px 78px;
  }

  .mission .line {
    margin-left: auto;
    margin-right: auto;
  }

  .mission span {
    margin: 0 auto;
  }

  .product-section {
    grid-template-columns: 1.18fr .82fr;
    gap: 36px;
    align-items: center;
  }

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

  .privacy-section p {
    margin-left: auto;
  }

  .contact {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer {
    grid-template-columns: 1fr auto;
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

@media (min-width: 1120px) {
  .site-header {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .brand img {
    width: 265px;
  }

  .nav {
    gap: 42px;
    font-size: 1.03rem;
  }

  .hero-copy {
    padding-left: 7vw;
  }

  .features {
    grid-template-columns: repeat(4, 1fr);
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .features article:nth-child(2) {
    border-right: 1px solid var(--border);
  }

  .features article:last-child {
    border-right: 0;
  }

  .product-section,
  .privacy-section,
  .contact {
    margin-top: 64px;
    margin-bottom: 64px;
    padding: 44px;
  }
}
