@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --deep-teal: #0A4D68;
  --deep-teal-ink: #083f56;
  --deep-teal-hi: #0d5b7a;
  --logo-teal: #4BA8C4;
  --logo-teal-soft: #8dc6d8;
  --burnt: #B8522A;       /* darkened from #C85E30 for WCAG AA contrast */
  --burnt-hi: #C85E30;
  --off-white: #FAF8F4;
  --off-white-2: #f1ecdf;
  --charcoal: #2C2C2C;
  --charcoal-soft: #4a4a4a;
  --muted: #666666;  /* darkened from #7a7a7a for WCAG AA on off-white */
  --rule: #e7e1d2;

  --s1: 4px;  --s2: 8px;   --s3: 12px;  --s4: 16px;  --s5: 20px;
  --s6: 24px; --s8: 32px;  --s10: 40px; --s12: 48px; --s16: 64px;
  --s20: 80px; --s24: 96px; --s32: 128px; --s40: 160px;

  --radius-card: 8px;
  --radius-input: 4px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "opsz" 144;
}
h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(36px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: clamp(22px, 1.7vw, 28px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--logo-teal);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  height: 48px;
  padding: 0 var(--s6);
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s var(--ease-out), background .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
  will-change: transform;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.99); }
.btn .arrow { transition: transform .2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.btn.primary { background: var(--burnt); color: #fff; }
.btn.primary:hover { background: var(--burnt-hi); }
.btn.secondary { background: var(--deep-teal); color: #fff; }
.btn.secondary:hover { background: var(--deep-teal-hi); }
.btn.ghost { background: transparent; color: var(--deep-teal); border: 1.5px solid var(--deep-teal); height: 45px; }
.btn.ghost:hover { background: rgba(10,77,104,.06); }
.btn.ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); height: 45px; }
.btn.ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn.on-teal-secondary { background: #fff; color: var(--deep-teal); }
.btn.on-teal-secondary:hover { background: rgba(255,255,255,.92); }
.btn.sm { height: 38px; padding: 0 var(--s5); font-size: 14px; }

/* ===== Layout ===== */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--s8); }
.section { padding: var(--s32) 0; }
.section-tight { padding: var(--s20) 0; }

/* ===== Nav ===== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 244, 0);
  transition: background .25s var(--ease-out), box-shadow .25s var(--ease-out), backdrop-filter .25s var(--ease-out);
}
.nav-wrap.solid {
  background: rgba(250, 248, 244, .92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 1px 0 rgba(10,77,104,.07);
}
.nav-wrap:not(.solid) .nav a { color: #fff; }
.nav-wrap:not(.solid) .nav .btn.ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.nav-wrap:not(.solid) .nav .btn.ghost:hover { background: rgba(255,255,255,.06); border-color: #fff; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 32px; width: auto; display: block; }

/* Dark hero (transparent nav over teal): show white logo, hide dark */
.nav-wrap:not(.solid):not(.light-bg) .logo-dark { display: none; }
/* Light pages + all scrolled states: show dark logo, hide white */
.nav-wrap.light-bg .logo-white,
.nav-wrap.solid .logo-white { display: none; }
.nav-links { display: flex; gap: var(--s8); list-style: none; padding: 0; margin: 0; }
.nav-links a {
  color: var(--charcoal); text-decoration: none;
  font-size: 14px; font-weight: 500;
  position: relative; padding: var(--s1) 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.current::after { transform: scaleX(1); opacity: .5; }
.nav-ctas { display: flex; gap: var(--s3); align-items: center; }
.nav-links-signin { display: none; } /* desktop: sign-in is the ghost button in nav-ctas */

.lang-switch {
  display: inline-flex;
  background: rgba(10,77,104,.06);
  border: 1px solid rgba(10,77,104,.12);
  border-radius: var(--radius-pill);
  padding: 3px; gap: 2px;
}
.lang-switch .lang {
  appearance: none; background: transparent; border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  color: var(--charcoal-soft);
  padding: 5px 10px; border-radius: var(--radius-pill);
  cursor: pointer; min-width: 34px;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.lang-switch .lang:hover { color: var(--charcoal); }
.lang-switch .lang.active { background: #fff; color: var(--deep-teal); box-shadow: 0 1px 3px rgba(10,77,104,.1); }
.nav-wrap:not(.solid) .lang-switch { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.nav-wrap:not(.solid) .lang-switch .lang { color: rgba(255,255,255,.7); }
.nav-wrap:not(.solid) .lang-switch .lang:hover { color: #fff; }
.nav-wrap:not(.solid) .lang-switch .lang.active { background: #fff; color: var(--deep-teal); box-shadow: 0 1px 3px rgba(0,0,0,.15); }

/* Force solid nav on light-bg pages (no teal hero) */
.nav-wrap.light-bg:not(.solid) .nav a { color: var(--charcoal); }
.nav-wrap.light-bg:not(.solid) .nav .btn.ghost { color: var(--deep-teal); border-color: var(--deep-teal); }
.nav-wrap.light-bg:not(.solid) .lang-switch { background: rgba(10,77,104,.06); border-color: rgba(10,77,104,.12); }
.nav-wrap.light-bg:not(.solid) .lang-switch .lang { color: var(--charcoal-soft); }
.nav-wrap.light-bg:not(.solid) .lang-switch .lang.active { background: #fff; color: var(--deep-teal); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--deep-teal); color: #fff;
  overflow: hidden;
  padding: var(--s32) 0 var(--s40);
  margin-top: -72px;
  padding-top: calc(72px + var(--s24));
}
.hero .wrap { position: relative; z-index: 2; }
.arc-layer { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.arc-tr, .arc-bl { position: absolute; display: block; }
.arc-tr { top: -15vw; right: -18%; width: 110vw; max-width: 1500px; }
.arc-bl { bottom: -20vw; left: -18%; width: 80vw; max-width: 1000px; opacity: .55; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s16);
  align-items: center;
  min-height: 580px;
}
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 6px var(--s3);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-pill);
  color: var(--logo-teal-soft);
  margin-bottom: var(--s6);
}
.hero-copy .eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--logo-teal);
  box-shadow: 0 0 0 4px rgba(75,168,196,.15);
}
.hero h1 { color: #fff; font-weight: 500; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--logo-teal-soft); font-family: 'Fraunces', serif; }
.hero .sub {
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.55; margin-top: var(--s6);
  max-width: 520px;
}
.hero .ctas { display: flex; gap: var(--s3); margin-top: var(--s10); flex-wrap: wrap; }
.hero .micro {
  display: flex; align-items: center; gap: var(--s3);
  margin-top: var(--s8);
  color: rgba(255,255,255,.8); font-size: 13px;
}

/* ===== Hero flow visual (right col) ===== */
.flow-visual { position: relative; padding: var(--s4); }
.flow-card {
  position: relative; background: #fff; border-radius: 12px;
  padding: var(--s6);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.3), 0 2px 4px rgba(0,0,0,.04);
  color: var(--charcoal);
}
.flow-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: var(--s4); margin-bottom: var(--s4);
  border-bottom: 1px solid var(--rule);
}
.flow-header .flow-title { font-family: 'Fraunces', serif; font-size: 15px; font-weight: 600; color: var(--deep-teal); }
.flow-header .badge {
  background: rgba(10,77,104,.08); color: var(--deep-teal);
  font-size: 11px; font-weight: 500;
  padding: 3px var(--s2); border-radius: var(--radius-pill); letter-spacing: .04em;
}
.flow-steps { display: flex; flex-direction: column; gap: var(--s3); }
.flow-step {
  display: grid; grid-template-columns: 28px 1fr auto;
  align-items: center; gap: var(--s3);
  padding: var(--s3); border-radius: 6px;
  background: var(--off-white);
  opacity: 0; transform: translateY(8px);
  animation: flowStepIn .55s var(--ease-out) forwards;
  transition: background .2s;
}
.flow-step:nth-child(1) { animation-delay: .5s; }
.flow-step:nth-child(2) { animation-delay: .75s; }
.flow-step:nth-child(3) { animation-delay: 1.0s; }
.flow-step:nth-child(4) { animation-delay: 1.25s; }
@keyframes flowStepIn { to { opacity: 1; transform: translateY(0); } }
.flow-step.active { background: rgba(75,168,196,.1); }
.flow-step .num {
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--muted);
  transition: all .3s var(--ease-out);
}
.flow-step.done .num { background: var(--deep-teal); border-color: var(--deep-teal); color: #fff; }
.flow-step.active .num {
  background: var(--logo-teal); border-color: var(--logo-teal); color: #fff;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(75,168,196,.4); }
  50% { box-shadow: 0 0 0 8px rgba(75,168,196,0); }
}
.flow-step .label { font-size: 14px; font-weight: 500; color: var(--charcoal); }
.flow-step .meta { font-size: 12px; color: var(--muted); }
.flow-step.done .meta { color: var(--deep-teal); font-weight: 500; }

.flow-amount {
  margin-top: var(--s4); padding-top: var(--s4);
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: baseline;
}
.flow-amount .label { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.flow-amount .value { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; color: var(--deep-teal); }

.flow-note {
  position: absolute; left: -18px; bottom: 20px;
  background: #fff; border-radius: 10px;
  padding: var(--s3) var(--s4);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.25);
  display: flex; align-items: center; gap: var(--s3);
  max-width: 260px;
  opacity: 0; transform: translateY(8px);
  animation: flowStepIn .55s var(--ease-out) 1.6s forwards;
}
.flow-note .reviewer {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #d4a988, #b77a56);
  flex: none; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: 13px; font-family: 'Fraunces', serif;
}
.flow-note .text { font-size: 12px; line-height: 1.35; color: var(--charcoal-soft); }
.flow-note .text strong { color: var(--charcoal); font-weight: 600; }

/* ===== Section head ===== */
.section-head {
  display: flex; flex-direction: column; gap: var(--s4);
  max-width: 720px; margin-bottom: var(--s16);
}
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head .lede {
  font-size: clamp(17px, 1.2vw, 19px);
  color: var(--charcoal-soft); line-height: 1.55;
}

/* ===== Journey section ===== */
.journey { background: var(--off-white); padding: var(--s32) 0; }
.journey-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s4); position: relative;
}
.journey-grid::before {
  content: "";
  position: absolute; top: 46px; left: 7%; right: 7%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--logo-teal-soft) 0 4px, transparent 4px 10px);
  opacity: .5; z-index: 0;
}
.jcard {
  position: relative; z-index: 1;
  background: #fff; border-radius: var(--radius-card);
  padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3);
  box-shadow: 0 1px 0 var(--rule); border: 1px solid var(--rule);
  opacity: 0; transform: translateX(-28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), box-shadow .25s var(--ease-out);
}
.jcard.in { opacity: 1; transform: translateX(0); }
.jcard:hover { box-shadow: 0 18px 40px -18px rgba(10,77,104,.25); }
.jcard .icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--off-white); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  color: var(--deep-teal); margin-bottom: var(--s2);
}
.jcard .step-num { font-family: 'Fraunces', serif; font-size: 12px; font-style: italic; color: var(--logo-teal); letter-spacing: .08em; }
.jcard h3 { color: var(--deep-teal); font-weight: 600; }
.jcard p { color: var(--charcoal-soft); font-size: 15px; line-height: 1.5; }
/* Journey two-path layout */
.journey-paths { display: flex; flex-direction: column; gap: 0; }
.path-entry { margin-bottom: 0; }
.path-route-label {
  display: flex; align-items: center; gap: var(--s2);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .04em; color: var(--muted);
  text-transform: uppercase; margin-bottom: var(--s4);
}
.journey-grid-half {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4);
}
.path-fork {
  display: flex; align-items: center; gap: var(--s5);
  margin: var(--s8) 0;
}
.fork-line { flex: 1; height: 1px; background: var(--rule); }
.fork-text {
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  color: var(--logo-teal); font-weight: 500; white-space: nowrap;
  padding: var(--s2) var(--s4); border: 1px solid rgba(75,168,196,.3);
  border-radius: 9999px; background: rgba(75,168,196,.06);
}
.jcard-badge {
  font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; padding: 3px 9px;
  border-radius: 9999px; display: inline-block; margin-bottom: var(--s3);
}
.jcard-badge.opt { background: var(--off-white); border: 1px solid var(--rule); color: var(--muted); }
.jcard-badge.core {
  background: rgba(10,77,104,.07); color: var(--deep-teal);
  border: 1px solid rgba(10,77,104,.18);
}
.jcard.core { border-top: 2px solid var(--logo-teal); }

/* ===== Feature sections ===== */
.human { background: var(--off-white); padding: var(--s16) 0 var(--s32); }
.feature-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s16); align-items: center; }
.feature-grid.flip { grid-template-columns: 1.1fr 1fr; }
.feature-copy h2 { color: var(--deep-teal); margin-top: var(--s3); }
.feature-copy p { color: var(--charcoal-soft); font-size: 17px; margin-top: var(--s5); max-width: 480px; }
.feature-copy .points { list-style: none; padding: 0; margin: var(--s8) 0; display: flex; flex-direction: column; gap: var(--s4); }
.feature-copy .points li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: flex-start; color: var(--charcoal-soft); font-size: 15px; }
.feature-copy .points .check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(10,77,104,.08); color: var(--deep-teal);
  display: flex; align-items: center; justify-content: center;
  flex: none; margin-top: 2px;
}

/* ===== Invoice mock ===== */
.invoice-mock {
  position: relative; background: #fff; border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(10,77,104,.3), 0 2px 8px rgba(0,0,0,.04);
  overflow: visible; border: 1px solid var(--rule);
}
.invoice-bar {
  display: flex; align-items: center; gap: var(--s2);
  padding: var(--s3) var(--s4);
  background: var(--off-white-2); border-bottom: 1px solid var(--rule);
  border-radius: 12px 12px 0 0;
}
.invoice-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; }
.invoice-bar .url {
  margin-left: var(--s4); font-family: monospace; font-size: 12px; color: var(--muted);
  background: #fff; padding: 4px var(--s3); border-radius: 4px; border: 1px solid var(--rule);
  flex: 1; max-width: 280px;
}
.invoice-body { padding: var(--s8) var(--s8) var(--s6); }
.invoice-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: var(--s8); padding-bottom: var(--s6);
  border-bottom: 1px solid var(--rule);
}
.invoice-head .from, .invoice-head .to { display: flex; flex-direction: column; gap: 2px; }
.invoice-head .label { font-size: 10px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.invoice-head .name { font-family: 'Fraunces', serif; font-size: 15px; font-weight: 600; color: var(--charcoal); margin-top: 2px; }
.invoice-head .sub { font-size: 12px; color: var(--muted); }
.invoice-head .num { text-align: right; }
.invoice-head .num .n { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; color: var(--deep-teal); letter-spacing: -.01em; }
.invoice-head .num .d { font-size: 12px; color: var(--muted); margin-top: 2px; }
.line-items { display: flex; flex-direction: column; gap: var(--s2); }
.line { display: grid; grid-template-columns: 22px 1fr auto; gap: var(--s3); align-items: center; padding: var(--s3) 0; }
.line .ck {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(10,77,104,.08); color: var(--deep-teal);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.line .desc { font-size: 14px; color: var(--charcoal); }
.line .amt { font-family: 'Fraunces', serif; font-size: 14px; color: var(--charcoal); font-weight: 500; }
.line + .line { border-top: 1px solid var(--rule); }
.invoice-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: var(--s6); padding-top: var(--s5);
  border-top: 1.5px solid var(--charcoal);
}
.invoice-total .label { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.invoice-total .value { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 600; color: var(--deep-teal); }

.review-anno {
  position: absolute; top: 64px; right: -36px;
  background: #fff; border-radius: 12px;
  padding: var(--s3) var(--s4) var(--s3) var(--s3);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.25);
  display: flex; gap: var(--s3); align-items: center;
  max-width: 240px; border: 1px solid rgba(75,168,196,.3);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.review-anno .rev-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #e3b488, #b77a56);
  flex: none; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: 14px; font-family: 'Fraunces', serif;
}
.review-anno .rev-text { font-size: 12px; line-height: 1.4; color: var(--charcoal); }
.review-anno .rev-text .who { font-weight: 600; color: var(--deep-teal); font-size: 12px; }
.review-anno .rev-text .note { color: var(--charcoal-soft); margin-top: 2px; }
.review-anno::before {
  content: ""; position: absolute; left: -6px; top: 24px;
  width: 12px; height: 12px; background: #fff;
  border-left: 1px solid rgba(75,168,196,.3);
  border-bottom: 1px solid rgba(75,168,196,.3);
  transform: rotate(45deg);
}
.review-stamp {
  position: absolute; bottom: 22px; left: -28px;
  background: var(--deep-teal); color: #fff;
  padding: var(--s2) var(--s4); border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 500;
  display: flex; align-items: center; gap: var(--s2);
  box-shadow: 0 12px 28px -10px rgba(10,77,104,.6);
}
.review-stamp .dot { width: 8px; height: 8px; border-radius: 50%; background: #5dd39e; box-shadow: 0 0 0 3px rgba(93,211,158,.2); }

/* ===== MoR section ===== */
.mor {
  background: var(--deep-teal); color: #fff;
  position: relative; overflow: hidden; padding: var(--s32) 0;
}
.mor .feature-copy h2 { color: #fff; }
.mor .feature-copy .points li { color: rgba(255,255,255,.85); }
.mor .feature-copy .points .check { background: rgba(255,255,255,.12); color: #fff; }
.mor .feature-copy .eyebrow { color: var(--logo-teal-soft); }

.mor-diagram {
  position: relative; padding: var(--s10) var(--s4);
  display: grid; grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0; align-items: center; justify-items: center;
  min-height: 460px;
}
.mor-node {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px; padding: var(--s8) var(--s5);
  width: 100%; max-width: 220px; text-align: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  position: relative; z-index: 2;
}
.mor-node .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(75,168,196,.2); color: var(--logo-teal-soft);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s4);
}
.mor-node.center {
  background: #fff; color: var(--deep-teal); border: none;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.5), 0 4px 12px rgba(0,0,0,.15);
  max-width: 260px; padding: var(--s10) var(--s6); transform: translateY(-4px);
}
.mor-node.center::before {
  content: ""; position: absolute; inset: -8px;
  border-radius: 20px; border: 1px dashed rgba(75,168,196,.4); pointer-events: none;
}
.mor-node.center .icon { background: var(--deep-teal); color: #fff; width: 60px; height: 60px; }
.mor-node.center .sub { color: var(--muted); }
.mor-node h4, .mor-node-label { font-family: 'Fraunces', serif; font-size: 18px; color: inherit; font-weight: 600; margin: 0; }
.mor-node.center h4 { font-size: 22px; color: var(--deep-teal); }
.mor-node .sub { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }
.mor-node .badge-mini {
  display: inline-block; margin-top: var(--s3);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--logo-teal); background: rgba(75,168,196,.12);
  padding: 3px 10px; border-radius: var(--radius-pill); font-weight: 600;
}
.mor-node.client { grid-column: 1; }
.mor-node.center { grid-column: 2; }
.mor-node.you { grid-column: 3; }
.mor-arrow {
  position: absolute; top: 50%; height: 2px;
  background: repeating-linear-gradient(to right, rgba(75,168,196,.55) 0 6px, transparent 6px 12px);
  z-index: 1; transform: translateY(-50%);
}
.mor-arrow.l { left: 22%; right: 58%; }
.mor-arrow.r { left: 58%; right: 22%; }
.mor-arrow::after {
  content: ""; position: absolute; right: -2px; top: 50%;
  width: 10px; height: 10px;
  border-top: 2px solid rgba(75,168,196,.75);
  border-right: 2px solid rgba(75,168,196,.75);
  transform: translateY(-50%) rotate(45deg);
}
.mor-arrow .lbl {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  color: var(--logo-teal-soft); background: var(--deep-teal);
  padding: 4px 10px; border-radius: var(--radius-pill);
  white-space: nowrap; border: 1px solid rgba(75,168,196,.3);
}
.mor-arrow .coin {
  position: absolute; top: 50%;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--deep-teal); border: 1.5px solid var(--logo-teal);
  display: flex; align-items: center; justify-content: center;
  color: var(--logo-teal-soft); font-family: 'Fraunces', serif;
  font-size: 13px; font-weight: 600;
  transform: translateY(-50%);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.mor-arrow.l .coin { left: 0; animation: coinFlowR 3.6s var(--ease-out) infinite; }
.mor-arrow.r .coin { left: 0; animation: coinFlowR 3.6s var(--ease-out) infinite 1.8s; }
@keyframes coinFlowR {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 28px); opacity: 0; }
}

/* ===== Pricing ===== */
.pricing { background: var(--off-white); padding: var(--s32) 0; }
.pricing-split {
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: var(--s16); align-items: center;
  max-width: 960px; margin: 0 auto;
}
.pricing-num-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.fee-pct {
  font-family: 'Fraunces', serif;
  font-size: clamp(120px, 16vw, 220px);
  font-weight: 500; line-height: .85;
  color: var(--deep-teal); letter-spacing: -.04em;
  display: block;
}
.fee-pct sup { font-size: .38em; vertical-align: top; margin-top: .22em; display: inline-block; font-weight: 400; font-style: italic; }
.fee-min-label {
  font-size: 13px; color: var(--muted); margin-top: var(--s4);
  line-height: 1.5; font-family: 'DM Sans', sans-serif;
}
.pricing-desc-col { text-align: left; }
.pricing-desc-col h2 { color: var(--deep-teal); margin-bottom: var(--s4); font-size: clamp(26px, 3vw, 34px); }
.pricing-desc-col .body-copy { color: var(--charcoal-soft); font-size: 16px; line-height: 1.65; margin-bottom: var(--s3); font-family: 'DM Sans', sans-serif; }
.pricing-points { display: flex; flex-direction: column; gap: var(--s3); margin: var(--s6) 0; }
.pricing-points .pt { display: flex; align-items: center; gap: var(--s3); color: var(--charcoal-soft); font-size: 15px; }
.pricing-points .pt .ck {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--deep-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.pricing .cta-row { margin-top: var(--s6); text-align: left; }
.pricing .footnote { margin-top: var(--s5); color: var(--muted); font-size: 13px; }

/* ===== Trust / testimonials ===== */
.trust { background: var(--off-white); padding: var(--s24) 0 var(--s32); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.quote {
  background: #fff; border: 1px solid var(--rule);
  border-radius: var(--radius-card); padding: var(--s8);
  display: flex; flex-direction: column; gap: var(--s5);
  min-height: 280px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.quote:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -28px rgba(10,77,104,.25); }
.quote .q-body {
  font-family: 'Fraunces', serif; font-size: 19px;
  line-height: 1.45; color: var(--charcoal); font-weight: 400;
  flex: 1; text-wrap: pretty;
}
.quote .by { display: flex; align-items: center; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.quote .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--logo-teal), var(--deep-teal));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 16px; flex: none;
}
.quote .avatar.a2 { background: linear-gradient(135deg, #e3b488, #b77a56); }
.quote .avatar.a3 { background: linear-gradient(135deg, #7fb89d, #3d7d62); }
.quote .who { display: flex; flex-direction: column; gap: 0; }
.quote .who .n { font-size: 14px; font-weight: 600; color: var(--charcoal); }
.quote .who .r { font-size: 12px; color: var(--muted); }

/* ===== CTA band ===== */
.cta-band { background: var(--deep-teal); padding: var(--s24) 0 var(--s32); }
.cta-band .inner {
  display: grid; grid-template-columns: 1.4fr auto;
  gap: var(--s10); align-items: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band h2 em { font-style: italic; font-weight: 400; color: var(--logo-teal-soft); }
.cta-band p { color: rgba(255,255,255,.78); margin-top: var(--s4); font-size: 17px; max-width: 520px; }
.cta-band .actions { display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 2; }
.cta-band .inner > *:not(.actions) { position: relative; z-index: 2; }
.cta-band .arc-layer { opacity: .6; }
.cta-band .arc-tr { top: -60%; right: -20%; width: 60vw; opacity: .5; }
.cta-band .arc-bl { display: none; }

/* ===== Workodin ID — homepage section ===== */
.workodin-id {
  background: var(--off-white);
  padding: var(--s32) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
}
.workodin-id .wid-inner {
  display: grid; grid-template-columns: 1fr;
  gap: var(--s10); max-width: 980px;
  margin: 0 auto; text-align: center;
  align-items: center; justify-items: center;
}
.workodin-id .eyebrow { color: var(--deep-teal); }
.workodin-id h2 { color: var(--deep-teal); margin-top: var(--s3); }
.workodin-id .lede {
  font-size: clamp(17px, 1.2vw, 19px); color: var(--charcoal-soft);
  line-height: 1.55; max-width: 620px; margin: var(--s5) auto 0;
}
.wid-stage {
  position: relative; width: 100%; max-width: 860px;
  height: 340px; margin: var(--s10) auto 0;
  display: flex; align-items: center; justify-content: center;
}
.wid-lock {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 170px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
}
.wid-lock svg { width: 100%; height: 100%; overflow: visible; }
.wid-lock .lock-shackle {
  stroke: var(--logo-teal); stroke-width: 6; fill: none;
  stroke-linecap: round; transform-origin: 50px 55px; transform-box: fill-box;
}
.wid-lock .lock-body {
  stroke: var(--logo-teal); stroke-width: 6; fill: none;
  stroke-linejoin: round; stroke-linecap: round;
}
.wid-lock .lock-key {
  stroke: var(--logo-teal); stroke-width: 5; fill: none;
  stroke-linecap: round; transform-origin: 50% 72%;
  transform-box: fill-box; opacity: 0;
}
.wid-lock .lock-keyhole {
  stroke: var(--logo-teal); stroke-width: 5; fill: none; stroke-linecap: round;
}
.wid-cards {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; gap: var(--s6); width: 100%;
  max-width: 720px; justify-content: center; pointer-events: none;
}
.wid-card {
  flex: 1 1 0; max-width: 320px;
  background: #fff; border: 1px solid var(--rule);
  border-radius: 14px; padding: var(--s6) var(--s6) var(--s5);
  box-shadow: 0 18px 40px -22px rgba(10,77,104,.25);
  text-align: left; opacity: 0;
  transform: translateX(0) scale(.95);
  pointer-events: auto;
  transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.wid-card:hover { box-shadow: 0 24px 50px -20px rgba(10,77,104,.32); }
.wid-card .wid-card-head {
  display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4);
}
.wid-card .wid-card-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(75,168,196,.12); color: var(--deep-teal);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.wid-card.odinify .wid-card-mark { background: rgba(200,94,48,.12); color: var(--burnt); }
.wid-card .wid-card-name {
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600;
  color: var(--deep-teal); letter-spacing: -.01em;
}
.wid-card .wid-card-role {
  font-size: 11px; color: var(--muted);
  letter-spacing: .1em; text-transform: uppercase; margin-top: 2px;
  font-family: 'DM Sans', sans-serif;
}
.wid-card p { font-size: 14px; color: var(--charcoal-soft); line-height: 1.5; margin: 0; }
.wid-card .wid-card-meta {
  margin-top: var(--s4); padding-top: var(--s3);
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; gap: var(--s2);
  font-size: 12px; color: var(--deep-teal); font-family: 'DM Sans', sans-serif;
}
.wid-card .wid-card-meta .dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: #5dd39e; box-shadow: 0 0 0 3px rgba(93,211,158,.18);
}
.wid-reveal { opacity: 0; transform: translateY(12px); }
.wid-cta { margin-top: var(--s8); }

/* ===== Workodin ID page — unique tokens ===== */
:root {
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --rule-dark: rgba(255,255,255,.14);
  --rule-dark-soft: rgba(255,255,255,.08);
}

/* ===== Footer ===== */
.foot {
  background: var(--deep-teal); color: rgba(255,255,255,.78);
  padding: var(--s24) 0 var(--s8); position: relative; overflow: hidden;
}
.foot .arc-layer .arc-bl { opacity: .25; bottom: -50%; left: -10%; width: 60vw; }
.foot .arc-layer .arc-tr { display: none; }
.foot .wrap { position: relative; z-index: 2; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s10); padding-bottom: var(--s12); }
/* Footer always uses white logo — no toggle needed */
.foot .tag {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 17px; color: rgba(255,255,255,.85);
  margin: var(--s4) 0 var(--s6); max-width: 320px; line-height: 1.4;
}
.foot .social { display: flex; gap: var(--s3); }
.foot .social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85); transition: all .2s;
}
.foot .social a:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.foot h5 {
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.55); letter-spacing: .1em; text-transform: uppercase;
  margin: 0 0 var(--s4);
}
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s3); }
.foot ul a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 14px; transition: color .2s; }
.foot ul a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: var(--s5) 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.55);
}
.foot-bottom .legal { display: flex; gap: var(--s6); }
.foot-bottom a { color: inherit; text-decoration: none; }
.foot-bottom a:hover { color: #fff; }

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.stagger > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.stagger.in > * { opacity: 1; transform: translateY(0); }
.stagger.in > *:nth-child(1) { transition-delay: 0s; }
.stagger.in > *:nth-child(2) { transition-delay: .08s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .24s; }
.stagger.in > *:nth-child(5) { transition-delay: .32s; }

/* Hero entrance animation */
.hero-copy > * {
  opacity: 0; transform: translateY(18px);
  animation: heroIn .65s var(--ease-out) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: .1s; }
.hero-copy > *:nth-child(2) { animation-delay: .2s; }
.hero-copy > *:nth-child(3) { animation-delay: .32s; }
.hero-copy > *:nth-child(4) { animation-delay: .44s; }
.hero-copy > *:nth-child(5) { animation-delay: .56s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* LCP fix: h1 must never be opacity:0 — it's the LCP element.
   Keep the slide-up but start visible so the browser can measure it. */
.hero-copy h1 {
  opacity: 1;
  animation: heroInMove .65s var(--ease-out) .2s both;
}
@keyframes heroInMove { from { transform: translateY(18px); } to { transform: translateY(0); } }
.flow-visual {
  opacity: 0; transform: translateY(24px);
  animation: heroIn .7s var(--ease-out) .35s forwards;
}

/* ===== Cards ===== */
.card {
  background: #fff; border-radius: var(--radius-card);
  padding: var(--s8); border: 1px solid var(--rule);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -28px rgba(10,77,104,.25); }

/* ===== Badges ===== */
.badge-pill {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 4px var(--s3); border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 500;
}
.badge-pill.verified { background: rgba(10,77,104,.1); color: var(--deep-teal); }
.badge-pill.reviewed { background: rgba(75,168,196,.12); color: var(--logo-teal); }
.badge-pill.paid { background: rgba(52,168,83,.1); color: #2a7d34; }
.badge-pill.pending { background: rgba(120,120,120,.1); color: var(--muted); }

/* ===== Prose (for content pages) ===== */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { color: var(--deep-teal); margin-top: var(--s16); margin-bottom: var(--s5); }
.prose h3 { color: var(--deep-teal); margin-top: var(--s10); margin-bottom: var(--s4); font-size: 20px; }
.prose p { color: var(--charcoal-soft); line-height: 1.75; margin-top: var(--s5); font-size: 17px; }
.prose ul, .prose ol { color: var(--charcoal-soft); line-height: 1.75; font-size: 17px; padding-left: var(--s8); margin-top: var(--s5); }
.prose li + li { margin-top: var(--s3); }
.prose a { color: var(--logo-teal); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--deep-teal); }
.prose strong { color: var(--charcoal); }
.prose blockquote {
  border-left: 3px solid var(--logo-teal); padding-left: var(--s6);
  margin: var(--s8) 0; color: var(--charcoal-soft); font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin-top: var(--s8); font-size: 15px; }
.prose th { background: var(--deep-teal); color: #fff; padding: var(--s3) var(--s5); text-align: left; font-weight: 500; }
.prose td { padding: var(--s3) var(--s5); border-bottom: 1px solid var(--rule); color: var(--charcoal-soft); }
.prose tr:last-child td { border-bottom: none; }
.prose tr:nth-child(even) td { background: rgba(10,77,104,.03); }

/* ===== Legal page ===== */
.legal-header { padding: var(--s24) 0 var(--s16); text-align: center; max-width: 720px; margin: 0 auto; }
.legal-header h1 { font-size: clamp(36px, 4vw, 52px); color: var(--deep-teal); }
.legal-header .meta { margin-top: var(--s4); font-size: 14px; color: var(--muted); }
.toc { background: var(--off-white-2); border-radius: var(--radius-card); padding: var(--s8); margin-bottom: var(--s16); }
.toc h4 { color: var(--deep-teal); margin-bottom: var(--s4); font-family: 'DM Sans', sans-serif; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.toc ol { padding-left: var(--s6); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s8); }
.toc li a { color: var(--logo-teal); text-decoration: none; font-size: 14px; }
.toc li a:hover { color: var(--deep-teal); }

/* ===== Blog / content ===== */
.blog-hero { padding: var(--s24) 0 var(--s16); background: var(--off-white); }
.blog-hero .wrap { max-width: 860px; }
.blog-meta { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s6); flex-wrap: wrap; }
.blog-meta .tag { font-size: 12px; font-weight: 500; color: var(--logo-teal); background: rgba(75,168,196,.12); padding: 3px 10px; border-radius: var(--radius-pill); }
.blog-meta .date { font-size: 13px; color: var(--muted); }
.blog-hero h1 { color: var(--deep-teal); font-size: clamp(32px, 4vw, 54px); }
.blog-hero .lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--charcoal-soft); margin-top: var(--s5); max-width: 680px; line-height: 1.6; }
.blog-content { padding: var(--s12) 0 var(--s32); }
.blog-content .wrap { max-width: 860px; }
.key-takeaways {
  background: rgba(10,77,104,.05); border-left: 3px solid var(--deep-teal);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: var(--s6) var(--s8); margin: var(--s8) 0;
}
.key-takeaways h4 { color: var(--deep-teal); font-family: 'DM Sans', sans-serif; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s4); }
.key-takeaways ul { margin: 0; padding-left: var(--s6); }
.key-takeaways li { color: var(--charcoal-soft); font-size: 15px; line-height: 1.6; }
.key-takeaways li + li { margin-top: var(--s2); }

/* ===== Footer newsletter ===== */
.foot-newsletter-desc { font-size: 13px; color: rgba(255,255,255,.55); margin-top: var(--s2); line-height: 1.5; }
.foot-mc-form { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s4); }
.foot-mc-form .mc-field-group { display: flex; }
.foot-mc-form input[type="email"],
.foot-mc-form input[type="text"] {
  flex: 1; padding: var(--s3) var(--s4); border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  color: #fff; font-family: var(--font-body); font-size: 14px;
  outline: none; transition: border-color .2s; width: 100%;
}
.foot-mc-form input::placeholder { color: rgba(255,255,255,.35); }
.foot-mc-form input:focus { border-color: var(--logo-teal); }
.foot-mc-form button {
  padding: var(--s3) var(--s5); border-radius: 9999px; border: none; cursor: pointer;
  background: var(--burnt); color: #fff; font-family: var(--font-body); font-size: 14px;
  font-weight: 600; width: 100%; transition: opacity .2s; margin-top: var(--s1);
}
.foot-mc-form button:hover { opacity: .88; }
.foot-mc-legal { font-size: 11px; color: rgba(255,255,255,.35); margin-top: var(--s3); line-height: 1.5; }
.foot-mc-legal a { color: rgba(255,255,255,.5); text-decoration: underline; }
#mce-error-response, #mce-success-response { font-size: 13px; margin-top: var(--s2); padding: var(--s2) var(--s3); border-radius: 8px; }
#mce-error-response { background: rgba(200,94,48,.15); color: #ff9a7a; }
#mce-success-response { background: rgba(75,168,196,.15); color: #a8ddef; }

/* ===== Hamburger ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 9px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  color: var(--charcoal);
  transition: background .2s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(255,255,255,.08); }
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Hamburger colour inherits nav context */
.nav-wrap:not(.solid) .nav-hamburger { color: rgba(255,255,255,.9); }
.nav-wrap.light-bg:not(.solid) .nav-hamburger,
.nav-wrap.solid .nav-hamburger { color: var(--charcoal); }

/* ===== Responsive utility grids ===== */
/* Used in place of inline-style grids so media queries can override */
.grid-3col { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s6); }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
  }
  .jcard, .reveal, .stagger > *, .hero-copy > *, .flow-visual { opacity: 1 !important; transform: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .wrap { padding: 0 var(--s5); }
  .section, .journey, .human, .mor, .pricing, .trust { padding: var(--s20) 0; }

  /* ---- Nav: hamburger + mobile menu ---- */
  .nav-hamburger { display: flex; }
  .nav-sign-in { display: none; }          /* moved into hamburger menu */
  .nav-links {
    display: none;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--off-white);
    flex-direction: column;
    padding: var(--s4) var(--s5) var(--s8);
    border-top: 1px solid var(--rule);
    z-index: 100;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--rule); }
  .nav-links li.nav-links-signin { margin-top: var(--s4); border: none; }
  /* Always dark text in open mobile menu regardless of hero context */
  .nav-wrap .nav .nav-links.open li a { color: var(--charcoal) !important; font-size: 18px; font-weight: 500; padding: var(--s4) 0; display: block; }
  .nav-links.open li.nav-links-signin a { color: var(--charcoal-soft) !important; font-size: 15px; }

  /* ---- Utility grids ---- */
  .grid-3col { grid-template-columns: 1fr 1fr; }
  .grid-2col { grid-template-columns: 1fr; }

  /* ---- Hero ---- */
  .hero-grid { grid-template-columns: 1fr; gap: var(--s12); min-height: auto; }

  /* ---- Journey ---- */
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .journey-grid-half { grid-template-columns: 1fr; }
  .fork-text { white-space: normal; text-align: center; }
  .journey-grid::before { display: none; }

  /* ---- Feature grids ---- */
  .feature-grid, .feature-grid.flip { grid-template-columns: 1fr; gap: var(--s10); }

  /* ---- Invoice mock: pull floating elements inside bounds ---- */
  .review-anno { display: none; }
  .review-stamp { left: var(--s3); }
  .flow-note { left: var(--s3); }

  /* ---- MoR diagram: stack vertically ---- */
  .mor-diagram {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    gap: var(--s4); padding: var(--s4); min-height: 0;
  }
  .mor-node.client { grid-column: 1; grid-row: 1; }
  .mor-node.center { grid-column: 1; grid-row: 2; transform: none; }
  .mor-node.you    { grid-column: 1; grid-row: 3; }
  .mor-arrow { display: none; }

  /* ---- Testimonials ---- */
  .quotes { grid-template-columns: 1fr; }

  /* ---- CTA band ---- */
  .cta-band .inner { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }

  /* ---- Pricing ---- */
  .pricing-split { grid-template-columns: 1fr; text-align: center; }
  .pricing .cta-row { text-align: center; }
  .pricing-desc-col { text-align: center; }
  .pricing-points { align-items: center; }

  /* ---- Footer ---- */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot-grid .foot-newsletter { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; gap: var(--s3); text-align: center; }

  /* ---- Workodin ID cards (same as 720px rule, pulled up to 960px) ---- */
  .wid-stage  { height: auto; padding: var(--s8) 0; }
  .wid-lock   { position: relative; transform: none; top: auto; left: auto; margin: 0 auto var(--s6); }
  .wid-cards  { position: relative; transform: none; top: auto; left: auto; flex-direction: column; align-items: center; gap: var(--s4); max-width: 380px; }
  .wid-card   { width: 100%; max-width: 100%; }

  /* ---- Legal / blog ---- */
  .toc ol { grid-template-columns: 1fr; }
  .blog-content .prose table { font-size: 13px; }

  /* ---- Tables: horizontal scroll instead of squish ---- */
  .prose table, .blog-content table,
  [style*="border-collapse"] { overflow-x: auto; display: block; }
}

@media (max-width: 600px) {
  .grid-3col { grid-template-columns: 1fr; }
}
