:root {
  --navy: #06386d;
  --deep-navy: #061f3f;
  --blue: #0b87d1;
  --sky: #54c8f5;
  --ice: #edf9ff;
  --mint: #28c7a3;
  --coral: #ff7d63;
  --gold: #f5ba45;
  --ink: #102033;
  --muted: #5d7085;
  --line: #d8eaf7;
  --white: #ffffff;
  --soft-white: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(6, 56, 109, 0.14);
  --soft-shadow: 0 16px 42px rgba(6, 56, 109, 0.09);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(84, 200, 245, 0.18), transparent 34rem),
    linear-gradient(215deg, rgba(40, 199, 163, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 42%, #ffffff 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(6, 56, 109, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 56, 109, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 56%);
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(11, 135, 209, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: 12px;
  z-index: 10;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--deep-navy);
  color: var(--white);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 800;
}

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

.site-header,
.hero,
.section,
.site-footer {
  width: min(1140px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-navy);
  text-decoration: none;
  font-weight: 850;
}

.brand {
  font-size: 1.18rem;
}

.brand-mark,
.footer-brand img {
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(6, 56, 109, 0.13);
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header nav a,
.site-footer nav a,
.text-link {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
  gap: clamp(32px, 6vw, 70px);
  align-items: center;
  min-height: min(760px, calc(100vh - 92px));
  padding: 42px 0 84px;
}

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

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--deep-navy);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.05rem, 8vw, 6.45rem);
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
}

h3 {
  font-size: 1.24rem;
}

.lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.33rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 22px;
  color: var(--deep-navy);
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue) 58%, #22aeea);
  box-shadow: 0 18px 34px rgba(11, 135, 209, 0.27);
}

.button.secondary {
  color: var(--deep-navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(6, 56, 109, 0.08);
}

.microcopy {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.icon-tile {
  position: absolute;
  right: 0;
  top: 0;
  width: min(58%, 300px);
  border: 1px solid rgba(216, 234, 247, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(16px);
}

.icon-tile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.phone-shell {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(76%, 350px);
  min-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 44px;
  background: linear-gradient(145deg, #102033, #06386d);
  box-shadow: 0 30px 80px rgba(6, 56, 109, 0.26);
  padding: 13px;
}

.phone-bar {
  width: 84px;
  height: 6px;
  margin: 6px auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.phone-screen {
  display: grid;
  place-items: center;
  min-height: 430px;
  border-radius: 31px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 249, 255, 0.96)),
    linear-gradient(135deg, rgba(84, 200, 245, 0.16), rgba(40, 199, 163, 0.08));
  padding: 18px;
}

.phone-app-icon {
  display: block;
  width: min(72%, 220px);
  height: auto;
  border-radius: 34px;
  box-shadow: 0 24px 54px rgba(6, 56, 109, 0.2);
}

.section {
  margin-top: 96px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow),
.privacy-copy p,
.download-panel p,
.note {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.step-grid,
.feature-grid,
.comparison {
  display: grid;
  gap: 18px;
}

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

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

.step-card,
.feature-card,
.plan-card,
.privacy-list,
.download-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-white);
  box-shadow: var(--soft-shadow);
}

.step-card,
.feature-card,
.plan-card,
.privacy-list {
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky), var(--navy));
  font-weight: 900;
}

.step-card p,
.feature-card p,
.plan-card p,
.plan-card li {
  color: var(--muted);
}

.tinted {
  width: 100%;
  max-width: none;
  padding: 88px max(20px, calc((100% - 1140px) / 2));
  background:
    linear-gradient(180deg, rgba(237, 249, 255, 0.74), rgba(255, 255, 255, 0.92)),
    linear-gradient(120deg, rgba(84, 200, 245, 0.16), rgba(40, 199, 163, 0.08));
}

.feature-card {
  min-height: 210px;
}

.feature-card h3 span,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 9px;
  background: rgba(245, 186, 69, 0.16);
  color: #8a5c00;
  font-size: 0.73rem;
  font-weight: 850;
  vertical-align: middle;
}

.comparison {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-card.pro {
  border-color: rgba(11, 135, 209, 0.36);
  background: linear-gradient(180deg, #ffffff, #f1fbff);
}

.plan-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.plan-card h3 {
  margin-top: 8px;
  font-size: 1.7rem;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 27px;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--blue));
}

.note {
  margin: 18px 0 0;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.privacy-copy {
  max-width: 540px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
}

.privacy-list {
  display: grid;
  gap: 12px;
}

.privacy-list p {
  position: relative;
  margin: 0;
  padding-left: 30px;
  color: var(--deep-navy);
  font-weight: 750;
}

.privacy-list p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--sky), var(--blue));
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--deep-navy);
  font-size: 1.06rem;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.download-panel {
  width: min(960px, calc(100% - 40px));
  margin: 104px auto 0;
  padding: clamp(30px, 6vw, 58px);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 249, 255, 0.94)),
    linear-gradient(135deg, rgba(11, 135, 209, 0.12), rgba(40, 199, 163, 0.08));
}

.download-panel p {
  max-width: 640px;
  margin: 16px auto 26px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-top: 80px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 7px 0 0;
  color: var(--muted);
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 26px;
  }

  .hero-visual {
    min-height: 520px;
    max-width: 620px;
  }

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    gap: 12px 16px;
  }

  .hero {
    padding-bottom: 52px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .icon-tile {
    width: min(56%, 230px);
  }

  .phone-shell {
    width: min(82%, 330px);
  }

  .comparison,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .site-footer,
  .download-panel {
    width: min(100% - 28px, 1140px);
  }

  .site-header {
    padding-top: 16px;
  }

  .site-header nav a {
    font-size: 0.95rem;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .button {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-visual {
    margin-top: 6px;
    min-height: 470px;
  }

  .icon-tile {
    right: 50%;
    transform: translateX(50%);
    width: min(72%, 240px);
  }

  .phone-shell {
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 326px);
    min-width: 0;
  }

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

  .tinted {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .step-card,
  .feature-card,
  .plan-card,
  .privacy-list {
    padding: 21px;
  }

  .phone-screen {
    min-height: 410px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
