:root {
  --blue: #0878f9;
  --blue-dark: #0759c7;
  --ink: #12233f;
  --muted: #607089;
  --line: #dce5f0;
  --soft: #f4f8fd;
  --white: #ffffff;
  --amber: #f59e0b;
  --shadow: 0 24px 70px rgba(34, 76, 128, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(220, 229, 240, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: linear-gradient(145deg, #00a8ff, #0868eb);
  box-shadow: 0 9px 24px rgba(8, 120, 249, 0.28);
  font-size: 21px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.header-link {
  color: var(--blue-dark);
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  min-height: 650px;
  padding: 84px max(24px, calc((100vw - 1160px) / 2)) 108px;
  background:
    radial-gradient(circle at 82% 20%, rgba(43, 151, 255, 0.2), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 82%);
}

.hero::before {
  position: absolute;
  top: 52px;
  left: -110px;
  width: 280px;
  height: 280px;
  content: "";
  border-radius: 50%;
  background: rgba(8, 120, 249, 0.06);
}

.hero-copy,
.hero-panel {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #e7f2ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin: 20px 0 22px;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #0d86ff, #0868eb);
  box-shadow: 0 14px 34px rgba(8, 120, 249, 0.26);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.download-meta span::before {
  margin-right: 7px;
  color: #10a46c;
  content: "✓";
  font-weight: 900;
}

.hero-panel {
  overflow: hidden;
  border: 1px solid #d7e4f4;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.browser-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 14px 16px;
  background: #edf3fa;
}

.browser-bar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b63;
}

.browser-bar > span:nth-child(2) {
  background: #ffc24b;
}

.browser-bar > span:nth-child(3) {
  background: #3eca65;
}

.browser-bar div {
  flex: 1;
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  color: #7b889d;
  background: var(--white);
  font-size: 12px;
}

.helper-card {
  margin: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(33, 64, 103, 0.1);
}

.helper-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #14b879;
  box-shadow: 0 0 0 5px rgba(20, 184, 121, 0.12);
}

.invoice-list {
  min-height: 88px;
  padding: 12px;
  border: 1px solid #b9c9dc;
  border-radius: 8px;
  color: #41526a;
  background: #fbfdff;
}

.process-button {
  margin: 11px 0;
  padding: 10px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  text-align: center;
  font-weight: 800;
}

.report {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 8px;
  color: #29405d;
  background: #edf6ff;
  font-size: 13px;
}

.report strong {
  color: var(--blue-dark);
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 1050px;
  margin: -44px auto 70px;
  padding: 24px 30px;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(39, 75, 117, 0.12);
}

.trust-strip article {
  display: flex;
  gap: 14px;
  align-items: center;
}

.feature-icon {
  display: grid;
  width: 47px;
  height: 47px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  color: var(--blue-dark);
  background: #e8f3ff;
  font-weight: 900;
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip small {
  color: var(--muted);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 74px 24px;
}

.section-tinted {
  max-width: none;
  padding-right: max(24px, calc((100vw - 1160px) / 2));
  padding-left: max(24px, calc((100vw - 1160px) / 2));
  background: var(--soft);
}

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

.section-heading h2,
.final-cta h2 {
  margin: 14px 0 10px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.step {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.step:last-child {
  grid-column: 1 / -1;
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.step h3,
.usage-card h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.step p,
.usage-card p {
  margin-bottom: 0;
  color: var(--muted);
}

code {
  padding: 3px 7px;
  border: 1px solid #d5e1ee;
  border-radius: 6px;
  color: #174c8a;
  background: #f0f6fd;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.usage-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.usage-card > span {
  color: var(--blue);
  font-size: 38px;
  font-weight: 900;
  opacity: 0.3;
}

.usage-card code {
  display: inline-block;
  margin-top: 18px;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.notice {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.notice h2 {
  font-size: 25px;
}

.notice ul {
  margin: 0;
  padding-left: 22px;
}

.notice li + li {
  margin-top: 9px;
}

.notice-blue {
  border-color: #cde4ff;
  background: #f1f8ff;
}

.notice-amber {
  border-color: #f7d99a;
  background: #fff9ed;
}

.safety {
  padding: 34px max(24px, calc((100vw - 1112px) / 2));
  color: #6d4300;
  background: #fff4d9;
}

.safety > div {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.safety-icon {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--amber);
  font-size: 23px;
  font-weight: 900;
}

.safety h2 {
  margin-bottom: 6px;
}

.safety p {
  max-width: 900px;
  margin-bottom: 0;
}

.final-cta {
  display: flex;
  max-width: 1112px;
  margin: 80px auto;
  padding: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.17), transparent 28%),
    linear-gradient(135deg, #0878f9, #0758c5);
  box-shadow: 0 24px 60px rgba(8, 104, 235, 0.24);
}

.final-cta .eyebrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.final-cta p {
  margin-bottom: 0;
  color: #dcecff;
}

.button-light {
  flex: 0 0 auto;
  color: var(--blue-dark);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0, 44, 100, 0.18);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(24px, calc((100vw - 1160px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 65px;
  }

  .hero-panel {
    max-width: 620px;
  }

  .trust-strip {
    margin-right: 24px;
    margin-left: 24px;
  }

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

  .step:last-child {
    grid-column: auto;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
  }

  .header-link {
    display: none;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 88px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: -34px;
    padding: 22px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .step,
  .usage-card,
  .notice {
    padding: 21px;
  }

  .final-cta {
    margin: 55px 18px;
    padding: 30px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  footer {
    flex-direction: column;
  }
}
