:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #65727d;
  --soft: #f7fbfb;
  --paper: #ffffff;
  --blue: #21aeea;
  --blue-deep: #1177b4;
  --coral: #ff5542;
  --orange: #ff9838;
  --green: #5fd967;
  --mint: #dbfff0;
  --sky: #cff3ff;
  --peach: #ffe5d1;
  --line: #cceef5;
  --shadow: 0 24px 70px rgba(30, 119, 151, 0.14);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 9% 6%, rgba(255, 229, 209, 0.9), transparent 28rem),
    radial-gradient(circle at 82% 14%, rgba(207, 243, 255, 0.9), transparent 34rem),
    radial-gradient(circle at 56% 58%, rgba(219, 255, 240, 0.7), transparent 34rem),
    linear-gradient(180deg, #fff9f3 0%, #f4fdff 47%, #f8fff8 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(204, 238, 245, 0.82);
  background: rgba(249, 253, 254, 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 {
  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: 800;
  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(33, 174, 234, 0.12);
  color: var(--ink);
}

.nav-store {
  align-items: center;
  background: #0b63d8;
  box-shadow: 0 12px 24px rgba(11, 99, 216, 0.18);
  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.02rem;
  width: 1.02rem;
}

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

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.92fr) minmax(340px, 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(16, 24, 32, 0.16);
  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.2rem, 8vw, 6.7rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 1rem;
}

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

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  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: #263746;
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  font-weight: 850;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.section-label {
  color: var(--blue-deep);
  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(--coral);
  box-shadow: 0 12px 26px rgba(255, 85, 66, 0.24);
  color: #fff;
}

.button.primary:hover {
  background: #de3c2b;
}

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

.button.secondary:hover {
  border-color: rgba(33, 174, 234, 0.55);
}

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

.phone-stack {
  height: 100%;
  min-height: 650px;
  position: relative;
}

.phone-frame {
  background: #fff;
  border: 1px solid rgba(190, 225, 233, 0.95);
  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: 1242 / 2688;
  margin-left: auto;
  max-height: 650px;
  position: relative;
  width: min(58vw, 305px);
  z-index: 2;
}

.phone-frame.secondary,
.phone-frame.tertiary {
  aspect-ratio: 1242 / 2688;
  position: absolute;
  width: min(44vw, 215px);
}

.phone-frame.secondary {
  left: 0;
  top: 5rem;
  transform: rotate(-5deg);
}

.phone-frame.tertiary {
  bottom: 2rem;
  right: 12.5rem;
  transform: rotate(4deg);
}

.pulse-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(204, 238, 245, 0.95);
  border-radius: var(--radius);
  bottom: 0.2rem;
  box-shadow: 0 18px 36px rgba(16, 24, 32, 0.12);
  display: grid;
  gap: 0.1rem;
  left: 1rem;
  min-width: 180px;
  padding: 1rem;
  position: absolute;
  z-index: 3;
}

.pulse-card strong {
  color: var(--coral);
  font-size: 1.9rem;
  line-height: 1;
}

.pulse-card span {
  color: var(--muted);
  font-weight: 750;
}

.content-band {
  max-width: none;
  background:
    linear-gradient(120deg, rgba(207, 243, 255, 0.72), rgba(219, 255, 240, 0.8)),
    var(--soft);
}

.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: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(204, 238, 245, 0.95);
  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, 3vw, 1.5rem);
  grid-template-columns: repeat(3, 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-deep);
  font-weight: 850;
}

.legal-copy {
  background: rgba(255, 255, 255, 0.76);
  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;
}

.legal-copy ul {
  color: var(--muted);
  padding-left: 1.2rem;
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgba(204, 238, 245, 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: 940px) {
  .hero,
  .split,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual,
  .phone-stack {
    min-height: 560px;
  }

  .phone-frame.primary {
    margin-right: 3%;
    max-height: 560px;
    width: min(58vw, 270px);
  }

  .phone-frame.secondary,
  .phone-frame.tertiary {
    width: min(40vw, 190px);
  }

  .phone-frame.tertiary {
    right: 34%;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    min-height: 0;
    padding: 1rem 0;
  }

  .brand {
    width: clamp(190px, 56vw, 230px);
  }

  .nav-links {
    flex: 1 1 100%;
    justify-content: flex-start;
    order: 3;
    overflow-x: auto;
  }

  .nav-store {
    min-height: 40px;
    padding: 0 0.9rem;
  }

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

  .hero-visual,
  .phone-stack {
    min-height: 485px;
  }

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

  .phone-frame.secondary {
    top: 3.4rem;
    width: min(42vw, 165px);
  }

  .phone-frame.tertiary {
    bottom: 2.8rem;
    right: 36%;
    width: min(42vw, 165px);
  }

  .pulse-card {
    min-width: 150px;
  }

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

  .screen-card {
    margin: 0 auto;
    max-width: 360px;
  }

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

@media (max-width: 460px) {
  .hero-visual,
  .phone-stack {
    min-height: 430px;
  }

  .phone-frame.primary {
    width: 210px;
  }

  .phone-frame.secondary,
  .phone-frame.tertiary {
    width: 142px;
  }

  .phone-frame.tertiary {
    right: 38%;
  }

  .pulse-card {
    bottom: 0;
    left: 0;
    min-width: 132px;
    padding: 0.8rem;
  }

  .pulse-card strong {
    font-size: 1.55rem;
  }
}
