:root {
  --ink: #17202a;
  --muted: #5d6978;
  --line: #dde4ec;
  --surface: #ffffff;
  --soft: #f5f8fb;
  --navy: #0a3d62;
  --teal: #0f8b8d;
  --green: #1f9d68;
  --gold: #f4b942;
  --shadow: 0 20px 60px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-logo {
  display: block;
  width: auto;
  height: 68px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--navy);
}

a:focus-visible,
.button:focus-visible,
.nav-cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.nav-cta {
  color: #ffffff;
  background: var(--ink);
}

.hero {
  overflow: hidden;
  padding: 92px 0 76px;
  background:
    linear-gradient(120deg, rgba(10, 61, 98, 0.08), rgba(15, 139, 141, 0.06) 42%, rgba(244, 185, 66, 0.12)),
    var(--soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-lead,
.section-heading p,
.app-copy p,
.cta-box p,
.site-footer p {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.primary {
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(10, 61, 98, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
}

.button.light {
  color: var(--navy);
  background: #ffffff;
  box-shadow: none;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.panel-card,
.metric-card,
.card,
.why-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.panel-card.featured {
  min-height: 230px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  border: 0;
  background:
    linear-gradient(145deg, rgba(10, 61, 98, 0.92), rgba(15, 139, 141, 0.86)),
    linear-gradient(45deg, var(--navy), var(--teal));
  box-shadow: var(--shadow);
}

.panel-card strong {
  max-width: 340px;
  font-size: 1.38rem;
  line-height: 1.25;
}

.card-label {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  font-size: 0.85rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  padding: 20px;
}

.metric-card span {
  color: var(--green);
  font-weight: 800;
  font-size: 0.85rem;
}

.metric-card p,
.card p,
.why-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding: 84px 0;
  scroll-margin-top: 96px;
}

.soft-section {
  background: var(--soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 620px;
}

.page-hero {
  padding: 72px 0 58px;
  background:
    linear-gradient(120deg, rgba(10, 61, 98, 0.08), rgba(15, 139, 141, 0.06) 42%, rgba(244, 185, 66, 0.12)),
    var(--soft);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: 42px;
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.04;
}

.page-lead {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.page-summary {
  padding: 26px;
  color: #ffffff;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(10, 61, 98, 0.95), rgba(15, 139, 141, 0.88)),
    linear-gradient(45deg, var(--navy), var(--teal));
  box-shadow: var(--shadow);
}

.summary-label {
  display: block;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-summary dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.page-summary div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.page-summary div:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-summary dt {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-summary dd {
  margin: 0;
  font-weight: 800;
}

.page-summary a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-page {
  padding: 64px 0 78px;
  background: #ffffff;
}

.content-wrap {
  max-width: 940px;
}

.policy-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.policy-card {
  padding: 38px;
}

.support-card {
  margin-bottom: 22px;
  padding: 24px;
  background: var(--soft);
}

.support-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.support-card-inline {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.support-card-inline p {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 22px;
}

.contact-card {
  margin-bottom: 0;
}

.contact-card .button {
  margin-top: 8px;
}

.contact-check-list {
  margin-top: 16px;
}

.account-help-card {
  margin-top: 22px;
  margin-bottom: 0;
}

.support-card p:last-child,
.policy-card p:last-child,
.legal-section:last-child {
  margin-bottom: 0;
}

.support-card a,
.policy-card a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-card a.button {
  text-decoration: none;
}

.support-card a.button.secondary {
  color: var(--ink);
}

.legal-section {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.legal-section h3 {
  margin-top: 24px;
  color: var(--navy);
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.35rem;
}

.legal-section li + li {
  margin-top: 6px;
}

.muted {
  color: var(--muted);
}

.cards.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 26px;
  min-height: 230px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(244, 185, 66, 0.24);
  font-weight: 800;
}

.package-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.package-card .icon,
.package-card h3,
.package-card p,
.package-card .check-list {
  margin-bottom: 0;
}

.package-card .check-list {
  margin-top: 4px;
}

.package-card .button {
  margin-top: auto;
}

.package-price-note {
  color: var(--navy);
  font-weight: 800;
}

.package-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-section {
  background: var(--ink);
  color: #ffffff;
}

.app-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 58px;
}

.app-copy p,
.app-copy .check-list {
  color: rgba(255, 255, 255, 0.74);
}

.app-visual {
  display: grid;
  justify-items: center;
}

.app-showcase {
  grid-template-columns: minmax(180px, 0.9fr) minmax(120px, 0.55fr);
  align-items: center;
  gap: 18px;
}

.app-shot,
.screenshot-card {
  margin: 0;
  overflow: hidden;
  background: #ffffff;
}

.app-shot {
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.app-shot img,
.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.app-shot-main {
  max-width: 310px;
  justify-self: end;
}

.app-shot-stack {
  display: grid;
  gap: 16px;
}

.app-shot-stack .app-shot {
  max-width: 180px;
  border-radius: 20px;
}

.app-screenshot-section {
  background: #ffffff;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screenshot-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid,
.fit-grid {
  display: grid;
  gap: 16px;
}

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

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

.why-item {
  padding: 24px;
  background: var(--soft);
}

.soft-section .why-item {
  background: #ffffff;
}

.cta-section {
  padding: 78px 0;
  background: #eef5f2;
  scroll-margin-top: 96px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), #116b6d);
}

.cta-box h2 {
  max-width: 700px;
}

.cta-box p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-box .eyebrow {
  color: var(--gold);
}

.site-footer {
  padding: 42px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-logo {
  display: block;
  width: auto;
  height: 76px;
  object-fit: contain;
}

.site-footer p {
  max-width: 460px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav-wrap {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-grid,
  .app-grid,
  .page-hero-grid,
  .support-card-inline,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .cards.three-col,
  .why-grid,
  .process-grid,
  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-showcase {
    max-width: min(520px, 100%);
    margin: 0 auto;
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .screenshot-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }

  .screenshot-card img {
    width: auto;
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
  }

  .cta-box,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand-text {
    display: none;
  }

  .site-header .brand-text {
    display: inline;
    font-size: 0.98rem;
  }

  .site-logo {
    height: 52px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero,
  .section,
  .page-hero,
  .content-page,
  .cta-section {
    padding: 56px 0;
  }

  .metric-row,
  .cards.three-col,
  .why-grid,
  .process-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .panel-card.featured {
    min-height: 190px;
  }

  .app-showcase {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .app-shot-main {
    max-width: min(300px, 100%);
    justify-self: center;
  }

  .app-shot {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .app-shot img {
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .app-shot-main img {
    max-height: 340px;
  }

  .app-shot-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .app-shot-stack .app-shot {
    max-width: none;
  }

  .app-shot-stack .app-shot img {
    max-height: 260px;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .screenshot-card {
    padding: 8px;
  }

  .screenshot-card img {
    max-height: 340px;
  }

  .cta-box {
    padding: 28px;
  }

  .policy-card,
  .support-card {
    padding: 22px;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
