:root {
  --navy: #102169;
  --navy-deep: #0c1848;
  --ink: #102169;
  --muted: #3c4d78;
  --green: #1c8c38;
  --green-badge: #24963c;
  --card-top: #2a4ec0;
  --card-bottom: #17348a;
  --orange: #f5b423;
  --cyan: #1eb6f5;
  --line: rgba(16, 33, 105, 0.12);
  --shell: min(1080px, calc(100% - 2.5rem));
  --font-display: "Nunito", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  background: #fff;
  min-height: 100vh;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: var(--navy);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.ribbon {
  height: 6px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--cyan) 46%, #1a4fd0 100%);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.top {
  background: #fff;
}

.top__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 3.25rem;
}

.top__home {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
}

.top__home:hover {
  color: var(--green);
}

.hero {
  padding: 0.25rem 0 3.5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  column-gap: 2.5rem;
  row-gap: 0.85rem;
  align-items: center;
  grid-template-areas:
    "logo art"
    "title art"
    "lead art"
    "stores art"
    "note art";
}

.hero__grid > * {
  min-width: 0;
}

.logo {
  grid-area: logo;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin-bottom: 0.35rem;
}

.title {
  grid-area: title;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
}

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

.lead {
  grid-area: lead;
  margin: 0.15rem 0 0.35rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.art {
  grid-area: art;
  display: flex;
  justify-content: center;
}

.art img {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.stores {
  grid-area: stores;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: max-content;
  max-width: 100%;
  align-items: start;
  justify-content: start;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.store.store--apple {
  --orange: #f7a21b;
  border: 1.5px solid #111;
  box-shadow: 0 10px 24px rgba(16, 33, 105, 0.12);
  border-radius: 12px;
  width: auto;
  min-width: 11.5rem;
}

.store.store--apple .apple-main {
  height: 3.35rem;
  min-height: 3.35rem;
  gap: 0.7rem;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
}

.store.store--apple svg {
  width: 1.55rem;
  height: 1.55rem;
}

.store.store--apple small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.82;
}

.store.store--apple strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.store.store--apple:hover {
  transform: translateY(-1px);
}

.store.store--apple:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.avise-dialog {
  --blue-deep: #0031a1;
  --ink: #10244f;
  --muted: #3e5178;
  --line: rgba(0, 49, 161, 0.12);
  --orange: #f7a21b;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  min-width: 11.5rem;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border: 1.5px solid #111;
  box-shadow: 0 10px 24px rgba(16, 33, 105, 0.12);
}

a.badge:hover {
  transform: translateY(-1px);
  background: #000;
}

a.badge:focus-visible,
.top__home:focus-visible,
.footer__links a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.badge--soon {
  background: #f4f7fb;
  color: var(--navy);
  border-color: rgba(16, 33, 105, 0.16);
  box-shadow: none;
  cursor: default;
}

.badge__icon {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
}

.badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.badge__kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.82;
}

.badge__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.note {
  grid-area: note;
  margin: 0.15rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.note strong {
  color: var(--navy);
  font-weight: 600;
}

.features {
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(30, 182, 245, 0.12), transparent 60%),
    linear-gradient(180deg, #f7f9fd 0%, #fff 100%);
  padding: 3.5rem 0 4.25rem;
  border-top: 1px solid var(--line);
}

.features h2 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.features h2 .brand,
.features h2 span {
  color: var(--green);
}

.features__lead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.cards {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0.4rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.15rem;
}

.cards li {
  position: relative;
  margin: 0;
  min-height: 8.5rem;
  padding: 1.85rem 1.35rem 1.35rem;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(165deg, var(--card-top) 0%, var(--card-bottom) 100%);
  box-shadow: 0 16px 36px rgba(16, 33, 105, 0.16);
}

.cards p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.num {
  position: absolute;
  top: -0.85rem;
  left: 1.15rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-badge);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 6px 14px rgba(36, 150, 60, 0.35);
}

.site-footer {
  background: var(--navy);
  color: #e7ecf8;
  padding: 2rem 0 2.25rem;
}

.footer__inner {
  display: grid;
  gap: 0.55rem;
}

.footer__inner p {
  margin: 0;
}

.disclaimer {
  max-width: 42rem;
  color: rgba(231, 236, 248, 0.82);
  font-size: 0.95rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.35rem;
}

.footer__links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

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

@media (max-width: 840px) {
  .hero {
    padding-bottom: 2.5rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "logo"
      "title"
      "lead"
      "art"
      "stores"
      "note";
    row-gap: 0.7rem;
  }

  .art img {
    width: min(100%, 320px);
    margin-inline: auto;
    margin-top: 0.25rem;
  }

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

  .features h2 {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .stores {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .badge,
  .store.store--apple {
    width: 100%;
  }
}

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

  a.badge:hover {
    transform: none;
  }
}
