:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #141b35;
  background: #f6f7fc;
  line-height: 1.55;
  scroll-padding-block-start: 1.5rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

h1, h2, h3, p {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: .25em;
}

a:focus-visible {
  outline: 3px solid #4b53be;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1;
  padding: .75rem 1rem;
  background: #fff;
  transform: translateY(-145%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - clamp(2rem, 8vw, 7rem), 71rem);
  margin-inline: auto;
}

.site-header,
.site-footer {
  background: #fff;
  border-block: 1px solid #e3e6f1;
}

.header-inner,
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 4.35rem;
  gap: .35rem 1.5rem;
  padding-block: .75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 750;
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand img {
  flex: none;
}

.navigation {
  display: flex;
  gap: clamp(.75rem, 3vw, 2rem);
  font-size: .9375rem;
}

.navigation a {
  color: #3f4965;
  text-decoration: none;
}

.navigation a:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(3rem, 8vw, 7.5rem);
}

.platform {
  margin-block-end: 1.05rem;
  color: #424bb0;
  font-size: .875rem;
  font-weight: 700;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 6.6vw, 5.6rem);
  line-height: .99;
  letter-spacing: -.08em;
}

h1 span {
  display: block;
  color: #424bb0;
}

.hero-summary {
  max-width: 36ch;
  margin-block: 1.6rem;
  color: #39435d;
  font-size: clamp(1.06rem, 1.6vw, 1.25rem);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3rem;
  padding: .65rem 1rem;
  border: 1px solid #252c67;
  border-radius: .7rem;
  background: #252c67;
  color: #fff;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.primary-link:hover {
  background: #373f8b;
}

.local-note {
  max-width: 44ch;
  margin-block-start: .8rem;
  color: #4b5470;
  font-size: .875rem;
}

.brand-visual {
  --grid-step: 26px;
  display: grid;
  place-items: center;
  aspect-ratio: 1.13;
  overflow: hidden;
  border: 1px solid #dce0f6;
  border-radius: clamp(1.15rem, 3vw, 2.1rem);
  background-image:
    radial-gradient(ellipse at 51% 49%, #d9defe, transparent 75%),
    linear-gradient(to right, #dadef3 1px, transparent 1px),
    linear-gradient(to bottom, #dadef3 1px, transparent 1px);
  background-color: #eef0fc;
  background-position: center;
  background-size: auto, var(--grid-step) var(--grid-step), var(--grid-step) var(--grid-step);
}

.focus-frame {
  --guide: #5965cb;
  --guide-length: 19px;
  --guide-thickness: 2px;
  display: grid;
  place-items: center;
  width: 69%;
  aspect-ratio: 1;
  background-image:
    linear-gradient(var(--guide), var(--guide)), linear-gradient(var(--guide), var(--guide)),
    linear-gradient(var(--guide), var(--guide)), linear-gradient(var(--guide), var(--guide)),
    linear-gradient(var(--guide), var(--guide)), linear-gradient(var(--guide), var(--guide)),
    linear-gradient(var(--guide), var(--guide)), linear-gradient(var(--guide), var(--guide));
  background-position: top left, top left, top right, top right, bottom left, bottom left, bottom right, bottom right;
  background-repeat: no-repeat;
  background-size: var(--guide-length) var(--guide-thickness), var(--guide-thickness) var(--guide-length);
}

.focus-frame img {
  display: block;
  width: 85%;
  height: auto;
  filter: drop-shadow(0 1rem 1rem #202c8440);
}

.features {
  padding-block-end: clamp(2.5rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-block-start: 1.25rem;
}

.feature {
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border: 1px solid #e0e4f4;
  border-radius: 1rem;
  background: #fff;
}

.feature h3 {
  font-size: 1.1rem;
  line-height: 1.25;
}

.feature p {
  margin-block-start: .6rem;
  color: #49536d;
}

.account {
  display: grid;
  gap: .9rem 2rem;
  grid-template-columns: minmax(11rem, .63fr) minmax(0, 1fr);
  margin-block-end: clamp(3rem, 7vw, 5.5rem);
  padding: clamp(1.25rem, 4.5vw, 3rem);
  border-radius: 1rem;
  background: #131b3d;
  color: #fff;
}

.account p {
  max-width: 55ch;
  color: #dce2fa;
}

.footer-inner {
  color: #39435d;
  font-size: .875rem;
}

@media (max-width: 50rem) {
  .hero {
    grid-template-columns: 1fr;
  }

  .brand-visual {
    max-width: 32rem;
  }
}

@media (max-width: 40rem) {
  .feature-grid,
  .account {
    grid-template-columns: 1fr;
  }
}
