:root {
  --ink: #14313a;
  --ink-strong: #071c22;
  --muted: #5d6f74;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --surface-strong: #f0f7f6;
  --teal: #0d7f80;
  --teal-dark: #095f62;
  --blue: #235d9a;
  --amber: #d89328;
  --line: #d9e5e3;
  --shadow: 0 22px 60px rgba(16, 47, 54, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

body,
p,
li,
a,
span,
strong,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(217, 229, 227, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-strong);
  font-weight: 780;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(13, 127, 128, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal-dark);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: #fff;
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(9, 95, 98, 0.22);
  text-align: center;
  white-space: normal;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-strong);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: none;
}

.button.ghost {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 22px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #d9e9e3;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 30, 36, 0.82) 0%, rgba(8, 30, 36, 0.62) 34%, rgba(8, 30, 36, 0.18) 68%, rgba(8, 30, 36, 0.03) 100%),
    linear-gradient(0deg, rgba(251, 250, 246, 0.16) 0%, rgba(251, 250, 246, 0) 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  max-width: calc(100vw - 40px);
  margin-left: clamp(20px, 6vw, 92px);
  padding: 84px 0 108px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 16px;
  color: #b8ece6;
  font-size: 0.86rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero .eyebrow,
.product-band .eyebrow {
  color: var(--teal-dark);
}

.short-label {
  display: none;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink-strong);
  line-height: 1.08;
}

.hero h1 {
  color: #fff;
  max-width: 620px;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  font-weight: 860;
  letter-spacing: 0;
}

.hero .lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  min-height: 112px;
  padding: 26px clamp(20px, 4vw, 56px);
  background: var(--surface);
}

.trust-strip strong {
  display: block;
  color: var(--ink-strong);
  font-size: 1rem;
}

.trust-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: clamp(72px, 10vw, 118px) clamp(20px, 5vw, 72px);
}

.section.alt {
  background: var(--surface-strong);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.64fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.step,
.feature,
.faq-item,
.resource-link,
.policy-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step {
  min-height: 245px;
  padding: 24px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: #e1f1ef;
  color: var(--teal-dark);
  font-weight: 800;
}

.step h3,
.feature h3,
.faq-item h3,
.resource-link h3,
.policy-panel h3 {
  font-size: 1.12rem;
}

.step p,
.feature p,
.faq-item p,
.resource-link p,
.policy-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.app-panel {
  position: relative;
  min-height: 520px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #0c3339, #115e63);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-ui {
  position: relative;
  width: min(340px, 100%);
  margin: 0 auto;
  padding: 16px;
  border: 10px solid #10282d;
  border-radius: 30px;
  background: #f8fbfa;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
}

.phone-title {
  font-size: 0.82rem;
  color: var(--muted);
}

.phone-total {
  font-size: 2.25rem;
  font-weight: 850;
  color: var(--ink-strong);
}

.status-pill {
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f4ef;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 780;
}

.mini-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
  height: 92px;
  padding: 12px;
  border-radius: var(--radius);
  background: #eaf3f2;
}

.mini-chart span {
  border-radius: 4px 4px 0 0;
  background: var(--teal);
}

.ledger-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 13px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #e2ecea;
}

.ledger-row strong {
  color: var(--ink-strong);
  font-size: 0.95rem;
}

.ledger-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.feature {
  padding: 24px;
}

.feature-mark {
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: inset -8px -8px 0 rgba(255, 255, 255, 0.16);
}

.feature:nth-child(2n) .feature-mark {
  background: linear-gradient(135deg, var(--amber), var(--teal));
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  background: var(--ink-strong);
  color: #fff;
}

.callout h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.callout p {
  max-width: 700px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.resource-link {
  display: block;
  padding: 24px;
  text-decoration: none;
}

.resource-link:hover {
  border-color: rgba(13, 127, 128, 0.55);
  transform: translateY(-1px);
}

.site-footer {
  padding: 42px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #f7f3ed;
  color: var(--muted);
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

.page-hero {
  padding: 86px clamp(20px, 5vw, 72px) 58px;
  background: linear-gradient(145deg, #e5f1ef, #fbfaf6 58%, #f7ead9);
}

.page-hero-inner,
.content {
  width: min(960px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.content {
  padding: 58px 20px 92px;
}

.content h2 {
  margin-top: 42px;
  font-size: 1.72rem;
}

.content h2:first-child {
  margin-top: 0;
}

.content p,
.content li {
  color: var(--muted);
}

.content a {
  color: var(--teal-dark);
  font-weight: 700;
}

.policy-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.policy-panel,
.faq-item {
  padding: 24px;
}

.fine-print {
  color: var(--muted);
  font-size: 0.92rem;
}

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

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(8, 30, 36, 0.86) 0%, rgba(8, 30, 36, 0.66) 58%, rgba(8, 30, 36, 0.28) 100%);
  }

  .hero-content {
    margin-left: 20px;
    padding-top: 72px;
  }

  .trust-strip,
  .section-heading,
  .workflow,
  .product-band,
  .features,
  .resources,
  .footer-inner,
  .policy-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  body {
    width: 100%;
    max-width: 100vw;
  }

  .site-header {
    padding: 14px 20px 18px;
  }

  .site-nav {
    gap: 14px;
    flex-wrap: wrap;
    overflow: visible;
    font-size: 0.9rem;
  }

  .nav-cta {
    padding: 0 14px;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.82rem;
    overflow-wrap: break-word;
  }

  .hero-content {
    width: 100%;
    max-width: 350px;
    margin-left: 0;
    padding: 72px 20px 96px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-media img {
    object-position: 76% center;
  }

  .full-label {
    display: none;
  }

  .short-label {
    display: inline;
  }

  .eyebrow {
    overflow-wrap: anywhere;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero .lede {
    width: 100%;
    max-width: 310px;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero-actions {
    width: 100%;
    max-width: 350px;
  }

  .trust-strip div,
  .section,
  .page-hero,
  .content,
  .site-footer {
    width: 100%;
    max-width: 100%;
  }

  .trust-strip span {
    max-width: 320px;
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .app-panel {
    min-height: auto;
    padding: 18px;
  }

  .phone-ui {
    border-width: 8px;
  }
}
