@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Courier+Prime&display=swap");

:root {
  --background: #f7fafc;
  --surface: #ffffff;
  --surface-low: #f1f4f6;
  --surface-high: #e5e9eb;
  --ink: #181c1e;
  --muted: #44474c;
  --line: #c4c6cd;
  --line-soft: #d7dadc;
  --navy: #041627;
  --navy-soft: #1a2b3c;
  --green: #1b6d24;
  --green-bg: #a0f399;
  --red: #ba1a1a;
  --red-bg: #ffdad6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
body::before {
  position: fixed;
  inset: 64px 0 0;
  z-index: -1;
  opacity: .32;
  background-image: radial-gradient(var(--line-soft) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }

.appbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 64px;
  padding: 0 max(16px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
}
.barcode-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-left: 3px solid var(--navy);
  border-right: 2px solid var(--navy);
  background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px);
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  font-weight: 600;
}
.top-nav .nav-action {
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px 16px 48px;
}
.hero {
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  align-items: center;
  gap: 44px;
  margin-bottom: 54px;
}
.hero-copy { display: grid; gap: 20px; }
.tag {
  width: fit-content;
  border-radius: 3px;
  background: var(--green-bg);
  padding: 6px 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero h1 {
  color: var(--navy);
  font-size: 48px;
  line-height: 1.08;
}
.intro {
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}
.actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.primary,
.secondary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 20px;
  font-weight: 700;
}
.primary {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
}
.primary:hover,
.top-nav .nav-action:hover { background: var(--navy-soft); }
.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
}

.comparison-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--navy);
  padding: 12px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.preview-header strong {
  border-radius: 3px;
  background: var(--red-bg);
  padding: 4px 7px;
  color: var(--red);
  font-size: 10px;
}
.result-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid var(--red);
  background: var(--red);
  padding: 18px;
  color: #fff;
}
.result-mark {
  display: grid;
  flex: 0 0 42px;
  height: 42px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255,255,255,.18);
  font-size: 25px;
}
.result-banner h2 { font-size: 23px; }
.result-banner p { opacity: .92; }
.comparison-preview table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.comparison-preview th {
  background: var(--surface-high);
  color: var(--muted);
  font-size: 11px;
  text-align: left;
  text-transform: uppercase;
}
.comparison-preview th,
.comparison-preview td {
  border-bottom: 1px solid var(--line-soft);
  padding: 12px;
}
.comparison-preview tr:nth-child(even) td { background: var(--surface-low); }
.comparison-preview .changed {
  background: rgba(255,218,214,.55) !important;
  color: var(--red);
  font-weight: 700;
}
code {
  font-family: "Courier Prime", Consolas, monospace;
}
.action-required {
  margin: 14px;
  border-left: 4px solid var(--red);
  background: var(--surface-low);
  padding: 13px;
  color: var(--muted);
}
.action-required strong { color: var(--navy); }

.workflow {
  margin-bottom: 30px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}
.section-heading h2 {
  color: var(--navy);
  font-size: 28px;
}
.section-heading p {
  max-width: 430px;
  color: var(--muted);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.steps article,
.tools article,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}
.steps article { padding: 18px; }
.steps span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.steps h3,
.tools h2 {
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 18px;
}
.steps p,
.tools p,
.final-cta p {
  color: var(--muted);
}

.tools {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}
.tools article { padding: 18px; }
.tools .feature {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.feature .feature-label {
  width: fit-content;
  margin-bottom: 15px;
  border-radius: 3px;
  background: var(--green-bg);
  padding: 5px 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.tools .feature h2 { color: #fff; }
.tools .feature p { margin-bottom: 18px; color: #d2e4fb; }
.feature a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 3px;
  background: var(--green-bg);
  padding: 0 14px;
  color: var(--green);
  font-weight: 700;
}

.invoice-studio {
  display: grid;
  grid-template-columns: 1fr 310px;
  align-items: center;
  gap: 36px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  padding: 28px;
}
.invoice-copy .feature-label {
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 3px;
  background: var(--surface-high);
  padding: 5px 8px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.invoice-copy h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 28px;
}
.invoice-copy > p:not(.feature-label) {
  max-width: 530px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 16px;
}
.invoice-preview {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-low);
  padding: 16px;
}
.invoice-preview > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
.invoice-sheet {
  min-height: 268px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
}
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 15px;
}
.sheet-brand {
  width: 70px;
  height: 12px;
  background: var(--navy);
}
.sheet-meta {
  display: grid;
  gap: 7px;
  width: 56%;
  margin-bottom: 18px;
}
.sheet-meta span {
  height: 5px;
  background: var(--line-soft);
}
.sheet-meta span:last-child { width: 66%; }
.sheet-table {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}
.sheet-table span {
  height: 22px;
  background: var(--surface-low);
}
.sheet-total {
  margin: 14px 0 12px auto;
  width: fit-content;
  color: var(--navy);
  font-family: "Courier Prime", Consolas, monospace;
  font-weight: 700;
}
.sheet-barcode {
  width: 85px;
  height: 28px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 5px, transparent 5px 8px);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}
.final-cta h2 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 24px;
}

@media (max-width: 860px) {
  .page { padding-top: 34px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero h1 { font-size: 38px; }
  .section-heading,
  .final-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .steps,
  .tools,
  .invoice-studio { grid-template-columns: 1fr; }
  .invoice-studio { gap: 24px; padding: 20px; }
  .invoice-preview { max-width: 310px; width: 100%; }
}
@media (max-width: 520px) {
  .appbar { padding: 12px 16px; }
  .brand { font-size: 22px; }
  .top-nav a:first-child { display: none; }
  .hero h1 { font-size: 34px; }
  .actions { flex-direction: column; }
  .comparison-preview th,
  .comparison-preview td { padding: 10px 8px; }
}
