@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --text: #15171d;
  --muted: #747b8c;
  --blue: #4f7cff;
  --border: rgba(35, 42, 66, .08);
  --shadow: 0 28px 90px rgba(52, 80, 140, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 235, 205, .68), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(210, 226, 255, .9), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, #f5f8ff 100%);
  overflow-x: hidden;
}

.wave {
  position: fixed;
  inset: auto 0 0 0;
  height: 34vh;
  min-height: 260px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.wave img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .18;
  background-image: radial-gradient(rgba(50, 70, 120, .16) .7px, transparent .7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
}

main {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 960px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.screen {
  width: 100%;
  text-align: center;
  transform: translateY(-10px);
}

.kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
  letter-spacing: .38em;
  text-indent: .38em;
  font-weight: 700;
}

h1 {
  margin: 0 0 52px;
  font-size: clamp(44px, 7.2vw, 78px);
  line-height: .96;
  letter-spacing: -.075em;
  font-weight: 760;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  text-align: left;
}

.card {
  position: relative;
  min-height: 300px;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,255,255,.54));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: auto -25% -35% auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(79,124,255,.18), transparent 64%);
  opacity: .75;
  transition: opacity .2s ease, transform .2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 124, 255, .22);
  box-shadow: 0 34px 110px rgba(52, 80, 140, .20);
}

.card:hover::before {
  opacity: 1;
  transform: scale(1.08);
}

.icon {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(145deg, rgba(79,124,255,.12), rgba(79,124,255,.035));
  border: 1px solid rgba(79,124,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
}

.icon img { width: 38px; height: 38px; }

.title {
  margin-top: 56px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 720;
}

.sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.35;
}

.arrow {
  position: absolute;
  left: 34px;
  bottom: 34px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(255,255,255,.38);
  border: 1px solid rgba(79,124,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: transform .2s ease, background .2s ease;
}

.arrow img { width: 23px; height: 23px; }

.card:hover .arrow {
  transform: translateX(5px);
  background: rgba(255,255,255,.7);
}

@media (max-width: 760px) {
  .wave { height: 36vh; min-height: 250px; }

  main {
    width: min(100% - 28px, 520px);
    padding: 34px 0;
    place-items: start center;
  }

  .screen {
    transform: none;
    padding-top: 32px;
  }

  .kicker {
    font-size: 13px;
    margin-bottom: 12px;
  }

  h1 {
    margin-bottom: 30px;
    font-size: clamp(34px, 11vw, 48px);
    letter-spacing: -.065em;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    min-height: 196px;
    padding: 22px;
    border-radius: 22px;
  }

  .icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .icon img { width: 27px; height: 27px; }

  .title {
    margin-top: 30px;
    font-size: 24px;
  }

  .sub {
    margin-top: 8px;
    font-size: 14px;
    max-width: 230px;
  }

  .arrow {
    left: auto;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
  }

  .arrow img { width: 20px; height: 20px; }
}

@media (max-width: 380px) {
  main { width: min(100% - 20px, 360px); }
  .card { min-height: 182px; }
}
