:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dbe3ee;
  --blue: #1769d4;
  --blue-dark: #0f4f9f;
  --teal: #00897b;
  --shadow: 0 18px 50px rgba(20, 34, 55, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--blue);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 8vw, 90px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 78% 20%, rgba(23, 105, 212, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #eef5ff 56%, #f7fbfa 100%);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 680px;
  font-size: clamp(42px, 7vw, 76px);
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 19px;
}

.hero-text {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 105, 212, 0.22);
}

.store-button:hover {
  background: var(--blue-dark);
}

.store-button-secondary {
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.store-button-secondary:hover {
  background: #2b3443;
}

.phone-preview {
  display: flex;
  justify-content: center;
}

.phone-screen {
  width: min(340px, 78vw);
  aspect-ratio: 9 / 16;
  padding: 28px;
  border: 10px solid #111827;
  border-radius: 34px;
  background: #f3f7fc;
  box-shadow: var(--shadow);
}

.invoice-card {
  height: 100%;
  padding: 24px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.invoice-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.invoice-top span {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #dfefff;
}

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

.line,
.table-row,
.total-line {
  border-radius: 999px;
  background: #d7e0ec;
}

.line {
  height: 10px;
  margin-bottom: 10px;
}

.wide {
  width: 78%;
}

.short {
  width: 46%;
}

.table-row {
  height: 24px;
  margin-top: 12px;
}

.table-row.dark {
  background: var(--blue);
}

.total-line {
  width: 48%;
  height: 16px;
  margin: 42px 0 0 auto;
  background: var(--ink);
}

.section {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.feature-card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(20, 34, 55, 0.06);
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 40px;
  align-items: start;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-section p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.legal-page {
  width: min(840px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.legal-page h1 {
  font-size: clamp(36px, 6vw, 58px);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-page p {
  color: var(--muted);
}

.updated {
  margin-top: 8px;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

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

  .hero {
    min-height: auto;
  }

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