/* ─────────────────────────────────────────────────
   Pixicom — "The Established Practice"
   Serif headings. Light theme. Conservative palette.
   Design discipline over design trends.
   ───────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a2c4e;
  --navy-light: #24395f;
  --blue:       #2e6da4;
  --blue-muted: #4a82b5;
  --orange:     #d4772a;
  --bg:         #f7f5f2;
  --bg-white:   #ffffff;
  --bg-warm:    #f0ede8;
  --text:       #2a3441;
  --text-2:     #5f6d7e;
  --text-3:     #8d99a7;
  --rule:       #d8d3cc;
  --rule-light: #e8e4de;
  --serif:      'Libre Baskerville', Georgia, serif;
  --sans:       'Source Sans 3', 'Segoe UI', sans-serif;
  --mono:       'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

/* ── NAV — dark navy strip ─────────────────────── */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-phone {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-phone:hover { color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sans);
  border-radius: 3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.nav-cta:hover { background: #be6a22; }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 3px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-light); }

.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--rule);
}
.btn-outline:hover { background: var(--bg-warm); color: var(--text); }

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.2px;
  color: var(--navy);
  margin-bottom: 24px;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.15px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.1px;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.75;
  max-width: 540px;
}

/* ── SECTION LAYOUT ────────────────────────────── */
section { position: relative; }
.section-pad { padding: 80px 48px; }
.section-hdr { margin-bottom: 48px; }

.content-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── HERO ───────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  padding: 132px 48px 80px;
  gap: 64px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--rule-light);
}

.hero-left {
  flex: 1;
  max-width: 540px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.75;
  font-weight: 300;
  max-width: 460px;
  margin-bottom: 36px;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-light);
}

.stat-val {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ── DASHBOARD — light theme, utilitarian ───────── */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dash {
  width: 490px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
}

.dash-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule-light);
}

.dash-hdr-l {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dash-icon {
  width: 26px;
  height: 26px;
  background: rgba(46,109,164,0.08);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.dash-since {
  font-size: 10px;
  color: var(--text-3);
  font-family: var(--mono);
}

.dash-hdr-r {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-badge {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 2px;
  background: rgba(34,154,72,0.08);
  color: #1a8a42;
  letter-spacing: 0.04em;
}

.dash-avatar {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  font-family: var(--mono);
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--rule-light);
}

.dash-metric {
  padding: 11px 13px 9px;
  border-right: 1px solid var(--rule-light);
}
.dash-metric:last-child { border-right: none; }

.dm-label {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  display: block;
  margin-bottom: 3px;
}

.dm-val {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}

.dm-change {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
}
.dm-up   { color: #1a8a42; }
.dm-warn { color: #b5850a; }

.dash-body { padding: 13px 16px; }

.dash-chart-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.dash-chart-title {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dash-legend {
  display: flex;
  gap: 10px;
}

.dash-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-3);
}

.dash-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 1px;
}

.dash-chart {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 64px;
}

.chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  height: 100%;
}

.chart-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 50px;
  width: 100%;
  justify-content: center;
}

.c-bar {
  width: 8px;
  border-radius: 1px 1px 0 0;
}
.c-bar.a { background: var(--blue); }
.c-bar.b { background: rgba(212,119,42,0.3); }

.chart-lbl {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-3);
}

.dash-feed {
  margin-top: 10px;
  border-top: 1px solid var(--rule-light);
  padding-top: 10px;
}

.feed-hdr {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 7px;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--rule-light);
}
.feed-item:last-child { border-bottom: none; }

.feed-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feed-text { flex: 1; }
.feed-name { font-size: 11px; color: var(--text-2); display: block; }
.feed-time { font-size: 9px; color: var(--text-3); font-family: var(--mono); }

.feed-amount {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
}
.fa-green  { color: #1a8a42; }
.fa-muted  { color: var(--text-3); }

/* ── TRUST STRIP ───────────────────────────────── */
.trust {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--rule-light);
  padding: 15px 48px;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  padding: 3px 20px;
  white-space: nowrap;
}

.trust-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--rule);
}

/* ── SERVICE CARDS ──────────────────────────────── */
.services-section {
  background: var(--bg-white);
  border-bottom: 1px solid var(--rule-light);
}

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

.srv-card {
  padding: 28px 24px;
  border: 1px solid var(--rule-light);
  border-radius: 3px;
  background: var(--bg);
  transition: border-color 0.15s;
}

.srv-card:hover {
  border-color: var(--rule);
}

.srv-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: block;
}

.srv-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.srv-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.72;
  font-weight: 300;
}

/* ── VALUE PROPS ────────────────────────────────── */
.vp-section {
  background: var(--bg);
  border-bottom: 1px solid var(--rule-light);
}

.vp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
}

.vp-item {
  padding: 0 40px 0 0;
  border-right: 1px solid var(--rule-light);
}
.vp-item:last-child { border-right: none; padding-right: 0; }
.vp-item:nth-child(2) { padding: 0 40px; }
.vp-item:nth-child(3) { padding-left: 40px; }

.vp-num {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 14px;
}

.vp-item h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.vp-item p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.72;
  font-weight: 300;
}

.case-study {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-light);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--text-2);
  font-weight: 400;
  line-height: 1.7;
  max-width: 600px;
}

/* ── CTA ────────────────────────────────────────── */
.cta-section {
  padding: 80px 48px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--rule-light);
}

.cta-inner {
  max-width: 540px;
}

.cta-section p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 32px;
}

.cta-phone {
  display: block;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.15s;
}
.cta-phone:hover { color: var(--blue); }

.cta-email {
  font-size: 14px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s;
}
.cta-email:hover { color: var(--text-2); }

.cta-form {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-light);
  max-width: 400px;
}

.cta-form label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-light);
  padding: 11px 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  margin-bottom: 4px;
  transition: border-color 0.15s;
}
.cta-form input:focus,
.cta-form textarea:focus {
  border-bottom-color: var(--text-3);
}
.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: var(--text-3);
}

.cta-form textarea {
  resize: vertical;
  min-height: 56px;
}

.cta-form .btn {
  margin-top: 20px;
}

/* ── FOOTER — dark navy bookend ────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 48px 48px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo { margin-bottom: 12px; display: inline-flex; }

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.75;
  font-weight: 300;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul a:hover { color: rgba(255,255,255,0.7); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

.footer-phone {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-phone:hover { color: rgba(255,255,255,0.6); }

/* ── SERVICE PAGES ──────────────────────────────── */
.page-hero {
  padding: 132px 48px 64px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--rule-light);
}

.page-hero .content-wrap { max-width: 1200px; }

.page-hero .hero-eyebrow { margin-bottom: 20px; }

.page-hero h1 {
  margin-bottom: 16px;
  max-width: 640px;
}

.page-hero .hero-sub {
  max-width: 540px;
  margin-bottom: 28px;
}

.page-body {
  padding: 64px 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule-light);
}

.page-body .content-wrap { max-width: 1200px; }

.page-body h2 { margin-bottom: 32px; }

.use-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.use-case {
  padding: 28px 24px;
  border: 1px solid var(--rule-light);
  border-radius: 3px;
  background: var(--bg-white);
  transition: border-color 0.15s;
}

.use-case:hover { border-color: var(--rule); }

.use-case h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.use-case p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.72;
  font-weight: 300;
}

.page-approach {
  padding: 64px 48px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--rule-light);
}

.page-approach .content-wrap { max-width: 1200px; }

.page-approach h2 { margin-bottom: 16px; }

.page-approach p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  font-weight: 300;
  max-width: 600px;
}

.page-approach p + p { margin-top: 16px; }

@media (max-width: 1100px) {
  .page-hero { padding: 108px 28px 48px; }
  .page-body { padding: 48px 28px; }
  .page-approach { padding: 48px 28px; }
  .use-cases { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { padding: 88px 20px 40px; }
  .page-body { padding: 40px 20px; }
  .page-approach { padding: 40px 20px; }
  .use-cases { grid-template-columns: 1fr; }
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  nav { padding: 0 28px; }
  .hero { padding: 108px 28px 64px; gap: 40px; }
  .dash { width: 400px; }
  .section-pad { padding: 64px 28px; }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .vp-grid { grid-template-columns: 1fr; gap: 32px; }
  .vp-item { border-right: none; padding: 0 0 32px 0 !important; border-bottom: 1px solid var(--rule-light); }
  .vp-item:last-child { border-bottom: none; padding-bottom: 0 !important; }
  .cta-section { padding: 64px 28px; }
  footer { padding: 48px 28px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust { padding: 15px 28px; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; height: 58px; }
  .nav-logo img { height: 40px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hero { flex-direction: column; padding: 88px 20px 48px; min-height: auto; }
  .hero-right { width: 100%; }
  .dash { width: 100%; max-width: 490px; }
  .trust { padding: 12px 20px; }
  .trust-divider { display: none; }
  .section-pad { padding: 48px 20px; }
  .srv-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  footer { padding: 36px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-section { padding: 48px 20px; }
}