/* Multi-page chrome, sub-page layouts, help centre, partner page, and the product mockups.
   Loaded after styles.css, which owns the base tokens, hero and buttons. */

/* =================== light editorial theme ===================
   Crafted, typographic, generous — no decorative grids, glows or gradients. Colour is used
   functionally: bronze for actions, the five ANTIK hues as a system that colour-codes the
   product's own features. Structure carries the page, not effects. */
:root {
  --ink: #17150f;
  --ink-2: #38342b;
  --paper: #f4f2ea;
  --surface: #fffdf8;
  --surface-2: #efece2;
  --line: #e2ded1;
  --line-strong: #d0ccbd;
  --line-ink: rgba(255, 255, 255, 0.14);
  --text: #17150f;
  --muted: #6c685c;
  --muted-ink: #a29c8f;
  --bronze: #9a6a0e;
  --bronze-hi: #b5811a;
  --live: #2f8a52;
  --shell: 1200px;
}
body { background: var(--paper); color: var(--text); font-size: 18px; }

/* header: light, editorial */
.nav { background: color-mix(in srgb, var(--paper) 82%, transparent); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.mark { color: var(--bronze); }
.mark span { color: var(--ink); }
.nav-links a, .mega-btn, .nav-login { color: var(--muted); }
.nav-links a:hover, .nav-login:hover { color: var(--ink); }
.has-mega:hover .mega-btn, .mega-btn[aria-expanded="true"] { color: var(--ink); background: var(--surface-2); }
.burger span { background: var(--ink); }

/* buttons */
.btn-small { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.btn-small:hover { background: var(--surface-2); }
.btn-small.btn-primary { border-color: transparent; color: #fff; }
.btn-line { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-line:hover { border-color: var(--bronze); color: var(--bronze); background: var(--surface); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 16px;
  text-decoration: none; white-space: nowrap; color: var(--ink);
  border: 1px solid transparent; background: transparent; gap: 8px;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}
.btn-ghost:hover { color: var(--bronze); background: var(--surface-2); }

/* dark bands (footer, help search) — a deliberate contrast finish */
.foot { background: #14120c; color: var(--muted-ink); }
.help-hero { background: #14120c; }
.help-search input { color: var(--ink); }
.mobile-menu { background: #14120c; }
.mobile-menu .mark span { color: #fff; }

/* mockups keep their own light palette + get a crafted frame on the page */
.win {
  --ink: #16150f; --ink-2: #1d1b16; --text: #16150f;
  --paper: #f5f4f0; --surface: #ffffff; --surface-2: #f0efe8;
  --line: #e4e2d8; --line-strong: #d8d5c9; --line-ink: #e4e2d8;
  --muted: #6d6a5e; --muted-ink: #6d6a5e;
  color: #16150f;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -50px rgb(23 21 15 / 0.5);
}

/* =================== signature ANTIK wordmark =================== */
.wordmark { display: inline-flex; gap: clamp(6px, 1.1vw, 13px); }
.wordmark .lt { border-radius: 20%; }
.wordmark .lt-bg { fill: hsl(var(--h) 32% 52% / 0.16); }
.wordmark .lt-px { fill: hsl(var(--h) 52% 46%); }
.wordmark.animate .lt-bg { animation: tilein 0.5s var(--ease) backwards; }
.px-cell { animation: pxpop 0.34s var(--ease) backwards; transform-box: fill-box; transform-origin: center; }
@keyframes pxpop { from { opacity: 0; transform: scale(0.1); } to { opacity: 1; transform: scale(1); } }
@keyframes tilein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .px-cell, .wordmark.animate .lt-bg { animation: none; } }

/* =================== hero =================== */
.hero2 { padding: clamp(40px, 6vw, 76px) 0 clamp(44px, 6vw, 80px); text-align: center; }
.hero2-inner { display: flex; flex-direction: column; align-items: center; }
.hero2 .kicker { margin-bottom: 30px; background: var(--surface); border-color: var(--line-strong); color: var(--muted); font-family: var(--sans); font-size: 13.5px; }
.hero2-mark { margin-bottom: 34px; }
.hero2-h1 { font-size: clamp(40px, 6.4vw, 88px); letter-spacing: -0.045em; max-width: 15ch; }
.hero2-h1 .hl { color: var(--bronze); }
.hero2-lead { max-width: 58ch; margin: 24px auto 0; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }
.hero2-actions { justify-content: center; margin-top: 32px; }
.hero2 .hero-note { margin-top: 18px; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 3vw, 32px); list-style: none; margin: 26px 0 0; padding: 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.trust .ic { width: 18px; height: 18px; color: var(--bronze); }

/* parallax drift + pointer tilt on the product windows */
.hero2-media { width: min(1160px, 100%); margin: clamp(44px, 6vw, 80px) auto 0; transform: translateY(var(--py, 0)); perspective: 1400px; }
.hero2-media .win { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 320ms var(--ease); transform-style: preserve-3d; will-change: transform; }
.row2-media { transform: translateY(var(--py, 0)); }
@media (prefers-reduced-motion: reduce) { .hero2-media, .row2-media, .hero2-media .win { transform: none; } }

/* feature cards: flat, bordered, colour-coded by the five brand hues — no soft-shadow kit */
.grid-cards .fcard:nth-child(5n + 1), .card-hue-1 { --ch: 352; }
.grid-cards .fcard:nth-child(5n + 2), .card-hue-2 { --ch: 42; }
.grid-cards .fcard:nth-child(5n + 3), .card-hue-3 { --ch: 150; }
.grid-cards .fcard:nth-child(5n + 4), .card-hue-4 { --ch: 20; }
.grid-cards .fcard:nth-child(5n + 5), .card-hue-5 { --ch: 205; }
.fcard { border-radius: 14px; box-shadow: none; }
.fcard .fic, .hcard .fic { background: hsl(var(--ch, 42) 40% 52% / 0.14); color: hsl(var(--ch, 42) 55% 40%); border-radius: 11px; }
.help-cats .hcard:nth-child(3n + 1) { --ch: 352; } .help-cats .hcard:nth-child(3n + 2) { --ch: 150; } .help-cats .hcard:nth-child(3n + 3) { --ch: 205; }
.fcard:hover, .hcard:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -30px rgb(23 21 15 / 0.4); border-color: var(--line-strong); }
.fcard .more { color: var(--bronze); }
.specs { border-top: 1px solid var(--line); }
.spec b { color: var(--ink); }
.section-wrap.tint { background: var(--surface-2); }
/* end light editorial theme */

/* ============================ header: menus ============================ */
.nav-links {
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-login {
  color: var(--muted-ink);
  text-decoration: none;
  font-size: 15px;
  transition: color 160ms var(--ease);
}
.nav-login:hover { color: #fff; }
.btn-small.btn-primary { background: var(--bronze-hi); color: #14130f; }
.btn-small.btn-primary:hover { background: #d69b2c; }

.has-mega { position: relative; }
.mega-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  color: var(--muted-ink);
  font: inherit;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}
.mega-btn svg { opacity: 0.7; transition: transform 200ms var(--ease); }
.has-mega:hover .mega-btn,
.mega-btn[aria-expanded="true"] { color: #fff; background: rgb(255 255 255 / 0.08); }
.has-mega:hover .mega-btn svg { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  z-index: 40;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-in {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  width: min(92vw, 460px);
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgb(20 19 15 / 0.4);
}
.mm-h {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 8px 10px 4px;
}
.mm-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 11px;
  text-decoration: none;
  color: var(--ink);
  transition: background 140ms var(--ease);
}
.mm-item:hover { background: var(--paper); }
.mm-ic {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--bronze) 12%, var(--paper));
  color: var(--bronze);
}
.mm-ic .ic { width: 20px; height: 20px; }
.mm-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm-tx b { font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.mm-tx small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.tag {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--bronze);
  background: color-mix(in srgb, var(--bronze) 15%, var(--paper));
  padding: 1px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* burger + mobile menu */
.burger { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin-left: auto;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
  }
  .burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 200ms var(--ease), opacity 200ms; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    inset: 64px 0 0;
    background: var(--ink);
    z-index: 25;
    padding: 20px;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  }
  body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a, .mobile-menu p { color: #fff; text-decoration: none; display: block; }
  .mobile-menu .mm-h2 { color: var(--muted-ink); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin: 18px 0 6px; }
  .mobile-menu a { padding: 11px 4px; border-bottom: 1px solid rgb(255 255 255 / 0.07); font-size: 16px; }
  .mobile-menu .m-cta { margin-top: 20px; }
}
.mobile-menu { display: none; }
@media (max-width: 900px) { .mobile-menu { display: block; } }

/* ============================ footer ============================ */
.foot { background: var(--ink); color: var(--muted-ink); padding: 56px 0 28px; margin-top: 0; }
.foot-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line-ink); }
.foot-brand .mark { margin-bottom: 14px; }
.foot-brand p { color: var(--muted-ink); font-size: 14px; line-height: 1.6; max-width: 34ch; margin-bottom: 18px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.foot-h { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.foot-col a { display: block; color: var(--muted-ink); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color 150ms var(--ease); }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; flex-wrap: wrap; }
.foot-note { color: var(--muted-ink); font-size: 13px; max-width: 60ch; }
.foot-copy { color: var(--muted-ink); font-size: 13px; }
@media (max-width: 820px) {
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ============================ breadcrumbs + sub-hero ============================ */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--bronze); }
.crumbs i { color: var(--line); font-style: normal; }
.crumbs span[aria-current] { color: var(--ink); }

.page-hero { padding: 40px 0 12px; }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--bronze); font-weight: 600; font-size: 15px;
  letter-spacing: -0.01em; margin-bottom: 16px;
}
.page-hero .eyebrow .ic { width: 18px; height: 18px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.035em; max-width: 18ch; }
.page-hero .lead { margin-top: 18px; max-width: 62ch; font-size: 19px; color: var(--muted); }
.page-hero .hero-actions { margin-top: 26px; }

/* ============================ feature/solution sections ============================ */
.rows { padding: 24px 0 8px; }
.row2 {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
}
.row2.flip .row2-text { order: 2; }
.row2 h2 { font-size: clamp(26px, 3vw, 36px); }
.row2 .lead { margin-top: 14px; color: var(--muted); }
.row2 .ticks { margin-top: 20px; }
@media (max-width: 860px) {
  .row2 { grid-template-columns: 1fr; gap: 28px; padding: 30px 0; }
  .row2.flip .row2-text { order: 0; }
}

.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 0 8px; }
@media (max-width: 860px) { .grid-cards { grid-template-columns: 1fr; } }
.fcard {
  display: block;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms;
}
.fcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgb(20 19 15 / 0.35); border-color: color-mix(in srgb, var(--bronze) 40%, var(--line)); }
.fcard .fic {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: color-mix(in srgb, var(--bronze) 12%, var(--paper)); color: var(--bronze); margin-bottom: 16px;
}
.fcard h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.fcard p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.fcard .more { margin-top: 14px; color: var(--bronze); font-size: 14px; font-weight: 600; }

.section-head.center { text-align: center; max-width: 40ch; margin: 0 auto; }
.section-wrap { padding: 56px 0; }
.section-wrap.tint { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bronze) 5%, var(--paper))); }

/* ============================ help centre ============================ */
.help-hero {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 60px;
  text-align: center;
}
.help-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.help-hero p { color: var(--muted-ink); margin-top: 12px; }
.help-search {
  display: flex; align-items: center; gap: 10px;
  max-width: 560px; margin: 26px auto 0;
  background: #fff; border-radius: 14px; padding: 4px 4px 4px 16px;
}
.help-search svg { color: var(--muted); }
.help-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 12px 0; color: var(--ink); background: none; }
.help-search .btn { height: 44px; }
.help-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 48px 0; }
@media (max-width: 860px) { .help-cats { grid-template-columns: 1fr; } }
.hcard { display: block; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: transform 200ms var(--ease), box-shadow 200ms; }
.hcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgb(20 19 15 / 0.3); }
.hcard .fic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--bronze) 12%, var(--paper)); color: var(--bronze); margin-bottom: 14px; }
.hcard h3 { font-size: 17px; }
.hcard p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.hcard .cnt { margin-top: 12px; color: var(--muted); font-size: 13px; }

.help-layout { display: grid; grid-template-columns: 240px 1fr; gap: 44px; padding: 32px 0 20px; }
.help-side { position: sticky; top: 84px; align-self: start; }
.help-side p.h { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 10px; }
.help-side a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: 14.5px; }
.help-side a:hover { background: var(--paper); color: var(--ink); }
.help-side a.on { background: color-mix(in srgb, var(--bronze) 12%, var(--paper)); color: var(--bronze); font-weight: 600; }
.art-list a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.art-list a:hover h3 { color: var(--bronze); }
.art-list h3 { font-size: 17px; transition: color 150ms; }
.art-list p { color: var(--muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 780px) { .help-layout { grid-template-columns: 1fr; } .help-side { position: static; } }

.article { max-width: 720px; }
.article h1 { font-size: clamp(28px, 3.6vw, 40px); }
.article .meta { color: var(--muted); font-size: 13.5px; margin: 12px 0 26px; }
.article h2 { font-size: 22px; margin-top: 34px; }
.article p { margin-top: 14px; line-height: 1.7; color: var(--ink-2); }
.article ul, .article ol { margin-top: 14px; padding-left: 22px; color: var(--ink-2); line-height: 1.7; }
.article li { margin-top: 6px; }
.article .callout { margin-top: 20px; padding: 16px 18px; background: color-mix(in srgb, var(--bronze) 8%, var(--paper)); border-left: 3px solid var(--bronze); border-radius: 10px; font-size: 14.5px; }
.article .rel { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.article .rel p.h { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.article .rel a { color: var(--bronze); text-decoration: none; display: block; padding: 5px 0; font-weight: 500; }

/* ============================ partner page ============================ */
.partner-hero { text-align: center; padding: 52px 0 20px; }
.partner-hero .big { font-size: clamp(44px, 8vw, 92px); color: var(--bronze); letter-spacing: -0.05em; line-height: 1; font-weight: 800; }
.partner-hero h1 { margin: 10px auto 20px; max-width: 20ch; }
.partner-hero .lead { margin-top: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px 0; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--bronze); font-weight: 700; }
.step h3 { font-size: 18px; margin-top: 10px; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.55; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 8px 0; }
@media (max-width: 780px) { .tiers { grid-template-columns: 1fr; } }
.tier { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: center; }
.tier.hot { border-color: var(--bronze); box-shadow: 0 20px 50px -26px color-mix(in srgb, var(--bronze) 60%, transparent); }
.tier .pct { font-size: 46px; font-weight: 800; color: var(--bronze); letter-spacing: -0.03em; }
.tier h3 { font-size: 17px; margin-top: 6px; }
.tier p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ============================ generic bits ============================ */
.pillrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pillrow span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 8px 0; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.stat b { font-family: var(--mono); font-size: 30px; letter-spacing: -0.02em; display: block; }
.stat span { color: var(--muted); font-size: 13.5px; margin-top: 4px; display: block; }

/* ============================ MOCKUPS ============================ */
.win { margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgb(20 19 15 / 0.5); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #ecebe4; border-bottom: 1px solid var(--line); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #cfcdc2; }
.win-bar i:nth-child(1) { background: #e0685f; } .win-bar i:nth-child(2) { background: #e3ab48; } .win-bar i:nth-child(3) { background: #64b565; }
.win-title { margin-left: auto; margin-right: auto; font-size: 12.5px; color: var(--muted); font-weight: 500; transform: translateX(-14px); }
.win-body { background: var(--paper); }

.mk-app { display: grid; grid-template-columns: 176px 1fr; min-height: 440px; font-size: 13px; }
.mk-side { background: #f0efe8; border-right: 1px solid var(--line); padding: 14px 12px; display: flex; flex-direction: column; }
.mk-brand { display: flex; align-items: center; gap: 8px; color: var(--bronze-hi); font-weight: 650; padding: 4px 8px 16px; }
.mk-brand span { color: var(--ink); }
.mk-nav { display: flex; flex-direction: column; gap: 2px; }
.mk-navi { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; color: var(--muted); cursor: default; }
.mk-navi.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 0 rgb(20 19 15 / 0.04); }
.mk-navi svg { color: currentColor; opacity: 0.85; }
.mk-acct { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 10px 8px 4px; }
.mk-acct b { display: block; font-size: 12.5px; }
.mk-acct small { color: var(--muted); font-size: 11px; }
.mk-main { padding: 16px 18px; overflow: hidden; }

.mk-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mk-title { font-size: 15px; }
.mk-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink); font-weight: 500; }
.mk-btn.primary { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.mk-btn.ghost { background: none; border-color: transparent; color: var(--muted); }
.mk-search { flex: 1; max-width: 210px; height: 32px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.mk-chip { height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.mk-chip.sm { height: 24px; font-size: 11px; padding: 0 9px; color: var(--bronze); background: color-mix(in srgb, var(--bronze) 12%, var(--paper)); border-color: transparent; }
.mk-tabs { display: inline-flex; gap: 2px; margin-left: auto; background: #e7e6de; border-radius: 9px; padding: 3px; }
.mk-tabs i { font-style: normal; padding: 6px 12px; border-radius: 7px; font-size: 12.5px; color: var(--muted); }
.mk-tabs i.on { background: var(--surface); color: var(--ink); font-weight: 600; }

.mk-table { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mk-tr { display: grid; grid-template-columns: 26px 2fr 1fr 1fr 1.3fr 1.2fr 0.8fr 0.9fr; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mk-tr:last-child { border-bottom: 0; }
.mk-th { background: var(--paper); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; }
.mk-tr.sel { background: color-mix(in srgb, var(--bronze) 6%, var(--surface)); }
.mk-table.px .mk-tr { grid-template-columns: 1.3fr 0.8fr 1.4fr 1.2fr 0.9fr 0.8fr 1fr; }
.mk-table.team .mk-tr { grid-template-columns: 1.8fr 1fr 1fr 1.6fr 1.1fr; }
.ck { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--line); }
.ck.on { background: var(--bronze); border-color: var(--bronze); position: relative; }
.ck.on::after { content: "✓"; color: #fff; font-size: 10px; position: absolute; inset: 0; display: grid; place-items: center; }
.nm { display: flex; align-items: center; gap: 9px; font-weight: 500; min-width: 0; }
.nm.mono { font-family: var(--mono); font-weight: 400; font-size: 12px; }
.mut { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12px; }
.px .mono, .px2 { font-size: 11.5px; }

.glyph { flex: none; border-radius: 6px; }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.pill.ok { background: #e2f0e6; color: #2f7a4a; } .pill.warn { background: #f7ecd2; color: #9a6a0e; }
.pill.mut { background: #ececec; color: #6d6a5e; } .pill.bad { background: #f6dfd8; color: #b4462f; }
.pill.role { font-weight: 600; }
.pill.role.own { background: color-mix(in srgb, var(--bronze) 18%, var(--paper)); color: var(--bronze); }
.pill.role.adm { background: #e6ecf6; color: #3a5a9a; }
.pill.role.buy { background: #e2f0e6; color: #2f7a4a; }
.pill.role.fin { background: #efe6f6; color: #6a3a9a; }
.sdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.sdot.ok { background: #56b06f; } .sdot.warn { background: #d9a63c; } .sdot.bad { background: #d06a58; } .sdot.mut { background: #b8b4a8; }
.perms { display: flex; flex-wrap: wrap; gap: 5px; }
.perms i { font-style: normal; font-size: 10.5px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); padding: 2px 7px; border-radius: 999px; }

/* editor */
.mk-editor { display: grid; grid-template-columns: 150px 1fr; gap: 16px; min-height: 400px; }
.mk-etabs { display: flex; flex-direction: column; gap: 2px; }
.mk-etabs span { padding: 9px 12px; border-radius: 8px; color: var(--muted); font-size: 12.5px; }
.mk-etabs span.on { background: color-mix(in srgb, var(--bronze) 12%, var(--paper)); color: var(--bronze); font-weight: 600; }
.mk-eform { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.mk-ehead { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mk-ehead b { font-size: 15px; }
.mk-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.mk-field { display: flex; flex-direction: column; gap: 5px; }
.mk-field > span:first-child { font-size: 11.5px; color: var(--muted); }
.mk-input { height: 34px; display: flex; align-items: center; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 12.5px; }
.mk-input i { font-style: normal; margin-left: auto; color: var(--bronze); font-size: 11px; }
.mk-input.sm { max-width: 130px; }
.mk-seg { display: inline-flex; gap: 3px; background: #eceae2; border-radius: 8px; padding: 3px; }
.mk-seg i { font-style: normal; padding: 6px 10px; border-radius: 6px; font-size: 11.5px; color: var(--muted); }
.mk-seg i.on { background: var(--surface); color: var(--ink); font-weight: 600; }
.mk-eactions { display: flex; gap: 8px; margin-top: 18px; }

/* live control */
.mk-live { background: #1a1915; color: #fff; min-height: 440px; display: flex; flex-direction: column; }
.mk-live-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.live-badge { background: #d0453a; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; letter-spacing: 0.05em; }
.live-badge.sm { font-size: 9.5px; padding: 2px 6px; }
.mk-live-head .who { color: #d8d4c8; font-size: 13px; }
.mk-live-head .who b { color: #fff; }
.mk-live-head .ctrl { margin-left: auto; }
.mk-live-head .ctrl.on { background: var(--bronze-hi); border-color: var(--bronze-hi); color: #14130f; font-weight: 600; }
.mk-live-head .ico { color: #9a968a; }
.mk-live-screen { flex: 1; padding: 16px; position: relative; }
.mk-live-tag { position: absolute; top: 26px; left: 26px; z-index: 2; background: var(--bronze-hi); color: #14130f; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; }
.mk-browser { height: 100%; border: 2px solid var(--bronze-hi); border-radius: 10px; overflow: hidden; background: #fff; }
.mk-bbar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #ecebe4; }
.mk-bbar i { width: 9px; height: 9px; border-radius: 50%; background: #cfcdc2; }
.mk-bbar .url { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: #6d6a5e; background: #fff; padding: 3px 10px; border-radius: 6px; }
.mk-bpage { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.mk-bpage .l { height: 12px; border-radius: 6px; background: #eceae2; }
.mk-bpage .w80 { width: 80%; } .mk-bpage .w70 { width: 70%; } .mk-bpage .w60 { width: 60%; } .mk-bpage .w50 { width: 50%; } .mk-bpage .w40 { width: 40%; }
.mk-bpage .btnrow { display: flex; gap: 10px; margin: 6px 0; }
.mk-bpage .btnrow i { width: 88px; height: 30px; border-radius: 7px; background: #eceae2; }
.mk-bpage .btnrow i.acc { background: var(--bronze); }
.mk-live-foot { padding: 11px 16px; border-top: 1px solid rgb(255 255 255 / 0.08); color: #9a968a; font-size: 12px; }

/* vault */
.mk-vaultadd { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.mk-vaultadd .mk-input:first-child { flex: 1; }
.mk-vault { display: flex; flex-direction: column; gap: 8px; }
.mk-vrow { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.mk-vrow .vl { flex: 1; font-size: 13px; }
.mk-vrow .vcode { font-size: 20px; font-weight: 600; letter-spacing: 0.1em; }
.vring { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--bronze) calc(var(--p) * 1%), var(--line) 0); mask: radial-gradient(circle 6px at center, transparent 98%, #000 0); -webkit-mask: radial-gradient(circle 6px at center, transparent 98%, #000 0); }
.mk-vrow .vcopy { color: var(--bronze); font-size: 12px; }

/* cookies + warmup */
.mk-cook { margin-bottom: 16px; }
.mk-sites { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.mk-warm { border-top: 1px solid var(--line); padding-top: 16px; }
.mk-warm > b { font-size: 14px; }
.mk-warm-row { display: flex; align-items: center; gap: 12px; margin: 12px 0 8px; flex-wrap: wrap; }
.mk-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--bronze); font-weight: 600; }
.mk-toggle i { width: 34px; height: 20px; border-radius: 999px; background: var(--bronze); position: relative; }
.mk-toggle i::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.mk-hint { color: var(--muted); font-size: 12.5px; }

/* dashboard */
.mk-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.mk-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; }
.mk-tile .tl { font-size: 11.5px; color: var(--muted); display: block; }
.mk-tile b { font-size: 22px; letter-spacing: -0.02em; display: block; margin-top: 4px; }
.mk-dash2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-card { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 14px; }
.mk-ch { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.mk-who { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.mk-who:first-of-type { border-top: 0; }
.mk-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.mk-bar i { background: var(--bronze); } .mk-bar i.b2 { background: #b98a3a; } .mk-bar i.b3 { background: #d8c191; }
.mk-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); }
.mk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mk-legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--bronze); } .mk-legend i.b2 { background: #b98a3a; } .mk-legend i.b3 { background: #d8c191; }

.mk-team { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; }
.mk-journal { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mk-jh { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.mk-journal ul { list-style: none; margin: 0; padding: 0; }
.mk-journal li { display: flex; align-items: baseline; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.mk-journal li b { color: var(--ink); font-weight: 600; }
.mk-journal li span { color: var(--ink-2); }
.mk-journal li time { margin-left: auto; font-size: 11px; color: var(--muted); }

@media (max-width: 620px) {
  .mk-app { grid-template-columns: 1fr; }
  .mk-side { display: none; }
  .mk-editor { grid-template-columns: 1fr; }
  .mk-etabs { flex-direction: row; overflow-x: auto; }
  .mk-grid2 { grid-template-columns: 1fr; }
  .mk-tiles { grid-template-columns: 1fr 1fr; }
  .mk-dash2, .mk-team { grid-template-columns: 1fr; }
  .mk-tr { font-size: 11px; }
}

/* =================== pricing comparison table =================== */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
.cmp th, .cmp td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp thead th { position: sticky; top: 0; background: var(--surface); font-size: 15px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--line-strong); }
.cmp thead th.hot { color: var(--bronze); }
.cmp .cmp-f { text-align: left; color: var(--ink-2); font-weight: 500; }
.cmp thead .cmp-f { color: var(--muted); font-weight: 600; }
.cmp .cmp-g th { text-align: left; background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; padding: 10px 16px; }
.cmp td.hot { background: color-mix(in srgb, var(--bronze) 6%, var(--surface)); }
.cmp .yes { color: var(--live); font-weight: 700; font-size: 16px; }
.cmp .no { color: var(--muted-ink); }
.cmp .val { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: 0; }

/* =================== final light-theme header fixes (win over legacy rules) =================== */
.nav-login { color: var(--muted); }
.nav-login:hover { color: var(--ink); }
.mega-btn { color: var(--muted); }
.has-mega:hover .mega-btn,
.mega-btn[aria-expanded="true"] { color: var(--ink); background: var(--surface-2); }
.has-mega:hover .mega-btn svg { transform: rotate(180deg); }
