/* Meridian home page. Each section has its own layout so the page reads like a product story:
   hero + live product window, security steps, feature mosaic, page showcase, AI panel, pricing, closing.
   Light is used in three places only: behind the hero, behind the AI panel and at the close. */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
.md main { overflow-x: clip; }
.md-wrap, .md-sec, .md-hero, .md-nav-in, .md-foot-in { --gut: clamp(20px, 5vw, 64px); }
.md-eyebrow { margin: 0 0 16px; font: 500 12px/1 var(--md-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--md-ice); }
.md-violet { color: var(--md-violet); }
.md-p { margin: 0; color: var(--md-soft); font-size: 17px; line-height: 1.6; max-width: 34em; }
.md-p code, .md-cmds code { font: 500 12.5px var(--md-mono); color: var(--md-ice); padding: 4px 8px; border-radius: 6px; background: rgba(79, 125, 255, .1); border: 1px solid rgba(107, 147, 255, .18); }
.md-cmds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.md-blue { color: var(--md-ice); }
.rv { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--md-ease), transform .8s var(--md-ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- nav */
.md-nav { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.md-nav.scrolled, .md-nav:has(.menu:not([hidden])) { background: rgba(6, 10, 24, .78); border-bottom-color: var(--md-line); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.md-nav-in { display: flex; align-items: center; gap: 32px; height: 68px; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.md-links { display: flex; gap: 4px; margin: 0 auto; }
.md-links a { padding: 8px 12px; border-radius: 8px; color: var(--md-soft); text-decoration: none; font-size: 14px; font-weight: 450; transition: color .2s, background .2s; }
.md-links a:hover { color: #fff; background: rgba(150, 175, 235, .06); }
.md-nav-end { display: flex; align-items: center; gap: 14px; }
.md-login { color: var(--md-soft); text-decoration: none; font-size: 14px; font-weight: 500; }
.md-login:hover { color: #fff; }
.md-nav .menu { padding: 6px var(--gut) 16px; }
@media (max-width: 900px) { .md-links, .md-login { display: none; } .md-nav-end { margin-left: auto; } .md-nav .menu-btn { display: grid; } }
@media (min-width: 901px) { .md-nav .menu { display: none !important; } .md-nav .menu-btn { display: none; } }
@media (max-width: 400px) { .md-nav-end .btn { display: none; } }

/* ---------------------------------------------------------------- hero */
.md-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: clamp(48px, 8vw, 110px) var(--gut) clamp(60px, 8vw, 120px); isolation: isolate; }
.md-sky { position: absolute; inset: -68px -30vw 0; z-index: -1; pointer-events: none; overflow: hidden; }
.md-aura { position: absolute; border-radius: 50%; filter: blur(70px); }
.md-aura.a1 { right: 26%; top: -6%; width: 640px; height: 460px; background: radial-gradient(closest-side, rgba(79, 125, 255, .32), transparent); animation: md-drift 26s ease-in-out infinite alternate; }
.md-aura.a2 { right: 34%; top: 32%; width: 420px; height: 320px; background: radial-gradient(closest-side, rgba(154, 140, 255, .16), transparent); animation: md-drift 32s -10s ease-in-out infinite alternate-reverse; }
@keyframes md-drift { to { transform: translate(-50px, 30px) scale(1.06); } }
.md-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(150, 175, 235, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 175, 235, .055) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 55% at 62% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 55% at 62% 30%, #000, transparent 75%); }
.md-chip { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; margin-bottom: 28px; border-radius: 999px; text-decoration: none; color: var(--md-soft); font-size: 13px;
  background: rgba(150, 175, 235, .05); border: 1px solid var(--md-line-2); transition: border-color .2s, color .2s; animation: md-up .7s var(--md-ease) both; }
.md-chip b { padding: 3px 8px; border-radius: 999px; font: 500 11px var(--md-mono); text-transform: uppercase; letter-spacing: .03em; color: #fff; background: linear-gradient(180deg, #8f80ff, #6f5ef0); }
.md-chip span { color: var(--md-mute); transition: transform .25s var(--md-ease); }
.md-chip:hover { color: #fff; border-color: var(--md-line-3); }
.md-chip:hover span { transform: translateX(3px); color: #fff; }
.md-hero h1 { margin: 0 0 22px; font-size: clamp(40px, 4.9vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1.02; animation: md-up .8s .06s var(--md-ease) both; }
.md-lede { margin: 0 0 32px; max-width: 30em; font-size: 18px; color: var(--md-soft); animation: md-up .8s .12s var(--md-ease) both; }
.md-cta { display: flex; flex-wrap: wrap; gap: 10px; animation: md-up .8s .18s var(--md-ease) both; }
.md-cta .btn { padding: 14px 20px; font-size: 15px; }
@keyframes md-up { from { opacity: 0; transform: translateY(14px); } }
.md-counts { display: flex; flex-wrap: wrap; gap: 0; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--md-line); max-width: 460px; }
.md-counts:empty { display: none; }
.md-counts span { flex: 1; display: grid; gap: 2px; font: 500 11px var(--md-mono); color: var(--md-mute); text-transform: uppercase; letter-spacing: .03em; }
.md-counts b { font: 600 22px var(--md-sans); color: var(--md-text); letter-spacing: -.04em; text-transform: none; }
.md-counts .live { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding-right: 22px; color: var(--md-green); }
.md-counts .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--md-green); box-shadow: 0 0 0 3px rgba(79, 209, 165, .15); }

/* the product window */
.md-stage { position: relative; padding: 168px 0 40px 40px; animation: md-up 1s .2s var(--md-ease) both; }
.md-hero-mark { position: absolute; right: 10%; top: 0; width: 140px; height: auto; z-index: 2; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55)); animation: md-bob 7s ease-in-out infinite; }
@keyframes md-bob { 50% { transform: translateY(-8px); } }
.md-window { position: relative; z-index: 1; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #111a38, #0a1024); border: 1px solid var(--md-line-2);
  box-shadow: inset 0 1px 0 rgba(170, 195, 255, .08), 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 8px rgba(150, 175, 235, .025); }
.md-window-top { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--md-line); font: 500 12px var(--md-mono); color: var(--md-mute); }
.md-window-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--md-4); }
.md-window-top span { margin-left: 10px; color: var(--md-soft); }
.md-window-top em { margin-left: auto; font-style: normal; padding: 3px 8px; border-radius: 6px; color: var(--md-ice); background: rgba(79, 125, 255, .1); }
.md-window-body { padding: 20px; display: grid; gap: 16px; }
.md-alert { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: rgba(255, 107, 122, .06); border: 1px solid rgba(255, 107, 122, .2); }
.md-alert-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 107, 122, .12); }
.md-alert-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--md-red); stroke-width: 2; stroke-linejoin: round; }
.md-alert b { display: block; font-weight: 600; letter-spacing: -.02em; }
.md-alert small { color: var(--md-soft); font-size: 13px; }
.md-tag { margin-left: auto; padding: 4px 9px; border-radius: 6px; font: 500 11px var(--md-mono); text-transform: uppercase; color: var(--md-green); background: rgba(79, 209, 165, .1); border: 1px solid rgba(79, 209, 165, .25); }
.md-log { list-style: none; margin: 0; padding: 0; border: 1px solid var(--md-line); border-radius: 12px; overflow: hidden; }
.md-log li { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; font-size: 13.5px; animation: md-row .6s calc(.6s + var(--d) * .35s) var(--md-ease) both; }
.md-log li + li { border-top: 1px solid var(--md-line); }
@keyframes md-row { from { opacity: 0; transform: translateX(-8px); } }
.md-log time { font: 500 12px var(--md-mono); color: var(--md-mute); }
.md-log em { font: 500 11px var(--md-mono); font-style: normal; text-transform: uppercase; color: var(--md-green); }
.md-log em.red { color: var(--md-red); }
.md-guards { display: flex; flex-wrap: wrap; gap: 6px; }
.md-guards span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 8px; font-size: 12.5px; color: var(--md-soft); background: rgba(150, 175, 235, .04); border: 1px solid var(--md-line); }
.md-guards span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--md-green); }
.md-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 13px;
  background: rgba(14, 22, 47, .82); border: 1px solid var(--md-line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9); }
.md-float b { display: block; font-weight: 600; letter-spacing: -.02em; }
.md-float small { color: var(--md-mute); font-size: 12px; }
.md-float { z-index: 2; }
.md-float.f1 { left: 0; top: 100px; animation: md-up .8s 1.6s var(--md-ease) both, md-bob 8s 2.4s ease-in-out infinite; }
.md-float.f2 { left: 0; bottom: 0; animation: md-up .8s 1.9s var(--md-ease) both, md-bob 9s 2.8s ease-in-out infinite; }
.md-eq { display: flex; align-items: end; gap: 2px; height: 22px; }
.md-eq i { width: 3px; border-radius: 2px; background: var(--md-ice); animation: md-eq 1.1s ease-in-out infinite; }
.md-eq i:nth-child(1) { height: 40%; } .md-eq i:nth-child(2) { height: 90%; animation-delay: -.3s; } .md-eq i:nth-child(3) { height: 60%; animation-delay: -.6s; }
.md-eq i:nth-child(4) { height: 100%; animation-delay: -.2s; } .md-eq i:nth-child(5) { height: 50%; animation-delay: -.8s; }
@keyframes md-eq { 50% { transform: scaleY(.35); } }
.md-eq i { transform-origin: bottom; }

/* ---------------------------------------------------------------- sections */
.md-sec { max-width: 1240px; margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gut); }
.md-sec h2, .md-end h2 { margin: 0 0 18px; font-size: clamp(32px, 4.2vw, 52px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.md-head { margin-bottom: 48px; }
.md-center { text-align: center; display: grid; justify-items: center; }
.md-center .md-p { margin-inline: auto; }

/* security: copy on the left, a live incident card on the right (what antinuke does, as it happens) */
.md-security { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; border-top: 1px solid var(--md-line); }
.md-incident { position: relative; border-radius: 18px; background: linear-gradient(180deg, var(--md-1), var(--md-0)); border: 1px solid var(--md-line-2);
  box-shadow: 0 30px 80px -40px rgba(79, 125, 255, .45), inset 0 1px 0 rgba(170, 195, 255, .06); overflow: hidden; }
.md-inc-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--md-line); font-size: 14px; }
.md-inc-bar b { font-weight: 600; letter-spacing: -.01em; }
.md-inc-live { width: 8px; height: 8px; border-radius: 50%; background: var(--md-red); box-shadow: 0 0 0 0 rgba(255, 107, 122, .6); animation: md-live 1.8s infinite; }
.md-inc-ch { margin-left: auto; font: 500 12px var(--md-mono); color: var(--md-mute); }
@keyframes md-live { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 122, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 107, 122, 0); } }
.md-evs { list-style: none; margin: 0; padding: 10px; display: grid; gap: 6px; }
.md-ev { --c: var(--md-blue); display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px; border-radius: 12px;
  background: color-mix(in srgb, var(--c) 5%, transparent); border: 1px solid color-mix(in srgb, var(--c) 14%, transparent); }
.md-ev.ev-red { --c: var(--md-red); } .md-ev.ev-green { --c: var(--md-green); }
.md-ev-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--c) 14%, transparent); }
.md-ev-ico svg { width: 19px; height: 19px; fill: var(--c); }
.md-ev-top { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; }
.md-ev-top b { font: 600 11px/1 var(--md-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.md-ev-top time { margin-left: auto; font: 500 12px var(--md-mono); color: var(--md-mute); }
.md-ev h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.md-ev p:last-child { margin: 0; color: var(--md-soft); font-size: 14px; line-height: 1.5; }
.md-inc-end { display: flex; align-items: center; gap: 10px; padding: 14px 18px 16px; border-top: 1px solid var(--md-line); font-size: 14px; }
.md-inc-end b { color: var(--md-green); font-weight: 600; } .md-inc-end span:last-child { color: var(--md-mute); }
.md-inc-track { flex: 1; height: 4px; border-radius: 4px; background: var(--md-3); overflow: hidden; order: 3; max-width: 120px; margin-left: auto; }
.md-inc-track i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--md-red), var(--md-blue), var(--md-green)); transform-origin: left; transform: scaleX(0); }
/* the events land one after another when the card scrolls in */
.md-incident .md-ev { opacity: 0; transform: translateX(14px); transition: opacity .5s var(--md-ease), transform .5s var(--md-ease); }
.md-incident.in .md-ev { opacity: 1; transform: none; }
.md-incident.in .md-ev:nth-child(2) { transition-delay: .35s; } .md-incident.in .md-ev:nth-child(3) { transition-delay: .7s; }
.md-incident.in .md-inc-track i { transform: scaleX(1); transition: transform 1.1s var(--md-ease) .15s; }
@media (prefers-reduced-motion: reduce) { .md-incident .md-ev, .md-inc-track i { opacity: 1; transform: none; transition: none; } .md-inc-live { animation: none; } }
@media (max-width: 480px) { .md-ev { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 12px; } .md-ev-ico { width: 32px; height: 32px; } .md-inc-track { display: none; } }

/* features: a mosaic, not a grid of equal cards */
.md-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--md-line); border: 1px solid var(--md-line); border-radius: 18px; overflow: hidden; }
.md-tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; background: var(--md-0); transition: background .3s; }
.md-tile:hover { background: #08102a; }
.md-tile h3 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.md-tile p { margin: 0; color: var(--md-soft); font-size: 14.5px; }
.md-tile .md-cmds { margin-top: auto; padding-top: 16px; }
.md-tile.t-wide { grid-column: span 3; flex-direction: row; gap: 32px; align-items: stretch; }
.md-tile.t-wide .md-tile-txt { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.md-tile.t-tall { grid-row: span 2; }
.md-mini { border-radius: 12px; border: 1px solid var(--md-line); background: var(--md-1); font-size: 13px; }
.md-mod { flex: 1; padding: 14px 16px; display: grid; gap: 2px; align-content: center; }
.md-mod p { margin: 0; color: var(--md-text); }
.md-mod p.dim { color: var(--md-mute); font-size: 12px; margin-bottom: 8px; }
.md-mod b { color: var(--md-ice); font-weight: 600; }
.md-ticket { margin-top: 14px; padding: 14px; display: grid; gap: 6px; }
.md-ticket b { font-weight: 600; margin-bottom: 4px; }
.md-ticket span { padding: 10px 12px; border-radius: 9px; background: rgba(150, 175, 235, .04); border: 1px solid var(--md-line); color: var(--md-soft); transition: border-color .2s, color .2s; }
.md-tile:hover .md-ticket span:first-of-type { border-color: rgba(107, 147, 255, .4); color: #fff; }
.md-bars { display: flex; align-items: end; gap: 4px; height: 46px; margin-top: 14px; padding: 10px 12px; }
.md-bars i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, var(--md-ice), var(--md-blue)); transform-origin: bottom; animation: md-eq 1.4s ease-in-out infinite; }
.md-bars i:nth-child(odd) { animation-duration: 1.1s; }
.md-bars i:nth-child(1) { height: 30%; } .md-bars i:nth-child(2) { height: 70%; animation-delay: -.4s; } .md-bars i:nth-child(3) { height: 100%; animation-delay: -.2s; }
.md-bars i:nth-child(4) { height: 60%; animation-delay: -.7s; } .md-bars i:nth-child(5) { height: 85%; animation-delay: -.1s; } .md-bars i:nth-child(6) { height: 45%; animation-delay: -.5s; }
.md-bars i:nth-child(7) { height: 75%; animation-delay: -.9s; } .md-bars i:nth-child(8) { height: 55%; animation-delay: -.3s; } .md-bars i:nth-child(9) { height: 35%; animation-delay: -.6s; }
.md-bars i:nth-child(10) { height: 20%; animation-delay: -.8s; }

/* your page: a phone-sized profile on the left, the claim on the right */
.md-page { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 100px); align-items: center; border-top: 1px solid var(--md-line); }
.md-device { justify-self: center; width: min(100%, 340px); padding: 12px; border-radius: 30px; background: linear-gradient(180deg, #121b3a, #0a1024); border: 1px solid var(--md-line-2);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(170, 195, 255, .08); }
.md-profile { position: relative; border-radius: 20px; overflow: hidden; padding: 0 20px 22px; text-align: center; background: #070c1e; }
.md-profile-banner { height: 104px; margin: 0 -20px; background: radial-gradient(120% 140% at 20% 0%, rgba(79, 125, 255, .55), transparent 60%), radial-gradient(100% 120% at 100% 20%, rgba(154, 140, 255, .4), transparent 60%), #0e1838; }
.md-profile .av { display: block; width: 76px; height: 76px; margin: -38px auto 10px; padding: 10px; border-radius: 50%; object-fit: contain; background: #0b1430; border: 3px solid #070c1e; box-shadow: 0 0 0 1px var(--md-line-2); }
.md-profile b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.md-profile small { display: block; color: var(--md-mute); font-size: 13px; margin-top: 2px; }
.md-badges { display: flex; justify-content: center; gap: 6px; margin: 12px 0 16px; }
.md-badges span { padding: 3px 8px; border-radius: 6px; font: 500 10.5px var(--md-mono); text-transform: uppercase; color: var(--md-gold); background: rgba(232, 193, 121, .08); border: 1px solid rgba(232, 193, 121, .25); }
.md-badges span + span { color: var(--md-ice); background: rgba(79, 125, 255, .08); border-color: rgba(107, 147, 255, .25); }
.md-plink { display: flex; justify-content: space-between; margin-top: 8px; padding: 12px 14px; border-radius: 11px; font-size: 14px; font-weight: 500; text-align: left; background: rgba(150, 175, 235, .05); border: 1px solid var(--md-line); }
.md-plink i { font-style: normal; color: var(--md-mute); }
.md-pviews { margin: 14px 0 0; font: 500 11px var(--md-mono); color: var(--md-mute); }
.md-claim { display: flex; align-items: center; gap: 4px; max-width: 480px; margin-top: 30px; padding: 6px 6px 6px 16px; border-radius: 12px; background: rgba(6, 10, 24, .8); border: 1px solid var(--md-line-2); transition: border-color .2s, box-shadow .2s; }
.md-claim:focus-within { border-color: var(--md-blue-2); box-shadow: 0 0 0 3px rgba(79, 125, 255, .2); }
.md-claim span { color: var(--md-mute); }
.md-claim input { flex: 1; min-width: 0; padding: 10px 2px; border: 0; background: none; box-shadow: none !important; font-weight: 500; }
.md-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; color: var(--md-soft); font-size: 14.5px; }
.md-ticks li { display: flex; align-items: center; gap: 10px; }
.md-ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; background: rgba(79, 209, 165, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%234fd1a5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* AI: the one violet section */
.md-ai-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 60px);
  border-radius: 22px; overflow: hidden; border: 1px solid rgba(154, 140, 255, .2); background: radial-gradient(70% 90% at 100% 0%, rgba(154, 140, 255, .16), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(79, 125, 255, .1), transparent 60%), var(--md-1); }
.md-ai-copy .btn { margin-top: 28px; }
.md-chat { display: grid; gap: 10px; font-size: 14px; }
.md-chat p { margin: 0; padding: 12px 14px; border-radius: 14px; max-width: 88%; }
.md-chat .me { justify-self: end; background: linear-gradient(180deg, #5b87ff, #3e6cf2); color: #fff; border-bottom-right-radius: 4px; }
.md-chat .bot { background: rgba(6, 10, 24, .8); border: 1px solid var(--md-line-2); color: var(--md-text); border-bottom-left-radius: 4px; }
.md-chat .bot b { display: block; margin-bottom: 4px; font: 500 11px var(--md-mono); text-transform: uppercase; color: var(--md-violet); }
.md-file { display: flex; justify-content: space-between; gap: 14px; padding: 9px 11px; border-radius: 9px; font: 500 12.5px var(--md-mono); background: rgba(154, 140, 255, .08); border: 1px solid rgba(154, 140, 255, .22); }
.md-file i { font-style: normal; color: var(--md-violet); }

/* pricing */
.md-pricing { border-top: 1px solid var(--md-line); }
.md-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.md-plan { position: relative; display: grid; gap: 10px; padding: 24px; border-radius: 14px; text-decoration: none; color: var(--md-text);
  background: var(--md-1); border: 1px solid var(--md-line-2); transition: border-color .2s, transform .25s var(--md-ease), box-shadow .25s; }
.md-plan:hover { border-color: rgba(107, 147, 255, .45); transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(79, 125, 255, .7); }
.md-plan span { display: flex; justify-content: space-between; gap: 8px; font: 500 12px var(--md-mono); text-transform: uppercase; letter-spacing: .03em; color: var(--md-mute); }
.md-plan em { font-style: normal; color: var(--md-gold); }
.md-plan b { font-size: 44px; font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.md-plan small { color: var(--md-soft); font-size: 13.5px; }
.md-best { border-color: rgba(232, 193, 121, .35); background: radial-gradient(120% 90% at 100% 0%, rgba(232, 193, 121, .09), transparent 60%), var(--md-1); }
.md-best:hover { border-color: rgba(232, 193, 121, .6); box-shadow: 0 20px 40px -24px rgba(232, 193, 121, .45); }
.md-table { border: 1px solid var(--md-line); border-radius: 14px; overflow: hidden; }
.md-tr { display: grid; grid-template-columns: minmax(0, 1fr) 140px 200px; gap: 16px; align-items: center; padding: 14px 20px; font-size: 14.5px; }
.md-tr + .md-tr { border-top: 1px solid var(--md-line); }
.md-tr span:not(:first-child) { color: var(--md-soft); }
.md-th { background: var(--md-1); font: 500 12px var(--md-mono); text-transform: uppercase; letter-spacing: .03em; }
.md-th span { color: var(--md-mute) !important; }
.md-th span:last-child { color: var(--md-gold) !important; }
.md-tr .y { color: var(--md-text) !important; display: flex; align-items: center; gap: 8px; }
.md-tr .y::before { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.8 6.2-6.4' fill='none' stroke='%236b93ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.md-tr .n { color: var(--md-mute) !important; }
.md-pay { margin: 22px 0 0; color: var(--md-mute); font-size: 14px; text-align: center; }

/* closing */
.md-end { position: relative; padding: clamp(90px, 12vw, 160px) 20px; text-align: center; overflow: hidden; border-top: 1px solid var(--md-line);
  background: radial-gradient(600px 300px at 50% 20%, rgba(79, 125, 255, .16), transparent 70%); }
.md-end-in { display: grid; justify-items: center; }
.md-end-mark { width: 110px; height: auto; margin-bottom: 18px; }
.md-end .md-p { margin: 0 auto 30px; }
.md-end .md-cta { justify-content: center; animation: none; }

/* footer */
.md-foot { border-top: 1px solid var(--md-line); background: rgba(6, 10, 24, .6); }
.md-foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; max-width: 1240px; margin: 0 auto; padding: 56px var(--gut) 40px; }
.md-foot-brand p { margin: 14px 0 0; color: var(--md-mute); font-size: 14px; max-width: 22em; }
.md-foot nav { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.md-foot nav b { font: 500 11.5px var(--md-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--md-mute); margin-bottom: 4px; }
.md-foot nav a { color: var(--md-soft); text-decoration: none; }
.md-foot nav a:hover { color: #fff; }
.md-legal { max-width: 1240px; margin: 0 auto; padding: 20px clamp(20px, 5vw, 64px) 32px; border-top: 1px solid var(--md-line); color: var(--md-mute); font-size: 13px; }

/* ---------------------------------------------------------------- tablet and phone */
@media (max-width: 1000px) {
  .md-hero { grid-template-columns: 1fr; }
  .md-stage { padding: 30px 0 30px 20px; }
  .md-hero-mark { width: 150px; }
  .md-security, .md-page, .md-ai-panel { grid-template-columns: 1fr; }
  .md-page .md-device { order: 2; }
  .md-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-tile.t-wide { grid-column: span 2; }
  .md-tile.t-tall { grid-row: auto; }
  .md-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-foot-in { grid-template-columns: 1fr 1fr; }
  .md-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .md-hero { padding-top: 36px; }
  .md-hero h1 br { display: none; }
  .md-cta .btn { flex: 1; justify-content: center; }
  .md-stage { padding: 24px 0 36px; }
  .md-stage { padding-top: 80px; }
  .md-hero-mark { right: auto; left: calc(50% - 50px); width: 100px; top: -40px; }
  .md-float.f1 { display: none; }
  .md-float.f2 { left: 10px; bottom: -6px; }
  .md-log li { grid-template-columns: 1fr auto; }
  .md-log time { display: none; }
  .md-mosaic { grid-template-columns: 1fr; }
  .md-tile.t-wide { grid-column: auto; flex-direction: column; gap: 16px; }
  .md-tr { grid-template-columns: minmax(0, 1fr) 54px 92px; padding: 12px 14px; font-size: 13.5px; gap: 10px; }
  .md-tr .y::before { display: none; }
  .md-plan b { font-size: 36px; }
  .md-plan { padding: 18px; }
  .md-plan span { flex-direction: column; }
  .md-claim span { font-size: 14px; }
}

.md-pro { margin-left: 6px; padding: 2px 6px; border-radius: 5px; font: 500 10px var(--md-mono); text-transform: uppercase; vertical-align: 2px; color: var(--md-gold); background: rgba(232, 193, 121, .08); border: 1px solid rgba(232, 193, 121, .25); }

/* ---------- FAQ: sticky heading left, hairline questions right ---------- */
.md-faq { }
.md-faq-in { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 64px; align-items: start; }
.md-faq-head { position: sticky; top: 110px; }
.md-faq-head h2 { margin: 10px 0 14px; }
.md-faq-head a { color: var(--md-ice, #a8c8ff); text-underline-offset: 3px; }
.md-qs { border-top: 1px solid rgba(150,175,235,.16); }
.md-qs details { border-bottom: 1px solid rgba(150,175,235,.16); }
.md-qs summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 2px; font-size: 17px; font-weight: 500; color: #eef2fb; transition: color .2s; }
.md-qs summary::-webkit-details-marker { display: none; }
.md-qs summary::after { content: ""; flex: none; width: 12px; height: 12px; background:
  linear-gradient(currentColor,currentColor) center/12px 1.5px no-repeat,
  linear-gradient(currentColor,currentColor) center/1.5px 12px no-repeat; color: #6f7a97; transition: transform .25s ease, color .2s; }
.md-qs summary:hover, .md-qs details[open] summary { color: #fff; }
.md-qs details[open] summary::after { transform: rotate(45deg); color: var(--md-blue, #4f7dff); }
.md-qs summary:focus-visible { outline: 2px solid var(--md-blue, #4f7dff); outline-offset: 2px; border-radius: 6px; }
.md-qs details > div { padding: 0 40px 24px 2px; color: #aab4cd; line-height: 1.65; font-size: 15.5px; }
.md-qs details[open] > div { animation: md-q-in .3s ease both; }
.md-qs p { margin: 0; }
.md-qs b { color: #eef2fb; font-weight: 600; }
.md-qs code { font-family: "Geist Mono", ui-monospace, monospace; font-size: .9em; padding: 2px 6px; border-radius: 5px; background: rgba(79,125,255,.12); color: #c9dbff; }
.md-qs a { color: var(--md-ice, #a8c8ff); }
@keyframes md-q-in { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 1000px) { .md-faq-in { grid-template-columns: 1fr; gap: 28px; } .md-faq-head { position: static; } }
@media (max-width: 640px) { .md-qs summary { font-size: 16px; padding: 18px 2px; } .md-qs details > div { padding-right: 8px; } }
