:root {
  --blue: #3366ff;
  --blue-dark: #244fd4;
  --blue-light: #eef3ff;
  --ink: #1f2937;
  --text: #4b5563;
  --muted: #9ca3af;
  --line: #e8ecf4;
  --white: #fff;
  --orange: #ff9933;
  --green: #10b981;
  --font: "Manrope", sans-serif;
  --brand: "Nunito Sans", sans-serif;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.logo {
  color: var(--blue);
  font-family: var(--brand);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo span {
  color: #353535;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding-inline: 20px;
  font-size: 0.85rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgb(51 102 255 / 13%), transparent 28%),
    linear-gradient(180deg, #f7f9ff 0%, #fff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(51 102 255 / 17%) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 64px;
  padding-block: 72px 56px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #b9caff;
}

.hero h1,
.section-heading h2,
.plan-copy h2,
.pigi-copy h2,
.download-panel h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(2.9rem, 5vw, 4.65rem);
}

.hero h1 strong {
  color: var(--blue);
  font-weight: 800;
}

.hero-copy > p {
  max-width: 550px;
  margin: 24px 0 32px;
  color: var(--text);
  font-size: 1.07rem;
  font-weight: 500;
  line-height: 1.75;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button {
  width: 184px;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 17px;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgb(51 102 255 / 22%);
}

.store-button-light {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.store-button small,
.store-button b {
  display: block;
  line-height: 1.2;
}

.store-button small {
  margin-bottom: 2px;
  font-size: 0.67rem;
  font-weight: 600;
  opacity: 0.72;
}

.store-button b {
  font-size: 0.96rem;
  font-weight: 800;
}

.store-logo {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
}

.play-logo {
  padding: 1px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: min(100%, 500px);
  height: 540px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgb(51 102 255 / 12%);
  border-radius: 40px;
  background: linear-gradient(155deg, #e7edff 0%, #cad8ff 100%);
  box-shadow: 0 28px 70px rgb(51 102 255 / 17%);
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  top: 70px;
  border-radius: 50%;
  background: rgb(255 255 255 / 38%);
}

.hero-card > img {
  position: relative;
  z-index: 1;
  width: 94%;
  max-height: 490px;
  object-fit: contain;
  object-position: bottom;
}

.visual-label {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 28px;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 8px 22px rgb(40 64 120 / 10%);
  font-size: 0.78rem;
  font-weight: 800;
}

.visual-message {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 24px;
  min-width: 245px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 16px;
  background: rgb(255 255 255 / 91%);
  box-shadow: 0 16px 34px rgb(36 64 138 / 18%);
  backdrop-filter: blur(10px);
}

.message-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgb(16 185 129 / 12%);
  color: var(--green);
  font-weight: 800;
}

.visual-message b,
.visual-message small {
  display: block;
}

.visual-message b {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.8rem;
}

.visual-message small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.trust-strip {
  border-block: 1px solid var(--line);
}

.trust-grid {
  min-height: 108px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-grid > div {
  padding-inline: 32px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:last-child {
  border: 0;
}

.trust-grid b,
.trust-grid span {
  display: block;
}

.trust-grid b {
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.section {
  padding-block: 112px;
}

.section-compact {
  padding-block: 0 112px;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 48px;
}

.section-heading h2,
.plan-copy h2,
.pigi-copy h2,
.download-panel h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.section-heading > p,
.pigi-copy > p {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  padding: 18px 18px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.feature-image {
  height: 210px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 15px;
}

.feature-image img {
  width: 145px;
  height: 145px;
  object-fit: contain;
}

.image-blue {
  background: #eef3ff;
}

.image-orange {
  background: #fff5e9;
}

.image-green {
  background: #edfbf6;
}

.feature-number {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
}

.feature-card h3 {
  margin: 7px 0 8px;
  font-size: 1.12rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.65;
}

.plan-panel {
  min-height: 530px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(130deg, #2f60f5 0%, #7194ff 100%);
  color: var(--white);
}

.plan-copy {
  padding: 68px;
}

.plan-copy > p {
  max-width: 530px;
  margin: 20px 0 28px;
  color: #d7e1ff;
  line-height: 1.7;
}

.plan-copy ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #eff3ff;
  font-size: 0.9rem;
  font-weight: 600;
}

.plan-copy li::before {
  content: "✓";
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-right: 10px;
  border-radius: 8px;
  background: rgb(255 255 255 / 14%);
}

.plan-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.plan-visual::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: rgb(255 255 255 / 12%);
}

.plan-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: 480px;
  object-fit: contain;
  object-position: right bottom;
}

.pigi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 88px;
}

.pigi-visual {
  display: flex;
  justify-content: center;
}

.pigi-circle {
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #f1f4ff, #dbe5ff);
}

.pigi-circle img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: center bottom;
}

.pigi-copy {
  max-width: 520px;
}

.pigi-note {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbff;
}

.pigi-note > span {
  font-size: 1.55rem;
}

.pigi-note p {
  margin: 0;
}

.pigi-note b,
.pigi-note small {
  display: block;
}

.pigi-note b {
  font-size: 0.85rem;
}

.pigi-note small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.download-section {
  padding: 0 0 72px;
}

.download-panel {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding: 58px 68px;
  border-radius: 30px;
  background: var(--blue);
  color: var(--white);
}

.download-panel > div:first-child {
  max-width: 580px;
}

.download-panel p {
  margin: 18px 0 0;
  color: #c9d7ff;
}

.store-button-dark {
  background: #111827;
  border-color: #111827;
}

.store-button-dark:hover {
  box-shadow: 0 12px 28px rgb(17 24 39 / 25%);
}

.store-button-white {
  background: var(--white);
  color: var(--ink);
  border-color: rgb(255 255 255 / 70%);
}

.footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-inner p,
.footer-inner > span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-inner > span {
  justify-self: end;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 72px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-card {
    height: 500px;
  }

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

  .feature-card {
    display: grid;
    grid-template-columns: 170px 1fr;
    column-gap: 22px;
    align-items: center;
  }

  .feature-image {
    grid-row: 1 / 5;
    height: 170px;
    margin: 0;
  }

  .feature-image img {
    width: 115px;
    height: 115px;
  }

  .plan-panel {
    grid-template-columns: 1fr;
  }

  .plan-copy {
    padding: 52px;
  }

  .plan-visual {
    min-height: 300px;
  }

  .pigi-grid {
    gap: 44px;
  }

  .download-panel {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 64px;
  }

  .button-small {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.74rem;
  }

  .hero-grid {
    padding-block: 56px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
  }

  .hero-card {
    height: 390px;
    border-radius: 28px;
  }

  .visual-label {
    top: 18px;
    left: 18px;
  }

  .visual-message {
    right: 14px;
    bottom: 14px;
    min-width: 220px;
  }

  .store-button {
    width: auto;
    min-width: 0;
    flex: 1 1 165px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding-block: 12px;
  }

  .trust-grid > div,
  .trust-grid > div:first-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 80px;
  }

  .section-compact {
    padding-block: 0 80px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .feature-card {
    display: block;
  }

  .feature-image {
    height: 190px;
    margin-bottom: 22px;
  }

  .feature-image img {
    width: 130px;
    height: 130px;
  }

  .plan-panel {
    min-height: auto;
    border-radius: 24px;
  }

  .plan-copy {
    padding: 38px 26px;
  }

  .plan-visual {
    min-height: 240px;
  }

  .plan-visual img {
    max-height: 280px;
  }

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

  .pigi-visual {
    order: 2;
  }

  .pigi-circle {
    max-width: 380px;
  }

  .download-section {
    padding-bottom: 40px;
  }

  .download-panel {
    min-height: auto;
    padding: 38px 26px;
    border-radius: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 28px;
    text-align: center;
  }

  .footer-inner > span {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: fade-up 650ms ease both;
  }

  .hero-card {
    animation: fade-up 700ms 100ms ease both;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
