:root {
  --ink:        #1c1917;
  --ink-soft:   #57534e;
  --ink-faint:  #8a8279;
  --paper:      #fffdf9;
  --paper-warm: #fdf6ec;
  --line:       #ebe3d7;
  --brand:      #b45309;
  --brand-deep: #7c3d06;
  --brand-wash: #fef3c7;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo span.mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand-wash); color: var(--brand-deep);
  display: grid; place-items: center; font-size: 1.05rem;
}
nav { margin-left: auto; display: flex; gap: 22px; }
nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
nav a:hover { color: var(--brand); }
@media (max-width: 680px) { nav { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--paper-warm), var(--paper)); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-deep);
  background: var(--brand-wash); padding: 5px 11px; border-radius: 999px; margin-bottom: 18px;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
.lede { font-size: clamp(1.02rem, 2.1vw, 1.18rem); color: var(--ink-soft); margin-top: 18px; max-width: 60ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 0.97rem; transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-deep); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 48px; }
.stat { background: #fff; padding: 22px 20px; }
.stat b { display: block; font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--brand-deep); margin-bottom: 4px; }
.stat small { color: var(--ink-faint); font-size: 0.82rem; }

/* ---------- sections ---------- */
section { padding: 64px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); letter-spacing: -0.02em; font-weight: 750; }
.sub { color: var(--ink-soft); margin-top: 10px; max-width: 62ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 16px; margin-top: 34px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card .ico { font-size: 1.5rem; }
.card h3 { font-size: 1.04rem; margin: 12px 0 8px; font-weight: 700; }
.card p { color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; }
figure { margin: 0; }
figure img, .ph {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 13px; display: block; background: var(--paper-warm);
}
.ph {
  border: 1.5px dashed #d8cdbb; display: grid; place-items: center; text-align: center;
  color: var(--ink-faint); font-size: 0.85rem; padding: 18px;
}
figcaption { font-size: 0.86rem; color: var(--ink-soft); margin-top: 9px; }

.gal-head { display: flex; align-items: baseline; gap: 12px; margin-top: 40px; }
.gal-head h3 { font-size: 1.05rem; font-weight: 700; }
.gal-head span { font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- contact ---------- */
#contact { background: var(--paper-warm); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 30px; }
.cbox { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.cbox p.label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-faint); font-weight: 600; }
.cbox a { display: block; margin-top: 8px; font-size: 1.12rem; font-weight: 700; color: var(--ink); text-decoration: none; word-break: break-word; }
.cbox a:hover { color: var(--brand); }
.cbox small { color: var(--ink-faint); font-size: 0.84rem; display: block; margin-top: 6px; }

footer { padding: 30px 0 42px; color: var(--ink-faint); font-size: 0.86rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
footer a { color: var(--ink-soft); text-decoration: none; }

/* A non-link value in a contact box (location), styled to match the links. */
.cbox span.static { display: block; margin-top: 8px; font-size: 1.12rem; font-weight: 700; color: var(--ink); }

/* Logo is a link home; keep it looking like the wordmark. */
a.logo { color: inherit; text-decoration: none; }
a.logo img { border-radius: 9px; display: block; }

/* Photos replaced the dashed placeholders — give them a soft edge. */
figure img { border: 1px solid var(--line); }

/* ---------- software: headline metrics + buy box ---------- */
.metricbar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; margin-top: 30px;
}
.metricbar > div { background: #fff; padding: 20px 18px; text-align: center; }
.mlabel { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-faint); font-weight: 600; }
.mval { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.mval.good { color: #15803d; }
.mval.bad  { color: #b91c1c; }
.mnote { font-size: 0.78rem; color: var(--ink-faint); margin-top: 8px; text-align: center; }

.buybox {
  margin-top: 28px; background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.buybox h3 { font-size: 1.1rem; font-weight: 700; }
.buybox p { color: var(--ink-soft); font-size: 0.93rem; margin-top: 6px; max-width: 48ch; }
