/* ============================================================
   Marks & More — "Bright Registry" design system (v2)
   Light AI-tech SaaS · Space Grotesk + Inter · indigo→violet→pink
   ============================================================ */

:root {
  --paper:      #F7F8FB;
  --surface:    #FFFFFF;
  --ink:        #0E1220;
  --ink-soft:   #2A3142;
  --muted:      #5B6478;
  --line:       #E6E9F0;
  --line-2:     #EEF0F6;
  --accent:     #5B5BF5;
  --accent-2:   #9D4EFF;
  --accent-3:   #FF6EA9;
  --accent-ink: #4B45E0;
  --band:       #0E1124;   /* the single dark band */
  --band-soft:  #171B36;
  --on-band:    #EAECF7;
  --on-band-mut:#9AA1C4;
  --ok:         #17B979;

  --grad: linear-gradient(100deg, #5B5BF5 0%, #9D4EFF 52%, #FF6EA9 100%);
  --grad-soft: linear-gradient(180deg, rgba(91,91,245,0.10), rgba(157,78,255,0.04));

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", sans-serif;

  --maxw: 1160px;
  --gut: 24px;
  --r: 16px;
  --shadow: 0 18px 40px -20px rgba(20,24,60,0.28);
  --shadow-sm: 0 6px 18px -10px rgba(20,24,60,0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--gut); }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent-2); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Accessibility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* ---------- Eyebrow pill ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.02em; color: var(--accent-ink); background: rgba(91,91,245,0.08); border: 1px solid rgba(91,91,245,0.18); padding: 6px 14px; border-radius: 999px; }
.eyebrow::before { content: "✦"; color: var(--accent-2); }
.on-band .eyebrow { color: #c9c7ff; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-weight: 600; font-size: 0.98rem; padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(122,79,246,0.7); }
.btn-primary:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 16px 30px -12px rgba(122,79,246,0.8); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-arrow::after { content: "→"; }
.on-band .btn-ghost { background: transparent; color: var(--on-band); border-color: rgba(255,255,255,0.22); }
.on-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247,248,251,0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--display); font-size: 1.24rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; display: flex; align-items: center; gap: 2px; }
.brand .amp { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 3px; }
.brand .reg { font-size: 0.62rem; color: var(--accent-2); vertical-align: super; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.site-nav a:hover { color: var(--ink); }
.lang-switch { font-size: 0.8rem; font-weight: 600; color: var(--muted) !important; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.lang-switch:hover { border-color: var(--accent); color: var(--accent-ink) !important; }
.nav-cta { background: var(--grad); color: #fff !important; padding: 9px 18px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; box-shadow: 0 10px 22px -12px rgba(122,79,246,0.7); }
.nav-cta:hover { color: #fff !important; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.4rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 70px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 380px at 88% 6%, rgba(157,78,255,0.14), transparent 62%), radial-gradient(560px 360px at 6% 90%, rgba(91,91,245,0.10), transparent 60%); pointer-events: none; }
.hero .container { position: relative; }
.hero-2col .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); letter-spacing: -0.03em; margin: 20px 0 0; }
.hero .lede { font-size: 1.16rem; color: var(--muted); max-width: 46ch; margin: 20px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 0.86rem; color: var(--muted); }
.hero-trust .stars { color: #F5A623; letter-spacing: 2px; }

/* Product "registration" card */
.reg-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; position: relative; }
.reg-card::before { content: ""; position: absolute; inset: -1px; border-radius: 20px; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; pointer-events: none; }
.reg-card .rc-head { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.reg-card .rc-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(23,185,121,0.12); color: #0f9d63; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; }
.reg-card .rc-mark { font-family: var(--display); font-size: 2rem; font-weight: 600; margin: 16px 0 4px; }
.reg-card .rc-mark sup { color: var(--accent-2); font-size: 0.9rem; }
.reg-card .rc-meta { font-size: 0.82rem; color: var(--muted); }
.reg-card .rc-steps { display: flex; gap: 6px; margin-top: 18px; }
.reg-card .rc-step { flex: 1; text-align: center; font-size: 0.66rem; color: var(--muted); }
.reg-card .rc-bar { height: 6px; border-radius: 999px; background: var(--line); margin-bottom: 7px; }
.reg-card .rc-step.done .rc-bar { background: var(--grad); }
.reg-card .rc-step.done { color: var(--ink); font-weight: 600; }

/* ---------- Logos strip ---------- */
.logos { padding: 30px 0 8px; border-top: 1px solid var(--line); }
.logos .cap { text-align: center; font-size: 0.78rem; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.logos .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.logos .row span { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: #9aa2b6; letter-spacing: 0.02em; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 62ch; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-top: 14px; }
.section-head .lede { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.lede { color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- Bento capability grid ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.bento .cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
.bento .cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(91,91,245,0.35); }
.bento .tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-ink); background: rgba(91,91,245,0.08); padding: 4px 9px; border-radius: 8px; }
.bento h3 { font-size: 1.22rem; margin: 14px 0 8px; }
.bento p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Dark band ---------- */
.band { background: var(--band); color: var(--on-band); border-radius: 28px; margin: 0 var(--gut); }
.band-inner { max-width: var(--maxw); margin: 0 auto; padding: 72px var(--gut); }
.band h2, .band h3 { color: #fff; }
.band .lede, .band .muted { color: var(--on-band-mut); }
.on-band a { color: #c9c7ff; }

/* comparison (inside band) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare .col { border-radius: var(--r); padding: 28px; }
.compare .col.them { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.compare .col.us { background: rgba(255,255,255,0.06); border: 1px solid rgba(157,78,255,0.35); }
.compare h3 { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.compare .them h3 { color: var(--on-band-mut); }
.compare .us h3 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.compare ul { list-style: none; }
.compare li { padding: 10px 0; font-size: 0.96rem; border-top: 1px solid rgba(255,255,255,0.07); display: flex; gap: 10px; }
.compare li:first-child { border-top: 0; }
.compare .them li { color: var(--on-band-mut); }
.compare .them li::before { content: "—"; color: #4b5178; }
.compare .us li { color: var(--on-band); }
.compare .us li::before { content: "✓"; color: #b98cff; font-weight: 700; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-align: center; }
.stat .v { font-family: var(--display); font-size: 2rem; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.tier.feature { border-color: transparent; box-shadow: var(--shadow); }
.tier.feature::before { content: ""; position: absolute; inset: -1px; border-radius: 20px; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tier-badge { position: absolute; top: -12px; left: 26px; background: var(--grad); color: #fff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.tier .name { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.tier .price { font-family: var(--display); font-size: 2.6rem; font-weight: 600; margin-top: 12px; }
.tier .period { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.tier ul { list-style: none; margin: 22px 0; flex: 1; }
.tier li { padding: 8px 0; font-size: 0.93rem; color: var(--ink-soft); border-top: 1px solid var(--line-2); display: flex; gap: 10px; }
.tier li::before { content: "✓"; color: var(--accent-2); font-weight: 700; }
.tier .btn { width: 100%; justify-content: center; }

/* ---------- Callout card (governance/generic) ---------- */
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 34px; background-image: var(--grad-soft); }
.callout h3 { font-size: 1.4rem; margin-bottom: 10px; }
.callout p { color: var(--muted); max-width: 64ch; }

/* ---------- Ledger (how-it-works steps) ---------- */
.steps { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; align-items: start; }
.step .no { font-family: var(--display); font-weight: 600; font-size: 1.1rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--grad); }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 90px 0; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-band .lede { margin: 14px auto 30px; max-width: 46ch; }

/* ---------- Service pages ---------- */
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
dl.facts { margin-top: 6px; }
dl.facts dt { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; font-weight: 700; }
dl.facts dt:first-child { margin-top: 0; }
dl.facts dd { color: var(--ink); font-size: 0.96rem; margin-top: 3px; font-weight: 500; }
a.svc-row { text-decoration: none; }

/* ---------- Article / blog ---------- */
.post-head { padding: 70px 0 34px; border-bottom: 1px solid var(--line); }
.post-head h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; margin-top: 14px; }
.post-meta { font-size: 0.85rem; color: var(--muted); }
.article { padding: 46px 0 70px; }
.article-body { max-width: 70ch; }
.article-body p { margin-bottom: 18px; color: var(--ink-soft); }
.article-body h2 { font-size: 1.6rem; margin: 36px 0 12px; }
.article-body h3 { font-size: 1.25rem; margin: 26px 0 8px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; color: var(--ink-soft); }
.article-body li { margin-bottom: 7px; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { border-left: 3px solid var(--accent); padding-left: 16px; margin: 20px 0; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.blog-item { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: transform .15s ease, box-shadow .2s ease; }
.blog-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.blog-item .date { font-size: 0.76rem; color: var(--muted); }
.blog-item h3 { font-size: 1.16rem; margin: 8px 0; }
.blog-item p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); padding: 12px 14px; border-radius: 12px; font-family: var(--sans); font-size: 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,91,245,0.15); }
.field textarea { resize: vertical; min-height: 110px; }
.form-status { font-size: 0.9rem; margin-top: 12px; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #e0537a; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 28px; background: var(--surface); margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 34px; }
.footer-grid p { color: var(--muted); font-size: 0.9rem; max-width: 32ch; margin-top: 12px; }
.foot-head { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer a { display: block; color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 9px; }
.site-footer a:hover { color: var(--accent-ink); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Consent ---------- */
.consent { position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 200; max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow); }
.consent.hidden { display: none; }
.consent p { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { padding: 10px 18px; font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-2col .container { grid-template-columns: 1fr; gap: 34px; }
  .reg-card { max-width: 460px; }
  .bento, .tiers, .stats, .compare, .footer-grid, .blog-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .site-nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: flex-start; background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px var(--gut); gap: 14px; display: none; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
