/* ==========================================================================
   MarginDock — landing page
   A warm off-white ground, deep slate type, and an amber "margin" accent.
   ========================================================================== */

:root {
  --bg: #f5f1ea;
  --bg-elev: #ffffff;
  --ink: #0d1117;
  --ink-2: #1f2937;
  --ink-soft: #4b5563;
  --rule: #e3ddd1;
  --rule-strong: #cfc7b6;
  --accent: #d97706;
  --accent-deep: #b45309;
  --accent-soft: #fde6c8;
  --danger: #b91c1c;
  --ok: #15803d;

  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1180px;
  --radius: 10px;
  --radius-sm: 6px;
}

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

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Page frame (subtle grid lines evoking a warehouse dock) ---------- */
.page {
  min-height: 100vh;
  background-image:
    linear-gradient(to right, rgba(13, 17, 23, 0.035) 1px, transparent 1px);
  background-size: 88px 100%;
  background-position: center;
}

/* ---------- Nav ---------- */
.nav {
  border-bottom: 1px solid var(--rule);
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  position: sticky; top: 0; z-index: 10;
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  position: relative;
}
@media (max-width: 720px) {
  .nav__inner { padding: 14px 20px; }
}

/* Hamburger toggle (hidden on desktop, shown on mobile) */
.nav__menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  width: 40px; height: 40px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
}
.nav__menu-bar {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav.is-open .nav__menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__menu-bar:nth-child(2) { opacity: 0; }
.nav.is-open .nav__menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 720px) {
  .nav__menu-toggle { display: flex; }
}

/* Mobile menu panel */
@media (max-width: 720px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; right: 16px; left: 16px;
    background: var(--bg);
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px -8px rgba(13, 17, 23, 0.18);
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 8px;
    z-index: 20;
  }
  .nav__links.is-open { display: flex; }
  .nav__link {
    display: block;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: var(--radius-sm);
    border-bottom: 0;
  }
  .nav__link:hover { background: var(--rule); border-bottom-color: transparent; }
  .nav__cta {
    margin-top: 6px;
    padding: 12px 16px;
    text-align: center;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: var(--bg);
  }
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 28px; height: 28px;
  color: var(--ink);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
/* Desktop CTA (mobile override lives in the .nav block above and turns this
   into a solid dark button at <=720px). */
@media (min-width: 721px) {
  .nav__cta {
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: var(--ink);
    padding: 8px 14px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    transition: background 120ms ease, color 120ms ease;
  }
  .nav__cta:hover { background: var(--ink); color: var(--bg); }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 80px;
  border-bottom: 1px solid var(--rule);
}
.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) {
  .hero { padding: 40px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 20px;
}
.eyebrow--dark { color: var(--accent-deep); }
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero__headline em {
  font-style: italic;
  color: var(--accent-deep);
  font-variation-settings: "SOFT" 100;
}

.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 22px;
}

.hero__cta-note {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.hero__proof {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex; flex-wrap: wrap; gap: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}
.check {
  color: var(--ok);
  font-weight: 600;
  margin-right: 4px;
}

/* ---------- Signup form ---------- */
.signup { max-width: 520px; }
.signup__row {
  display: flex;
  background: var(--bg-elev);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 4px 4px 0 0 var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.signup__row:focus-within {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 0 var(--accent-deep);
}
.signup__input {
  flex: 1;
  border: 0;
  padding: 16px 18px;
  font-size: 16px;
  font-family: inherit;
  background: transparent;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.signup__input::placeholder { color: #9ca3af; }
.signup__btn {
  border: 0;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  padding: 0 22px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 120ms ease;
  white-space: nowrap;
}
.signup__btn:hover { background: var(--accent-deep); }
.signup__hint {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 10px 2px 0;
}
.signup__error {
  font-size: 13px;
  color: var(--danger);
  margin: 10px 2px 0;
  font-weight: 500;
}
@media (max-width: 520px) {
  .signup__row { flex-direction: column; box-shadow: 3px 3px 0 0 var(--ink); }
  .signup__btn { border-left: 0; border-top: 1px solid var(--ink); padding: 14px 22px; justify-content: center; }
}

/* ---------- Hero visualization (audit dashboard mock) ---------- */
.hero__viz { position: relative; }
.viz {
  background: var(--bg-elev);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 0 var(--ink);
  overflow: hidden;
  transform: rotate(0.5deg);
}
.viz__header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  background: #faf6ef;
}
.viz__title {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  letter-spacing: 0.02em;
}
.viz__dot { width: 10px; height: 10px; border-radius: 50%; }
.viz__dot--red { background: #ef4444; }
.viz__dot--amber { background: var(--accent); }
.viz__dot--green { background: #22c55e; }

.viz__body { padding: 24px; }
.viz__label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.viz__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.viz__currency {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 8px;
}
.viz__bar {
  margin-top: 12px;
  height: 8px;
  background: var(--rule);
  border-radius: 999px;
  overflow: hidden;
}
.viz__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  border-radius: 999px;
}

.viz__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.viz__list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed var(--rule);
  font-size: 14px;
}
.viz__list li:first-child { border-top: 0; padding-top: 0; }
.viz__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  border-radius: 4px;
  background: #f3eee4;
  color: var(--ink-soft);
}
.viz__tag--red { background: #fee2e2; color: var(--danger); }
.viz__tag--amber { background: var(--accent-soft); color: var(--accent-deep); }
.viz__item { color: var(--ink-2); }
.viz__amt {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.viz__footer {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  margin-top: 4px;
}
.viz__mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  max-width: 24ch;
}
.section__head { margin-bottom: 48px; max-width: 42ch; }

.problem {
  padding: 88px 0;
  border-bottom: 1px solid var(--rule);
}
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 860px) {
  .problem { padding: 64px 0; }
  .problem__grid { grid-template-columns: 1fr; gap: 20px; }
}
.problem__card {
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  position: relative;
}
.problem__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.problem__card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.problem__card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Fit ---------- */
.fit {
  padding: 72px 0;
  border-bottom: 1px solid var(--rule);
}
.fit__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}
.fit__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.fit__list li {
  padding: 16px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
}
@media (max-width: 860px) {
  .fit { padding: 56px 0; }
  .fit__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Deliverables ---------- */
.deliverables {
  padding: 88px 0;
  border-bottom: 1px solid var(--rule);
  background: #fbf8f2;
}
.deliverables__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.deliverable {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.deliverable h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
}
.deliverable p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 960px) {
  .deliverables { padding: 64px 0; }
  .deliverables__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .deliverables__grid { grid-template-columns: 1fr; }
  .deliverable { min-height: auto; }
}

/* ---------- How it works ---------- */
.how {
  padding: 96px 0;
  background: var(--ink);
  color: #e7e5df;
  border-bottom: 1px solid var(--ink);
}
.how .section__title { color: #fafaf7; max-width: 28ch; }
.how .eyebrow { color: var(--accent); }
.how .eyebrow__dot { box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.22); }

.how__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 28px;
}
.how__step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.how__marker {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent);
}
.how__body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: #fafaf7;
}
.how__body p {
  margin: 0;
  color: #c8c5bd;
  font-size: 16px;
  line-height: 1.6;
  max-width: 70ch;
}
@media (max-width: 640px) {
  .how { padding: 64px 0; }
  .how__step { grid-template-columns: 1fr; padding: 22px; gap: 16px; }
}

/* ---------- Stats strip ---------- */
.stats {
  padding: 72px 0;
  border-bottom: 1px solid var(--rule);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 5vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.stat__label {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 32ch;
}
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Final CTA ---------- */
.cta {
  padding: 96px 0;
  border-bottom: 1px solid var(--rule);
}
.cta__card {
  background: var(--bg-elev);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 56px;
  box-shadow: 10px 10px 0 0 var(--accent-deep);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.cta__copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.cta__copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 48ch;
}
@media (max-width: 860px) {
  .cta { padding: 64px 0; }
  .cta__card { grid-template-columns: 1fr; padding: 32px; gap: 28px; box-shadow: 6px 6px 0 0 var(--accent-deep); }
}

/* ---------- FAQ ---------- */
.faq { padding: 88px 0; }
.faq__list {
  margin: 0;
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--rule);
}
.faq__item {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 40px;
}
.faq__item dt {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.faq__item dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .faq { padding: 56px 0; }
  .faq__item { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
}

/* ---------- Footer ---------- */
.foot {
  padding: 32px 0 56px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-soft);
}
.foot__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.foot__brand {
  display: flex; align-items: baseline; gap: 12px;
}
.foot__tag { color: var(--ink-soft); }
.foot__meta a { color: var(--accent-deep); text-decoration: none; }
.foot__meta a:hover { text-decoration: underline; }

/* ---------- Thanks page ---------- */
.thanks { padding: 88px 0 120px; }
.thanks__inner { max-width: 640px; }
.thanks__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 10px 0 20px;
}
.thanks__sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 58ch;
}
.thanks__saved,
.thanks__followup {
  margin-top: 32px;
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 28px;
}
.thanks__saved {
  color: var(--ok);
  font-weight: 600;
}
.thanks__followup h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.thanks__followup p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.followup {
  display: grid;
  gap: 18px;
}
.followup__field {
  display: grid;
  gap: 8px;
}
.followup__field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.followup__input,
.followup__textarea {
  width: 100%;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.followup__input:focus,
.followup__textarea:focus {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.followup__textarea { resize: vertical; }
.followup__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-2);
}
.followup__check input {
  margin-top: 4px;
  accent-color: var(--accent);
}
.followup__btn {
  justify-self: start;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px;
}
.followup__btn:hover { background: var(--accent-deep); }
.thanks__back {
  display: inline-block;
  margin-top: 28px;
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 500;
}
.thanks__back:hover { text-decoration: underline; }

/* ---------- Admin ---------- */
.admin {
  min-height: 100vh;
  background: var(--bg);
}
.admin__nav {
  border-bottom: 1px solid var(--rule);
  background: var(--bg-elev);
}
.admin__nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.admin__tag {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin__meta {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}
.admin__main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}
.admin__summary {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.admin__h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.admin__sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.admin__stats {
  display: flex; gap: 32px;
  margin: 0;
}
.admin__stats > div { display: flex; flex-direction: column; gap: 4px; }
.admin__stats dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.admin__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}

.admin__table-wrap {
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  overflow: auto;
}
.admin__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin__table thead th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  border-bottom: 1px solid var(--rule);
  background: #faf6ef;
  white-space: nowrap;
}
.admin__table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  vertical-align: top;
}
.admin__table tbody tr:last-child td { border-bottom: 0; }
.admin__table tbody tr:hover { background: #faf6ef; }
.admin__when,
.admin__ip,
.admin__utm { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.admin__email a {
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 500;
}
.admin__email a:hover { text-decoration: underline; }
.admin__ref {
  max-width: 340px;
  color: var(--ink-soft);
  font-size: 13px;
  word-break: break-all;
}
.admin__notes {
  min-width: 220px;
  max-width: 320px;
  color: var(--ink-soft);
  font-size: 13px;
}

.admin__empty {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-elev);
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
  color: var(--ink-soft);
}
.admin__empty h2 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--ink);
}
.admin__empty p { margin: 0; }

/* ==========================================================================
   Blog
   ========================================================================== */

/* Desktop nav (mobile rules live near the top of this file, in the
   .nav section, and override the layout below 720px). */
@media (min-width: 721px) {
  .nav__links { display: inline-flex; align-items: center; gap: 18px; }
  .nav__link {
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: var(--ink);
    padding: 8px 4px;
    border-bottom: 1px solid transparent;
    transition: border-color 120ms ease;
  }
  .nav__link:hover { border-bottom-color: var(--ink); }
}

.breadcrumbs { font-size: 13px; color: var(--ink-soft); margin-bottom: 24px; }
.breadcrumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li::after { content: "/"; color: var(--rule-strong); margin-left: 6px; }
.breadcrumbs li:last-child::after { content: ""; margin: 0; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-deep); }
.breadcrumbs span[aria-current="page"] {
  color: var(--ink); font-weight: 500;
  max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.blog-index { padding: 56px 0 96px; }
.blog-index__inner { max-width: 880px; }
.blog-index__head {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.blog-index__head h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 8px 0 16px;
}
.blog-index__head p {
  margin: 0; font-size: 18px; line-height: 1.55;
  color: var(--ink-soft); max-width: 60ch;
}
.blog-index__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.blog-index__item { border-bottom: 1px solid var(--rule); }
.blog-index__item:first-child { border-top: 1px solid var(--rule); }
.blog-index__item a {
  display: block; text-decoration: none; color: inherit;
  padding: 32px 0; transition: background 120ms ease;
}
.blog-index__item a:hover { background: rgba(217, 119, 6, 0.04); }
.blog-index__meta {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  font-size: 13px; color: var(--ink-soft); margin-bottom: 12px;
}
.blog-index__category {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep);
}
.blog-index__date,
.blog-index__time { font-family: var(--font-mono); font-size: 12px; }
.blog-index__item h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.02em; line-height: 1.15;
  margin: 0 0 10px; color: var(--ink);
}
.blog-index__item p {
  margin: 0 0 12px; color: var(--ink-soft);
  font-size: 16px; line-height: 1.55; max-width: 64ch;
}
.blog-index__cta { font-size: 14px; font-weight: 500; color: var(--accent-deep); }
.blog-index__empty { padding: 48px 0; text-align: center; color: var(--ink-soft); }

.post { padding-bottom: 80px; }
.post__head { padding: 40px 0 28px; border-bottom: 1px solid var(--rule); }
.post__meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: 13px; color: var(--ink-soft);
  margin: 8px 0 18px; font-family: var(--font-mono);
}
.post__category {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-deep);
}
.post__dot { color: var(--rule-strong); }
.post__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 5vw, 60px); line-height: 1.04;
  letter-spacing: -0.025em; margin: 0 0 18px;
  max-width: 22ch; color: var(--ink);
}
.post__lede {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(19px, 2vw, 22px); line-height: 1.45;
  color: var(--ink-2); max-width: 60ch; margin: 0;
}
.post__layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px; align-items: start; padding-top: 48px;
}
@media (max-width: 980px) {
  .post__layout { grid-template-columns: 1fr; gap: 32px; }
}
.post__body {
  font-size: 17px; line-height: 1.7;
  color: var(--ink-2); max-width: 70ch;
}
.post__intro {
  font-size: 19px; line-height: 1.6;
  color: var(--ink-2); margin-top: 0;
}
.post__body h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em; line-height: 1.15;
  color: var(--ink); margin: 56px 0 16px; scroll-margin-top: 80px;
}
.post__body h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; letter-spacing: -0.015em;
  color: var(--ink); margin: 36px 0 10px; scroll-margin-top: 80px;
}
.post__body p { margin: 0 0 18px; }
.post__body ul,
.post__body ol { margin: 0 0 22px; padding-left: 22px; }
.post__body li { margin-bottom: 8px; }
.post__body strong { color: var(--ink); font-weight: 600; }
.post__body em { font-style: italic; }
.post__body a {
  color: var(--accent-deep); text-decoration: underline;
  text-underline-offset: 2px; text-decoration-thickness: 1px;
}
.post__body a:hover { text-decoration-thickness: 2px; }

.post__toc--inline {
  background: #faf6ef; border: 1px solid var(--rule-strong);
  border-radius: var(--radius); padding: 22px 26px; margin: 0 0 40px;
}
.post__toc-title {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 12px; font-family: var(--font-mono);
}
.post__toc--inline ol { margin: 0; padding-left: 22px; font-size: 15px; }
.post__toc--inline ol li { margin-bottom: 6px; }
.post__toc--inline a {
  color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.post__toc--inline a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }
@media (min-width: 981px) { .post__toc--inline { display: none; } }

.post-aside { position: relative; }
.post-aside__sticky {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 24px;
}
.post-aside__card {
  background: var(--bg-elev); border: 1px solid var(--ink);
  border-radius: var(--radius); padding: 28px;
  box-shadow: 6px 6px 0 0 var(--accent-deep);
}
.post-aside__card .eyebrow { margin-bottom: 14px; }
.post-aside__card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; letter-spacing: -0.015em;
  margin: 0 0 8px; color: var(--ink);
}
.post-aside__card p {
  margin: 0 0 16px; font-size: 14px; line-height: 1.55;
  color: var(--ink-soft);
}
.post-aside__list {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; color: var(--ink-soft);
}
.post-aside__card .signup__row {
  flex-direction: column;
  box-shadow: 3px 3px 0 0 var(--ink);
}
.post-aside__card .signup__input {
  padding: 14px 16px;
  font-size: 15px;
  width: 100%;
}
.post-aside__card .signup__btn {
  border-left: 0;
  border-top: 1px solid var(--ink);
  padding: 12px 22px;
  justify-content: center;
  font-size: 14px;
  width: 100%;
}

.post-aside__toc {
  background: transparent;
  border-top: 1px solid var(--rule); padding-top: 22px;
}
.post-aside__toc-title {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 12px; font-family: var(--font-mono);
}
.post-aside__toc ol { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.post-aside__toc li { margin-bottom: 8px; line-height: 1.4; }
.post-aside__toc a {
  color: var(--ink-soft); text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 10px; margin-left: -12px; display: block;
}
.post-aside__toc a:hover { color: var(--accent-deep); border-left-color: var(--accent); }
@media (max-width: 980px) {
  .post-aside__sticky { position: static; }
  .post-aside__toc { display: none; }
}

.inline-cta {
  background: var(--ink); color: #e7e5df;
  border-radius: var(--radius); padding: 36px;
  margin: 48px 0;
  display: grid; grid-template-columns: 1fr; gap: 24px;
  border: 1px solid var(--ink);
}
.inline-cta .eyebrow { color: var(--accent); margin-bottom: 12px; }
.inline-cta .eyebrow__dot { box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.22); }
.inline-cta h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em; line-height: 1.15;
  margin: 0 0 8px; color: #fafaf7; max-width: 28ch;
}
.inline-cta p {
  margin: 0; color: #c8c5bd;
  font-size: 15px; line-height: 1.55; max-width: 56ch;
}
.inline-cta .signup__row {
  background: #fafaf7; border-color: #fafaf7;
  box-shadow: 4px 4px 0 0 var(--accent);
}
.inline-cta .signup__btn {
  background: var(--accent); color: var(--ink);
  border-left-color: var(--ink);
}
.inline-cta .signup__btn:hover { background: var(--accent-deep); color: #fafaf7; }
.inline-cta .signup__hint { color: #9a958b; }

.related {
  margin-top: 64px; padding-top: 48px;
  border-top: 1px solid var(--rule);
}
.related h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 28px; letter-spacing: -0.02em;
  margin: 0 0 24px; color: var(--ink);
}
.related__grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.related__card a {
  display: block;
  background: var(--bg-elev); border: 1px solid var(--rule-strong);
  border-radius: var(--radius); padding: 24px;
  text-decoration: none; color: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.related__card a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--ink);
}
.related__category {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-block; margin-bottom: 10px;
}
.related__card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 18px; letter-spacing: -0.015em; line-height: 1.2;
  margin: 0 0 8px; color: var(--ink);
}
.related__card p {
  margin: 0 0 12px;
  font-size: 14px; color: var(--ink-soft); line-height: 1.5;
}
.related__cta { font-size: 13px; font-weight: 500; color: var(--accent-deep); }

/* ==========================================================================
   Admin extras (queue, posts, settings)
   ========================================================================== */

.admin__nav-links {
  display: inline-flex; gap: 4px; flex-wrap: wrap;
}
.admin__nav-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 999px;
  transition: background 120ms ease, color 120ms ease;
}
.admin__nav-link:hover { background: var(--rule); color: var(--ink); }
.admin__nav-link.is-active { background: var(--ink); color: var(--bg); }

.admin__flash {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: 1px solid;
}
.admin__flash--notice { background: #ecfdf5; border-color: #6ee7b7; color: #065f46; }
.admin__flash--alert  { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

.admin__toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin: 16px 0 20px;
  padding: 14px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.admin__toolbar-meta {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}
.admin__toolbar-meta strong.is-on  { color: var(--ok); }
.admin__toolbar-meta strong.is-off { color: var(--ink-soft); }

.admin__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-elev);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
  font-family: inherit;
}
.admin__btn:hover { background: var(--ink); color: var(--bg); }
.admin__btn--primary { background: var(--ink); color: var(--bg); }
.admin__btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.admin__btn--danger { color: var(--danger); border-color: var(--danger); background: var(--bg-elev); }
.admin__btn--danger:hover { background: var(--danger); color: var(--bg-elev); }
.admin__btn--small { padding: 5px 10px; font-size: 12px; }

.admin__btn-form { display: inline-block; margin: 0; }
.admin__btn-form--inline { display: inline-flex; align-items: center; gap: 4px; }

.admin__pos-input {
  width: 56px;
  padding: 4px 6px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.admin__actions {
  display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center;
}
.admin__muted {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 400;
  margin-top: 4px;
}
.admin__muted a { color: var(--accent-deep); }

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: #f3eee4;
  color: var(--ink-soft);
}
.status-pill--queued     { background: #fef3c7; color: #92400e; }
.status-pill--generating { background: #dbeafe; color: #1e40af; }
.status-pill--published  { background: #d1fae5; color: #065f46; }
.status-pill--draft      { background: #f3eee4; color: var(--ink-soft); }
.status-pill--failed     { background: #fee2e2; color: var(--danger); }
.status-pill--skipped    { background: #f3f4f6; color: #6b7280; }
.status-pill--archived   { background: #f3f4f6; color: #6b7280; }

.kt-row--published td { opacity: 0.78; }
.kt-row--skipped td { opacity: 0.55; }
.kt-row--failed { background: rgba(185, 28, 28, 0.04); }

.admin__form {
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 720px;
}
.admin__fieldset { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 18px; }
.admin__check {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  align-items: start;
}
.admin__check input[type="checkbox"] { margin-top: 4px; transform: scale(1.2); }
.admin__check span strong { display: block; font-size: 15px; }
.admin__check span small { color: var(--ink-soft); font-size: 13px; display: block; margin-top: 2px; }

.admin__field {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
}
.admin__field span { font-weight: 500; }
.admin__field small { color: var(--ink-soft); font-size: 12px; }
.admin__input {
  padding: 9px 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  background: var(--bg);
  color: var(--ink);
  max-width: 420px;
}

.admin__file {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 18px;
}
.admin__file-label { font-weight: 500; font-size: 14px; }
.admin__file-input { font-family: inherit; }

.admin__form-actions {
  display: flex; gap: 10px;
  margin-top: 12px;
}

.admin__hint {
  margin-top: 24px;
  padding: 20px 24px;
  background: #faf6ef;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-2);
}
.admin__hint h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 8px;
  font-size: 16px;
}
.admin__hint code {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}
.admin__hint pre {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 12px;
  overflow-x: auto;
  margin: 8px 0;
}
.admin__hint pre code { background: transparent; border: 0; padding: 0; }

.admin__h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 32px 0 12px;
  color: var(--ink);
}
.admin__post-preview { margin-top: 28px; }
.admin__meta-list {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0;
  font-size: 14px;
}
.admin__meta-list dt { font-weight: 500; color: var(--ink-soft); }
.admin__meta-list dd { margin: 0; color: var(--ink); }

/* Post body table styling (used in generated posts) */
.post-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.post-table thead {
  background: #faf6ef;
  border-bottom: 1px solid var(--rule);
}
.post-table th, .post-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.post-table tr:last-child td { border-bottom: 0; }
.post-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Inline post callouts */
.post__body aside.callout {
  background: #faf6ef;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 16px;
  line-height: 1.55;
}
.post__body aside.callout strong { color: var(--accent-deep); }

/* Inline post charts */
.post-chart {
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  text-align: center;
}
.post-chart svg {
  max-width: 100%;
  height: auto;
}
.post-chart figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

/* ==========================================================================
   Free tools (calculators / estimators)
   ========================================================================== */

.tool { padding-bottom: 80px; }
.tool__head {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--rule);
}
.tool__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 6px 0 18px;
  max-width: 22ch;
  color: var(--ink);
}
.tool__lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0;
}
.tool__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
  padding-top: 48px;
}
@media (max-width: 980px) {
  .tool__layout { grid-template-columns: 1fr; gap: 32px; }
}

/* Wide-layout variant for tools that need full content width
   (rate card builder, future canvas-style tools) */
.container--wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}
.tool__layout--wide {
  grid-template-columns: 1fr;
  gap: 0;
}
.tool--wide .tool__head .container--wide,
.tool--wide .tool__layout--wide {
  /* Keep hero copy from sprawling across the whole 1440px width */
}
.tool--wide .tool__title,
.tool--wide .tool__lede {
  max-width: 60ch;
}
.tool--wide .tool__main { width: 100%; }
/* The explainer/FAQ/inline-CTAs underneath the wide tool should still read
   like a blog post — constrain them to a comfortable measure. */
.tool--wide .tool__explainer,
.tool--wide .tool__faq,
.tool--wide .tool__main > .inline-cta,
.tool--wide .tool__main > .related {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.tool__main { min-width: 0; }

/* Calculator block */
.calc {
  background: var(--bg-elev);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 8px 8px 0 0 var(--ink);
}
.calc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
}
@media (max-width: 760px) {
  .calc__grid { grid-template-columns: 1fr; gap: 28px; }
  .calc { padding: 22px; box-shadow: 4px 4px 0 0 var(--ink); }
}

.calc__inputs {
  display: flex; flex-direction: column; gap: 22px;
}
.calc__field {
  display: flex; flex-direction: column; gap: 8px;
}
.calc__field label {
  display: flex; flex-direction: column; gap: 2px;
  cursor: pointer;
}
.calc__field-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.calc__field-hint {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Checkbox-style field (used in cost calculator for VAS toggle) */
.calc__field--check label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}
.calc__field--check input[type="checkbox"] {
  width: 22px; height: 22px;
  margin: 2px 0 0;
  accent-color: var(--accent-deep);
  cursor: pointer;
}
.calc__field--check .calc__field-label,
.calc__field--check .calc__field-hint {
  grid-column: 2;
}

.calc__input-prefixed {
  display: flex; align-items: stretch;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--bg);
  overflow: hidden;
  transition: box-shadow 120ms ease;
}
.calc__input-prefixed:focus-within {
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.calc__prefix {
  display: grid; place-items: center;
  padding: 0 14px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
}
.calc__input-prefixed input {
  flex: 1;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  outline: none;
  min-width: 0;
}

.calc__field input[type="number"] {
  padding: 12px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: box-shadow 120ms ease;
}
.calc__field input[type="number"]:focus { box-shadow: 0 0 0 3px var(--accent-soft); }

.calc__range-group {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 14px;
  align-items: center;
}
.calc__range-group input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--rule);
  border-radius: 999px;
  outline: none;
}
.calc__range-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 120ms ease;
}
.calc__range-group input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.calc__range-group input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--ink); cursor: pointer;
}
.calc__range-output {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 6px 8px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-sm);
}

.calc__disclaimer {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 6px 0 0;
}

/* Result panel */
.calc__result {
  background: var(--ink);
  color: #e7e5df;
  border-radius: var(--radius-sm);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.calc__result-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.calc__result-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fafaf7;
  margin: -4px 0 4px;
}
.calc__result-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #c8c5bd;
  letter-spacing: 0.02em;
}

.calc__breakdown {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
}
.calc__breakdown-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin: 0 0 14px;
  color: #fafaf7;
}
.calc__bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.calc__bar { display: flex; flex-direction: column; gap: 4px; }
.calc__bar-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px;
  color: #e7e5df;
}
.calc__bar-label {
  cursor: help;
  border-bottom: 1px dotted rgba(231, 229, 223, 0.4);
}
.calc__bar-amount {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent);
}
.calc__bar-track {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.calc__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  border-radius: 999px;
  transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.calc__bar-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #9a958b;
  letter-spacing: 0.02em;
}

/* Result CTA card (high-intent moment) */
.calc__cta-card {
  margin-top: 4px;
  padding: 22px;
  background: rgba(217, 119, 6, 0.08);
  border: 1px dashed rgba(217, 119, 6, 0.5);
  border-radius: var(--radius-sm);
}
.calc__cta-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #fafaf7;
  margin-bottom: 6px;
}
.calc__cta-body {
  margin: 0 0 14px;
  font-size: 14px;
  color: #c8c5bd;
  line-height: 1.5;
}
.calc__cta-card .signup__row {
  flex-direction: column;
  background: #fafaf7;
  border-color: #fafaf7;
  box-shadow: 4px 4px 0 0 var(--accent);
}
.calc__cta-card .signup__input {
  font-size: 15px;
  padding: 14px 16px;
  width: 100%;
}
.calc__cta-card .signup__btn {
  background: var(--accent);
  color: var(--ink);
  border-left: 0;
  border-top: 1px solid var(--ink);
  padding: 12px 22px;
  justify-content: center;
  width: 100%;
}
.calc__cta-card .signup__btn:hover { background: var(--accent-deep); color: #fafaf7; }
.calc__cta-card .signup__hint { color: #9a958b; }

/* Explainer / long-form content below the calculator */
.tool__explainer {
  margin-top: 56px;
  padding-top: 8px;
}

/* Tool-specific FAQ section */
.tool__faq {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}
.tool__faq h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--ink);
}

/* Inline-CTA tweak when used inside a tool page */
.inline-cta--tool { margin: 56px 0; }

/* ==========================================================================
   Rate Card Builder
   ========================================================================== */

.rcb {
  background: var(--bg-elev);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 0 var(--ink);
  padding: 0;
  overflow: hidden;
}
.rcb__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0;
}
@media (max-width: 1080px) {
  .rcb__layout { grid-template-columns: 1fr; }
}
.rcb__form {
  padding: 28px;
  border-right: 1px solid var(--rule);
}
.rcb__preview {
  background: #faf6ef;
  padding: 28px;
}
@media (max-width: 1080px) {
  .rcb__form { border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* Cover area */
.rcb__cover { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.rcb__cover-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
@media (max-width: 720px) {
  .rcb__cover-row { grid-template-columns: 1fr; gap: 14px; }
}
.rcb__cover .calc__field input[type="text"],
.rcb__cover .calc__field input[type="date"] {
  padding: 11px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: box-shadow 120ms ease;
}
.rcb__cover .calc__field input:focus { box-shadow: 0 0 0 3px var(--accent-soft); }
.rcb__optional {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 12px;
  margin-left: 4px;
}

/* Section accordion */
.rcb__section {
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  margin-bottom: 16px;
  overflow: hidden;
}
.rcb__section[open] { border-color: var(--ink); }
.rcb__section summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  cursor: pointer;
  background: transparent;
  list-style: none;
  user-select: none;
}
.rcb__section summary::-webkit-details-marker { display: none; }
.rcb__section summary > div { flex: 1; min-width: 0; }
.rcb__section h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.rcb__section summary p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.rcb__chevron {
  font-size: 14px;
  color: var(--ink-soft);
  transition: transform 200ms ease;
  margin-left: 12px;
}
.rcb__section[open] .rcb__chevron { transform: rotate(180deg); }

.rcb__table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}
.rcb__table thead th {
  text-align: left;
  padding: 10px 18px;
  background: #faf6ef;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.rcb__table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 18px;
  vertical-align: middle;
  width: 45%;
}
.rcb__table tbody td {
  padding: 8px 18px;
  vertical-align: middle;
  border-top: 1px solid var(--rule);
}
.rcb__table tbody tr:first-child td,
.rcb__table tbody tr:first-child th { border-top: 0; }
.rcb__unit {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}

.rcb__input {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  width: 130px;
  overflow: hidden;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.rcb__input:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.rcb__input input {
  flex: 1;
  border: 0;
  padding: 7px 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  background: transparent;
  color: var(--ink);
  outline: none;
  min-width: 0;
  text-align: right;
}
.rcb__prefix, .rcb__suffix {
  display: grid; place-items: center;
  padding: 0 8px;
  background: #faf6ef;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.rcb__prefix { border-right: 1px solid var(--rule-strong); }
.rcb__suffix { border-left: 1px solid var(--rule-strong); }

.rcb__form-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 8px;
}

/* Preview column */
.rcb__preview-sticky {
  position: sticky;
  top: 96px;
  display: flex; flex-direction: column; gap: 18px;
}
@media (max-width: 1080px) {
  .rcb__preview-sticky { position: static; }
}
.rcb__preview-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 4px 4px 0 0 rgba(13,17,23,0.12);
  max-height: 720px;
  overflow: auto;
}
.rcb__preview-header {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.rcb__preview-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 6px;
}
.rcb__preview-header h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--ink);
  word-break: break-word;
}
.rcb__preview-header p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: 0.02em;
}

.rcb__pv-section + .rcb__pv-section { margin-top: 18px; }
.rcb__pv-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
}
.rcb__pv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.rcb__pv-table tr { border-bottom: 1px solid var(--rule); }
.rcb__pv-table tr:nth-child(even) { background: rgba(217, 119, 6, 0.04); }
.rcb__pv-table th {
  text-align: left;
  font-weight: 400;
  color: var(--ink);
  padding: 6px 8px 6px 0;
}
.rcb__pv-rate {
  font-family: var(--font-mono);
  font-weight: 500;
  text-align: right;
  padding: 6px 0;
  white-space: nowrap;
  color: var(--accent-deep);
}
.rcb__pv-unit {
  color: var(--ink-soft);
  font-size: 11px;
  font-family: var(--font-mono);
  text-align: right;
  padding: 6px 0 6px 12px;
  white-space: nowrap;
}
.rcb__pv-empty {
  padding: 32px 0;
  text-align: center;
  color: var(--ink-soft);
  font-style: italic;
}
.rcb__pv-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  color: var(--ink-soft);
  font-style: italic;
}

.rcb__downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rcb__downloads .admin__btn { justify-content: center; padding: 11px 14px; font-size: 14px; }

/* Result CTA card inside preview column (matches calc__cta-card visually but on light bg) */
.rcb__cta-card {
  padding: 22px;
  background: var(--ink);
  color: #e7e5df;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 0 var(--accent);
}
.rcb__cta-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #fafaf7;
  margin-bottom: 6px;
}
.rcb__cta-body {
  margin: 0 0 14px;
  font-size: 13px;
  color: #c8c5bd;
  line-height: 1.5;
}
.rcb__cta-card .signup__row {
  flex-direction: column;
  background: #fafaf7;
  border-color: #fafaf7;
  box-shadow: 3px 3px 0 0 var(--accent);
}
.rcb__cta-card .signup__input {
  font-size: 15px;
  padding: 12px 14px;
  width: 100%;
}
.rcb__cta-card .signup__btn {
  background: var(--accent);
  color: var(--ink);
  border-left: 0;
  border-top: 1px solid var(--ink);
  padding: 11px 22px;
  justify-content: center;
  width: 100%;
  font-size: 14px;
}
.rcb__cta-card .signup__btn:hover { background: var(--accent-deep); color: #fafaf7; }
.rcb__cta-card .signup__hint { color: #9a958b; font-size: 12px; }

/* ==========================================================================
   Mobile polish — applied across the site
   ========================================================================== */

/* Container padding tightens on small screens so content gets max width */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .container--wide { padding: 0 16px; }
}

/* Tool head: less vertical padding on mobile, smaller title */
@media (max-width: 720px) {
  .tool__head { padding: 24px 0 18px; }
  .tool__title { margin: 4px 0 12px; }
  .tool__lede { font-size: 17px; }
  .tool__layout { padding-top: 24px; gap: 24px; }
}

/* Inline CTAs — reduce padding on mobile so copy doesn't wrap awkwardly */
@media (max-width: 600px) {
  .inline-cta { padding: 22px; margin: 32px 0; }
  .inline-cta h3 { font-size: 20px; }
}

/* Calculator: tighten result/input padding on mobile */
@media (max-width: 600px) {
  .calc { padding: 18px; box-shadow: 3px 3px 0 0 var(--ink); }
  .calc__result { padding: 20px; }
  .calc__result-value { font-size: 38px; }
  .calc__cta-card { padding: 16px; }
}

/* Rate card builder: stack the rate-row table on small screens.
   On a 320–500px screen the 3-column (service / rate / unit) table
   gets cramped — service text wraps and the input squeezes. We hide
   the table headers and stack each row vertically. */
@media (max-width: 720px) {
  .rcb { box-shadow: 4px 4px 0 0 var(--ink); }
  .rcb__form, .rcb__preview { padding: 18px; }

  .rcb__table thead { display: none; }
  .rcb__table tr {
    display: block;
    padding: 12px 14px;
    border-top: 1px solid var(--rule);
  }
  .rcb__table tbody tr:first-child { border-top: 0; }
  .rcb__table tbody th,
  .rcb__table tbody td {
    display: block;
    padding: 0;
    border: 0;
    width: auto;
  }
  .rcb__table tbody th {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 15px;
  }
  .rcb__table tbody td:nth-of-type(1) { /* the rate cell */
    margin-bottom: 4px;
  }
  .rcb__unit {
    color: var(--ink-soft);
    font-size: 12px;
  }
  .rcb__input { width: 100%; max-width: 220px; }

  .rcb__section summary { padding: 14px 16px; }
  .rcb__section summary p { font-size: 12px; }

  /* Cover area — ensure all four meta inputs stack and fit */
  .rcb__cover-row { grid-template-columns: 1fr; gap: 12px; }
}

/* Hero on home — tighten on small screens */
@media (max-width: 600px) {
  .hero { padding: 28px 0 40px; }
  .hero__sub { font-size: 16px; }
  .hero__viz { margin: 0 -4px; }   /* let the viz card use full content width */
}

/* Final CTA card — tighten on mobile so it doesn't tower */
@media (max-width: 600px) {
  .cta { padding: 40px 0; }
  .cta__card { padding: 24px; box-shadow: 4px 4px 0 0 var(--accent-deep); }
  .cta__copy h2 { font-size: 24px; }
}

/* Blog post body: smaller margins and headings on mobile */
@media (max-width: 600px) {
  .post__head { padding: 28px 0 20px; }
  .post__title { font-size: 30px; margin: 4px 0 12px; }
  .post__lede { font-size: 17px; }
  .post__layout { padding-top: 24px; gap: 24px; }
  .post__body h2 { margin: 36px 0 12px; }
  .post__body h3 { margin: 24px 0 8px; }
}

/* Blog index — tighten head spacing */
@media (max-width: 600px) {
  .blog-index { padding: 32px 0 56px; }
  .blog-index__head { margin-bottom: 28px; padding-bottom: 20px; }
  .blog-index__head h1 { font-size: 32px; }
  .blog-index__item a { padding: 24px 0; }
  .blog-index__item h2 { font-size: 22px; }
}

/* Footer keeps it tight */
@media (max-width: 600px) {
  .foot { padding: 24px 0 32px; font-size: 13px; }
  .foot__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Admin tables already scroll horizontally; bump font down for fit */
@media (max-width: 600px) {
  .admin__main { padding: 24px 16px 56px; }
  .admin__h1 { font-size: 26px; }
  .admin__table { font-size: 13px; }
}

/* ==========================================================================
   Margin calculator — P&L table, status pill, per-order grid
   ========================================================================== */

.margin-pnl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
  font-size: 14px;
  color: #e7e5df;
}
.margin-pnl__row th {
  text-align: left;
  font-weight: 400;
  padding: 6px 0;
  color: #c8c5bd;
}
.margin-pnl__amount {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: #fafaf7;
  padding: 6px 0;
}
.margin-pnl__row--rev th { color: #fafaf7; font-weight: 500; }
.margin-pnl__row--rev .margin-pnl__amount { color: #fafaf7; }
.margin-pnl__row--cost th { color: #c8c5bd; padding-left: 12px; }
.margin-pnl__row--cost .margin-pnl__amount { color: #c8c5bd; }
.margin-pnl__row--subtotal th,
.margin-pnl__row--subtotal .margin-pnl__amount {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 10px;
  font-weight: 500;
  color: #fafaf7;
}
.margin-pnl__row--total th {
  font-family: var(--font-display);
  font-weight: 500;
  color: #fafaf7;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.margin-pnl__row--total .margin-pnl__amount {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 10px;
  font-weight: 600;
  color: var(--accent);
  font-size: 16px;
}

.margin-perorder {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.margin-perorder__cell {
  text-align: center;
}
.margin-perorder__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a958b;
  margin-bottom: 4px;
}
.margin-perorder__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: #fafaf7;
  letter-spacing: -0.01em;
}

/* Status pill in result panel meta */
.margin-status {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  color: #fafaf7;
  font-weight: 500;
}
.margin-status[data-status="healthy"]   { background: rgba(34, 197, 94, 0.18); color: #86efac; }
.margin-status[data-status="solid"]     { background: rgba(217, 119, 6, 0.20); color: var(--accent); }
.margin-status[data-status="marginal"]  { background: rgba(217, 119, 6, 0.30); color: #fcd34d; }
.margin-status[data-status="breakeven"] { background: rgba(255,255,255,0.10); color: #d1d5db; }
.margin-status[data-status="losing"]    { background: rgba(239, 68, 68, 0.22); color: #fca5a5; }

/* Big number color hints by status */
.calc__result-value[data-status="healthy"]  { color: #86efac; }
.calc__result-value[data-status="losing"]   { color: #fca5a5; }
/* solid / marginal / breakeven keep the default white */

@media (max-width: 600px) {
  .margin-perorder { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .margin-perorder__cell {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .margin-perorder__value { font-size: 16px; }
}
