/* ==========================================================================
   Constrings — site.css
   Design system: white base with neutral ink-alpha grays (zero chroma),
   near-black ink, elegant light serif display type, Inter for UI text,
   Geist Mono for numbers & paths.
   ========================================================================== */

/* ---- fonts --------------------------------------------------------------- */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/NewsreaderVariable.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMonoVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Reenie Beanie";
  src:
    url("/assets/fonts/ReenieBeanie.woff2") format("woff2"),
    url("/assets/fonts/ReenieBeanie.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- tokens -------------------------------------------------------------- */

:root {
  /* Neutral system matching the reference: grays are the ink color at low
     alpha (zero chroma), never warm/beige tints. */
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --surface: rgba(35, 34, 32, 0.04);
  --surface-solid: #f6f6f6;
  --surface-2: rgba(35, 34, 32, 0.07);
  --line: rgba(35, 34, 32, 0.08);
  --line-soft: rgba(35, 34, 32, 0.05);
  --ink: #232220;
  --muted: rgba(35, 34, 32, 0.62);
  --faint: rgba(35, 34, 32, 0.42);
  --accent: #1a1a19;
  --red: #eb420f;
  --green: #02b750;
  --blue: #1176ef;
  --yellow: #f8af09;
  --sel: #2e6ff2;
  --serif: "Signifier", "Newsreader", ui-serif, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --shadow-card: 0 1px 2px rgba(35, 34, 32, 0.04);
  --shadow-pop: 0 12px 40px rgba(35, 34, 32, 0.12), 0 2px 8px rgba(35, 34, 32, 0.06);
  --shadow-window: 0 24px 70px rgba(35, 34, 32, 0.16), 0 4px 18px rgba(35, 34, 32, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --content: 60rem;
  --narrow: 52rem;
}

/* ---- base ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: inline-block;
}
a {
  color: inherit;
  text-decoration: none;
}
p a,
.prose a,
.contact-line a,
.notice a {
  color: var(--blue);
}
p a:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
}
.serif {
  font-family: var(--serif);
  font-weight: 330;
  letter-spacing: -0.022em;
  line-height: 1.08;
}
.mono {
  font-family: var(--mono);
  font-weight: 450;
}
main {
  display: block;
  min-height: 60vh;
}

::selection {
  background: rgba(17, 118, 239, 0.16);
}

/* ---- reveal animation ---------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mq-track { animation: none !important; }
  [data-live-logo].is-blinking [data-logo-lid] {
    animation: none !important;
  }
}

/* ---- buttons, badges, chips ---------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #333332;
}
.btn-secondary {
  background: rgba(35, 34, 32, 0.07);
  color: var(--ink);
}
.btn-secondary:hover {
  background: rgba(35, 34, 32, 0.11);
}
.btn-nav {
  background: rgba(35, 34, 32, 0.12);
  color: rgba(35, 34, 32, 0.9);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
}
.btn-nav:hover {
  background: rgba(35, 34, 32, 0.16);
}
.btn-small {
  background: var(--accent);
  color: #fff;
  padding: 8px 13px;
  font-size: 12.5px;
  border-radius: 8px;
}
.btn-block {
  width: 100%;
}
.apple {
  font-size: 1.05em;
  line-height: 1;
  transform: translateY(-1px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(35, 34, 32, 0.9);
  background: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 6px 13px;
  box-shadow:
    inset 0 0.85px 0.5px #ffffff,
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.09);
}
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.chip-row {
  display: flex;
  gap: 6px;
  margin: 10px 0 2px;
}

/* ---- navigation ---------------------------------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
}
.site-nav::before {
  content: "";
  position: absolute;
  inset: 0 0 -28px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 55%, rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  pointer-events: none;
  z-index: -1;
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo img,
.nav-logo [data-live-logo] {
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 6px;
}
[data-logo-pupil] {
  will-change: transform;
}
[data-logo-lid] {
  pointer-events: none;
  transform: translateY(-340px);
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}
[data-live-logo].is-blinking [data-logo-lid] {
  animation: live-logo-blink 170ms ease-in-out;
}
@keyframes live-logo-blink {
  0%, 100% { transform: translateY(-340px); }
  42%, 58% { transform: translateY(0); }
}
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 7px 11px;
  border-radius: 8px;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}
.nav-link:hover {
  background: var(--surface-2);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-drop {
  position: relative;
}
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 252px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  padding: 6px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-drop.open .nav-drop-menu,
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 12px;
  border-radius: 9px;
}
.nav-drop-item:hover {
  background: var(--surface);
}
.nav-drop-title {
  font-size: 13.5px;
  font-weight: 500;
}
.nav-drop-desc {
  font-size: 12px;
  color: var(--faint);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 7px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  margin: 0 16px;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile-link {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
}
.nav-mobile-link:hover {
  background: var(--surface);
}

/* ---- shared page scaffolding --------------------------------------------- */

section {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 20px;
}
.page-head {
  text-align: center;
  padding-top: 64px;
  padding-bottom: 8px;
}
.page-head h1 {
  font-size: clamp(34px, 5.4vw, 44px);
  margin: 18px 0 0;
}
.page-sub {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  max-width: 540px;
  margin: 14px auto 0;
}

.contact-line {
  max-width: var(--narrow);
  margin: 26px auto 0;
  padding: 0 20px;
  text-align: center;
  color: var(--faint);
  font-size: 13px;
}

/* ---- hero ----------------------------------------------------------------- */

.hero {
  text-align: center;
  padding-top: 84px;
}
.hero h1 {
  font-size: clamp(38px, 6.4vw, 47px);
  margin: 20px 0 0;
}
.hero-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 18px auto 0;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.hero-caption {
  color: var(--faint);
  font-size: 13px;
  margin-top: 14px;
}

.shot-frame {
  max-width: 832px;
  margin: 0 auto;
}

/* ---- features (bento) ----------------------------------------------------- */

.features {
  padding-top: 96px;
}
.features h2,
.tour h2,
.marquee-section h2 {
  text-align: center;
  font-size: clamp(30px, 4.8vw, 41px);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 44px;
}
.bento {
  background: var(--surface-solid);
  border-radius: var(--radius-lg);
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
}
.bento h3 {
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 14px;
}
.bento p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 5px 0 0;
}
.bento-visual {
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* bento visuals */
.vz {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.vz-chip {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 11px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  box-shadow: var(--shadow-card);
}
.vz-chip.mustfix { color: #c03119; background: #fdeae5; border-color: #f6d3ca; }
.vz-chip.warn { color: #9a6b06; background: #fdf3d9; border-color: #f3e2b4; }
.vz-chip.sugg { color: #1d63c4; background: #e8f0fd; border-color: #cfdff8; }
.vz-chip.cov { color: #157f43; background: #e4f6eb; border-color: #c4e9d2; }
.vz-chip.part { color: #9a6b06; background: #fdf3d9; border-color: #f3e2b4; }
.vz-chip.miss { color: #c03119; background: #fdeae5; border-color: #f6d3ca; }
.vz-chip.high { color: #157f43; background: #e4f6eb; border-color: #c4e9d2; }
.vz-chip.med { color: #9a6b06; background: #fdf3d9; border-color: #f3e2b4; }
.vz-chip.dev { font-weight: 500; }

.vz-validation,
.vz-markets div:first-child {
  flex-direction: row;
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}
.vz-markets div:first-child span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 16px;
  box-shadow: var(--shadow-card);
}
.vz-markets div:last-child {
  display: flex;
  gap: 6px;
}

.vz-savebtn {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 7px;
}

.vz-sbs {
  flex-direction: row;
  gap: 10px;
  justify-content: center;
}
.vz-sbs > div {
  width: 104px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  box-shadow: var(--shadow-card);
}
.vz-sbs b {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
  white-space: nowrap;
}
.vz-sbs i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--surface-2);
  margin-top: 5px;
}
.vz-sbs i.w80 { width: 80%; }
.vz-sbs i.w70 { width: 70%; }
.vz-sbs i.w60 { width: 60%; }
.vz-sbs i.w85 { width: 85%; }

.vz-grid {
  gap: 5px;
}
.vz-grid div {
  display: flex;
  gap: 5px;
}
.vz-grid i {
  width: 22px;
  height: 12px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--line);
}
.vz-grid i.g { background: #cdefdb; border-color: #b2e4c8; }
.vz-grid i.w { background: #fdf0cd; border-color: #f4e2ae; }
.vz-grid i.e { background: #fff; }

.vz-rank {
  gap: 5px;
}
.vz-bigrank {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.vz-rankup {
  font-size: 11.5px;
  font-weight: 600;
  color: #157f43;
}
.vz-depth {
  font-size: 10.5px;
  color: var(--faint);
  background: #fff;
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
}
.vz-history svg {
  width: 170px;
  height: 50px;
}
.vz-top {
  gap: 5px;
  align-items: stretch;
  max-width: 200px;
  margin: 0 auto;
}
.vz-top span {
  font-size: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 9px;
  display: flex;
  gap: 7px;
  align-items: center;
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  overflow: hidden;
}
.vz-top i {
  font-style: normal;
  color: var(--faint);
  font-size: 10px;
}
.vz-competitor {
  gap: 9px;
}
.vz-url {
  font-size: 10.5px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  max-width: 210px;
  overflow: hidden;
  white-space: nowrap;
}
.vz-competitor div {
  display: flex;
  gap: 6px;
}
.vz-background {
  gap: 9px;
}
.vz-moon {
  font-size: 22px;
  color: var(--muted);
}
.vz-toast {
  font-size: 11px;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  box-shadow: var(--shadow-card);
  color: var(--muted);
}
.vz-localfirst {
  gap: 8px;
}
.vz-path {
  font-size: 10.5px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}
.vz-key {
  font-size: 11px;
  color: var(--faint);
}

/* ---- tour (tabs) ----------------------------------------------------------- */

.tour {
  padding-top: 110px;
}
.tour.hero-tour {
  padding-top: 44px;
  padding-bottom: 20px;
}
.hero-tour .tour-tabs {
  margin-top: 0;
}
.hero-tour .mk-window {
  box-shadow: 0 16px 44px rgba(35, 34, 32, 0.07), 0 2px 10px rgba(35, 34, 32, 0.035);
}
@media (min-width: 901px) {
  .hero-tour .shot-frame {
    max-width: none;
  }
}
.tour-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 30px auto 22px;
  background: var(--surface);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.tour-tab {
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 15px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.tour-tab:hover {
  color: var(--ink);
}
.tour-tab.on {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.tour-panel {
  display: none;
}
.tour-panel.on {
  display: block;
  animation: tourIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes tourIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.tour-caption {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 520px;
  margin: 18px auto 0;
}

/* ---- marquee --------------------------------------------------------------- */

.marquee-section {
  padding-top: 110px;
}
.marquee {
  overflow: hidden;
  margin-top: 26px;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee:first-of-type {
  margin-top: 38px;
}
.mq-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: mq 46s linear infinite;
}
.mq-track.rev {
  animation-direction: reverse;
}
@keyframes mq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.mq-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.18s ease;
}
.mq-card:hover {
  background: rgba(35, 34, 32, 0.018);
}
.mq-flag {
  font-size: 17px;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.02em;
}

/* ---- CTA + footer ----------------------------------------------------------- */

.cta {
  text-align: center;
  padding-top: 130px;
  padding-bottom: 40px;
  max-width: var(--narrow);
}
.cta h2 {
  font-size: clamp(29px, 4.4vw, 36px);
}
.cta .btn {
  margin-top: 26px;
}

.site-footer {
  text-align: center;
  padding: 70px 20px 46px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}
.footer-brand img {
  border-radius: 4px;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 16px;
}
.footer-links a {
  color: var(--faint);
  font-size: 12.5px;
}
.footer-links a:hover {
  color: var(--ink);
}

/* ---- cards (shared) --------------------------------------------------------- */

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.card-title {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.card-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0 0;
}
.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.card-link:hover {
  color: var(--blue);
}
.card-note {
  font-size: 12.5px;
  color: var(--faint);
  margin: 12px 0 0;
  line-height: 1.55;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist li {
  font-size: 13.5px;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
}
.checklist li.strong {
  color: var(--ink);
  font-weight: 500;
}
.checklist li.strong::before {
  color: var(--muted);
}

/* ---- story / prose ----------------------------------------------------------- */

.prose {
  max-width: 620px;
  padding-top: 40px;
}
.prose p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(35, 34, 32, 0.72);
  margin: 0 0 18px;
}
.signature {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}
.signature-script {
  align-self: flex-start;
  font-family: "Reenie Beanie", "Segoe Print", "Bradley Hand", cursive;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 2px;
  white-space: nowrap;
}
@supports ((clip-path: inset(0)) or (-webkit-clip-path: inset(0))) {
  .signature.is-ready .signature-script {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    will-change: clip-path, opacity;
  }
  .signature.is-writing .signature-script {
    animation: signature-write 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
  }
}
@keyframes signature-write {
  0% {
    opacity: 0.2;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(0 -0.08em 0 0);
    -webkit-clip-path: inset(0 -0.08em 0 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .signature.is-ready .signature-script {
    opacity: 1;
    clip-path: none;
    -webkit-clip-path: none;
    animation: none !important;
  }
}
.signature em {
  font-style: normal;
  font-size: 13px;
  color: var(--faint);
}

.legal {
  padding-bottom: 10px;
}
.legal h2 {
  font-size: 15.5px;
  font-weight: 600;
  margin: 34px 0 10px;
}
.legal p {
  font-size: 14px;
}
.legal-updated {
  margin-top: 38px;
  font-size: 12.5px;
  color: var(--faint);
}

/* ---- changelog ---------------------------------------------------------------- */

.log-list {
  max-width: var(--narrow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 40px;
}
.log-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.log-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--faint);
}
.log-meta .mono {
  font-size: 12px;
}
.log-card h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 16px;
}
.log-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.log-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: start;
}
.log-tag {
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 0;
  text-align: center;
}
.log-tag.new { color: #157f43; background: #e0f3e8; }
.log-tag.improved { color: #2d5fc7; background: #e6eefb; }
.log-tag.fixed { color: #b06a10; background: #fbf0dc; }
.log-item p {
  margin: 1px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---- download ------------------------------------------------------------------- */

.dl-grid {
  max-width: var(--narrow);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 13px;
  padding-top: 44px;
}
.dl-side {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.dl-side .card {
  flex: 1;
}
.dl-version {
  font-size: 12px;
  color: var(--faint);
  margin: 8px 0 16px;
}
.dl-main .btn-block {
  margin-bottom: 6px;
}

.pro-wrap {
  max-width: var(--narrow);
  margin: 13px auto 0;
}
.pro-teaser {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  padding: 26px 30px;
}
.pro-teaser-txt {
  max-width: 430px;
}
.pro-teaser-price {
  text-align: right;
  white-space: nowrap;
}
.price {
  font-size: 38px;
  font-weight: 380;
  letter-spacing: -0.02em;
}
.price-suffix {
  font-size: 14px;
  color: var(--faint);
  margin-left: 4px;
}
.pro-teaser-price em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 4px;
}

.follow {
  max-width: var(--narrow);
  padding-top: 70px;
}
.follow-heading {
  text-align: center;
  font-size: 27px;
}
.follow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 26px;
}

/* ---- pricing ---------------------------------------------------------------------- */

.plan-grid {
  max-width: var(--narrow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding-top: 44px;
}
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
}
.plan.highlight {
  outline: 1px solid var(--line);
  background: linear-gradient(180deg, #f8f8f8, #f2f2f1);
}
.plan-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 12px;
}
.plan-price {
  margin-top: 14px;
}
.plan-note {
  font-style: normal;
  font-size: 12.5px;
  color: var(--faint);
  margin: 2px 0 16px;
}
.plan .btn-block {
  margin-bottom: 4px;
}
.plan-checkout {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--faint);
}

.faq {
  max-width: 680px;
  padding-top: 90px;
}
.faq h2 {
  text-align: center;
  font-size: clamp(28px, 4.4vw, 36px);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}
.faq-item h3 {
  font-size: 15px;
  font-weight: 600;
}
.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 8px 0 0;
}

/* ---- notice ------------------------------------------------------------------------ */

.notice-wrap {
  max-width: 660px;
  margin: 40px auto 0;
}
.notice {
  text-align: center;
}
.notice p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/* ---- support ------------------------------------------------------------------------ */

.support-grid {
  max-width: var(--narrow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding-top: 44px;
}
.support-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(35, 34, 32, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-bottom: 14px;
}
.support-icon svg {
  width: 18px;
  height: 18px;
}
.bug-icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(35, 34, 32, 0.05);
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex: none;
}
.bug-icon svg {
  width: 13px;
  height: 13px;
}
.bug-wrap {
  max-width: var(--narrow);
  margin: 13px auto 0;
}
.feedback-cta {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 10px;
}

/* ---- press kit ---------------------------------------------------------------------- */

.press-list {
  max-width: var(--narrow);
  padding-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 56px;
}
.press-asset-banner {
  grid-column: 1 / -1;
}
.press-asset h2 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 12px;
}
.press-preview {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
}
.press-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.press-icon {
  align-self: center;
  margin: 26px 0 40px;
  border-radius: 34px;
  box-shadow: var(--shadow-pop);
}
.press-banner {
  border-radius: 10px;
  border: 1px solid var(--line);
}
.press-caption {
  text-align: center;
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 12px;
}

/* ==========================================================================
   App-window mockups
   ========================================================================== */

.mk-window {
  background: #f1f1f0;
  border: 1px solid #e2e2e1;
  border-radius: 12px;
  box-shadow: var(--shadow-window);
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.35;
  color: #2a2a29;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1504 / 842;
  text-align: left;
}
.hero-frame .mk-window {
  aspect-ratio: 832 / 520;
}
.mk-window * {
  min-width: 0;
}

/* toolbar */
.mk-toolbar {
  display: flex;
  align-items: center;
  gap: 0;
  height: 34px;
  padding: 0;
  background: #fff;
  flex: none;
}
.mk-tool-left {
  width: 150px;
  height: 100%;
  flex: none;
  background: var(--surface-solid);
  border-right: 1px solid #e1e1e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px 0 10px;
}
.mk-tool-plainleft {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
}
.mk-minibtn {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d9d9d8;
  color: #6c6c6a;
}
.mk-minibtn svg {
  width: 11px;
  height: 10px;
}
.mk-minibtn.plain {
  border: 0;
  background: none;
}
.mk-btngroup {
  display: inline-flex;
  background: #fff;
  border: 1px solid #d9d9d8;
  border-radius: 999px;
  overflow: hidden;
}
.mk-btngroup i {
  width: 25px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6c6c6a;
}
.mk-btngroup i + i {
  border-left: 1px solid #eeeeed;
}
.mk-btngroup svg {
  width: 10.5px;
  height: 10.5px;
}
.mk-devices i.on {
  background: #e9e9e8;
  color: #2a2a29;
}
.mk-devices i {
  color: #8d8d8b;
}
.mk-traffic {
  display: inline-flex;
  gap: 5px;
  margin-right: 2px;
}
.mk-traffic i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}
.mk-traffic i:nth-child(2) { background: #febc2e; }
.mk-traffic i:nth-child(3) { background: #28c840; }
.mk-tool-title {
  display: flex;
  align-items: center;
  gap: 7px;
  align-self: stretch;
  width: 114px;
  flex: none;
  padding: 0 8px;
  border-right: 1px solid #e6e6e5;
  min-width: 0;
}
.mk-tool-appicon {
  width: 18px;
  height: 18px;
  border-radius: 4.5px;
}
.mk-tool-title span span,
.mk-tool-title > span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.mk-tool-title b {
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-tool-title em {
  font-style: normal;
  font-size: 9px;
  color: #8d8d8b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-tool-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
}
.mk-tool-inspector {
  width: 164px;
  height: 100%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 9px;
  background: var(--surface-solid);
  border-left: 1px solid #e1e1e0;
}

/* body layout */
.mk-body {
  display: flex;
  flex: 1;
  min-height: 0;
}
.mk-sidebar {
  width: 150px;
  flex: none;
  background: var(--surface-solid);
  border-right: 1px solid #e1e1e0;
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mk-search {
  background: #e2e2e1;
  border-radius: 6px;
  color: #8d8d8b;
  font-size: 9.5px;
  padding: 4px 8px;
  margin-bottom: 6px;
}
.mk-app {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  border-radius: 7px;
}
.mk-app.sel {
  background: #dadad9;
}
.mk-app img {
  width: 22px;
  height: 22px;
  border-radius: 5.5px;
  flex: none;
}
.mk-app-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.mk-app-txt b {
  font-size: 9.8px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-app-txt em {
  font-style: normal;
  font-size: 8.6px;
  color: #8d8d8b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-count {
  margin-left: auto;
  flex: none;
  font-size: 8.4px;
  font-weight: 600;
  color: #5a6b8c;
  background: #d5dbe8;
  border-radius: 999px;
  padding: 1px 5px;
}

/* column 2 (languages / markets) */
.mk-col2 {
  width: 114px;
  flex: none;
  background: #fff;
  border-right: 1px solid #e6e6e5;
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mk-seg {
  display: flex;
  background: #e8e8e7;
  border-radius: 7px;
  padding: 2px;
  margin-bottom: 7px;
}
.mk-seg span {
  flex: 1;
  text-align: center;
  font-size: 8.8px;
  font-weight: 500;
  color: #6c6c6a;
  padding: 3px 2px;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-seg span.on {
  background: #2e6ff2;
  color: #fff;
  font-weight: 600;
}
.mk-col2-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8d8d8b;
  font-size: 8.8px;
  padding: 2px 4px 4px;
}
.mk-col2-head i {
  font-style: normal;
  font-size: 11px;
}
.mk-lang {
  font-size: 9.6px;
  padding: 4.5px 7px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mk-lang.sel {
  background: #e6e6e5;
  font-weight: 600;
}
.mk-lang .mk-count {
  margin-left: auto;
}
.mk-lang.mk-mkt .mk-count {
  margin-left: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #747472;
  background: #f1f1f0;
  font-size: 8.2px;
  font-weight: 500;
  line-height: 1;
}
.mk-lang.mk-mkt.sel .mk-count {
  color: #6c6c6a;
  background: #fff;
}
.mk-mkt-name {
  min-width: 0;
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mk-primaryglyph {
  margin-left: auto;
  flex: none;
  display: inline-flex;
}
.mk-primaryglyph svg {
  width: 11px;
  height: 11px;
}
.mk-globe {
  display: inline-flex;
  color: #6c6c6a;
}
.mk-globe svg {
  width: 10px;
  height: 10px;
}

/* main pane */
.mk-main {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* localizations field grid */
.mk-fhead,
.mk-frow {
  display: grid;
  grid-template-columns: 106px 1.05fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 0 12px;
}
.mk-fhead {
  color: #8d8d8b;
  font-size: 9px;
  border-bottom: 1px solid #eeeeed;
  padding-top: 7px;
  padding-bottom: 6px;
  flex: none;
}
.mk-frows {
  flex: 1;
  overflow: hidden;
  padding-bottom: 4px;
}
.mk-fsection {
  font-size: 8.8px;
  font-weight: 600;
  color: #8d8d8b;
  text-transform: none;
  padding: 8px 12px 3px;
}
.mk-frow {
  padding: 5px 6px;
  margin: 0 6px;
  border-radius: 6px;
}
.mk-frow.alt {
  background: #f5f5f4;
}
.mk-frow.sel {
  background: #2e6ff2;
}
.mk-frow.sel .mk-fname,
.mk-frow.sel .mk-fval {
  color: #fff;
}
.mk-fname {
  font-size: 9.8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  white-space: nowrap;
}
.mk-fval {
  font-size: 9.6px;
  color: #4a4a48;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-fval.prim {
  color: #8d8d8b;
}
.mk-fval.ph {
  color: #b1b1b0;
}
.mk-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.mk-dot.warn { background: #f8af09; }
.mk-dot.info { background: #2e6ff2; }

/* description drawer */
.mk-drawer {
  border-top: 1px solid #e6e6e5;
  background: #fff;
  padding: 4px 12px 8px;
  flex: none;
}
.mk-drawer-grip {
  display: block;
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: #e1e1e0;
  margin: 0 auto 5px;
}
.mk-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.mk-drawer-title {
  font-size: 10.5px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mk-drawer-title em {
  font-size: 8.2px;
  font-weight: 450;
  color: #9a9a98;
  font-style: normal;
}
.mk-drawer-meta {
  font-size: 8.8px;
  color: #8d8d8b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mk-drawer-meta svg {
  width: 11px;
  height: 8px;
}
.mk-drawer-meta u {
  text-decoration: none;
  color: #6c6c6a;
}
.mk-drawer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mk-drawer-cols > div {
  padding: 0 10px 0 0;
}
.mk-drawer-cols > div + div {
  border-left: 1px solid #ebebea;
  padding: 0 0 0 10px;
}
.mk-drawer-cols b {
  display: block;
  font-size: 8.6px;
  font-weight: 500;
  color: #8d8d8b;
  margin-bottom: 3px;
}
.mk-drawer-cols p {
  margin: 0;
  font-size: 9.2px;
  line-height: 1.45;
  color: #4a4a48;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* empty placeholder rows (match the real app's vacant grid rows) */
.mk-erow {
  height: 16px;
  background: #f4f4f3;
  border-radius: 6px;
  margin: 4px 10px;
}
.mk-erow.wide {
  margin: 5px 12px;
}

/* status bar */
.mk-statusbar {
  border-top: 1px solid #eeeeed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 12px;
  flex: none;
  background: #fff;
}
.mk-unsaved {
  color: #8d8d8b;
  font-size: 8.8px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mk-unsaved svg {
  width: 8px;
  height: 10px;
}
.mk-filter {
  color: #8d8d8b;
  font-size: 8.8px;
  background: #f1f1f0;
  border-radius: 6px;
  padding: 3px 9px;
  width: 88px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mk-filter svg {
  width: 9px;
  height: 9px;
  flex: none;
}
.mk-lastchecked {
  color: #9a9a98;
  font-size: 8.6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mk-lastchecked svg {
  width: 9px;
  height: 9px;
}

/* markets keyword table */
.mk-khead,
.mk-krow {
  display: grid;
  grid-template-columns: 1.45fr 58px 34px 36px 84px 62px 86px;
  gap: 7px;
  align-items: center;
  padding: 0 10px;
}
.mk-khead {
  color: #8d8d8b;
  font-size: 8.6px;
  border-bottom: 1px solid #eeeeed;
  padding-top: 7px;
  padding-bottom: 6px;
  flex: none;
  white-space: nowrap;
}
.mk-khead span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-krows {
  flex: 1;
  overflow: hidden;
  padding: 2px 0;
}
.mk-krow {
  padding: 4.5px 4px;
  margin: 0 6px;
  border-radius: 6px;
}
.mk-krow.alt {
  background: #f5f5f4;
}
.mk-krow.sel {
  background: #2e6ff2;
}
.mk-krow.sel > * {
  color: #fff !important;
}
.mk-kw {
  font-size: 9.8px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-cov {
  font-size: 9px;
  color: #6c6c6a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-rank {
  font-size: 9.6px;
  font-weight: 600;
}
.mk-trend {
  font-size: 9px;
  font-weight: 600;
}
.mk-trend.up { color: #159447; }
.mk-trend.down { color: #d43e20; }
.mk-trend.flat { color: #9a9a98; }
.mk-tiles {
  display: flex;
  gap: 3px;
  overflow: hidden;
}
.mk-tile {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  font-style: normal;
  font-size: 7px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.mk-checked {
  font-size: 8.8px;
  color: #8d8d8b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-market {
  font-size: 9px;
  color: #6c6c6a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* inspector */
.mk-inspector {
  width: 164px;
  flex: none;
  background: var(--surface-solid);
  border-left: 1px solid #e1e1e0;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mk-idivider {
  height: 1px;
  background: #efefee;
  margin: 5px -10px;
  flex: none;
}
.mk-ilabel {
  font-size: 8.8px;
  color: #8d8d8b;
  margin-bottom: 5px;
}
.mk-ranklabel {
  font-size: 8.6px;
  color: #8d8d8b;
  margin: 1px 0 4px;
}
.mk-chartwrap {
  position: relative;
}
.mk-chartlab {
  position: absolute;
  right: 0;
  font-size: 7px;
  color: #9a9a98;
}
.mk-chartlab.top {
  top: -3px;
}
.mk-chartlab.low {
  top: 55%;
}
.mk-itabs {
  display: flex;
  justify-content: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 7px;
  padding: 2px;
  margin-bottom: 9px;
}
.mk-itabs span {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  border-radius: 5px;
  color: #8d8d8b;
}
.mk-itabs svg {
  width: 10px;
  height: 10px;
}
.mk-itabs span.on {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
}
.mk-itabs span.on.blue {
  background: #2e6ff2;
  color: #fff;
}
.mk-ititle {
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 7px;
}
.mk-irow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  padding: 3px 0;
}
.mk-irow span {
  font-size: 8.8px;
  color: #8d8d8b;
  white-space: nowrap;
}
.mk-irow b {
  font-size: 9px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}
.mk-irow b svg {
  width: 9px;
  height: 9px;
  flex: none;
}
.mk-irow b.ok { color: #159447; }
.mk-irow b.blue { color: #2e6ff2; }
.mk-isugg {
  justify-content: flex-start;
  align-items: center;
}
.mk-isugg span {
  color: #2a2a29;
  font-weight: 500;
}
.mk-isection {
  font-size: 8.2px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9a98;
  margin: 9px 0 6px;
}
.mk-isection.first {
  margin-top: 0;
}
.mk-icard {
  background: #fff;
  border: 1px solid #ebebea;
  border-left: 3px solid #4c8df6;
  border-radius: 8px;
  padding: 8px 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.mk-icard-title {
  font-size: 9.2px;
  font-weight: 600;
  line-height: 1.35;
  display: flex;
  gap: 5px;
}
.mk-icard-title svg {
  width: 9px;
  height: 9px;
  flex: none;
  margin-top: 1px;
  color: #2e6ff2;
}
.mk-icard-sub {
  font-size: 8.2px;
  color: #9a9a98;
  margin: 2px 0 6px 14px;
}
.mk-icard b {
  display: block;
  font-size: 8.6px;
  font-weight: 600;
  margin-top: 6px;
}
.mk-icard p {
  margin: 2px 0 0;
  font-size: 8.6px;
  line-height: 1.45;
  color: #6c6c6a;
}
.mk-icard p em {
  font-style: normal;
  font-weight: 600;
  color: #2a2a29;
}
.mk-icard p.small {
  font-size: 8px;
  word-break: break-all;
}
.mk-bigrank {
  font-size: 23px;
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.mk-delta {
  color: #159447;
  font-size: 8.8px;
  font-weight: 600;
  margin-top: 2px;
}
.mk-delta-sub {
  color: #9a9a98;
  font-size: 8.4px;
  margin-bottom: 6px;
}
.mk-ihist {
  margin-top: 4px;
}
.mki-chart {
  width: 100%;
  height: 72px;
  margin-top: 2px;
}
.mk-axis {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  color: #b1b1b0;
  margin: 2px 0 4px;
}

/* ---- responsive ---------------------------------------------------------------- */

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mk-sidebar {
    display: none;
  }
  .mk-tool-left {
    width: 96px;
    background: #fff;
    border-right: 0;
  }
  .mk-tool-title {
    width: 160px;
  }
}

@media (max-width: 760px) {
  .nav-center {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .dl-grid,
  .plan-grid,
  .follow-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .pro-teaser {
    flex-direction: column;
    align-items: flex-start;
  }
  .pro-teaser-price {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .press-list {
    grid-template-columns: 1fr;
  }
  .press-asset-banner {
    grid-column: auto;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .mk-inspector,
  .mk-tool-inspector {
    display: none;
  }
  .mk-window,
  .hero-frame .mk-window {
    aspect-ratio: auto;
  }
  .mk-tool-left {
    width: 96px;
  }
  .mk-tool-title {
    width: auto;
    flex: 1;
    border-right: 0;
  }
  .mk-tool-main {
    display: none;
  }
  .mk-erow:nth-child(n + 12) {
    display: none;
  }
  .hero-sub br,
  .page-sub br {
    display: none;
  }
  .hero {
    padding-top: 56px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .log-item {
    grid-template-columns: 64px 1fr;
  }
}

@media (max-width: 480px) {
  .mk-khead,
  .mk-krow {
    grid-template-columns: 1.4fr 60px 34px 36px 64px;
  }
  .mk-khead span:nth-child(n + 6),
  .mk-krow > *:nth-child(n + 6) {
    display: none;
  }
  .mk-fhead,
  .mk-frow {
    grid-template-columns: 92px 1fr;
  }
  .mk-fhead span:nth-child(3),
  .mk-frow .mk-fval.prim {
    display: none;
  }
}
