:root {
  --navy-950: #061724;
  --navy-900: #0b2438;
  --navy-800: #123a55;
  --blue-600: #2e66df;
  --red-600: #dc2734;
  --yellow-600: #db7d00;
  --green-600: #18a64a;
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f6;
  --gray-200: #e2e8f0;
  --gray-500: #697586;
  --gray-700: #344054;
  --dark: #111a2f;
  --shadow: 0 24px 60px rgba(8, 31, 48, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dark);
  background: var(--gray-50);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   HEADER
   ========================================================= */

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  color: var(--white);
  background: rgba(6, 23, 36, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.mobile-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.mobile-header__signal {
  width: 12px;
  height: 12px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--red-600);
  box-shadow:
    0 0 0 7px rgba(220, 39, 52, 0.14),
    0 0 18px rgba(220, 39, 52, 0.5);
}

.mobile-header__link {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* =========================================================
   BASE
   ========================================================= */

.section-kicker {
  margin-bottom: 0.85rem;
  color: var(--red-600);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.82rem;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:active {
  transform: translateY(1px);
}

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-600), #b91f31);
  box-shadow: 0 14px 30px rgba(220, 39, 52, 0.24);
}

.button--secondary {
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--gray-200);
}

.button--secondary-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.content-section {
  padding: clamp(4.5rem, 12vw, 7rem) 1.15rem;
}

.content-section--light {
  background: var(--white);
}

.content-section--dark {
  color: var(--white);
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(54, 159, 199, 0.16),
      transparent 25%
    ),
    linear-gradient(145deg, var(--navy-950), var(--navy-900));
}

.content-section--soft {
  background: linear-gradient(180deg, #edf3f7, #f8fafc);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 2.4rem;
}

.section-heading h2,
.purpose-section h2,
.final-cta h2,
.limits-card h2 {
  margin-bottom: 1rem;
  color: var(--navy-950);
  font-size: clamp(2rem, 9vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading > p:last-child,
.limits-card > p {
  color: var(--gray-700);
  font-size: 0.98rem;
  line-height: 1.75;
}

.section-heading--light h2 {
  color: var(--white);
}

.section-heading--light > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

/* =========================================================
   HERO
   ========================================================= */

.mobile-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.15rem 4.8rem;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(49, 121, 160, 0.17),
      transparent 27%
    ),
    linear-gradient(180deg, #ffffff 0%, #edf3f7 100%);
}

.mobile-hero::before {
  content: "";
  position: absolute;
  inset: auto -110px -150px auto;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(220, 39, 52, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(220, 39, 52, 0.025),
    0 0 0 110px rgba(220, 39, 52, 0.018);
}

.mobile-hero__copy,
.mobile-hero__visual {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-inline: auto;
}

.mobile-hero h1 {
  margin-bottom: 1.35rem;
  color: var(--navy-950);
  font-size: clamp(2.55rem, 11vw, 5rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.97;
  text-wrap: balance;
}

.mobile-hero__lead {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.78;
}

.mobile-hero__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.mobile-hero__visual {
  margin-top: 3rem;
}

.mobile-hero__status {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: -12px auto 0;
  padding: 0.7rem 0.9rem;
  color: #c9f7d6;
  background: var(--navy-950);
  border: 1px solid rgba(74, 222, 128, 0.18);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.mobile-hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow:
    0 0 0 6px rgba(74, 222, 128, 0.1),
    0 0 14px rgba(74, 222, 128, 0.6);
}

/* =========================================================
   PHONE FRAMES
   ========================================================= */

.phone-frame {
  width: min(100%, 330px);
  margin-inline: auto;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(123, 151, 170, 0.22);
  border-radius: 34px;
  background: #0d1727;
  box-shadow:
    0 28px 65px rgba(4, 20, 32, 0.26),
    inset 0 1px rgba(255, 255, 255, 0.16);
}

.phone-frame img {
  width: 100%;
  border-radius: 27px;
}

.phone-frame--hero {
  transform: rotate(1.5deg);
}

.phone-frame--compact {
  width: min(100%, 290px);
}

/* =========================================================
   ACTIONS
   ========================================================= */

.action-grid {
  max-width: 760px;
  display: grid;
  gap: 1rem;
  margin-inline: auto;
}

.action-card {
  padding: 1.4rem;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  background: var(--gray-50);
  box-shadow: 0 14px 35px rgba(11, 36, 56, 0.05);
}

.action-card__number {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--blue-600);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.action-card h3 {
  margin-bottom: 0.45rem;
  color: var(--navy-950);
  font-size: 1.25rem;
}

.action-card p {
  color: var(--gray-700);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* =========================================================
   STORY
   ========================================================= */

.story-block {
  max-width: 760px;
  display: grid;
  gap: 2rem;
  align-items: center;
  margin: 0 auto;
  padding: 2.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.story-block:first-of-type {
  border-top: 0;
}

.story-block__step {
  display: block;
  margin-bottom: 0.7rem;
  color: #7dddf5;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.story-block h3 {
  margin-bottom: 0.8rem;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.story-block p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  line-height: 1.7;
}

.story-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  list-style: none;
}

.story-list li {
  position: relative;
  padding-left: 1.3rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 750;
}

.story-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
}

/* =========================================================
   ALERTS
   ========================================================= */

.alert-mobile-grid {
  max-width: 760px;
  display: grid;
  gap: 1rem;
  margin-inline: auto;
}

.alert-mobile-card {
  --alert-color: var(--blue-600);
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  background: var(--gray-50);
  box-shadow: 0 16px 38px rgba(9, 35, 53, 0.06);
}

.alert-mobile-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--alert-color);
}

.alert-mobile-card--red {
  --alert-color: var(--red-600);
}

.alert-mobile-card--yellow {
  --alert-color: var(--yellow-600);
}

.alert-mobile-card--blue {
  --alert-color: var(--blue-600);
}

.alert-mobile-card--green {
  --alert-color: var(--green-600);
}

.alert-mobile-card__code {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--alert-color);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.alert-mobile-card h3 {
  margin-bottom: 0.65rem;
  color: var(--navy-950);
  font-size: 1.4rem;
}

.alert-mobile-card p {
  color: var(--gray-700);
  font-size: 0.88rem;
  line-height: 1.65;
}

.alert-mobile-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--navy-900);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* =========================================================
   FEATURE SHOWCASE
   ========================================================= */

.feature-showcase {
  max-width: 760px;
  display: grid;
  gap: 2rem;
  margin-inline: auto;
}

.feature-showcase__item {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem;
  border: 1px solid rgba(122, 151, 171, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 44px rgba(10, 37, 55, 0.08);
}

.feature-showcase__label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--blue-600);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.feature-showcase h3 {
  margin-bottom: 0.7rem;
  color: var(--navy-950);
  font-size: 1.45rem;
  line-height: 1.2;
}

.feature-showcase p {
  color: var(--gray-700);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* =========================================================
   PURPOSE
   ========================================================= */

.purpose-section {
  padding: 5.5rem 1.15rem;
  color: var(--white);
  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(220, 39, 52, 0.15),
      transparent 28%
    ),
    linear-gradient(135deg, #071c2d, #0b3048);
}

.purpose-section__content {
  max-width: 760px;
  margin-inline: auto;
}

.purpose-section h2 {
  color: var(--white);
}

.purpose-section p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
  line-height: 1.78;
}

.purpose-section p + p {
  margin-top: 1rem;
}

/* =========================================================
   LIMITS
   ========================================================= */

.limits-card {
  max-width: 760px;
  margin-inline: auto;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  background: var(--gray-50);
}

.limits-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  list-style: none;
}

.limits-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--gray-700);
  font-size: 0.85rem;
  line-height: 1.6;
}

.limits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 900;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
  padding: 5.5rem 1.15rem;
  color: var(--white);
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(48, 151, 195, 0.16),
      transparent 27%
    ),
    linear-gradient(145deg, var(--navy-950), #092b42);
}

.final-cta__content {
  max-width: 700px;
  margin-inline: auto;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta__content > p:not(.section-kicker):not(.final-cta__note) {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
  line-height: 1.75;
}

.final-cta__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.final-cta__note {
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  line-height: 1.55;
}

/* =========================================================
   FOOTER
   ========================================================= */

.mobile-footer {
  display: grid;
  gap: 0.55rem;
  padding: 2.4rem 1.15rem;
  color: rgba(255, 255, 255, 0.55);
  background: #04131f;
  text-align: center;
}

.mobile-footer strong {
  color: var(--white);
  letter-spacing: 0.06em;
}

.mobile-footer p,
.mobile-footer a {
  font-size: 0.7rem;
}

.mobile-footer a {
  color: #8ddcf5;
}

/* =========================================================
   DESKTOP / TABLET
   ========================================================= */

@media (min-width: 700px) {
  .mobile-header {
    padding-inline: 2rem;
  }

  .mobile-hero {
    padding-inline: 2rem;
  }

  .mobile-hero__actions,
  .final-cta__actions {
    grid-template-columns: repeat(2, minmax(0, 220px));
  }

  .action-grid,
  .alert-mobile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-block {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  }

  .story-block--reverse .story-block__copy {
    order: 2;
  }

  .story-block--reverse .phone-frame {
    order: 1;
  }

  .feature-showcase__item {
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
    padding: 2rem;
  }
}

@media (min-width: 1050px) {
  .mobile-hero {
    min-height: calc(100svh - 66px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
    gap: 5rem;
    align-items: center;
    padding-inline: clamp(3rem, 8vw, 8rem);
  }

  .mobile-hero__copy,
  .mobile-hero__visual {
    max-width: none;
    margin: 0;
  }

  .mobile-hero__visual {
    display: grid;
    justify-items: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-hero__status-dot {
    animation: statusPulse 1.8s ease-in-out infinite;
  }
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}
