:root {
  color-scheme: light;
  --ink: #062438;
  --muted: #637481;
  --paper: #ffffff;
  --surface: rgba(255, 255, 255, 0.84);
  --blue: #075f99;
  --blue-deep: #022f46;
  --blue-soft: #dff3ff;
  --red: #ec1726;
  --red-deep: #b60918;
  --line: rgba(5, 77, 120, 0.16);
  --cream: #fff7f0;
  --shadow: 0 26px 70px rgba(3, 40, 62, 0.16);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(236, 23, 38, 0.05) 0 12%, transparent 12% 88%, rgba(7, 95, 153, 0.06) 88%),
    radial-gradient(circle at 14% 7%, rgba(236, 23, 38, 0.12), transparent 26rem),
    radial-gradient(circle at 84% 11%, rgba(0, 151, 219, 0.18), transparent 32rem),
    radial-gradient(circle at 48% 64%, rgba(255, 255, 255, 0.96), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f4fbff 45%, #fff8f8 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: #fff;
  padding: 0.7rem 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(5, 77, 120, 0.12);
  background: rgba(248, 252, 255, 0.88);
  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 {
  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,
.actions,
.site-footer div {
  align-items: center;
  display: flex;
}

.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: 850;
  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 {
  background: rgba(7, 95, 153, 0.12);
  color: var(--ink);
}

.nav-store {
  align-items: center;
  background: var(--red);
  box-shadow: 0 12px 26px rgba(236, 23, 38, 0.22);
  color: #fff;
  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.05rem;
  width: 1.05rem;
}

.nav-store:hover {
  background: var(--red-deep);
}

main {
  overflow: hidden;
}

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

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

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

.app-icon {
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(3, 40, 62, 0.18);
  margin-bottom: 1.5rem;
}

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

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

h1 {
  font-size: clamp(3.05rem, 7.6vw, 6.35rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 1rem;
}

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

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

h3 {
  font-size: 1.12rem;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

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

.subtitle {
  color: #183447;
  font-size: clamp(1.35rem, 2.5vw, 2.06rem);
  font-weight: 850;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

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

.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: 850;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  box-shadow: 0 12px 26px rgba(236, 23, 38, 0.22);
  color: #fff;
}

.button.primary:hover {
  background: var(--red-deep);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: rgba(7, 95, 153, 0.45);
}

.hero-visual {
  min-height: 670px;
  position: relative;
}

.radio-glow {
  background:
    radial-gradient(circle, rgba(236, 23, 38, 0.18), transparent 34%),
    radial-gradient(circle at 64% 44%, rgba(7, 95, 153, 0.22), transparent 42%);
  filter: blur(8px);
  inset: 4rem 0 2rem;
  position: absolute;
}

.phone-stage {
  height: 100%;
  min-height: 670px;
  position: relative;
}

.phone-frame {
  background: #fff;
  border: 1px solid rgba(5, 77, 120, 0.16);
  border-radius: 34px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.phone-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.phone-frame.primary {
  aspect-ratio: 1206 / 2622;
  margin: 0 auto;
  max-height: 670px;
  position: relative;
  width: min(58vw, 310px);
  z-index: 2;
}

.phone-frame.side {
  aspect-ratio: 1206 / 2622;
  position: absolute;
  top: 7.4rem;
  width: min(44vw, 210px);
  z-index: 1;
}

.phone-frame.side.left {
  left: 0.2rem;
  transform: rotate(-6deg);
}

.phone-frame.side.right {
  right: 0.2rem;
  transform: rotate(6deg);
}

.content-band {
  max-width: none;
  background:
    linear-gradient(120deg, rgba(223, 243, 255, 0.82), rgba(255, 247, 240, 0.86)),
    var(--paper);
}

.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,
.support-grid {
  display: grid;
  gap: 0.8rem;
}

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

.feature-list div,
.info-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  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,
.info-panel p {
  color: var(--muted);
}

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

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

.screen-grid {
  align-items: start;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.4rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.screen-card {
  min-width: 0;
}

.screen-card .phone-frame {
  border-radius: 28px;
  margin-bottom: 1rem;
}

.screen-card h3,
.screen-card p {
  padding: 0 0.25rem;
}

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

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

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

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

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

.legal-copy {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 840px;
  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(5, 77, 120, 0.12);
  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: 1040px) {
  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-visual,
  .phone-stage {
    min-height: 600px;
  }

  .phone-frame.primary {
    width: min(58vw, 300px);
  }
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 0;
    padding: 1rem 0;
  }

  .nav-links {
    margin-left: 0;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .nav-store {
    align-self: stretch;
  }

  .hero,
  .content-band,
  .screens-section,
  .page-shell {
    padding: 4rem 1rem;
  }

  .hero-visual,
  .phone-stage {
    min-height: 500px;
  }

  .phone-frame.primary {
    width: min(68vw, 270px);
  }

  .phone-frame.side {
    opacity: 0.88;
    top: 5.2rem;
    width: min(39vw, 160px);
  }

  .phone-frame.side.left {
    left: -0.4rem;
  }

  .phone-frame.side.right {
    right: -0.4rem;
  }

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

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

@media (prefers-reduced-motion: no-preference) {
  .phone-frame.primary {
    animation: floatPhone 6s ease-in-out infinite;
  }

  @keyframes floatPhone {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-10px);
    }
  }
}
