:root {
  --bg: #f4f5f1;
  --surface: #ffffff;
  --surface-strong: #eef0e8;
  --ink: #17201b;
  --muted: #657067;
  --line: #d9ddd2;
  --accent: #12745b;
  --accent-dark: #0d513f;
  --accent-soft: #dcebe5;
  --signal: #d89b25;
  --shadow: 0 18px 55px rgba(23, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(244, 245, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav a,
.top-phone {
  text-decoration: none;
}

.nav a:hover,
.top-phone:hover {
  color: var(--accent-dark);
}

.top-phone {
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 6vw, 84px) 54px;
  background:
    linear-gradient(110deg, rgba(18, 116, 91, 0.12), transparent 42%),
    radial-gradient(circle at 85% 12%, rgba(216, 155, 37, 0.16), transparent 28%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--accent-dark);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin: 0;
}

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

.quick-stats dt {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 900;
}

.quick-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.phone-frame {
  width: min(100%, 360px);
  min-height: 660px;
  padding: 18px;
  border: 10px solid #111813;
  border-radius: 36px;
  background: #101713;
  box-shadow: var(--shadow);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px 14px;
  color: #dfe7df;
  font-size: 12px;
}

.app-panel {
  min-height: 588px;
  padding: 20px;
  border-radius: 24px;
  background: #f6f7f2;
}

.app-title {
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 900;
}

.company-card,
.receipt-card,
.action-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.company-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  margin-bottom: 16px;
}

.company-card span,
.receipt-card span,
.receipt-card small {
  color: var(--muted);
  font-size: 13px;
}

.company-card strong,
.receipt-card strong {
  font-size: 18px;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.action-grid div {
  min-height: 86px;
  padding: 14px;
  font-weight: 800;
}

.receipt-card {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-left: 4px solid var(--signal);
}

.section {
  padding: 88px clamp(18px, 6vw, 84px);
}

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

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

.feature-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid p,
.workflow-item p,
.download p,
.contact p {
  color: var(--muted);
}

.workflow {
  padding: 88px clamp(18px, 6vw, 84px);
  background: var(--surface-strong);
}

.workflow-list {
  display: grid;
  gap: 12px;
}

.workflow-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.workflow-item span {
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
}

.workflow-item p {
  margin: 0;
  font-size: 18px;
}

.download,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 72px clamp(18px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

.download {
  background: var(--ink);
  color: #fff;
}

.download p {
  max-width: 700px;
  color: #d5ddd6;
}

.download .eyebrow {
  color: #9bd5c4;
}

.contact-card {
  min-width: 320px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-card span,
.contact-card small {
  display: block;
  color: var(--muted);
}

.contact-card a {
  display: block;
  margin: 6px 0 10px;
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
}

.contact-card small {
  max-width: 360px;
  font-size: 12px;
}

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

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .phone-preview {
    justify-content: flex-start;
  }

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

  .download,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 12px;
  }

  .brand-text {
    display: none;
  }

  .top-phone {
    font-size: 13px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 42px;
  }

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

  .phone-frame {
    width: 100%;
    min-height: 580px;
    border-radius: 30px;
  }

  .app-panel {
    min-height: 508px;
  }

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

  .contact-card {
    min-width: 0;
  }

  .contact-card a {
    font-size: 22px;
  }

  .footer {
    flex-direction: column;
  }
}
