/* ============================================================
   mkadr site — mkadr Brand System v3 (kit 04_Color_and_Tokens)
   ============================================================ */
:root {
  /* brand */
  --mk-brand-navy: #021750;
  --mk-brand-electric: #115DFE;
  --mk-brand-navy-900: #001139;
  --mk-brand-navy-700: #021750;
  --mk-brand-navy-600: #17336C;
  --mk-brand-navy-500: #3D5280;
  --mk-brand-navy-300: #8998B8;
  --mk-brand-navy-100: #E5EAF3;
  --mk-brand-blue-900: #173A8A;
  --mk-brand-blue-700: #254CAE;
  --mk-brand-blue-600: #3F63C9;
  --mk-brand-blue-500: #115DFE;
  --mk-brand-blue-300: #87A8FF;
  --mk-brand-blue-100: #E9F0FF;
  --mk-brand-blue-50: #F4F7FF;
  /* neutral */
  --mk-neutral-ink: #17202D;
  --mk-neutral-body: #445064;
  --mk-neutral-muted: #5F6B7A;
  --mk-neutral-quiet: #758297;
  --mk-neutral-subtle: #ADB7C5;
  --mk-neutral-border: #DCE3EC;
  --mk-neutral-border-light: #E8EDF3;
  --mk-neutral-canvas: #F3F5F8;
  --mk-neutral-surface: #FFFFFF;
  --mk-neutral-surface-alt: #F9FAFC;
  --mk-neutral-dark-canvas: #111B2C;
  --mk-neutral-dark-surface: #18253D;
  --mk-neutral-dark-raised: #22314C;
  --mk-neutral-dark-text: #F4F7FC;
  --mk-neutral-dark-muted: #C4CFDD;
  /* semantic */
  --mk-semantic-success: #2F8F62;
  --mk-semantic-success-ink: #196B47;
  --mk-semantic-success-surface: #EAF6F0;
  --mk-semantic-warning: #B98B22;
  --mk-semantic-warning-ink: #78550C;
  --mk-semantic-warning-surface: #FAF4E6;
  --mk-semantic-danger: #C64F4A;
  --mk-semantic-danger-ink: #AB3434;
  --mk-semantic-danger-surface: #FBEDED;
  --mk-semantic-info: #4E7DDC;
  --mk-semantic-info-ink: #315AA8;
  --mk-semantic-info-surface: #EEF3FF;
  /* focus / radii / type / elevation */
  --mk-focus: #115DFE;
  --mk-radius-input: 6px;
  --mk-radius-control: 8px;
  --mk-radius-card: 12px;
  --mk-radius-dialog: 14px;
  --mk-font: Inter, system-ui, Arial, sans-serif;
  --mk-elevation-popover: 0 8px 24px rgba(23,32,45,.10);
  --mk-elevation-dialog: 0 20px 48px rgba(23,32,45,.16);

  /* site semantic aliases -> v3 tokens */
  --navy-deep: var(--mk-brand-navy-900);
  --navy-hero: var(--mk-brand-navy-700);
  --brand: var(--mk-brand-navy);
  --primary: var(--mk-brand-blue-600);
  --primary-hi: var(--mk-brand-blue-300);
  --ink: var(--mk-neutral-ink);
  --muted: var(--mk-neutral-muted);
  --line: var(--mk-neutral-border);
  --paper: var(--mk-neutral-canvas);
  --card: var(--mk-neutral-surface);
  --red: var(--mk-semantic-danger);
  --red-soft: var(--mk-semantic-danger-surface);
  --red-ink: var(--mk-semantic-danger-ink);
  --green: var(--mk-semantic-success);
  --green-ink: var(--mk-semantic-success-ink);
  --amber: var(--mk-semantic-warning);
  --warning-ink: var(--mk-semantic-warning-ink);
  --radius: var(--mk-radius-card);
  --font: var(--mk-font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--mk-brand-blue-100); color: var(--brand); }

.wrap { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); padding: 10px 16px; background: var(--brand); color: #fff; border-radius: var(--mk-radius-control); }
.skip:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--mk-focus); outline-offset: 2px; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow-dark { color: var(--primary-hi); }

.h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.08;
  color: var(--brand);
  max-width: 720px;
}
.h2 span { color: var(--mk-brand-navy-300); }
.h2-dark { color: #fff; }
.h2-dark span { color: var(--primary-hi); }
.lead {
  margin-top: 16px;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--mk-radius-control);
  font-size: 14.5px;
  font-weight: 600;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn i { font-style: normal; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--mk-brand-blue-100); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.28); color: var(--mk-brand-navy-100); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--brand); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(23,32,45,.04), 0 14px 34px -24px rgba(23,32,45,.14);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ header ============ */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243,245,248,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220,227,236,.8);
}
.top-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.top-logo { display: flex; align-items: center; }
.top-nav { display: flex; gap: 4px; margin-left: 12px; }
.top-nav a { padding: 7px 12px; border-radius: var(--mk-radius-control); font-size: 13.5px; font-weight: 550; color: var(--muted); }
.top-nav a:hover { color: var(--brand); background: var(--mk-neutral-canvas); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; }
.lang { position: relative; }
.lang-cur { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--mk-radius-control); background: #fff; font-size: 12.5px; font-weight: 650; letter-spacing: .03em; color: var(--ink); cursor: pointer; }
.lang-cur svg { opacity: .45; transition: transform .18s; }
.lang.open .lang-cur svg { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 132px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: var(--mk-radius-card); box-shadow: var(--mk-elevation-popover); display: none; z-index: 60; }
.lang.open .lang-menu { display: block; }
.lang-menu button, .lang-menu a { display: block; width: 100%; text-align: left; padding: 8px 10px; font-size: 13.5px; font-weight: 550; color: var(--ink); border-radius: var(--mk-radius-input); cursor: pointer; text-decoration: none; }
.lang-menu button:hover, .lang-menu a:hover { background: var(--mk-neutral-canvas); }
.lang-menu button[aria-selected="true"], .lang-menu a[aria-selected="true"] { color: var(--brand); font-weight: 700; }
.lang-menu button[aria-selected="true"]::after, .lang-menu a[aria-selected="true"]::after { content: "✓"; float: right; }
.top-cta {
  padding: 9px 16px;
  border-radius: var(--mk-radius-control);
  background: var(--primary);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
.top-cta:hover { background: var(--brand); }

/* ============ hero ============ */
.hero {
  padding: 64px 0 0;
  margin-bottom: 10px;
  background: var(--mk-neutral-canvas);
  overflow: hidden;
}
.hero-copy { max-width: 1000px; margin-inline: auto; text-align: center; }
.hero-copy h1 {
  max-width: none;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--mk-neutral-ink);
}
.hero-tag {
  margin-top: 14px;
  color: var(--mk-neutral-ink);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25;
}
.hero-note {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--mk-neutral-muted);
  font-size: 15px;
  line-height: 1.5;
}
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-size: 15px; font-weight: 560; text-decoration: none;
  transition: background .18s ease;
}
.pill:hover { background: var(--brand); }
.pill-ghost { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.pill-ghost:hover { background: var(--primary); color: #fff; }

/* hero board — product floats, no chrome */


@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1 { animation: hbRise .8s cubic-bezier(.2,.7,.3,1) .05s both; }
  .hero-tag { animation: hbRise .8s cubic-bezier(.2,.7,.3,1) .14s both; }
  .hero-note { animation: hbRise .8s cubic-bezier(.2,.7,.3,1) .2s both; }
  .hero-pills { animation: hbRise .8s cubic-bezier(.2,.7,.3,1) .28s both; }
  .hero-shot { animation: hbHeroIn 1s cubic-bezier(.2,.7,.3,1) .32s both; }
}
@keyframes hbRise { from { opacity: 0; transform: translateY(14px); } }
@keyframes hbHeroIn { from { opacity: 0; transform: translateY(26px) scale(.985); } }

/* detail link under demo sections */
.sec-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-size: 14px; font-weight: 560; color: var(--primary); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .15s;
}
.sec-more:hover { border-color: currentColor; }

/* ============ sectors ============ */
.sectors { border-bottom: 1px solid var(--line); background: #fff; }
.sectors-in { display: flex; align-items: center; gap: 36px; padding: 22px 0; flex-wrap: wrap; }
.sectors-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
}
.sectors ul { display: flex; gap: 8px; flex-wrap: wrap; }
.sectors li a { text-decoration:none; display:block; }
.sectors li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.sectors li b { font-size: 13px; font-weight: 650; color: var(--brand); white-space: nowrap; }
.sectors li span { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ============ digest — one real message ============ */
.digest { padding: 80px 0 76px; }
.tg-phone {
  width: min(470px, 100%);
  margin: 44px auto 0;
  border-radius: 26px;
  overflow: hidden;
  background: var(--mk-neutral-canvas);
  box-shadow: 0 44px 90px -40px rgba(0,0,0,.85);
  text-align: left;
}
.tg-ph-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--mk-neutral-border); }
.tg-ph-back { width: 22px; height: 22px; color: var(--mk-neutral-quiet); }
.tg-ph-ava { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.tg-ph-id { display: flex; flex-direction: column; line-height: 1.2; }
.tg-ph-id b { font-size: 15px; font-weight: 650; color: var(--mk-neutral-ink); }
.tg-ph-id span { font-size: 12px; color: var(--mk-neutral-quiet); }
.tg-ph-more { margin-left: auto; width: 20px; height: 20px; color: var(--mk-neutral-quiet); }
.tg-ph-chat { padding: 14px 12px 4px; }
.tg-ph-msg { position: relative; max-width: 94%; background: #fff; border-radius: 14px 14px 14px 4px; padding: 10px 12px 8px; box-shadow: 0 1px 2px rgba(23,32,45,.08); }
.tg-text { display: inline; font-size: 14.5px; line-height: 1.55; color: var(--mk-neutral-ink); }
.tg-ph-meta { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 3px 0 0 10px; font-size: 11px; color: var(--mk-semantic-info); font-variant-numeric: tabular-nums; }
.tg-ph-meta svg { width: 15px; height: 15px; }
.tg-ph-input { display: flex; align-items: center; gap: 10px; margin: 10px 12px 12px; padding: 9px 14px; background: #fff; border-radius: 19px; }
.tg-ph-input span { font-size: 14px; color: var(--mk-neutral-quiet); }
.tg-ph-input svg { width: 20px; height: 20px; color: var(--mk-neutral-quiet); flex: none; }
.tg-ph-input svg:last-child { margin-left: auto; }
@media (max-width: 720px) { .tg-phone { margin-top: 34px; } .tg-text { font-size: 13.5px; } }

/* ============ day board ============ */
.day { padding: 76px 0 0; background: linear-gradient(180deg, #fff, var(--paper)); }

/* ============ schedule lab ============ */
.schedules { padding: 72px 0; }
.sched-shell { margin-top: 42px; overflow: hidden; }
.sched-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-bottom: 1px solid var(--line);
  background: var(--mk-neutral-canvas);
}
.sched-tabs button {
  display: grid;
  gap: 3px;
  padding: 15px 18px;
  text-align: left;
  border-right: 1px solid var(--line);
}
.sched-tabs button:last-child { border-right: 0; }
.sched-tabs button strong { font-size: 13px; font-weight: 650; color: var(--brand); }
.sched-tabs button span { font-size: 11px; color: var(--muted); }
.sched-tabs button:hover strong { color: var(--primary); }
.sched-tabs button[aria-selected="true"] { background: #fff; box-shadow: inset 0 -2px 0 var(--primary); }
.week-scroll { overflow-x: auto; }
.week-board { min-width: 900px; }
.week-head {
  display: grid;
  grid-template-columns: 62px repeat(7, minmax(0,1fr));
  border-bottom: 1px solid var(--line);
  background: var(--mk-neutral-canvas);
}
.wk-time-title, .wk-day-title {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 46px;
  padding: 8px 10px;
  border-right: 1px solid var(--mk-neutral-border);
}
.wk-day-title:last-child { border-right: 0; }
.wk-time-title { font-size: 9px; font-weight: 650; color: var(--muted); background: var(--mk-neutral-canvas); }
.wk-day-title strong { font-size: 11px; font-weight: 600; color: var(--mk-brand-navy-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-day-title[data-today="true"] { background: rgba(198,79,74,.12); box-shadow: inset 0 -2px 0 var(--red); }
.wk-day-title[data-today="true"] strong { color: var(--red); }
.wk-day-title .wk-today {
  justify-self: start;
  padding: 1.5px 6px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.week-body { display: grid; grid-template-columns: 62px minmax(0,1fr); height: 330px; }
.week-axis { position: relative; border-right: 1px solid var(--mk-neutral-border); background: var(--mk-neutral-surface-alt); }
.week-axis span {
  position: absolute;
  right: 9px;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 600;
  color: var(--mk-neutral-body);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.week-axis span[data-edge="start"] { transform: translateY(0); }
.week-axis span[data-edge="end"] { transform: translateY(-100%); }
.week-days { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); }
.wk-day { position: relative; border-right: 1px solid var(--mk-neutral-border); background: var(--mk-neutral-surface-alt); }
.wk-day:last-child { border-right: 0; }
.wk-day[data-day="saturday"], .wk-day[data-day="sunday"] { background: var(--mk-neutral-surface-alt); }
.wk-day[data-off="true"] { background: var(--mk-neutral-surface-alt); }
.wk-day[data-today="true"] { background: rgba(198,79,74,.08); box-shadow: inset 2px 0 0 var(--red), inset -1px 0 0 rgba(198,79,74,.35); }
.wk-grid { position: absolute; left: 0; right: 0; height: 1px; background: var(--mk-neutral-border-light); }
.wk-grid[data-edge="true"] { background: var(--mk-neutral-border); }
.wk-block {
  position: absolute;
  left: 8px;
  right: 8px;
  z-index: 2;
  min-height: 16px;
  padding: 6px 7px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--mk-brand-blue-300);
  border-radius: var(--mk-radius-input);
  background: linear-gradient(160deg, var(--mk-brand-blue-50) 0%, var(--mk-brand-blue-100) 100%);
  box-shadow: 0 2px 6px rgba(63, 99, 201, .12);
  color: var(--mk-neutral-ink);
}
.wk-block::before, .wk-block::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--primary);
}
.wk-block::before { top: 1px; }
.wk-block::after { bottom: 1px; }
.wk-block[data-cont="true"] {
  border-top: 1px dashed var(--mk-brand-blue-300);
  border-top-left-radius: 0; border-top-right-radius: 0;
  background: linear-gradient(160deg, var(--mk-brand-blue-50) 0%, var(--mk-brand-blue-100) 100%);
  box-shadow: none;
}
.wk-block[data-cont="true"]::before { display: none; }
.wk-block[data-mid="true"] {
  border-bottom: 1px dashed var(--mk-brand-blue-300);
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.wk-block[data-mid="true"]::after { display: none; }
.wk-edge { display: block; font-size: 9.5px; font-weight: 650; color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1.3; }
.wk-block[data-cont="true"] .wk-edge:first-child, .wk-edge.wk-mid { color: var(--mk-brand-navy-300); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 8px; }
.wk-edge-end { align-self: flex-start; color: var(--mk-brand-navy-500); }
.wk-off {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  border: 1px solid var(--mk-neutral-border);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--mk-neutral-quiet);
  font-size: 8px;
  font-weight: 560;
  white-space: nowrap;
}
.wk-now {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  height: 0;
  border-top: 1px solid var(--red);
  pointer-events: none;
}
.wk-now::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -3.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.wk-now span {
  position: absolute;
  left: 8px;
  top: -7px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1.4;
}
.sched-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  background: var(--mk-neutral-surface-alt);
}

/* ============ terminals ============ */
.terms { padding: 72px 0; background: #fff; border-block: 1px solid var(--line); }
.terms-grid {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 48px;
  align-items: center;
}
.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--mk-neutral-body);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-ink);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.tt-row[data-dead="true"] 
/* location map tile */
.map-card { overflow: hidden; }
.map-canvas { position: relative; aspect-ratio: 64/30; }
.map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-osm { position: absolute; right: 8px; bottom: 8px; font-size: 9.5px; color: rgba(68,80,100,.75); background: rgba(255,255,255,.72); padding: 1px 6px; border-radius: 5px; }
.map-zone { position: absolute; border: 1.5px dashed rgba(17,93,254,.45); background: rgba(17,93,254,.06); border-radius: var(--mk-radius-card); }
.map-zone i { position: absolute; top: 8px; left: 12px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--primary); text-transform: uppercase; }
.map-pin { position: absolute; transform: translate(-50%,-50%); background: #fff; border: 1px solid var(--line); border-radius: var(--mk-radius-control); padding: 5px 9px 5px 16px; box-shadow: 0 4px 12px rgba(23,32,45,.10); white-space: nowrap; }
.map-pin::before { content: ""; position: absolute; left: 7px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.map-pin.p-phone::before { background: var(--green-ink); }
.map-pin b { display: block; font-size: 11.5px; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.15; }
.map-pin i { font-style: normal; font-size: 10px; color: var(--muted); line-height: 1.15; }
.map-pin i em { font-style: normal; }
.map-legend { position: absolute; left: 12px; bottom: 10px; display: flex; gap: 12px; }
.map-key { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.map-key i { width: 7px; height: 7px; border-radius: 50%; }
.map-key .k-term { background: var(--primary); }
.map-key .k-phone { background: var(--green-ink); }

/* ai report tile */
.ai-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ai-input { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--mk-radius-card); padding: 11px 8px 11px 14px; font-size: 13.5px; line-height: 1.4; }
.ai-input span { flex: 1; }
.ai-go { width: 30px; height: 30px; border-radius: var(--mk-radius-control); background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; }
.ai-go svg { width: 15px; height: 15px; }
.ai-res { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); border-radius: var(--mk-radius-card); padding: 12px 14px; }
.ai-reshead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.ai-reshead b { font-size: 13px; font-weight: 700; }
.ai-dl { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 650; color: var(--mk-brand-blue-300); background: rgba(135,168,255,.12); border: 1px solid rgba(135,168,255,.22); border-radius: var(--mk-radius-control); padding: 4px 9px; flex: none; }
.ai-dl svg { width: 13px; height: 13px; }
.ai-t { border-top: 1px solid rgba(255,255,255,.08); }
.ai-tr { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,.8fr) minmax(0,.8fr); gap: 8px; padding: 7px 2px; font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,.06); }
.ai-tr:last-child { border-bottom: 0; }
.ai-tr span:nth-child(2), .ai-tr span:nth-child(3) { font-variant-numeric: tabular-nums; text-align: right; }
.ai-th { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mk-neutral-subtle); }


/* onboarding progress tile */
.ob-card { overflow: hidden; padding: 6px 0; }
.ob-head { display: flex; align-items: center; gap: 11px; padding: 12px 18px 13px; border-bottom: 1px solid var(--mk-neutral-border-light); }
.ob-ava { width: 32px; height: 32px; border-radius: 50%; background: var(--mk-neutral-canvas); color: var(--brand); font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.ob-p { flex: 1; min-width: 0; }
.ob-p b { display: block; font-size: 13.5px; font-weight: 700; }
.ob-p i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.ob-bar { width: 88px; height: 5px; border-radius: 3px; background: var(--mk-neutral-border-light); overflow: hidden; flex: none; }
.ob-bar i { display: block; height: 100%; background: var(--primary); border-radius: 3px; }
.ob-row { display: flex; align-items: center; gap: 13px; padding: 13px 18px; }
.ob-row + .ob-row { border-top: 1px solid var(--mk-neutral-border-light); }
.ob-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ob-ic svg { width: 15px; height: 15px; }
.ob-done .ob-ic { background: rgba(47,143,98,.12); color: var(--green-ink); }
.ob-now .ob-ic { background: rgba(17,93,254,.1); color: var(--primary); }
.ob-next .ob-ic { background: var(--mk-neutral-canvas); color: var(--mk-neutral-subtle); }
.ob-tx { flex: 1; min-width: 0; }
.ob-tx b { display: block; font-size: 13.5px; font-weight: 650; }
.ob-tx i { font-style: normal; font-size: 12px; color: var(--muted); }
.ob-row > em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; flex: none; }
.ob-done > em { color: var(--green-ink); }
.ob-now > em { color: var(--primary); }
.ob-next > em { color: var(--mk-neutral-subtle); }
.ob-next .ob-tx b, .ob-next .ob-tx i { color: var(--muted); }

.term-note {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: var(--mk-neutral-surface-alt);
  font-size: 12.5px;
  color: var(--muted);
}

/* ============ ai reports ============ */
.ai { padding: 72px 0; }
.exports { display: flex; align-items: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.exports span { font-size: 12.5px; color: var(--muted); margin-right: 4px; }
.exports b {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
  color: var(--brand);
}
/* ============ numbers ============ */
.nums { padding: 64px 0; border-block: 1px solid var(--line); background: #fff; }
.nums-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.num b {
  display: block;
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 640;
  letter-spacing: -.03em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.num span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 220px; }

/* ============ trust ============ */
.trust { padding: 72px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 40px; }
.tcard {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  border-top: 3px solid var(--brand);
}
.tcard strong { font-size: 16px; font-weight: 650; color: var(--brand); }
.tcard p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ============ faq ============ */
.faq { padding: 60px 0 90px; }
.faq-in { max-width: 860px; }
.faq-list { margin-top: 34px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--muted); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .fa-a { padding: 0 4px 20px; max-width: 700px; font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ============ start ============ */
.start { padding: 72px 0; background: #fff; border-block: 1px solid var(--line); }
.start-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-top: 40px; }
.pstep {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.pstep > span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 14px;
}
.pstep strong { display: block; font-size: 15px; font-weight: 650; color: var(--brand); line-height: 1.4; }
.pstep p { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ============ cta ============ */
.cta {
  padding: 100px 0;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(135,168,255,.25), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy-hero));
  color: #fff;
}
.cta-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.cta-sub { margin-top: 18px; max-width: 460px; color: var(--mk-neutral-dark-muted); font-size: 16.5px; line-height: 1.65; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.cta-phone { font-size: 22px; font-weight: 640; letter-spacing: -.01em; color: #fff; }
.cta-phone:hover { color: var(--primary-hi); }
.cta-mail { font-size: 15px; color: var(--mk-neutral-dark-muted); border-bottom: 1px solid rgba(255,255,255,.3); }
.cta-mail:hover { color: #fff; }

/* ============ footer ============ */
.footer { padding: 34px 0; border-top: 1px solid var(--line); background: var(--paper); }
.footer-in { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.footer-brand p { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.footer-nav { display: flex; gap: 20px; margin-left: auto; }
.footer-nav a { font-size: 13.5px; font-weight: 550; color: var(--muted); }
.footer-nav a:hover { color: var(--brand); }
.footer-copy { font-size: 12.5px; color: var(--muted); }

/* ============ v3 additions ============ */
.top-phone {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
  color: var(--brand);
  white-space: nowrap;
}
.top-phone:hover { color: var(--primary); }

.cta-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-hero));
  color: #fff;
}
.cta-band-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0;
  flex-wrap: wrap;
}
.cta-band p { font-size: 18px; font-weight: 560; letter-spacing: -.01em; max-width: 640px; line-height: 1.45; }

.services { padding: 72px 0; background: #fff; border-block: 1px solid var(--line); }
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 40px; }
.svcard {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.svcard strong { font-size: 16.5px; font-weight: 650; color: var(--brand); line-height: 1.35; }
.svcard p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.start-terms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.start-terms span {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--brand);
}
.start-terms span:first-child { background: var(--mk-semantic-success-surface); border-color: #bfe0cd; color: var(--green-ink); }

.tg-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 13.5px;
  font-weight: 650;
  box-shadow: 0 10px 28px -8px rgba(63,99,201,.55);
  transition: transform .15s, background .15s, opacity .25s;
}
.tg-float:hover { background: var(--brand); transform: translateY(-2px); }
.tg-float-off { transform: translateY(84px); opacity: 0; pointer-events: none; }

/* ============ v4 additions ============ */
.cta-band small { display: block; margin-top: 6px; color: var(--mk-brand-navy-300); font-size: 12.5px; }

.pick { padding: 72px 0; }
.pick-shell {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: 0;
  margin-top: 40px;
  overflow: hidden;
}
.pick-qs { padding: 26px; display: grid; gap: 24px; align-content: start; }
.pick-q { display: grid; gap: 10px; }
.pick-q > span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pick-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-opts button {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .15s, background .15s, color .15s;
}
.pick-opts button:hover { border-color: var(--primary); }
.pick-opts button[data-on="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pick-result {
  padding: 26px;
  border-left: 1px solid var(--line);
  background: var(--mk-brand-blue-50);
  display: grid;
  gap: 14px;
  align-content: start;
}
.pk-tag {
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--mk-radius-input);
  background: var(--mk-brand-blue-100);
  color: var(--mk-semantic-info-ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pick-result h3 { font-size: 19px; font-weight: 650; letter-spacing: -.01em; color: var(--brand); line-height: 1.3; }
.pk-lines { display: grid; gap: 9px; }
.pk-lines li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--mk-neutral-body);
  line-height: 1.5;
}
.pk-lines li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green-ink);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.pk-price {
  padding: 11px 14px;
  border: 1px dashed var(--mk-brand-navy-300);
  border-radius: var(--mk-radius-control);
  background: #fff;
  font-size: 13px;
  color: var(--muted);
}
.pk-price b { color: var(--brand); }
.pick-result .btn { justify-content: center; background: var(--primary); color: #fff; }
.pick-result .btn:hover { background: var(--brand); }
.pk-empty { color: var(--muted); font-size: 13.5px; }



.cta-note { color: var(--mk-brand-navy-300); font-size: 12.5px; }

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .hero { padding: 56px 0 72px; }
  .terms-grid, .cta-in { grid-template-columns: 1fr; }
  .trust-grid, .sv-grid { grid-template-columns: 1fr; }
  .start-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nums-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }
  .top-phone { display: none; }
  .pick-shell { grid-template-columns: 1fr; }
  .pick-result { border-left: 0; border-top: 1px solid var(--line); }
  }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: var(--mk-radius-control); background: #fff; color: var(--ink); cursor: pointer; }
  .top.nav-open .nav-burger { color: var(--brand); border-color: var(--brand); }
  .top-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; margin: 0; padding: 10px 16px 16px; background: rgba(243,245,248,.98); border-bottom: 1px solid var(--line); box-shadow: 0 20px 34px -20px rgba(23,32,45,.3); }
  .top.nav-open .top-nav { display: flex; }
  .top-nav a { padding: 12px 10px; border-radius: var(--mk-radius-control); font-size: 15px; }
  .nav-drop { flex-direction: column; }
  .nav-drop > a::after { content: ""; margin: 0; }
  .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 2px 0 0 14px; margin-top: 2px; border-left: 2px solid var(--mk-neutral-border-light); border-radius: 0; }
  .top-cta { display: none; }
  .hero { padding: 44px 0 60px; }
  .hero-copy h1 { font-size: clamp(44px, 13vw, 56px); }
  .hero-pills { flex-direction: column; align-items: center; }
  .pill { min-width: 240px; }
  .hero-shot { margin-top: 48px; }
  .sched-tabs { grid-template-columns: 1fr 1fr; }
  .sched-tabs button { border-bottom: 1px solid var(--line); }  .start-steps, .nums-grid { grid-template-columns: 1fr; }
  .digest, .day, .schedules, .terms, .ai, .trust, .start, .services, .pick { padding: 64px 0; }
  .cta { padding: 72px 0; }
  .tg-float { right: 14px; bottom: 14px; padding: 11px 15px; font-size: 12.5px; }
  .start-terms span { font-size: 12.5px; padding: 7px 13px; }
}

/* ============================================================
   pricing
   ============================================================ */
.pricing { padding: 96px 0 40px; }
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pricing-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--mk-semantic-info-surface); color: var(--primary);
  font-size: 13px; font-weight: 600; white-space: nowrap;
  border: 1px solid var(--mk-brand-blue-100);
  margin-bottom: 6px;
}
.pricing-validity {
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.price-scroll { overflow-x: auto; margin-top: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.plans { width: 100%; border-collapse: collapse; min-width: 560px; }
.plans th {
  text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.plans th.num, .plans td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plans td { padding: 13px 20px; border-bottom: 1px solid var(--mk-neutral-border-light); font-size: 15px; }
.plans tbody tr:last-child td { border-bottom: 0; }
.plans tbody tr:hover { background: var(--mk-brand-blue-50); }
.plans .plan { font-weight: 700; color: var(--brand); white-space: nowrap; }
.plans .plan::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--primary); margin-right: 9px;
  vertical-align: 1px;
}
.pricing-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* ============================================================
   mobile app block
   ============================================================ */
.appblock { padding: 72px 0 40px; }
.appblock-in { max-width: 780px; }
.app-dl { display: flex; align-items: center; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.app-qr { display: flex; align-items: center; gap: 14px; max-width: 320px; }
.app-qr img {
  width: 104px; height: 104px; border-radius: var(--mk-radius-control);
  border: 1px solid var(--line); background: #fff; padding: 6px;
}
.app-qr span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.app-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ============================================================
   sub-pages (product / start)
   ============================================================ */
.page-hero { padding: 72px 0 40px; }
.page-hero .back {
  display: inline-block; font-size: 13.5px; font-weight: 600;
  color: var(--primary); margin-bottom: 22px;
}
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 48px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.08; color: var(--brand);
  max-width: 760px;
}
.page-hero .sub { margin-top: 18px; font-size: 17.5px; color: var(--muted); max-width: 640px; line-height: 1.6; }

.dir { padding: 24px 0 64px; }
.dir-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.dir-row {
  display: grid; grid-template-columns: 52px 1fr 230px 110px;
  align-items: center; gap: 22px;
  padding: 26px 4px; border-top: 1px solid var(--line);
  transition: background .15s ease, padding-left .15s ease;
}
.dir-row:last-of-type { border-bottom: 1px solid var(--line); }
.dir-row:hover { background: var(--mk-brand-blue-50); padding-left: 14px; }
.dir-idx { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: .06em; }
.dir-row h2 { font-size: 20px; font-weight: 700; color: var(--brand); letter-spacing: -.01em; line-height: 1.25; }
.dir-row .dir-short { font-size: 14px; color: var(--muted); margin-top: 5px; line-height: 1.5; max-width: 460px; }
.dir-sample { text-align: left; }
.dir-sample strong { display: block; font-size: 14px; color: var(--ink); }
.dir-sample small { font-size: 12.5px; color: var(--muted); }
.dir-thumb { display: block; width: 230px; }
.dir-thumb img {
  display: block; width: 100%; aspect-ratio: 16 / 10; height: auto;
  object-fit: cover; object-position: top left;
  border: 1px solid var(--mk-neutral-border); border-radius: var(--mk-radius-card);
  box-shadow: 0 12px 34px -18px rgba(23,32,45, .28); background: #fff;
}
.dir-open { font-size: 13.5px; font-weight: 600; color: var(--primary); text-align: right; white-space: nowrap; }

/* capability page */
.cap-shot {
  position: relative;
  max-width: 1040px; margin: 4px auto 0;
  border-bottom: 1px solid var(--mk-neutral-border); border-radius: var(--mk-radius-dialog);
}
.cap-shot::after {
  content: "";
  position: absolute; left: 1px; right: 1px; bottom: 1px;
  height: 22%;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 96%);
  border-radius: 0 0 13px 13px;
  pointer-events: none;
}
.cap-shot .shot-bar { flex: none; }
.cap-shot img { width: 100%; height: auto; flex: none; }
.cap-cta { text-align: center; }
.cap-lab { margin-top: 0; }
.cap-surface { padding: 10px 0 8px; }
.surface-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); overflow: hidden; max-width: 680px;
}
.surface-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: var(--mk-brand-blue-50); border-bottom: 1px solid var(--line);
}
.surface-head strong { font-size: 16.5px; color: var(--brand); }
.surface-head small { font-size: 12.5px; color: var(--muted); }
.surface-cells { display: grid; grid-template-columns: repeat(3, 1fr); }
.surface-cell { padding: 18px 22px; border-right: 1px solid var(--line); }
.surface-cell:last-child { border-right: 0; }
.surface-cell span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.surface-cell b { display: block; font-size: 15.5px; color: var(--ink); }
.surface-cell small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.cap-points { padding: 56px 0 8px; }
.cap-points h2 { font-size: 24px; font-weight: 700; color: var(--mk-neutral-ink); letter-spacing: -.015em; text-align: center; }
.sv-grid.cap-sv { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; max-width: 1060px; margin: 34px auto 0; }
.sv-grid.cap-sv .svcol { flex: 1 1 280px; max-width: 356px; }
.sv-grid.cap-sv:has(> .svcol:nth-child(4):last-child) .svcol { flex: 1 1 44%; max-width: 46%; }
@media (max-width: 700px) { .sv-grid.cap-sv .svcol { flex: 1 1 100%; max-width: 100%; } }

.cap-flow {
  display: flex; align-items: stretch; justify-content: center;
  max-width: 1120px; margin: 38px auto 0;
}
.cf-step { flex: 1 1 0; padding: 0 6px; }
.cf-step:first-child { padding-left: 0; }
.cf-step:last-child { padding-right: 0; }
.cf-step strong { display: block; font-size: 15.5px; font-weight: 640; color: var(--mk-neutral-ink); line-height: 1.3; }
.cf-step p { margin-top: 8px; font-size: 13.5px; color: var(--mk-neutral-muted); line-height: 1.55; }
.cf-arr {
  flex: none; align-self: flex-start;
  margin-top: 2px; padding: 0 10px;
  font-style: normal; font-size: 15px; color: var(--mk-neutral-subtle);
}
@media (max-width: 860px) {
  .cap-flow { flex-direction: column; gap: 26px; }
  .cf-arr { display: none; }
}

.edge-note {
  margin-top: 44px; max-width: 780px;
  border-left: 3px solid var(--amber); background: var(--mk-semantic-warning-surface);
  padding: 16px 22px; border-radius: 0 var(--mk-radius-control) var(--mk-radius-control) 0;
  font-size: 14.5px; color: var(--ink); line-height: 1.55;
}
.edge-note strong { color: var(--warning-ink); }

.related { padding: 56px 0 8px; }
.related-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink); background: var(--card);
  transition: border-color .15s ease, color .15s ease;
}
.related-links a:hover { border-color: var(--primary); color: var(--primary); }

/* start page */
.start-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 16px 0 72px; }
.start-col h2 { font-size: 22px; font-weight: 700; color: var(--brand); letter-spacing: -.01em; }
.start-col .col-sub { font-size: 14px; color: var(--muted); margin: 8px 0 22px; }
.start-item { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.start-item:last-child { border-bottom: 1px solid var(--line); }
.start-item > span { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: .06em; padding-top: 3px; }
.start-item.no-num { grid-template-columns: 1fr; }
.start-item strong { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 3px; }
.start-item p { font-size: 14px; color: var(--muted); }

/* responsive */
@media (max-width: 860px) {
  .dir-row { grid-template-columns: 36px 1fr; gap: 8px 14px; }
  .dir-sample, .dir-thumb { display: none; }
  .dir-open { grid-column: 2; text-align: left; }
  .surface-cells { grid-template-columns: 1fr; }
  .surface-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .surface-cell:last-child { border-bottom: 0; }
  .start-cols { grid-template-columns: 1fr; gap: 40px; }
  .app-dl { gap: 18px; }
}
@media (max-width: 560px) {
  .pricing { padding: 64px 0 28px; }
  .appblock { padding: 52px 0 24px; }
  .page-hero { padding: 48px 0 28px; }
}

/* ============ site nav dropdown + login ============ */
.nav-drop { position: relative; display: flex; }
.nav-drop > a::after { content: "▾"; font-size: 10px; margin-left: 4px; opacity: .6; }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--mk-radius-card);
  padding: 6px; box-shadow: 0 12px 32px rgba(0,17,57,.12);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-menu a { display: block; padding: 9px 12px; border-radius: var(--mk-radius-control); font-size: 13.5px; font-weight: 550; color: var(--ink); }
.nav-menu a:hover { background: var(--mk-neutral-canvas); color: var(--brand); }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.top-login { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 7px 4px; }
.top-login:hover { color: var(--brand); }

/* ============ footer sitemap ============ */
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0,1fr)); gap: 40px; align-items: start; }
.footer-note { max-width: 240px; line-height: 1.55; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-head { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.footer-col a { font-size: 13.5px; color: var(--muted); }
.footer-col a:hover { color: var(--brand); }
.footer-legal {
  display: flex; align-items: center; gap: 22px;
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
}
.footer-legal a { font-size: 12.5px; color: var(--muted); }
.footer-legal a:hover { color: var(--brand); }
.footer-legal .footer-copy { margin-right: auto; }

/* ============ sub-page sections ============ */
.sec-lite { padding: 48px 0; }
.sec-lite .h2 { margin-bottom: 22px; }
.check-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-bottom: 26px; }
.check-grid li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.check-grid li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.cta-inline { display: flex; gap: 12px; margin-top: 30px; align-items: center; flex-wrap: wrap; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 26px; padding: 30px 34px; margin-top: 8px; }
.cta-card .h2 { margin-bottom: 6px; font-size: 22px; }
.cta-card .lead { font-size: 14.5px; margin-top: 0; }
.cta-inline-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ============ cases ============ */

/* ============ team + contacts ============ */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 8px; }
.team-card { padding: 22px 24px; }
.team-card strong { display: block; font-size: 15.5px; color: var(--brand); margin-bottom: 6px; }
.team-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ============ legal ============ */
.legal { max-width: 720px; }
.legal-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.legal-row:last-child { border-bottom: 0; }
.legal-row h3 { font-size: 15.5px; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.legal-row p { font-size: 14px; line-height: 1.6; color: var(--ink); }
.legal .edge-note { margin-bottom: 18px; }

/* cap page injected schedule lab */
.cap-lab { padding: 34px 0 6px; }
.cap-lab .lead { max-width: 640px; }

@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .case-grid, .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .top-login { display: none; }
  .check-grid, .contact-grid { grid-template-columns: 1fr; }
  .sec-lite { padding: 38px 0; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }
}

/* ============ team photos ============ */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 22px; margin-top: 34px; }
.team-member {
  flex: 0 0 224px; max-width: 224px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--mk-radius-card);
  padding: 26px 14px 22px; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.team-member:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,17,57,.09); }
.team-photo {
  display: block; width: 152px; height: 152px; margin: 0 auto;
  border-radius: 50%; object-fit: cover;
  background: var(--mk-neutral-canvas);
  box-shadow: 0 0 0 1px var(--line), 0 4px 14px rgba(0,17,57,.08);
}
.team-meta { padding: 16px 4px 0; }
.team-meta strong { display: block; font-size: 15.5px; font-weight: 650; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; }
.team-meta span { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 550; color: var(--muted); letter-spacing: .01em; }
@media (max-width: 1020px) { .team-member { flex-basis: 200px; } }
@media (max-width: 720px) {
  .team-member { flex: 0 0 calc(50% - 8px); max-width: none; padding: 20px 10px 16px; }
  .team-grid { gap: 14px 12px; }
  .team-photo { width: 124px; height: 124px; }
  .team-meta strong { font-size: 14px; }
}

/* ============================================================
   apple-style home: tile stack
   ============================================================ */
.main-home { display: flex; flex-direction: column; gap: 10px; background: #fff; }

.tile { padding: 72px 0; background: var(--mk-neutral-canvas); }
.tile-white { background: #ffffff; }
.tile-dark { background: var(--mk-neutral-dark-canvas); color: var(--mk-neutral-canvas); }
.tile-slim { padding: 46px 0; }

/* tile anatomy */
.tile-h {
  max-width: 840px; margin-inline: auto;
  font-size: clamp(30px, 3.4vw, 42px); font-weight: 600;
  letter-spacing: -.03em; line-height: 1.1;
  color: var(--mk-neutral-ink); text-align: center; text-wrap: balance;
}
.tile-h span { color: var(--mk-neutral-muted); }
.tile-tag { max-width: 640px; margin: 14px auto 0; text-align: center; color: var(--mk-neutral-muted); font-size: 16px; line-height: 1.55; }
.tile-dark .tile-h { color: var(--mk-neutral-canvas); }
.tile-dark .tile-h span { color: var(--mk-neutral-quiet); }
.tile-dark .tile-tag { color: var(--mk-neutral-subtle); }
.tile-h-s { font-size: clamp(23px, 2.3vw, 29px); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; color: var(--mk-neutral-ink); text-align: center; text-wrap: balance; }
.tile-h-s span { color: var(--mk-neutral-muted); }
.tile-tag-s { margin: 10px auto 0; max-width: 400px; text-align: center; color: var(--mk-neutral-muted); font-size: 14.5px; line-height: 1.5; }
.tile-dark .tile-h-s { color: var(--mk-neutral-canvas); }
.tile-dark .tile-h-s span { color: var(--mk-neutral-quiet); }
.tile-dark .tile-tag-s { color: var(--mk-neutral-subtle); }
.g-tile .pill { margin-top: 18px; }

/* stats + sectors slim tile */
.stats .nums-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.stats .num b { display: block; font-size: 30px; font-weight: 620; letter-spacing: -.02em; color: var(--mk-neutral-ink); }
.stats .num span { display: block; margin-top: 5px; font-size: 13px; color: var(--mk-neutral-muted); line-height: 1.4; }
.stats .sectors-in { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--mk-neutral-border-light); }
.sec-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; list-style: none; }
.sec-grid a { display: block; color: inherit; text-decoration: none; }
.sec-grid b { display: block; font-size: 15px; font-weight: 620; letter-spacing: -.01em; color: var(--mk-neutral-ink); }
.sec-grid a:hover b { color: var(--primary); }
.sec-grid span { display: block; margin-top: 5px; font-size: 13px; color: var(--mk-neutral-muted); line-height: 1.45; }

/* digest dark tile */
.tile-dark .sec-more { color: var(--mk-brand-blue-300); }

/* day tile */
.day .sec-more { display: flex; justify-content: center; margin: 26px auto 48px; width: fit-content; }
.tile:has(.g-shot), .tile:has(.g-app) { padding-bottom: 0; }

/* services tile — columns, no card chrome */
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; margin-top: 44px; }
.svcol { text-align: left; }
.svcol .svcol strong { display: block; font-size: 16.5px; font-weight: 640; color: var(--mk-neutral-ink); line-height: 1.3; }
.svcol p { margin-top: 8px; font-size: 14px; color: var(--mk-neutral-muted); line-height: 1.55; }
.svcol .svcol .services .sec-more { margin-top: 36px; }

/* 2x2 grid tiles */
.tile-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.g-tile { display: flex; flex-direction: column; align-items: center; padding: 54px 40px 60px; }
.g-visual { margin-top: 32px; width: 100%; max-width: 500px; }
.g-visual .card { overflow: hidden; }
.qr-chip { display: inline-grid; place-items: center; padding: 14px; background: #fff; border-radius: var(--mk-radius-card); }
/* real product screenshots — Apple bleed: cropped at tile bottom edge */
.shot { margin: 0; overflow: hidden; border: 1px solid var(--mk-neutral-border); border-bottom: 0; border-radius: 14px 14px 0 0; background: #fff; box-shadow: 0 34px 80px -34px rgba(23,32,45, .28); display: flex; flex-direction: column; }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 32px; flex: none; padding: 0 14px; background: var(--mk-neutral-canvas); border-bottom: 1px solid var(--mk-neutral-border); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--mk-neutral-subtle); }
.shot-bar b { margin-left: 8px; font-weight: 500; font-size: 11px; color: var(--mk-neutral-quiet); background: #fff; border: 1px solid var(--mk-neutral-border); padding: 2px 12px; border-radius: var(--mk-radius-input); }
.shot img { display: block; width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top center; }
.hero-shot { width: min(1180px, calc(100% - 24px)); margin: 64px auto 0; }
.day-shot { width: min(1100px, 100%); margin: 48px auto 0; }
.g-shot { width: 100%; border-radius: 14px 14px 0 0; box-shadow: none; }
.tile-dark .g-shot { border-color: rgba(255,255,255,.14); }
.g-shot-strip { height: auto; border-radius: var(--mk-radius-dialog); }
.g-shot-b img { object-position: center bottom; }
.g-app { display: flex; align-items: flex-end; justify-content: center; gap: 14px; padding: 0 18px; }
.app-shot { flex: none; height: 296px; width: auto; border-color: rgba(255,255,255,.16); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.app-shot img { width: auto; height: 296px; object-fit: contain; }
.app-side { display: flex; flex-direction: column; align-items: center; gap: 14px; align-self: center; margin-left: 6px; }
.app-side .pill { white-space: nowrap; }
.g-app .qr-chip { padding: 12px; }
.g-app .qr-chip img { width: 96px; height: 96px; display: block; }

@media (max-width: 720px) {
  .hero-note br { display: none; }
  .sec-grid { grid-template-columns: 1fr; }
  .hero-shot { margin-top: 44px; }
  .day-shot { margin-top: 34px; }
  .g-app { flex-wrap: wrap; padding: 0 8px; gap: 12px; }
  .app-shot { height: 220px; }
  .app-shot img { height: 220px; }
  .app-side { flex-basis: 100%; flex-direction: row; justify-content: center; gap: 20px; margin: 10px 0 18px; }
  .g-app .qr-chip { padding: 9px; }
  .g-app .qr-chip img { width: 84px; height: 84px; }
}

/* faq tile */
.faq .faq-in { max-width: 780px; }
.faq .faq-list { margin-top: 36px; background: #fff; border-radius: var(--mk-radius-card); padding: 6px 26px; }
.faq .faq-item:last-child { border-bottom: 0; }

/* start tile */
.start .start-terms { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.start .start-terms span { padding: 7px 16px; border-radius: 999px; background: var(--mk-neutral-canvas); font-size: 13px; font-weight: 600; color: var(--mk-neutral-ink); }
.start .start-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; margin-top: 40px; }
.start .pstep { background: none; border: 0; padding: 0; }
.start .pstep span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--primary); margin-bottom: 8px; }
.start .pstep strong { font-size: 15px; font-weight: 640; color: var(--mk-neutral-ink); line-height: 1.35; }
.start .pstep p { margin-top: 6px; font-size: 13.5px; color: var(--mk-neutral-muted); line-height: 1.5; }
.start .start .start .start .start .start .start-pills { margin-top: 24px; }

/* final cta dark tile */
.cta .hero-pills { margin-top: 32px; }
.pill-white { background: #fff; color: var(--brand); }
.pill-white:hover { background: var(--mk-brand-blue-100); }
.pill-ghost-d { background: transparent; color: var(--mk-neutral-canvas); border: 1px solid rgba(243,245,248,.5); }
.pill-ghost-d:hover { background: rgba(243,245,248,.12); border-color: var(--mk-neutral-canvas); }
.cta-lines { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 34px; }
.cta-lines a { font-size: 16px; font-weight: 560; color: var(--mk-neutral-canvas); }
.cta-lines a:hover { color: var(--mk-brand-blue-300); }
.cta .cta-note { display: block; margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--mk-neutral-quiet); }

/* strip old section borders inside tile system */
.main-home .services, .main-home .start { border: 0; }

/* apple footer — quiet gray directory */
.footer { padding: 44px 0 30px; background: var(--mk-neutral-canvas); border-top: 0; }
.footer-head { color: var(--mk-neutral-body); font-size: 12px; }
.footer-col a { font-size: 12.5px; color: var(--mk-neutral-muted); }
.footer-col a:hover { color: var(--mk-neutral-ink); }
.footer-note { color: var(--mk-neutral-quiet); font-size: 12.5px; }
.footer-legal { border-top: 1px solid var(--mk-neutral-border); }
.footer-legal a, .footer-legal .footer-copy { font-size: 12px; color: var(--mk-neutral-quiet); }
.footer-legal a:hover { color: var(--mk-neutral-ink); }

@media (max-width: 980px) {
  .tile-grid { grid-template-columns: minmax(0,1fr); }
  .stats .nums-grid, .sec-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sv-grid,   .start .start-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .tile { padding: 52px 0; }
  .tile-slim { padding: 36px 0; }
  .g-tile { padding: 44px 22px 48px; }
  .start .start-steps { grid-template-columns: 1fr; }
  .cta-lines { gap: 14px; flex-direction: column; align-items: center; }
}

/* ── subpages — same tile rhythm as home ── */
.main-tiles { display: flex; flex-direction: column; gap: 10px; background: #fff; }
.main-tiles .page-hero { padding: 96px 0 48px; text-align: center; }
.main-tiles .page-hero + .tile { padding-top: 40px; }
.main-tiles .page-hero h1 {
  max-width: 920px; margin-inline: auto;
  font-size: clamp(38px, 4.8vw, 58px); font-weight: 600;
  letter-spacing: -.035em; line-height: 1.06; color: var(--mk-neutral-ink);
}
.main-tiles .page-hero .sub { margin: 18px auto 0; text-align: center; color: var(--mk-neutral-muted); max-width: 720px; }
.main-tiles .dir-label { text-align: center; }

@media (max-width: 720px) {
  .main-tiles .page-hero { padding: 64px 0 48px; }
}
.main-tiles .page-hero h1, .main-tiles .page-hero .sub { overflow-wrap: break-word; }
.main-tiles .h2 { color: var(--mk-neutral-ink); }
.main-tiles .h2 span { color: var(--mk-neutral-muted); }

/* ── apple bands — flush, white hero, pill buttons ── */
.main-tiles { gap: 0; }
.main-tiles .page-hero { background: #fff; }
.main-tiles > .tile { padding: 84px 0; }
.main-tiles > .tile.tile-slim, .main-tiles > .sec-lite.tile { padding: 64px 0; }
.legal-card { padding: 10px 30px 14px; }
.btn { border-radius: 980px; }

@media (max-width: 720px) {
  .main-tiles > .tile { padding: 56px 0; }
  .main-tiles > .tile.tile-slim, .main-tiles > .sec-lite.tile { padding: 44px 0; }
  .legal-card { padding: 6px 20px 10px; }
}

/* ── quiet fixes: surface cells, edge notes, phantom scrollbar ── */
.surface-cell { padding: 20px 22px; }
.surface-cell b { display: block; font-size: 19px; font-weight: 650; color: var(--ink); letter-spacing: -.01em; }
.surface-cell span { display: block; font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); margin: 4px 0 0; }
.surface-cell small { display: none; }

.edge-note {
  background: none; border-left: 2px solid var(--line); border-radius: 0;
  padding: 2px 0 2px 18px; color: var(--muted); font-size: 14px;
}
.edge-note strong { color: var(--ink); font-weight: 600; }

.week-scroll { overflow-y: clip; }

/* cases — ghost numeral + result panel */

/* tier comparison — anchor pricing */
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 34px; }
.tier { padding: 30px 32px; }
.tier-name { display: block; font-size: 21px; font-weight: 700; color: var(--brand); letter-spacing: -.015em; }
.tier-tag { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.tier-price { margin: 18px 0 20px; font-size: 19px; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.tier-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tier-list li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink); line-height: 1.5; }
.tier-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.tier-note { margin-top: 18px; font-size: 13px; color: var(--muted); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 720px) { .tier-grid { grid-template-columns: 1fr; } .tier { padding: 24px 26px; } }

/* pricing — price scan emphasis + muted hints */
.plans td.num.p { font-weight: 650; color: var(--ink); }
.plans th:nth-child(5), .plans th:nth-child(6) { background: var(--mk-brand-blue-50); }
.plans td:nth-child(5), .plans td:nth-child(6) { background: var(--mk-brand-blue-50); }
.plans th:nth-child(5), .plans td:nth-child(5) { border-left: 1px solid var(--line); }
.plans td.num.pm { font-weight: 600; color: var(--ink); }
.plans td.num.py { font-weight: 700; color: var(--mk-brand-blue-500); }
.tier-plus { margin: 18px 0 14px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.plans { min-width: 720px; }
.plans th:not(.num), .plans td:not(.num) { padding-right: 8px; }

/* lucide inline arrows — scale with font size */
svg.ic { width: .95em; height: .95em; margin-left: .3em; vertical-align: -.12em; display: inline-block; }

/* company — editorial statement + plain facts */
.co-two { display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px; align-items: start; }
.co-two .h2 { margin: 0; }
.co-facts { display: grid; gap: 20px; padding-top: 6px; }
.co-facts p { font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.co-facts strong { color: var(--ink); font-weight: 650; }
@media (max-width: 860px) { .co-two { grid-template-columns: 1fr; gap: 26px; } }

/* contacts — apple-style quiet cards */
.ct-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.ct-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; padding: 42px 26px 36px;
  background: #fff; border-radius: var(--mk-radius-card); text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ct-item:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -24px rgba(23,32,45,.28); }
.ct-ic { width: 24px; height: 24px; color: var(--mk-neutral-ink); margin-bottom: 10px; }
.ct-lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-neutral-quiet); }
.ct-val { font-size: 21px; font-weight: 640; letter-spacing: -.015em; color: var(--mk-neutral-ink); }
.ct-sub { font-size: 13.5px; color: var(--mk-neutral-muted); }
.ct-btn { margin-top: 18px; padding: 9px 24px; font-size: 14px; min-width: 0; }
.ct-facts { margin-top: 46px; text-align: center; font-size: 14px; color: var(--mk-neutral-muted); }
.ct-hint { margin-top: 12px; text-align: center; font-size: 14px; color: var(--mk-neutral-muted); }
.ct-hint strong { color: var(--mk-neutral-ink); font-weight: 620; }
@media (max-width: 760px) { .ct-grid { grid-template-columns: 1fr; } .ct-item { padding: 32px 22px 30px; } }

/* cases — tile stack, quote as headline */
.cs-kicker { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mk-neutral-quiet); margin-bottom: 16px; }
.cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 44px; margin-top: 52px; }
.cs-lbl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mk-neutral-quiet); margin-bottom: 10px; }
.cs-col p { font-size: 15px; line-height: 1.62; color: var(--mk-neutral-muted); }
.cs-now .cs-lbl { color: var(--primary); }
.cs-now p { font-size: 16.5px; font-weight: 560; color: var(--mk-neutral-ink); }
@media (max-width: 760px) { .cs-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 38px; } }


/* ── mkadr integrations & policy pages ── */
.integrations-info { max-width: 830px; margin: 0 0 48px; }
.integration-section { margin: 0 0 64px; }
.integration-section > .h2 { font-size: clamp(27px,3vw,39px); margin-bottom: 26px; }
.integration-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.integration-card {
  min-width: 0; min-height: 207px; padding: 28px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--mk-radius-card); box-shadow: 0 8px 24px -21px rgba(23,32,45,.2);
  display: flex; flex-direction: column;
}
.integration-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.integration-logo { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 7px;
  background: var(--mk-brand-blue-50); border: 1px solid var(--mk-brand-blue-100); border-radius: var(--mk-radius-card);
  font-size: 15px; font-weight: 750; color: var(--mk-brand-blue-900); letter-spacing: -.03em;
}
.integration-status { display: inline-block; max-width: 180px; padding: 6px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 650; line-height: 1.25; text-align: center; color: var(--mk-neutral-muted); background: var(--mk-neutral-canvas);
}
.integration-status.is-available { background: var(--mk-semantic-success-surface); color: var(--mk-semantic-success-ink); }
.integration-status.is-approved { background: var(--mk-semantic-info-surface); color: var(--mk-semantic-info-ink); }
.integration-card h3 { font-size: 23px; letter-spacing: -.025em; font-weight: 680; margin: 22px 0 9px; color: var(--brand); }
.integration-card p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.integration-bottom { padding: 38px; max-width: 930px; margin: 16px auto 0; }
.integration-bottom .h2 { font-size: clamp(24px,3vw,34px); }
.integration-bottom p { color: var(--muted); font-size: 15px; margin: 14px 0 24px; max-width: 600px; line-height: 1.55; }
.integration-bottom .btn { background: var(--primary); color: #fff; text-decoration: none; }
.legal-draft { font-size: 13.5px; line-height: 1.65; margin-bottom: 16px; }
.legal-crosslinks { display: flex; flex-wrap: wrap; gap: 11px 20px; padding-top: 26px; }
.legal-crosslinks a { color: var(--primary); font-size: 13.5px; font-weight: 600; text-underline-offset: 3px; }
@media(max-width: 980px) { .integration-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 620px) {
  .integration-grid { grid-template-columns: minmax(0,1fr); }
  .integration-section { margin-bottom: 46px; }
  .integration-card { min-height: 0; padding: 22px; }
  .integration-bottom { padding: 26px; }
  .integration-status { font-size: 10.5px; }
}


/* integrations v3 customer edition — intentionally isolated from other pages */
.int3-page { color: var(--mk-neutral-ink); background: var(--mk-neutral-surface-alt); }
.int3-hero {
  background: linear-gradient(114deg,var(--mk-brand-navy-900) 0%,var(--mk-brand-navy-700) 71%,var(--mk-brand-navy-600) 100%);
  color: #fff; overflow: hidden;
}
.int3-hero-inner { min-height: 210px; display: flex; align-items: center; justify-content: space-between; position: relative; gap: 36px; }
.int3-hero-text { position: relative; z-index: 2; padding: 38px 0; max-width: 780px; }
.int3-hero h1 { font-size: clamp(40px,4.5vw,62px); line-height: 1.06; font-weight: 650; letter-spacing: -.045em; margin: 0; color: #fff; }
.int3-art { flex: 0 0 360px; width: 360px; height: 170px; position: relative; }
.int3-hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; stroke: rgba(135,168,255,.58); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.int3-hub-lines circle { fill: var(--mk-brand-blue-300); stroke: none; }
.int3-hub-source { position: absolute; left: 0; width: 64px; height: 44px; border: 1px solid rgba(135,168,255,.35); border-radius: var(--mk-radius-card); background: rgba(233,240,255,.1); display: grid; place-items: center; color: var(--mk-brand-blue-100); box-shadow: 0 8px 22px rgba(0,17,57,.12); }
.int3-hub-source svg { width: 23px; height: 23px; }
.int3-hub-terminal { top: 8px; }
.int3-hub-document { top: 63px; }
.int3-hub-location { top: 118px; }
.int3-hub-platform { position: absolute; left: 178px; top: 47px; width: 180px; height: 76px; border-radius: var(--mk-radius-card); background: #fff; border: 1px solid var(--mk-brand-blue-100); display: grid; place-items: center; box-shadow: 0 15px 35px rgba(0,17,57,.2); }
.int3-hub-platform img { display: block; width: 152px; height: auto; max-height: 56px; object-fit: contain; }
.int3-body { padding: 58px 0 74px; }
.int3-group { margin-bottom: 54px; }
.int3-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.int3-section-head h2 { font-size: clamp(27px,3vw,34px); line-height: 1.15; letter-spacing: -.035em; margin: 0; font-weight: 650; color: var(--mk-brand-navy-600); white-space: nowrap; }
.int3-section-head p { color: var(--mk-neutral-quiet); font-size: 14px; line-height: 1.55; max-width: 590px; text-align: right; }
.int3-grid { display: grid; gap: 16px; }
.int3-grid-connections { grid-template-columns: repeat(3,minmax(0,1fr)); }
.int3-grid-capabilities { grid-template-columns: repeat(4,minmax(0,1fr)); }
.int3-card { min-width: 0; background: #fff; border: 1px solid var(--mk-neutral-border); border-radius: var(--mk-radius-card); padding: 28px 26px 26px; min-height: 176px; box-shadow: 0 4px 16px -14px rgba(23,32,45,.28); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; transition: border-color .2s,transform .2s,box-shadow .2s; }
.int3-card:hover { border-color: var(--mk-brand-navy-300); transform: translateY(-3px); box-shadow: 0 16px 36px -22px rgba(23,32,45,.3); }
.int3-card h3 { font-size: 19px; letter-spacing: -.03em; font-weight: 700; line-height: 1.25; color: var(--mk-brand-navy-600); margin: 0 0 7px; }
.int3-card p { color: var(--mk-neutral-quiet); font-size: 13.5px; line-height: 1.5; margin: 0; }
.int3-logo { align-self: flex-start; display: flex; align-items: center; justify-content: center; min-height: 38px; font-weight: 800; letter-spacing: -.055em; }
.int3-hik { color: #db272c; font-size: 20px; letter-spacing: -.065em; }
.int3-dahua { color: #ee5f30; font-size: 27px; font-weight: 800; font-style: italic; }
.int3-zkteco { color: #198b55; font-size: 24px; font-weight: 750; }
.int3-telegram,.int3-excel,.int3-hh,.int3-onec { width: 44px; height: 44px; border-radius: var(--mk-radius-control); font-size: 21px; color: #fff; }
.int3-telegram { background: #239fdc; font-size: 26px; }
.int3-excel { background: #19855b; }
.int3-hh { background: #dc3040; font-weight: 800; font-size: 21px; letter-spacing: -.08em; }
.int3-onec { background: #fff1dc; color: #df6925; font-size: 22px; }
.int3-cta { display: flex; justify-content: space-between; align-items: center; gap: 26px; padding: 34px 40px; border-radius: var(--mk-radius-card); color: #fff; background: var(--mk-brand-navy-600); }
.int3-cta h2 { font-size: clamp(23px,2.6vw,32px); font-weight: 650; letter-spacing: -.03em; margin: 0 0 7px; color: #fff; }
.int3-cta p { color: var(--mk-neutral-dark-muted); font-size: 14px; line-height: 1.5; max-width: 590px; margin: 0; }
.int3-cta-btn { flex-shrink: 0; border-radius: 999px; color: var(--mk-brand-navy-600); background: #fff; display: inline-flex; align-items: center; gap: 11px; padding: 14px 20px; text-decoration: none; font-size: 13.5px; font-weight: 700; transition: background .2s; }
.int3-cta-btn:hover { background: var(--mk-brand-blue-100); }
.int3-cta-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1040px) { .int3-grid-connections, .int3-grid-capabilities { grid-template-columns: repeat(2,minmax(0,1fr)); } .int3-art { margin-right: 0; } }
@media (max-width: 740px) {
 .int3-hero-inner { min-height: 0; } .int3-hero-text { padding: 38px 0 42px; }
 .int3-art { display: none; } .int3-section-head { display: block; }
 .int3-section-head h2 { white-space: normal; } .int3-section-head p { margin-top: 8px; text-align: left; }

 .int3-body { padding: 42px 0 52px; } .int3-group { margin-bottom: 42px; }
 .int3-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
}
@media (max-width: 500px) {
 .int3-grid-connections, .int3-grid-capabilities { grid-template-columns: 1fr; }
 .int3-card { min-height: 0; padding: 23px; gap: 18px; }
}


/* Integration identity assets: originals redrawn from the supplied transparent logos. */
.int3-logo.int3-logo-brand{width:100%;min-height:58px;height:58px;justify-content:flex-start;align-items:center;background:none;border-radius:0;padding:0;overflow:visible}
.int3-logo-brand img{display:block;width:auto;height:auto;max-width:100%;object-fit:contain;object-position:left center}
.int3-logo-wide img{width:180px;max-height:50px}
.int3-logo-square img{width:56px;height:56px}
.int3-logo.int3-logo-exports{min-height:70px;height:70px}
.int3-logo-exports img{width:72px;height:72px;max-height:none;object-fit:contain}
.int3-logo-onec img{width:105px;max-height:53px}
.int3-logo.int3-logo-android{min-height:70px;height:70px}
.int3-logo-android img{width:88px;max-height:70px;object-fit:contain}
@media(max-width:500px){.int3-logo-wide img{width:167px}}

/* External connections: two rows of three. Native mkadr tools: one row of four. */
@media (min-width:1041px){
  .int3-grid-connections{grid-template-columns:repeat(3,minmax(0,1fr))}
  .int3-grid-capabilities{grid-template-columns:repeat(4,minmax(0,1fr))}
  .int3-grid-capabilities .int3-card{padding:25px 23px}
}


/* mkadr branded HTTP 404 — scoped to this page only. */
.error404-page{min-height:100vh;display:flex;flex-direction:column;background:var(--mk-neutral-surface-alt)}
.error404-page>.top{flex-shrink:0}
.error404-main{flex:1;display:flex;align-items:center;justify-content:center;padding:26px 0 34px}
.error404-content{text-align:center;display:flex;flex-direction:column;align-items:center}
.error404-art{height:197px;width:min(390px,100%);margin:0 auto 2px}
.error404-art svg{width:100%;height:100%;display:block}
.error404-code{font-size:clamp(76px,8vw,104px);font-weight:750;line-height:1;letter-spacing:-.065em;color:var(--mk-neutral-ink)}
.error404-title{margin-top:8px;font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.035em;font-weight:700;color:var(--mk-neutral-ink)}
.error404-description{margin-top:13px;max-width:690px;color:var(--mk-neutral-quiet);font-size:15px;line-height:1.55}
.error404-next{margin-top:0}
.error404-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin-top:28px}
.error404-actions .pill{min-width:164px;padding:11px 25px}
.error404-secondary{background:transparent}
.error404-links{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:26px}
.error404-chip{display:inline-flex;gap:11px;align-items:center;justify-content:center;min-width:145px;padding:11px 15px;border:1px solid var(--mk-neutral-border);border-radius:999px;color:var(--mk-neutral-muted);font-size:14px;font-weight:600;transition:border-color .2s,color .2s,background .2s}
.error404-chip svg{color:var(--mk-brand-blue-600);flex-shrink:0}
.error404-chip:hover{border-color:var(--mk-brand-blue-300);background:#fff;color:var(--primary)}
.error404-chip span:last-child{font-size:19px;font-weight:400;line-height:1}
.error404-footer{padding:0 0 18px;color:var(--mk-neutral-quiet);font-size:12.5px}
.error404-footer-inner{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;border-top:1px solid var(--mk-neutral-border);padding-top:17px;text-align:center}
.error404-footer-inner svg{margin-right:5px;color:var(--mk-neutral-quiet);flex-shrink:0}
.error404-footer-inner a{color:var(--primary);font-weight:550}
.error404-footer-inner a:hover{text-decoration:underline}
@media(max-width:680px){
  .error404-main{padding:30px 0 38px}
  .error404-art{height:146px;max-width:290px}
  .error404-code{font-size:74px}
  .error404-description{font-size:14px}
  .error404-actions{margin-top:24px}
  .error404-actions .pill{min-width:132px;padding:11px 17px}
  .error404-links{gap:9px}
  .error404-chip{min-width:0;padding:10px 13px;font-size:12.5px;gap:7px}
  .error404-chip svg{width:17px;height:17px}
  .error404-footer{padding-bottom:20px}
}
