:root {
  --bg: #0b2027;
  --bg-elev: #123039;
  --bg-elev-2: #17414d;
  --line: #24505c;
  --paper: #f4efe4;
  --muted: #a9c2bf;
  --muted-dim: #7f9c99;
  --gold: #f2a93b;
  --gold-ink: #1c1204;
  --coral: #ff6f59;
  --mint: #5fd9c6;

  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --measure: 62ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, .eyebrow, .btn, .stat-num, .nav-link, .device-header, .value-title {
  font-family: var(--font-display);
  text-wrap: balance;
}

h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; }

p { margin: 0; }

.measure { max-width: var(--measure); }

a { color: inherit; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.eyebrow::before {
  content: "";
  width: 1.3em;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- background texture ---------- */
.grid-tex {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(244,239,228,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 40%, transparent 100%);
}

/* ---------- nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 32, 39, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.05rem;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.brand-mark span { color: var(--gold); }
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--muted-dim);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
}
.nav-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--paper); }
.nav-links .btn { padding: 0.6rem 1.15rem; font-size: 0.72rem; }
@media (max-width: 720px) {
  .nav-link.hide-sm { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-primary {
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 0 0 0 rgba(242,169,59,0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(242,169,59,0.55); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--paper); transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding-top: clamp(3rem, 8vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 4rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  text-transform: uppercase;
  margin-block: 1.1rem 1.4rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }
.hero-stats {
  display: flex;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--paper);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-top: 0.2rem;
}

/* ---------- hero visual: stacked device panels ---------- */
.hero-visual { position: relative; height: clamp(360px, 46vw, 460px); }
.float-panel {
  position: absolute;
  width: min(280px, 78%);
  border-radius: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  padding: 1.1rem;
}
.float-panel.p1 { top: 0; right: 0; z-index: 3; }
.float-panel.p2 { bottom: 0; left: 0; z-index: 2; opacity: 0.92; transform: rotate(-3deg); }
.float-panel.p3 { top: 38%; left: 32%; z-index: 1; opacity: 0.7; transform: rotate(4deg); }
.panel-dot-row { display: flex; gap: 5px; margin-bottom: 0.9rem; }
.panel-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.panel-line { height: 8px; border-radius: 4px; background: var(--bg-elev-2); margin-bottom: 0.55rem; }
.panel-line.short { width: 55%; }
.panel-line.accent { background: var(--gold); height: 10px; }
.glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  top: -10%; right: -10%;
  background: radial-gradient(circle, rgba(242,169,59,0.16), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- section shells ---------- */
section { position: relative; z-index: 1; }
.statement {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
.statement p {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.5;
  color: var(--paper);
  max-width: 46ch;
}

.solutions-head {
  padding-top: clamp(4.5rem, 9vw, 7rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.solutions-head h2 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  text-transform: uppercase;
  margin-top: 1rem;
}

.product {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.product.reverse .product-grid { direction: rtl; }
.product.reverse .product-grid > * { direction: ltr; }
@media (max-width: 880px) {
  .product-grid { grid-template-columns: 1fr; }
  .product.reverse .product-grid { direction: ltr; }
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 1.1rem;
}
.product h3 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.product-lede {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.product-copy {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.feature-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0.6rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.94rem; color: var(--paper); }
.feature-list svg { flex: none; margin-top: 0.15rem; }
.quote {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  padding-left: 1rem;
  border-left: 2px solid;
}

/* device mockups */
.device {
  border-radius: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 1.4rem;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.device-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-dim);
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.device-dots { display: flex; gap: 4px; }
.device-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }

/* CRM device */
.listing { display: grid; grid-template-columns: 88px 1fr; gap: 0.85rem; padding: 0.7rem; border-radius: 12px; background: var(--bg-elev-2); margin-bottom: 0.7rem; }
.listing:last-child { margin-bottom: 0; }
.listing-thumb { border-radius: 8px; height: 62px; background: linear-gradient(135deg, var(--mint), #2c8f80); }
.listing-price { font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; }
.listing-loc { font-size: 0.74rem; color: var(--muted-dim); margin-top: 0.2rem; }
.listing-meta { display: flex; gap: 0.6rem; margin-top: 0.4rem; font-family: var(--font-mono); font-size: 0.64rem; color: var(--mint); }

/* Valet device */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-bottom: 0.9rem; }
.photo-cell { aspect-ratio: 1; border-radius: 8px; background: var(--bg-elev-2); position: relative; overflow: hidden; }
.photo-cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(242,169,59,0.35), transparent 70%); }
.photo-cell::before { content: attr(data-a); position: absolute; bottom: 5px; left: 6px; font-family: var(--font-mono); font-size: 0.55rem; color: var(--gold); z-index: 1; }
.valet-row { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0.15rem; font-size: 0.78rem; }
.valet-row + .valet-row { border-top: 1px solid var(--line); }
.valet-status { font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); background: rgba(242,169,59,0.12); padding: 0.25rem 0.55rem; border-radius: 999px; }

/* POS device */
.pos-amount { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; color: var(--paper); margin-bottom: 0.2rem; }
.pos-sub { font-size: 0.72rem; color: var(--muted-dim); font-family: var(--font-mono); margin-bottom: 1.1rem; }
.bars { display: flex; align-items: flex-end; gap: 0.4rem; height: 74px; margin-bottom: 1rem; }
.bars span { flex: 1; border-radius: 4px 4px 0 0; background: var(--bg-elev-2); }
.bars span.hi { background: var(--coral); }
.pos-methods { display: flex; gap: 0.5rem; }
.pos-chip { font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.35rem 0.6rem; border-radius: 8px; background: var(--bg-elev-2); color: var(--muted); }

/* ---------- values ---------- */
.values {
  padding-block: clamp(4rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
}
.values-head { text-align: center; max-width: 40ch; margin: 0 auto 3rem; }
.values-head h2 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); text-transform: uppercase; margin-top: 1rem; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.value-icon { width: 40px; height: 40px; margin-bottom: 1.2rem; }
.value-title { font-size: 1rem; text-transform: uppercase; margin-bottom: 0.55rem; }
.value-copy { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

/* ---------- vision/mission ---------- */
.vm { padding-block: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3rem); }
@media (max-width: 780px) { .vm-grid { grid-template-columns: 1fr; } }
.vm-card { padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: 20px; background: var(--bg-elev); border: 1px solid var(--line); }
.vm-card h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 1rem; }
.vm-card p { color: var(--muted); line-height: 1.65; font-size: 1rem; }
.vm-card.mint { border-color: rgba(95,217,198,0.4); }
.vm-card.gold { border-color: rgba(242,169,59,0.4); }

/* ---------- final cta ---------- */
.cta-band {
  margin: clamp(4rem, 8vw, 6rem) auto 0;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 3.5rem);
  max-width: 1180px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--bg-elev-2), var(--bg-elev));
  border: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; }
.cta-band h2 em { font-style: normal; color: var(--gold); }
.cta-band .measure { margin-inline: auto; text-align: center; color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin-top: 1.2rem; }
.cta-list { list-style: none; padding: 0; margin: 2.2rem auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; max-width: 640px; }
.cta-list li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
}
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; }

/* ---------- footer ---------- */
footer {
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-block: 2.6rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
footer .brand-mark { font-size: 1.4rem; }
footer .tagline {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--muted);
  margin-top: 0.6rem;
  font-size: 0.95rem;
}
footer .fine {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-top: 1.6rem;
}
