:root {
  --ink: #102025;
  --muted: #5e7077;
  --line: #dfe7e7;
  --paper: #ffffff;
  --soft: #f2f8f6;
  --teal: #08756f;
  --green: #18a058;
  --coral: #f06b55;
  --navy: #14334a;
  --shadow: 0 24px 70px rgba(18, 52, 58, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fbfdfc;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 231, 231, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  min-width: max-content;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8fbf2, #eaf5ff);
  border: 1px solid #d5ece7;
}

.logo-mark svg {
  width: 31px;
  height: 31px;
  fill: none;
}

.logo-mark rect {
  fill: #ffffff;
  stroke: var(--teal);
  stroke-width: 3;
}

.logo-mark path {
  stroke: var(--teal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-mark circle {
  fill: var(--green);
  stroke: #ffffff;
  stroke-width: 3;
}

.logo-mark circle + path {
  stroke: #ffffff;
  stroke-width: 2.8;
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

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

.small-download,
.primary-download {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(8, 117, 111, 0.22);
}

.small-download {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(36px, 7vw, 88px) clamp(18px, 5vw, 64px) clamp(28px, 5vw, 60px);
  background:
    linear-gradient(115deg, rgba(242, 248, 246, 0.96), rgba(255, 255, 255, 0.82) 46%, rgba(232, 247, 242, 0.78)),
    radial-gradient(circle at 78% 18%, rgba(24, 160, 88, 0.14), transparent 34%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(43px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.primary-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 25px;
  border-radius: 8px;
  font-weight: 850;
  font-size: 16px;
}

.download-glyph {
  position: relative;
  width: 19px;
  height: 22px;
}

.download-glyph::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 3px;
  height: 13px;
  background: currentColor;
  border-radius: 3px;
}

.download-glyph::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

.version {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 600px;
  margin-top: 34px;
}

.metrics div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: 26px;
  color: var(--navy);
}

.metrics span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.hero-media img,
.promo-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(223, 231, 231, 0.85);
  background: #ffffff;
}

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

.feature-strip article {
  min-height: 270px;
  padding: clamp(28px, 4vw, 46px);
  background: #ffffff;
}

.icon {
  display: inline-block;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid #d6ece7;
  position: relative;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
}

.invoice::before {
  inset: 10px 12px;
  border: 3px solid var(--teal);
  border-radius: 4px;
}

.invoice::after {
  left: 17px;
  right: 17px;
  top: 20px;
  height: 3px;
  background: var(--green);
  box-shadow: 0 8px 0 var(--green);
}

.expense::before {
  width: 22px;
  height: 22px;
  left: 12px;
  top: 12px;
  border-radius: 50%;
  border: 4px solid var(--coral);
}

.expense::after {
  width: 14px;
  height: 4px;
  left: 16px;
  top: 21px;
  background: var(--teal);
}

.report::before {
  left: 13px;
  bottom: 11px;
  width: 5px;
  height: 18px;
  background: var(--teal);
  box-shadow: 9px -8px 0 var(--green), 18px -3px 0 var(--coral);
  border-radius: 3px;
}

.feature-strip h2,
.workflow h2,
.security h2,
.cta h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: 0;
}

.feature-strip p,
.workflow p,
.security-grid span,
.cta p {
  color: var(--muted);
  line-height: 1.65;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 64px);
}

.promo-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #2d454b;
  line-height: 1.6;
}

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

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.security {
  padding: clamp(48px, 8vw, 94px) clamp(18px, 5vw, 64px);
  background: var(--navy);
  color: #ffffff;
}

.security .eyebrow {
  color: #8ee5bd;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.18);
}

.security-grid div {
  min-height: 160px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.security-grid strong,
.security-grid span {
  display: block;
}

.security-grid strong {
  margin-bottom: 10px;
  font-size: 17px;
}

.security-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.cta {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(54px, 8vw, 96px) 18px;
  background: linear-gradient(180deg, #ffffff, #eff8f4);
}

.cta p {
  max-width: 680px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .topbar {
    min-height: 66px;
    padding: 12px 14px;
  }

  .brand-text {
    font-size: 17px;
  }

  .small-download {
    margin-left: auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  h1 {
    font-size: 42px;
  }

  .hero {
    padding-top: 32px;
  }

  .metrics,
  .feature-strip,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
  }

  .primary-download {
    width: 100%;
    justify-content: center;
  }

  footer {
    flex-direction: column;
  }
}
