/* Landing and pricing (style of shortsaistudioa.com: light display type, two-tone headings, cobalt glow).
   Tokens only; loaded after tokens.css, components.css, site.css. */

.mk { --mk-w: 1240px; }
.mk-container { width: min(100%, var(--mk-w)); margin-inline: auto; padding-inline: 20px; }
.mk-section { padding-block: clamp(56px, 7vw, 96px); position: relative; }
.mk section[id] { scroll-margin-top: 72px; }
@media (min-width: 768px) {
  .mk-container { padding-inline: 32px; }
}

/* ---------- type ---------- */
.t-display { font: 300 clamp(36px, 4.8vw, 68px)/1.04 var(--display); letter-spacing: -0.04em; text-wrap: balance; margin: 0 auto; max-width: 18ch; }
.t-h2 { font: 300 clamp(32px, 4.2vw, 60px)/1.05 var(--display); letter-spacing: -0.035em; text-wrap: balance; margin: 0; }
.t-h2-sm { font: 300 clamp(30px, 3.6vw, 48px)/1.06 var(--display); letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
.t-lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); margin: 0; }
.t-numeral { font: 200 clamp(64px, 7vw, 88px)/1 var(--display); letter-spacing: -0.04em; color: color-mix(in srgb, var(--accent) 55%, var(--surface3)); }
.t-num { font: 300 clamp(48px, 6vw, 80px)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.dim { color: var(--muted); }
.kicker { margin-bottom: var(--s5); font-size: 13px; letter-spacing: .02em; color: var(--soft); }

/* ---------- glow: soft cobalt light behind a block, never on text ---------- */
.glow-hero, .glow-side, .glow-bottom { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.glow-hero { background:
  radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 72%),
  radial-gradient(40% 35% at 85% 70%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 75%); }
.glow-side { background: radial-gradient(45% 55% at 0% 50%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 75%); }
.glow-bottom { background: radial-gradient(55% 55% at 50% 100%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 72%); }
.mk-section > .mk-container, .mk-hero > .mk-container { position: relative; z-index: 1; }

/* ---------- header ---------- */
.mk-top { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid transparent; transition: background var(--dur), border-color var(--dur); }
.mk-top.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom-color: var(--border); }
.mk-top .mk-container { display: flex; align-items: center; gap: var(--s5); height: 64px; }
.mk-top .logo { border-right: 0; padding-right: 0; }
.mk-nav { display: flex; gap: var(--s1); margin-right: auto; }
.mk-nav a { padding: var(--s2) var(--s3); border-radius: var(--r-sm); color: var(--muted); font-size: var(--fs-sm); text-decoration: none; }
.mk-nav a:hover { color: var(--text); background: var(--hover); text-decoration: none; }
.mk-actions { display: flex; align-items: center; gap: var(--s2); }
.mk-actions a { text-decoration: none; }
/* mobile menu: the button and panel are injected by js/site/landing.js (shared by /, /pricing, /terms, /privacy) */
.mk-burger { display: none; width: 44px; height: 44px; margin-right: -10px; flex: none; }
.mk-menu { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 2px; padding: var(--s2) 20px var(--s4);
  background: var(--panel); border-bottom: 1px solid var(--border-strong); box-shadow: var(--shadow-2); }
.mk-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--s3); border-radius: var(--r-sm); color: var(--text); font-size: var(--fs-lg); text-decoration: none; }
.mk-menu a:hover { background: var(--hover); }
.mk-menu .btn { justify-content: center; margin-top: var(--s2); height: 48px; }
.mk-menu .menu-sep { height: 1px; margin: var(--s2) 0; background: var(--border); }
@media (max-width: 860px) {
  .mk-nav { display: none; }
  .mk-top .mk-container { gap: var(--s2); }
  .mk-actions { margin-left: auto; }
  .mk-burger { display: inline-flex; }
}
@media (max-width: 520px) { .mk-actions .btn-ghost { display: none; } .mk-top .wordmark { font-size: 15px; } }
@media (min-width: 861px) { .mk-menu { display: none; } }

/* ---------- hero ---------- */
.mk-hero { position: relative; overflow: hidden; display: flex; align-items: center; padding: clamp(32px, 5vw, 56px) 0 clamp(32px, 4vw, 48px); text-align: center; }
.mk-hero .t-lead { max-width: 600px; margin: var(--s5) auto 0; }
.mk-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-top: var(--s6); }
.mk-cta-row .btn { height: 48px; padding: 0 var(--s5); font-size: var(--fs-md); border-radius: var(--r-md); text-decoration: none; }
.mk-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s6); margin: var(--s5) 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--soft); }
.mk-facts li { display: flex; align-items: center; gap: var(--s2); }
.mk-facts .icon { color: var(--long); width: 14px; height: 14px; }

/* ---------- product picture ---------- */
.mk-hero + .mk-container { padding-bottom: 0; }
.mk-shot { position: relative; max-width: 1120px; margin: 0 auto; border: 1px solid var(--border-strong); border-radius: 18px; overflow: hidden; background: var(--panel);
  box-shadow: 0 40px 120px -20px color-mix(in srgb, var(--accent) 22%, transparent), var(--shadow-2); }
.mk-shot-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 var(--s3); border-bottom: 1px solid var(--border); background: var(--panel2); }
.mk-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mk-shot-bar span { margin-left: var(--s3); font: 500 var(--fs-2xs) var(--mono); color: var(--soft); }
.mk-shot img { display: block; width: 100%; height: auto; }

/* ---------- before / after ---------- */
.cmp-grid { display: grid; gap: var(--s4); margin-top: var(--s7); }
@media (min-width: 860px) { .cmp-grid { grid-template-columns: 1fr 1fr; } }
.cmp { padding: var(--s6); border: 1px solid var(--border); border-radius: 18px; background: var(--panel); }
.cmp.after { border-color: var(--border-strong); }
.cmp .t-label { margin-bottom: var(--s4); font-size: 12px; color: var(--soft); }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.cmp li { display: flex; gap: var(--s3); align-items: flex-start; padding: 10px 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.cmp.after li { color: var(--text); }
.cmp li .icon { margin-top: 3px; }
.cmp.after li .icon { color: var(--accent); }

/* ---------- steps ---------- */
.steps { display: grid; gap: var(--s6); margin-top: var(--s7); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.step { display: grid; gap: var(--s3); align-content: start; }
.step h3 { margin: var(--s2) 0 0; font: 500 var(--fs-xl)/1.3 var(--sans); letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; }

/* ---------- features ---------- */
.feat-grid { display: grid; gap: var(--s3); margin-top: var(--s7); grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); }
.feat { display: grid; gap: var(--s3); align-content: start; padding: var(--s6); border: 1px solid var(--border); border-radius: 18px; background: var(--panel); transition: border-color var(--dur), transform var(--dur) var(--ease); }
.feat:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feat .feat-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.feat .feat-ico .icon { width: 20px; height: 20px; }
.feat h3 { margin: var(--s2) 0 0; font: 600 var(--fs-lg)/1.3 var(--sans); }
.feat p { margin: 0; color: var(--muted); line-height: 1.55; font-size: var(--fs-sm); }

/* ---------- numbers ---------- */
.stats { display: grid; gap: var(--s6) var(--s4); grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats .t-label { margin-top: var(--s3); color: var(--muted); font-size: var(--fs-sm); }

/* ---------- phone ---------- */
.phone-split { display: grid; gap: var(--s8); align-items: center; }
@media (min-width: 860px) { .phone-split { grid-template-columns: 1.1fr .9fr; } }
.phone { justify-self: center; width: min(300px, 78vw); border: 1px solid var(--border-strong); border-radius: 36px; padding: 10px; background: var(--panel2);
  box-shadow: 0 30px 90px -20px color-mix(in srgb, var(--accent) 25%, transparent); }
.phone img { display: block; width: 100%; height: auto; border-radius: 28px; }
.ticks { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: var(--s3); }
.ticks li { display: flex; gap: var(--s3); color: var(--muted); line-height: 1.5; }
.ticks li .icon { color: var(--long); margin-top: 3px; }

/* ---------- pricing ---------- */
.mk-pricing-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s5); }
.mk .plan-grid { margin-top: var(--s7); }
.mk .plan { padding: var(--s6) var(--s5); border-radius: 18px; }
.mk .plan .btn { text-decoration: none; }
.mk .plan.is-popular { box-shadow: 0 0 0 1px var(--accent), 0 24px 60px -24px color-mix(in srgb, var(--accent) 40%, transparent); }
.mk-note { margin-top: var(--s5); color: var(--soft); font-size: var(--fs-xs); line-height: 1.6; }
.cmp-table { margin-top: var(--s7); }
.cmp-table td:not(:first-child), .cmp-table th:not(:first-child) { text-align: center; }
.cmp-table td .icon { color: var(--long); }
.cmp-table td.no { color: var(--soft); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s7); }
@media (min-width: 860px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s5) 0; cursor: pointer; list-style: none; font-size: var(--fs-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform var(--dur) var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 var(--s5); color: var(--muted); line-height: 1.65; max-width: 680px; }

/* ---------- final CTA + footer ---------- */
.mk-final { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0 clamp(80px, 10vw, 128px); text-align: center; }
.mk-foot { border-top: 1px solid var(--border); padding-top: var(--s7); }
.foot-cols { display: grid; gap: var(--s6); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .foot-cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-cols h4 { margin: 0 0 var(--s3); font-size: var(--fs-xs); font-weight: 500; color: var(--soft); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.foot-about .logo { border: 0; padding: 0; }
.foot-cols a { color: var(--muted); text-decoration: none; font-size: var(--fs-sm); }
.foot-cols a:hover { color: var(--text); }
.foot-about p { margin: var(--s3) 0 0; color: var(--soft); font-size: var(--fs-xs); line-height: 1.6; max-width: 340px; }
.t-wordmark { margin-top: var(--s8); font: 300 clamp(56px, 15vw, 220px)/0.9 var(--display); letter-spacing: -0.05em; color: var(--surface3);
  white-space: nowrap; user-select: none; overflow: hidden; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); padding: var(--s5) 0 var(--s6); color: var(--soft); font-size: var(--fs-xs); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: var(--s7) 0 var(--s8); }
.legal h1 { margin: 0 0 var(--s3); }
.legal .t-label { color: var(--soft); font-size: var(--fs-xs); }
.legal h2 { margin: var(--s7) 0 var(--s3); font: 600 var(--fs-xl)/1.3 var(--sans); }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal ul { padding-left: 1.2em; }
.legal strong { color: var(--text); font-weight: 600; }

/* ---------- reveal on scroll (off for reduced motion) ---------- */
.reveal { opacity: 1; } /* content is visible at once: no fade-in on scroll (design-taste rule; faded sections looked empty) */

/* «скоро» marks a plan feature that is sold but not built yet */
.plan li .badge.soon, .badge.soon { margin-left: auto; background: var(--surface3); color: var(--muted); font-size: var(--fs-2xs); flex: none; }

/* ---------- touch targets: at least 44x44 on phones and tablets ---------- */
@media (max-width: 768px), (pointer: coarse) {
  .mk .btn { min-height: 44px; }
  .mk-top .logo { min-height: 44px; display: inline-flex; align-items: center; }
  .mk .seg { padding: 0; }
  .mk .seg > button { min-height: 44px; padding: 0 var(--s4); }
  .foot-cols ul { gap: 0; }
  .foot-cols a, .foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .foot-about .logo { min-height: 44px; }
  .faq summary { min-height: 44px; }
}
