:root {
  --bg: #EFEAE3;
  --bg-raised: #E3DBCD;
  --ink: #1C1712;
  --ink-soft: #4C4137;
  --taupe: #8C8175;
  --brass: #A9793B;
  --brass-strong: #8A5F2B;
  --line: rgba(28,23,18,0.16);
  --shadow: rgba(28,23,18,0.20);
  --logo-icon: url("/images/jomo-logo-light.jpeg");

  --font-display: 'Big Caslon', 'Didot', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: Optima, Candara, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', Consolas, 'Cascadia Mono', ui-monospace, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16110B;
    --bg-raised: #201911;
    --ink: #F1E9DC;
    --ink-soft: #C7BCAC;
    --taupe: #9C9184;
    --brass: #CB9C50;
    --brass-strong: #E3B569;
    --line: rgba(241,233,220,0.14);
    --shadow: rgba(0,0,0,0.5);
    --logo-icon: url("/images/jomo-logo-dark.jpeg");
  }
}
:root[data-theme="dark"] {
  --bg: #16110B;
  --bg-raised: #201911;
  --ink: #F1E9DC;
  --ink-soft: #C7BCAC;
  --taupe: #9C9184;
  --brass: #CB9C50;
  --brass-strong: #E3B569;
  --line: rgba(241,233,220,0.14);
  --shadow: rgba(0,0,0,0.5);
  --logo-icon: url("/images/jomo-logo-dark.jpeg");
}
:root[data-theme="light"] {
  --bg: #EFEAE3;
  --bg-raised: #E3DBCD;
  --ink: #1C1712;
  --ink-soft: #4C4137;
  --taupe: #8C8175;
  --brass: #A9793B;
  --brass-strong: #8A5F2B;
  --line: rgba(28,23,18,0.16);
  --shadow: rgba(28,23,18,0.20);
  --logo-icon: url("/images/jomo-logo-light.jpeg");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
::selection { background: var(--brass); color: var(--bg); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brass-strong);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
  margin: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background-image: var(--logo-icon);
  background-size: cover;
  background-position: center;
  box-shadow: 0 1px 2px var(--shadow);
  flex: none;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
}
.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:not(.btn):hover, .nav-links a:not(.btn):focus-visible {
  color: var(--ink);
  border-color: var(--brass);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.btn-primary {
  background: var(--brass);
  color: #1C1712;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px var(--shadow); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-strong); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, color-mix(in srgb, var(--brass) 22%, transparent) 0%, transparent 70%);
  pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 30px) scale(1.08); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.06;
  margin: 22px 0 24px;
}
.hero .sub {
  max-width: 46ch;
  font-size: 18.5px;
  color: var(--ink-soft);
  margin: 0 0 34px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.text-link {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.text-link:hover { color: var(--brass-strong); border-color: var(--brass); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-tile {
  width: min(360px, 80%);
  aspect-ratio: 1;
  border-radius: 34px;
  background-image: var(--logo-icon);
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 60px -20px var(--shadow), 0 2px 0 var(--line);
  transform: rotate(-4deg);
  animation: settle 1.1s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes settle {
  from { opacity: 0; transform: rotate(-4deg) translateY(18px) scale(0.96); }
  to { opacity: 1; transform: rotate(-4deg) translateY(0) scale(1); }
}

section { padding: 88px 0; }
.section-head {
  max-width: 56ch;
  margin: 0 0 48px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 16px 0 14px;
}
.section-head p { color: var(--ink-soft); font-size: 16.5px; margin: 0; }

/* ---------- Split (customers / professionals) ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.ticket {
  position: relative;
  background: var(--bg-raised);
  border-radius: 4px;
  padding: 36px 34px 32px;
  border-top: 2px dashed var(--line);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket .eyebrow { margin-bottom: 6px; }
.ticket h3 {
  font-size: 24px;
  margin: 6px 0 20px;
}
.ticket ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.ticket li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink-soft);
  align-items: flex-start;
}
.ticket li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  margin-top: 8px;
  flex: none;
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.steps li {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.step-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--brass-strong);
  letter-spacing: 0.06em;
}
.steps h3 {
  font-size: 18px;
  margin: 10px 0 8px;
  font-family: var(--font-body);
  font-weight: 700;
}
.steps p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-raised);
  border-radius: 4px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 30px); max-width: 32ch; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 60px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-tag { max-width: 38ch; color: var(--ink-soft); font-size: 14.5px; margin: 10px 0 0; }
.footer-contact a {
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.footer-contact a:hover { color: var(--brass-strong); border-color: var(--brass); }
.footer-links { display: flex; gap: 24px; font-size: 14px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--ink-soft); }
.footer-links a:hover { color: var(--brass-strong); }
.fine-print {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--taupe);
  font-family: var(--font-mono);
}

/* ---------- Legal / article pages (terms, privacy, help) ---------- */
.article-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.back-link:hover { color: var(--brass-strong); }
.article-header h1 {
  font-size: clamp(30px, 4vw, 42px);
  margin: 0 0 10px;
}
.article-updated {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--taupe);
}
.article-body {
  max-width: 68ch;
  padding: 48px 0 40px;
}
.article-body > .wrap { max-width: 68ch; }
.article-section { margin-bottom: 30px; }
.article-section h2 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}
.article-section p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.article-body p.lede { color: var(--ink-soft); font-size: 16px; margin: 0 0 8px; }

.faq-item {
  background: var(--bg-raised);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 10px;
}
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--brass-strong);
  font-size: 18px;
  flex: none;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); font-size: 14.5px; margin: 12px 0 0; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-raised);
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  margin-top: 8px;
}
.contact-card .label { font-weight: 600; font-size: 15px; }
.contact-card .value { color: var(--ink-soft); font-size: 13.5px; }
.contact-card:hover { box-shadow: 0 6px 18px var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-tile { width: min(240px, 60%); }
  .split-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { position: fixed; inset: 76px 0 0 0; background: var(--bg); flex-direction: column; justify-content: flex-start; padding: 32px 28px; gap: 22px; transform: translateX(100%); transition: transform 0.25s ease; }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
}
