:root {
  color-scheme: light;
  --ink: #121826;
  --muted: #5e6878;
  --line: #d8dee8;
  --paper: #fbfcff;
  --soft: #f0f5f8;
  --navy: #101828;
  --teal: #19b7a6;
  --coral: #ff6b5a;
  --gold: #f3b23c;
  --violet: #6f5cff;
  --shadow: 0 24px 70px rgba(16, 24, 40, .16);
}

* { 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: var(--paper);
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 6px;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 255, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 222, 232, .72);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  box-shadow: 0 10px 24px rgba(25, 183, 166, .28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav-links a {
  padding: .6rem .82rem;
  border-radius: 6px;
  color: #344054;
  font-weight: 700;
  font-size: .94rem;
}

.nav-links a:hover {
  background: rgba(25, 183, 166, .1);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 15%, rgba(255, 107, 90, .18), transparent 28%),
    linear-gradient(135deg, #f7fbff 0%, #eff7f5 48%, #fff8ed 100%);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 150px);
  max-height: 780px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 3rem;
  align-items: center;
  padding: 48px 0 34px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 .85rem;
  color: #0f766e;
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .11em;
}

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

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  line-height: 1;
  letter-spacing: 0;
  max-width: 760px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 .65rem;
  font-size: 1.12rem;
  line-height: 1.22;
}

.hero-text {
  max-width: 650px;
  margin: 1rem 0 0;
  font-size: 1.05rem;
  color: #3c4758;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .84rem 1.1rem;
  border-radius: 8px;
  font-weight: 900;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 32px rgba(18, 24, 38, .18);
}

.btn.secondary {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(18, 24, 38, .14);
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin: 1.2rem 0 0;
}

.hero-stats div {
  padding: .95rem;
  border: 1px solid rgba(18, 24, 38, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .62);
}

.hero-stats dt {
  font-weight: 900;
  color: var(--ink);
}

.hero-stats dd {
  margin: .18rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.hero-media {
  position: relative;
  align-self: center;
}

.hero-media img {
  width: 100%;
  height: min(55vh, 470px);
  min-height: 330px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .82);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid var(--line);
  background: white;
}

.trust-band span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: .8rem;
  text-align: center;
  color: #475467;
  font-weight: 900;
  border-right: 1px solid var(--line);
}

.trust-band span:last-child { border-right: 0; }

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  max-width: 720px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

.tool-grid,
.case-grid,
.keyword-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tool-grid article,
.case-grid article,
.keyword-columns div,
.steps article,
.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tool-grid article,
.case-grid article,
.keyword-columns div {
  padding: 1.25rem;
}

.tool-grid p,
.case-grid p,
.keyword-columns p,
.steps p,
.faq p,
.footer p {
  color: var(--muted);
  margin: 0;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  background: #eefaf8;
  color: #0f766e;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 900;
}

.workflow {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 2rem;
  align-items: start;
}

.workflow-copy {
  position: sticky;
  top: 104px;
}

.workflow-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  margin-top: .85rem;
  color: #0f766e;
  font-weight: 900;
}

.steps {
  display: grid;
  gap: 1rem;
}

.steps article {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 1rem;
}

.steps strong {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.comparison {
  width: 100%;
  max-width: none;
  background: var(--navy);
  color: white;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
}

.comparison .section-heading {
  margin-inline: 0;
}

.comparison .eyebrow { color: #69e5d8; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: rgba(255, 255, 255, .04);
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  vertical-align: top;
}

th {
  color: #d7fff9;
  font-size: .9rem;
}

td {
  color: #e7edf6;
}

tr:last-child td { border-bottom: 0; }

.keyword-hub {
  background:
    linear-gradient(180deg, rgba(240, 245, 248, .9), rgba(251, 252, 255, 0));
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
}

.keyword-columns {
  grid-template-columns: repeat(2, 1fr);
}

.keyword-columns p {
  font-size: .96rem;
}

.faq-list {
  display: grid;
  gap: .8rem;
}

.faq details {
  padding: 1rem 1.1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin-top: .7rem;
}

.cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 80px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(25, 183, 166, .16), rgba(255, 107, 90, .16)),
    white;
  border: 1px solid var(--line);
}

.cta h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  max-width: 780px;
}

.footer {
  padding: 40px max(16px, calc((100vw - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  background: #0f1723;
  color: white;
}

.footer p {
  max-width: 460px;
  margin-top: .8rem;
  color: #b9c3d1;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.2rem;
  align-content: start;
  justify-content: flex-end;
}

.footer a {
  color: white;
  font-weight: 800;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: absolute;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .8rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, .16);
  }

  .nav-links.is-open { display: flex; }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 34px 0 32px;
  }

  .hero-media { order: -1; }

  .hero-media img {
    height: min(44vh, 360px);
    min-height: 220px;
  }

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

  .workflow-copy {
    position: static;
  }

  .tool-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-band span:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .brand span:last-child {
    max-width: 190px;
  }

  .hero-stats,
  .tool-grid,
  .case-grid,
  .keyword-columns {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    display: none;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.45rem);
    line-height: 1.04;
  }

  .eyebrow {
    font-size: .72rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-media img {
    height: 165px;
    min-height: 165px;
  }

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

  .btn {
    width: 100%;
  }

  .steps article {
    grid-template-columns: 1fr;
  }

  .steps strong {
    grid-row: auto;
    margin-bottom: .8rem;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

  .trust-band span:last-child {
    grid-column: auto;
  }

  .footer nav {
    justify-content: flex-start;
  }
}

@media (max-height: 760px) and (min-width: 921px) {
  .hero-stats {
    display: none;
  }

  .hero-inner {
    padding-top: 42px;
    padding-bottom: 30px;
  }
}
