:root {
  color-scheme: light;
  --ink: #172538;
  --muted: #587083;
  --blue: #0b6ea8;
  --blue-dark: #064f78;
  --red: #f2544b;
  --green: #15976d;
  --mint: #e7f8ef;
  --sun: #fff4cc;
  --rose: #ffe4de;
  --paper: #ffffff;
  --wash: #f8fbf6;
  --line: #d9ebe8;
  --shadow: 0 24px 70px rgba(12, 75, 88, 0.16);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(21, 151, 109, 0.14), transparent 30rem),
    radial-gradient(circle at 88% 8%, rgba(242, 84, 75, 0.13), transparent 26rem),
    linear-gradient(180deg, #fbfdff 0%, var(--wash) 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 0.7rem 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(219, 230, 238, 0.78);
  background: rgba(251, 253, 255, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 88px;
  padding: 0;
  width: min(var(--max), calc(100% - 40px));
}

.brand,
.nav-links,
.actions,
.site-footer div {
  align-items: center;
  display: flex;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
  width: clamp(210px, 19vw, 260px);
}

.brand img {
  aspect-ratio: 1405 / 389;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.nav-links {
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a,
.site-footer a,
.nav-store {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a,
.site-footer a {
  padding: 0.62rem 0.82rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.site-footer a:hover {
  color: var(--ink);
  background: rgba(8, 120, 255, 0.08);
}

.nav-store {
  align-items: center;
  background: #0b63d8;
  box-shadow: 0 12px 24px rgba(11, 99, 216, 0.18);
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.45rem;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
}

.nav-store svg {
  fill: currentColor;
  height: 1.02rem;
  width: 1.02rem;
}

.nav-store:hover {
  background: #084aa5;
}

main {
  overflow: hidden;
}

.hero,
.developer-hero,
.page-shell,
.content-band,
.gallery-section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 6rem 1.25rem;
}

.developer-hero,
.app-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  min-height: calc(100vh - 72px);
}

.developer-copy,
.hero-copy,
.page-header,
.section-heading {
  max-width: 660px;
  min-width: 0;
}

.section-label {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 1rem;
}

.app-hero h1 {
  font-size: clamp(2.2rem, 12vw, 6.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 1rem;
}

p {
  color: var(--muted);
  font-size: 1.08rem;
}

.subtitle {
  color: #30445a;
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.app-icon {
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(23, 37, 56, 0.16);
  margin-bottom: 1.5rem;
}

.app-icon.small {
  border-radius: 18px;
  margin-bottom: 1.2rem;
}

.actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  text-decoration: none;
}

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 26px rgba(11, 110, 168, 0.24);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: rgba(21, 151, 109, 0.42);
}

.button.app-store-placeholder {
  background: var(--ink);
  color: white;
}

.button.app-store-placeholder:hover {
  background: #0b1625;
}

.hero-visual {
  justify-self: center;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% -16% auto auto;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--rose);
  z-index: -1;
}

.hero-visual img {
  border-radius: 30px;
  max-height: min(78vh, 720px);
  object-fit: contain;
  filter: drop-shadow(0 28px 45px rgba(12, 75, 88, 0.22));
}

.promo-hero img {
  max-height: min(82vh, 760px);
}

.feature-card {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 241, 200, 0.82), rgba(233, 247, 242, 0.92)),
    var(--paper);
  border: 1px solid rgba(219, 230, 238, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.3rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  text-decoration: none;
}

.feature-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.35rem;
}

.feature-card p {
  margin-bottom: 0;
}

.sticker-strip {
  align-items: center;
  display: grid;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  grid-template-columns: repeat(6, minmax(72px, 1fr));
  margin: -1.8rem auto 2rem;
  max-width: var(--max);
  padding: 0 1.25rem;
}

.sticker-strip img {
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  width: 100%;
  filter: drop-shadow(0 12px 14px rgba(23, 37, 56, 0.18));
}

.content-band {
  max-width: none;
  background:
    linear-gradient(120deg, rgba(231, 248, 239, 0.96), rgba(255, 244, 204, 0.76)),
    var(--mint);
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.feature-list {
  display: grid;
  gap: 0.8rem;
}

.feature-list div,
.info-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(219, 230, 238, 0.88);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  font-size: 1.04rem;
  margin-bottom: 0.25rem;
}

.feature-list span {
  color: var(--muted);
}

.gallery-section {
  padding-top: 5rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.preview-grid {
  display: grid;
  align-items: start;
  gap: clamp(1rem, 3vw, 1.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-grid img {
  background: #fffdf4;
  border: 1px solid rgba(217, 235, 232, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: auto;
  object-fit: contain;
  width: 100%;
}

.promo-grid img {
  max-height: 980px;
}

.page-shell {
  min-height: calc(100vh - 180px);
}

.page-header {
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.support-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-panel h2,
.legal-copy h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.info-panel p,
.legal-copy p {
  font-size: 1rem;
}

.text-link,
.legal-copy a,
.page-header a {
  color: var(--blue-dark);
  font-weight: 800;
}

.legal-copy {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 820px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.legal-copy h2:not(:first-child) {
  margin-top: 2rem;
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgba(219, 230, 238, 0.88);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 1.3rem 1.25rem 2rem;
}

.site-footer p {
  font-size: 0.95rem;
  margin: 0;
}

.site-footer div {
  gap: 0.25rem;
}

@media (max-width: 860px) {
  .developer-hero,
  .app-hero,
  .split,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .developer-hero,
  .app-hero {
    min-height: 0;
    padding-top: 4rem;
  }

  .hero-visual {
    justify-self: stretch;
  }

  .hero-visual img {
    margin: 0 auto;
    max-height: 640px;
  }

  .sticker-strip {
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    margin-top: 0;
  }

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

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 0.9rem;
    padding-top: 0.9rem;
    width: calc(100% - 28px);
  }

  .nav-links {
    flex-wrap: wrap;
    margin-left: 0;
  }

  .nav-store {
    margin-top: 0.15rem;
  }

  .nav-links a {
    padding-left: 0.68rem;
    padding-right: 0.68rem;
  }

  .brand img {
    width: 100%;
  }

  .hero,
  .developer-hero,
  .page-shell,
  .content-band,
  .gallery-section {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(2.8rem, 18vw, 4.1rem);
  }

  .developer-copy,
  .hero-copy,
  .page-header,
  .section-heading {
    max-width: calc(100vw - 2.5rem);
  }

  .app-hero .hero-copy {
    max-width: min(100%, 21rem);
  }

  .app-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
