/* Manualbase — field registry desk (not shoone blue SaaS) */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Oswald:wght@500;600;700&display=swap&subset=cyrillic");

:root {
  --ink: #1a1f16;
  --muted: #5c6356;
  --paper: #e8e4d8;
  --panel: #f4f1e8;
  --line: #c9c3b2;
  --field: #2f3b2c;
  --field2: #3d4c39;
  --olive: #4a5a3f;
  --brass: #b8860b;
  --brass2: #8f6a08;
  --ember: #9a3412;
  --ember2: #7c2d12;
  --max: 1080px;
  --h: "Oswald", "Segoe UI", sans-serif;
  --t: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 16px 36px -28px rgba(26, 31, 22, .5);
  --r: 6px;
  /* aliases so inner pages keep working */
  --navy: var(--field);
  --navy2: var(--field2);
  --crimson: var(--ember);
  --crimson2: var(--ember2);
  --teal: #3f6b4a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 500 16px/1.55 var(--t);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--h);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--ink);
}
p { margin: 0 0 12px; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--max), calc(100% - 28px)); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }

/* header — dark field bar, not light SaaS bar */
.ph {
  position: sticky; top: 0; z-index: 40;
  background: rgba(47, 59, 44, .96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--brass);
}
.ph__in {
  display: flex; align-items: center; gap: 14px;
  min-height: 60px;
}
.ph__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--h); font-weight: 600; font-size: 16px;
  color: #f4f1e8; letter-spacing: .04em; text-transform: uppercase;
  flex: 0 0 auto;
}
.ph__mark {
  width: 30px; height: 30px; border-radius: 3px;
  background: #1a2218;
  border: 1px solid var(--brass);
  display: grid; place-items: center;
}
.ph__mark span {
  width: 12px; height: 12px;
  background: var(--brass);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.ph__nav {
  display: none; gap: 18px; margin-left: 10px;
  font-size: 13px; font-weight: 700; color: rgba(244,241,232,.72);
  text-transform: uppercase; letter-spacing: .04em;
}
.ph__nav a:hover { color: #fff; }
.ph__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ph__phone {
  display: none; font-weight: 800; color: #f4f1e8; font-size: 14px;
}
.ph__burger {
  width: 42px; height: 42px; border: 1px solid rgba(244,241,232,.28); border-radius: 4px;
  background: transparent; cursor: pointer;
  display: grid; place-items: center; gap: 5px;
}
.ph__burger i { display: block; width: 18px; height: 2px; background: #f4f1e8; }
.ph__drawer {
  display: none; border-top: 1px solid rgba(244,241,232,.16); background: #243022;
  padding: 12px 0 18px;
}
.ph__drawer.is-open { display: block; }
.ph__drawer a {
  display: block; padding: 12px 0; font-weight: 700; color: #f4f1e8;
  border-bottom: 1px solid rgba(244,241,232,.12);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border: 0; border-radius: 4px;
  background: var(--ember); color: #fff; font-weight: 800; font-size: 14px;
  letter-spacing: .03em; text-transform: uppercase; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--ember2); transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--lg { min-height: 52px; padding: 0 22px; font-size: 15px; }
.btn--navy { background: var(--field); }
.btn--navy:hover { background: var(--field2); }
.ph .btn { background: var(--brass); color: #1a1f16; }
.ph .btn:hover { background: #d4a017; }

/* hero — full-bleed field photo */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid; align-items: end;
  color: #fff;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: #1a2218 center/cover no-repeat;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(18,24,16,.88) 0%, rgba(18,24,16,.55) 38%, rgba(18,24,16,.18) 68%, rgba(18,24,16,.08) 100%),
    linear-gradient(0deg, rgba(18,24,16,.72) 0%, transparent 55%);
}
.hero__in { padding: 48px 0 52px; }
.hero__brand {
  display: inline-block; margin: 0 0 14px;
  font-family: var(--h); font-size: clamp(26px, 4.5vw, 40px); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.hero__brand em {
  font-style: normal; color: #fff; border-bottom: 3px solid var(--brass);
}
.hero h1 {
  color: #fff; max-width: 14ch;
  font-size: clamp(30px, 5vw, 52px); margin: 0 0 14px;
}
.hero__lead {
  max-width: 38ch; color: rgba(244,241,232,.88); font-size: 17px; margin: 0 0 22px;
  font-weight: 500; text-transform: none; letter-spacing: 0; font-family: var(--t);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero__strip {
  display: grid; gap: 10px;
  padding-top: 16px; border-top: 1px solid rgba(244,241,232,.22);
  font-size: 14px; color: rgba(244,241,232,.82);
}
.hero__strip b { color: #fff; font-family: var(--h); font-size: 18px; letter-spacing: .02em; }
@media (min-width: 640px) {
  .hero__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

/* sections */
.sec { padding: 52px 0; }
.sec--white { background: var(--panel); }
.sec--ink {
  background: var(--field);
  color: #f4f1e8;
  border-top: 3px solid var(--brass);
  border-bottom: 3px solid var(--brass);
}
.sec--ink h2, .sec--ink p { color: #f4f1e8; }
.sec__kicker {
  display: inline-block; margin: 0 0 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brass);
}
.sec h2 { font-size: clamp(22px, 3.2vw, 32px); margin: 0 0 12px; }
.sec__lead {
  max-width: 52ch; color: var(--muted); margin: 0 0 26px;
  text-transform: none; letter-spacing: 0; font-family: var(--t); font-weight: 500;
}
.sec--ink .sec__lead { color: rgba(244,241,232,.72); }

/* ledger rows — not SaaS pay cards */
.pay {
  display: grid; gap: 0;
  border: 1px solid rgba(244,241,232,.22);
  background: rgba(0,0,0,.18);
}
.pay__item {
  display: grid; gap: 6px;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(244,241,232,.14);
}
.pay__item:last-child { border-bottom: 0; }
.pay__item strong {
  display: block; font-family: var(--h); font-size: clamp(26px, 3.8vw, 34px);
  margin: 0; letter-spacing: .02em; color: #fff; font-weight: 600;
}
.pay__item span { color: rgba(244,241,232,.72); font-size: 14px; }
@media (min-width: 760px) {
  .pay__item {
    grid-template-columns: minmax(180px, 240px) 1fr;
    align-items: baseline; gap: 18px;
  }
}

/* vertical order list — not 2x2 card grid */
.steps {
  display: grid; gap: 0;
  counter-reset: st;
  border-left: 3px solid var(--brass);
  padding-left: 0;
}
.steps li {
  counter-increment: st;
  display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: start;
  background: transparent; border: 0; border-radius: 0;
  padding: 16px 0 16px 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(st, decimal-leading-zero);
  width: 42px; height: auto; border-radius: 0;
  display: block; place-items: unset;
  background: transparent; color: var(--ember); font-weight: 700;
  font-family: var(--h); font-size: 22px; letter-spacing: .04em;
}
.steps b { display: block; margin-bottom: 4px; text-transform: uppercase; font-family: var(--h); }
.steps span { color: var(--muted); font-size: 14px; font-family: var(--t); font-weight: 500; text-transform: none; }

.links {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
}
.links a {
  display: inline; min-height: auto; padding: 0;
  border-radius: 0; background: transparent; border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 14px; font-weight: 700; color: var(--ember);
}
.sec--ink .links a { color: #f0d78c; }
.links a:hover { opacity: .85; }

.callout {
  display: grid; gap: 16px; align-items: center;
  background: var(--field); color: #f4f1e8;
  border: 1px solid var(--brass); border-radius: 0;
  padding: 24px 20px; box-shadow: none;
}
.callout h2 { font-size: 26px; color: #fff; }
.callout p { color: rgba(244,241,232,.78); margin: 0; text-transform: none; font-family: var(--t); letter-spacing: 0; }
.callout__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.callout .btn--navy { background: transparent; border: 1px solid rgba(244,241,232,.45); }

.faq details {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; padding: 14px 0; margin: 0;
}
.faq summary {
  cursor: pointer; font-weight: 700; list-style: none;
  font-family: var(--h); text-transform: uppercase; letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; color: var(--muted); text-transform: none; font-family: var(--t); font-weight: 500; }

/* inner pages */
.page-hero {
  background: var(--field); color: #fff; padding: 28px 0 24px;
  border-bottom: 3px solid var(--brass);
}
.page-hero .crumbs { font-size: 13px; color: rgba(244,241,232,.6); margin: 0 0 10px; }
.page-hero .crumbs a { color: rgba(244,241,232,.85); }
.page-hero h1 { color: #fff; font-size: clamp(24px, 3.5vw, 36px); }
.article {
  background: var(--panel); border: 1px solid var(--line); border-radius: 0;
  padding: 22px 18px 28px; margin: -12px auto 40px; position: relative;
  box-shadow: var(--shadow);
}
.article .title { font-family: var(--h); font-size: 1.2rem; margin: 22px 0 10px; text-transform: uppercase; }
.article a { color: var(--ember); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.article ul { padding-left: 1.15em; list-style: disc; margin: 8px 0 12px; }
.article li { margin: 0 0 6px; }
.mb-sell {
  margin-top: 24px !important; padding: 18px !important;
  background: var(--field) !important; border-radius: 0 !important; color: #fff !important;
  border: 1px solid var(--brass) !important;
}
.mb-sell .button, .mb-sell button {
  background: var(--ember) !important; color: #fff !important; border: 0 !important;
  border-radius: 4px !important; min-height: 44px; padding: 0 16px; font-weight: 800;
  text-transform: uppercase;
}

.pf {
  background: #1a2218; color: rgba(244,241,232,.72); padding: 28px 0 90px;
  font-size: 14px; border-top: 2px solid var(--brass);
}
.pf a { color: #fff; }
.pf__grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
.pf__brand { font-family: var(--h); color: #fff; font-size: 18px; margin-bottom: 8px; letter-spacing: .04em; text-transform: uppercase; }
.pf__nav { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.pf__copy { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(244,241,232,.12); }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(26, 34, 24, .96); backdrop-filter: blur(8px);
  border-top: 2px solid var(--brass);
}
.dock .btn { width: 100%; min-height: 48px; border-radius: 4px; }

@media (min-width: 760px) {
  .ph__nav { display: flex; }
  .ph__phone { display: inline; }
  .ph__burger { display: none; }
  .callout { grid-template-columns: 1.4fr auto; }
  .pf__grid { grid-template-columns: 1.2fr 1fr; }
  .dock { display: none; }
  .article { padding: 28px 28px 36px; }
  .hero__in { padding: 72px 0 64px; }
}

/* quiz */
#quiz {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 16px;
}
#quiz[hidden] { display: none !important; }
#quiz .quiz__backdrop { position: absolute; inset: 0; background: rgba(18, 24, 16, .62); }
#quiz .quiz__panel {
  position: relative; z-index: 1; width: min(440px, 100%);
  background: var(--panel); border-radius: 4px; padding: 20px 18px 18px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.45);
  max-height: min(90vh, 720px); overflow: auto;
}
#quiz .quiz__x {
  position: absolute; top: 10px; right: 12px; border: 0; background: transparent;
  font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted);
}
#quiz .quiz__step { color: var(--muted); font-size: 13px; font-weight: 700; margin: 0 0 6px; }
#quiz .quiz__title { font-family: var(--h); font-size: 22px; margin: 0 0 14px; text-transform: uppercase; }
#quiz .quiz__opts { display: grid; gap: 8px; }
#quiz .quiz__opt {
  border: 1px solid var(--line); background: #fff; border-radius: 4px;
  padding: 12px 14px; text-align: left; cursor: pointer; font-weight: 700;
}
#quiz .quiz__opt:hover { background: #ebe6d9; border-color: var(--olive); }
#quiz .form-row { display: grid; gap: 8px; margin: 0 0 10px; }
#quiz input[type=text], #quiz input[type=tel] {
  width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 4px;
  padding: 0 12px; background: #fff;
}
#quiz .chk { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 8px 0 12px; }
#quiz .mbq__submit {
  width: 100%; min-height: 48px; border: 0; border-radius: 4px;
  background: var(--ember); color: #fff; font-weight: 800; cursor: pointer;
  text-transform: uppercase; letter-spacing: .03em;
}
#quiz .form-ok { display: none; margin-top: 10px; color: var(--teal); font-weight: 700; }
#quiz .quiz__cap { margin: 8px 0; }
#quiz .hp { position: absolute; left: -9999px; }
