:root {
  --paper: #F6F4EE;
  --paper-2: #EFEBE0;
  --ink: #1B2130;
  --ink-dim: #565F72;
  --navy: #16295A;
  --navy-2: #0E1B3D;
  --amber: #E4A73B;
  --maroon: #9C2B3E;
  --line: #DEDACC;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--navy-2);
  line-height: 1.15;
  margin: 0;
}
p { margin: 0; color: var(--ink-dim); }
a { color: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.mono { font-family: 'IBM Plex Mono', monospace; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 3px; font-weight: 600; font-size: .92rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--amber); color: var(--navy-2); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(228,167,59,.35); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy-2); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,244,238,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .5rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--navy-2); }
.brand svg { width: 20px; height: 20px; color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink-dim); }
.nav-links a:hover { color: var(--navy-2); }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 5rem; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 700; letter-spacing: -.01em; }
.hero .lead { font-size: 1.1rem; color: var(--ink-dim); margin-top: 1.1rem; max-width: 480px; }
.hero .fine { font-size: .88rem; color: var(--ink-dim); margin-top: 1rem; max-width: 480px; }
.hero-actions { display: flex; gap: .9rem; margin-top: 1.8rem; flex-wrap: wrap; }

.hero-visual { position: relative; }
.till-frame {
  background: var(--navy-2);
  border-radius: 10px;
  padding: 10px 10px 16px;
  box-shadow: 0 30px 60px -20px rgba(14,27,61,.45), 0 8px 20px rgba(14,27,61,.2);
  transform: rotate(1.2deg);
}
.till-frame .bar { display: flex; gap: 6px; padding: 4px 6px 10px; }
.till-frame .bar span { width: 9px; height: 9px; border-radius: 50%; background: #3A4A78; }
.till-frame img { width: 100%; display: block; border-radius: 4px; }
.hero-visual .tag {
  position: absolute; bottom: -16px; left: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: .5rem .8rem; font-size: .78rem; font-weight: 600; color: var(--navy-2);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  display: flex; align-items: center; gap: .5rem;
}
.hero-visual .tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #2FAE66; }

/* ---------- Industries strip ---------- */
.industries-strip {
  background: var(--navy-2); color: #C9CEDA; padding: 1rem 0;
  font-size: .85rem;
}
.industries-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 0; }
.industries-strip .label { color: #7E8AB0; margin-right: 1rem; font-weight: 600; }
.industries-strip .item { padding: 0 1rem; border-left: 1px solid #2A3A63; }
.industries-strip .item:first-of-type { border-left: none; }

/* ---------- Section shared ---------- */
.section { padding: 5rem 0; }
.section-head { max-width: 560px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { margin-top: .8rem; font-size: 1.02rem; }
.section-alt { background: var(--paper-2); }

/* ---------- Feature receipt list ---------- */
.feature-list { border-top: 1px solid var(--line); }
.feature-row {
  display: grid; grid-template-columns: 44px 1fr 1.4fr; gap: 1.5rem; align-items: start;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line);
}
.feature-row .ficon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.feature-row .ficon svg { width: 20px; height: 20px; }
.feature-row h3 { font-size: 1.08rem; font-weight: 700; }
.feature-row p { font-size: .94rem; }
.feature-row .price-tag { font-family: 'IBM Plex Mono', monospace; font-size: .74rem; color: var(--maroon); margin-top: .35rem; display: inline-block; }

/* ---------- Workflow steps ---------- */
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.workflow-step { position: relative; padding-left: 2.6rem; }
.workflow-step .num {
  position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: .78rem;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.workflow-step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.workflow-step p { font-size: .92rem; }

/* ---------- Industries grid ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.industry-card {
  background: #fff; border-left: 3px solid var(--amber); border-radius: 3px;
  padding: 1.3rem 1.4rem; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.industry-card .iicon { color: var(--navy); margin-bottom: .8rem; }
.industry-card .iicon svg { width: 24px; height: 24px; }
.industry-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.industry-card p { font-size: .86rem; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy-2); color: #fff; padding: 3.5rem 0; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats-band .num { font-family: 'Space Grotesk', sans-serif; font-size: 2.1rem; font-weight: 700; color: var(--amber); }
.stats-band .lbl { font-size: .8rem; color: #A9B2CC; margin-top: .3rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--amber); text-align: center; padding: 4.5rem 0; border-radius: 0;
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy-2); }
.cta-band p { color: #5B4413; max-width: 480px; margin: .9rem auto 0; }
.cta-band .btn { margin-top: 1.6rem; }

/* ---------- Footer ---------- */
footer { background: var(--navy-2); color: #A9B2CC; padding: 3rem 0 2rem; font-size: .85rem; }
footer .foot-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #2A3A63; }
footer .brand { color: #fff; }
footer .foot-links { display: flex; gap: 2rem; }
footer .foot-links a { text-decoration: none; color: #A9B2CC; }
footer .foot-links a:hover { color: #fff; }
footer .foot-bottom { padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .workflow, .industry-grid { grid-template-columns: 1fr; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 40px 1fr; }
  .feature-row > p { grid-column: 2 / -1; }
  .nav-links { display: none; }
}
