:root {
  --ink: #172536;
  --muted: #667386;
  --blue: #287df1;
  --blue-hover: #176be0;
  --focus: rgba(40, 125, 241, .28);
  --surface: #f4f7fb;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--surface); }

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 14%, rgba(83, 148, 242, .11), transparent 27rem),
    radial-gradient(circle at 88% 82%, rgba(255, 211, 78, .15), transparent 24rem),
    var(--surface);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(40, 125, 241, .08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

body::before { top: -12rem; right: -8rem; }
body::after { bottom: -15rem; left: -7rem; }

.home {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 54px);
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vh, 92px) 24px 36px;
}

.home__content {
  width: min(100%, 680px);
  text-align: center;
}

.brand {
  width: 184px;
  height: 76px;
  display: block;
  margin: 0 auto 34px;
  border-radius: 16px;
}

.brand__crop {
  position: relative;
  width: 184px;
  height: 76px;
  display: block;
  overflow: hidden;
}

.brand__crop img {
  position: absolute;
  top: -78px;
  left: -88px;
  width: 360px;
  height: 240px;
  max-width: none;
}

h1 {
  max-width: 660px;
  margin: 0 auto 24px;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.home__lead {
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.55;
  text-wrap: pretty;
}

.home__cta {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 27px;
  border-radius: 12px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(40, 125, 241, .24);
  font-size: 16px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.home__cta svg { width: 20px; height: 20px; }

.home__cta:hover {
  background: var(--blue-hover);
  box-shadow: 0 20px 46px rgba(40, 125, 241, .3);
  transform: translateY(-2px);
}

.home__cta:focus-visible,
.brand:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}

.home__note {
  margin: 15px 0 0;
  color: #7b8695;
  font-size: 13px;
  font-weight: 600;
}

.footer {
  position: relative;
  z-index: 1;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  color: #8a94a2;
  font-size: 12px;
}

@media (max-width: 520px) {
  .home { padding-right: 20px; padding-left: 20px; }
  .brand { margin-bottom: 28px; }
  h1 { font-size: clamp(40px, 13vw, 56px); }
  .home__lead br { display: none; }
  .home__cta { width: min(100%, 280px); }
}

@media (prefers-reduced-motion: reduce) {
  .home__cta { transition: none; }
}
