@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/fredoka/fredoka.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../assets/fonts/nunito-sans/nunito-sans.woff2") format("woff2");
}

:root {
  --mk-bg: #050914;
  --mk-surface: #0d1323;
  --mk-surface-2: #101a31;
  --mk-paper: #f5efe6;
  --mk-text: #f7f7f6;
  --mk-text-dim: rgba(247, 247, 246, 0.72);
  --mk-ink: #09101d;
  --mk-muted: #5e5c57;
  --mk-line: rgba(255, 255, 255, 0.11);
  --mk-accent: #5a6cff;
  --mk-accent-2: #ff5f9d;
  --mk-good: #39d98a;
  --mk-warning: #ffb64d;
  --mk-radius-xl: 34px;
  --mk-radius-lg: 24px;
  --mk-radius-md: 18px;
  --mk-radius-sm: 14px;
  --mk-font-display: "Fredoka", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --mk-font-body: "Nunito Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--mk-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 20% 12%, rgba(90, 108, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 78% 18%, rgba(255, 95, 157, 0.12), transparent 20rem),
    var(--mk-bg);
  color: var(--mk-text);
  font-family: var(--mk-font-body);
}

a,
button,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--mk-accent);
  outline-offset: 3px;
}

.mk-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 60;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--mk-paper);
  color: var(--mk-ink);
  font-family: var(--mk-font-display);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.mk-skip:focus {
  transform: translateY(0);
}

.mk-page {
  background: var(--mk-bg);
}

.mk-shell {
  width: 100%;
}

.mk-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 2.8vw, 2rem);
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.85), rgba(5, 9, 20, 0.58));
}

.mk-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mk-font-display);
  font-size: clamp(1.7rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mk-mark img {
  width: 1.7rem;
  height: 1.7rem;
}

.mk-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  color: rgba(247, 247, 246, 0.9);
  font-weight: 700;
}

.mk-nav a {
  position: relative;
  padding: 0.3rem 0;
}

.mk-nav a::after {
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.mk-nav a:hover::after,
.mk-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.mk-signin {
  justify-self: end;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(247, 247, 246, 0.12);
  color: var(--mk-text);
  font-family: var(--mk-font-display);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.mk-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 1.08fr);
  gap: clamp(1.2rem, 3.5vw, 3.5rem);
  align-items: stretch;
  width: min(100%, 1360px);
  min-height: clamp(34rem, 56svh, 48rem);
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1rem, 3vw, 2rem) 3rem;
}

.mk-hero-copy {
  position: relative;
  max-width: 42rem;
}

.mk-hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mk-hero h1 {
  font-family: var(--mk-font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.mk-hero p {
  max-width: 30rem;
  margin-top: 1.25rem;
  color: var(--mk-text-dim);
  font-size: clamp(1.1rem, 1.6vw, 1.34rem);
  line-height: 1.45;
}

.mk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 1.9rem;
}

.mk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-family: var(--mk-font-display);
  font-weight: 700;
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.mk-button:hover {
  transform: translateY(-1px);
}

.mk-button-primary {
  background: linear-gradient(135deg, #ffdcbf, #fff6dd);
  color: var(--mk-ink);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
}

.mk-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.mk-hero-note {
  max-width: 26rem;
  margin-top: 1.1rem;
  color: rgba(247, 247, 246, 0.62);
  font-size: 0.98rem;
}

.mk-hero-media {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: clamp(20rem, 34svh, 28rem);
  border-radius: 24px;
  background:
    radial-gradient(circle at 52% 50%, rgba(255, 255, 255, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(22, 26, 44, 0.2), rgba(10, 12, 22, 0.4)),
    #0d1427;
  box-shadow:
    0 2rem 4rem rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mk-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mk-starters {
  padding: 0.85rem 0 3.4rem;
  background: linear-gradient(180deg, rgba(6, 9, 20, 0.1), rgba(6, 9, 20, 0.92) 12%, #070b14 100%);
}

.mk-section-head {
  width: min(100%, 1320px);
  margin: 0 auto 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.mk-section-head h2,
.mk-create-copy h2,
.mk-gallery h2 {
  font-family: var(--mk-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.mk-section-head p {
  margin-top: 0.6rem;
  color: rgba(247, 247, 246, 0.68);
  font-size: 1.05rem;
}

.mk-starter-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.mk-starter-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  padding: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mk-text);
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.24);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  outline: none;
}

.mk-starter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1.2rem 2.8rem rgba(0, 0, 0, 0.3);
}

.mk-starter-card.is-active {
  box-shadow:
    0 1.4rem 3rem rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.mk-starter-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: #111827;
}

.mk-starter-card > div {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-height: 8.7rem;
  padding: 0.8rem 0.95rem 0.9rem;
}

.mk-starter-card strong {
  font-family: var(--mk-font-display);
  font-size: 1.15rem;
  line-height: 1.05;
}

.mk-starter-card span {
  color: rgba(247, 247, 246, 0.78);
  font-size: 0.98rem;
  line-height: 1.35;
}

.mk-starter-card small {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.2rem;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 247, 246, 0.94);
  font-size: 0.85rem;
  font-weight: 800;
}

.mk-create {
  position: relative;
  padding: 6rem 0 5rem;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0) 0%, rgba(7, 11, 20, 0.88) 18%, #f9f7f2 62%, #ffffff 100%);
}

.mk-create-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.mk-create-copy {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}

.mk-create-copy h2 {
  color: #101315;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.mk-create-copy p {
  margin: 0.9rem auto 0;
  max-width: 42rem;
  color: #4f4d49;
  font-size: 1.1rem;
  line-height: 1.45;
}

.mk-composer {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 6.8rem;
  margin: 2rem auto 0;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.86)) padding-box,
    linear-gradient(90deg, rgba(60, 121, 255, 0.9), rgba(255, 95, 157, 0.9)) border-box;
  border: 3px solid transparent;
  box-shadow:
    0 1.4rem 3rem rgba(32, 74, 192, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.64) inset,
    0 0 30px rgba(84, 115, 255, 0.28),
    0 0 28px rgba(255, 94, 160, 0.22);
}

.mk-composer textarea {
  width: 100%;
  min-height: 6.8rem;
  resize: none;
  padding: 1.35rem 4.2rem 1.35rem 4rem;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #151515;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.35;
}

.mk-composer textarea::placeholder {
  color: rgba(21, 21, 21, 0.4);
}

.mk-icon-button {
  position: absolute;
  bottom: 1.1rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #111;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.12), 0 0 20px rgba(255, 255, 255, 0.18);
  font-size: 1.55rem;
  font-weight: 700;
}

.mk-icon-button-left {
  left: 1rem;
}

.mk-icon-button-right {
  right: 1rem;
  background: #111;
  color: white;
}

.mk-create-note {
  margin-top: 1rem;
  color: #6a6660;
  text-align: center;
  font-size: 0.98rem;
}

.mk-gallery {
  padding: 0 0 4.2rem;
  background: #fff;
  color: #111418;
}

.mk-section-head--gallery {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.mk-section-head--gallery h2 {
  color: #111418;
}

.mk-section-head--gallery p {
  color: #5d5a56;
}

.mk-text-button {
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(17, 20, 24, 0.06);
  color: #111418;
  font-family: var(--mk-font-display);
  font-weight: 700;
}

.mk-gallery-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.mk-gallery-card {
  overflow: hidden;
  border-radius: 22px;
  background: #f7f7f5;
  box-shadow: 0 0.8rem 2rem rgba(17, 20, 24, 0.12);
}

.mk-gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  color: #111418;
  text-align: left;
}

.mk-gallery-open:hover small,
.mk-gallery-open:focus-visible small {
  transform: translateX(3px);
}

.mk-gallery-open img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.mk-gallery-open > div {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1rem 1.15rem;
}

.mk-gallery-open span {
  color: #7d4e00;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.mk-gallery-open strong {
  font-family: var(--mk-font-display);
  font-size: 1.25rem;
  line-height: 1.05;
}

.mk-gallery-open p {
  color: #58544f;
  font-size: 0.98rem;
  line-height: 1.4;
}

.mk-gallery-open small {
  margin-top: 0.25rem;
  color: #111418;
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 160ms ease;
}

.mk-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.2rem clamp(1rem, 3vw, 2rem) 2.5rem;
  background: #070b14;
  color: var(--mk-text);
}

.mk-footer > div {
  max-width: 18rem;
}

.mk-footer p {
  margin-top: 0.75rem;
  color: rgba(247, 247, 246, 0.76);
}

.mk-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(247, 247, 246, 0.82);
}

.mk-modal[hidden] {
  display: none !important;
}

.mk-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 8, 17, 0.72);
  backdrop-filter: blur(14px);
}

.mk-modal-card {
  position: relative;
  width: min(100%, 39rem);
  border-radius: 28px;
  background: linear-gradient(180deg, #0f1730, #081022);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.36);
  padding: 1.5rem;
}

.mk-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.4rem;
}

.mk-modal-copy {
  padding: 0.3rem 0.5rem 0;
}

.mk-modal-copy span {
  color: #8db4ff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mk-modal-copy h2 {
  margin-top: 0.35rem;
  font-family: var(--mk-font-display);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 0.98;
}

.mk-modal-copy p {
  margin-top: 0.7rem;
  color: rgba(247, 247, 246, 0.78);
  font-size: 1.02rem;
}

.mk-progress {
  margin-top: 1.3rem;
  padding: 0.5rem;
}

.mk-progress-bar {
  position: relative;
  height: 1.25rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.mk-progress-fill {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff5f9d, #ffd84f, #49d47d, #5a6cff, #ff5f9d);
  background-size: 280% 100%;
  animation: progress-shift 2.8s linear infinite;
}

.mk-progress-cat {
  position: absolute;
  top: -1.1rem;
  left: 66%;
  font-size: 1.3rem;
  transform: translateX(-50%);
}

.mk-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.mk-modal-button {
  min-height: 3rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-family: var(--mk-font-display);
  font-weight: 700;
}

.mk-modal-button.is-danger {
  background: rgba(255, 95, 157, 0.18);
  color: #ffd2e5;
}

.mk-modal-foot {
  margin-top: 0.95rem;
  color: rgba(247, 247, 246, 0.84);
  font-size: 0.96rem;
  font-weight: 700;
}

.mk-concept-modal[hidden] {
  display: none !important;
}

.mk-concept-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 8, 17, 0.76);
  backdrop-filter: blur(16px);
}

body.is-concept-open,
body.is-modal-open {
  overflow: hidden;
}

.mk-concept-sheet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(20rem, 0.82fr) minmax(34rem, 1.18fr);
  width: min(72rem, calc(100vw - 2rem));
  height: min(46rem, calc(100dvh - 2rem));
  overflow: hidden;
  border-radius: 28px;
  background: #fffdf9;
  color: #111418;
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.42);
}

.mk-concept-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.92);
  color: #111418;
  box-shadow: 0 0 0 1px rgba(17, 20, 24, 0.1), 0 0.5rem 1.5rem rgba(17, 20, 24, 0.1);
  font-family: var(--mk-font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.mk-concept-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #e8e0d4;
}

.mk-concept-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(5, 8, 17, 0.74));
  content: "";
  pointer-events: none;
}

.mk-concept-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mk-concept-visual-label {
  position: absolute;
  z-index: 1;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.4rem;
  display: grid;
  gap: 0.3rem;
  color: white;
}

.mk-concept-visual-label span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.mk-concept-visual-label strong {
  font-family: var(--mk-font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
}

.mk-concept-content {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fffdf9;
}

.mk-concept-header {
  padding: 1.7rem 4.6rem 1rem 1.8rem;
}

.mk-concept-kicker {
  color: #c93648;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mk-concept-header h2 {
  margin-top: 0.3rem;
  font-family: var(--mk-font-display);
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.mk-concept-header > p {
  max-width: 39rem;
  margin-top: 0.65rem;
  color: #55534f;
  font-size: 1rem;
  line-height: 1.45;
}

.mk-concept-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.mk-concept-meta span {
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: #f2eee7;
  color: #4a4742;
  font-size: 0.78rem;
  font-weight: 800;
}

.mk-concept-parts {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 0.7rem 1.8rem 0;
  border-top: 1px solid #ebe5dc;
}

.mk-concept-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
}

.mk-concept-section-head h3 {
  font-family: var(--mk-font-display);
  font-size: 1.35rem;
}

.mk-concept-section-head p {
  margin-top: 0.2rem;
  color: #6c6861;
  font-size: 0.82rem;
}

.mk-price-state {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  flex: 0 0 auto;
  color: #64615c;
  font-size: 0.78rem;
  font-weight: 800;
}

.mk-price-pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #ffb64d;
  box-shadow: 0 0 0 0 rgba(255, 182, 77, 0.45);
  animation: price-pulse 1.4s ease-out infinite;
}

.mk-price-state[data-status="ready"] .mk-price-pulse {
  background: #21a567;
  animation: none;
}

.mk-price-state[data-status="partial"] .mk-price-pulse,
.mk-price-state[data-status="fallback"] .mk-price-pulse {
  background: #8e8981;
  animation: none;
}

.mk-part-list {
  min-height: 0;
  display: grid;
  gap: 0.55rem;
  overflow-y: auto;
  padding: 0 0.2rem 0.7rem 0;
  scrollbar-width: thin;
}

.mk-part-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(10rem, auto);
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #e9e3da;
  border-radius: 16px;
  background: #faf8f4;
}

.mk-part-number {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 12px;
  background: #111827;
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
}

.mk-part-copy {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.mk-part-copy strong {
  font-family: var(--mk-font-display);
  font-size: 1.02rem;
}

.mk-part-copy > span {
  overflow: hidden;
  color: #57534e;
  font-size: 0.77rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-part-copy p {
  margin-top: 0.2rem;
  color: #716d66;
  font-size: 0.78rem;
  line-height: 1.3;
}

.mk-part-shop {
  min-width: 0;
  display: grid;
  justify-items: end;
  gap: 0.12rem;
  text-align: right;
}

.mk-part-shop > strong {
  font-family: var(--mk-font-display);
  font-size: 0.96rem;
}

.mk-part-shop > span {
  color: #68635c;
  font-size: 0.7rem;
}

.mk-part-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.mk-part-links a {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.3rem 0.52rem;
  border-radius: 999px;
  background: white;
  color: #111418;
  box-shadow: inset 0 0 0 1px #dcd6cc;
  font-size: 0.72rem;
  font-weight: 900;
}

.mk-part-links a[data-marketplace="amazon"]:hover {
  background: #fff3d8;
}

.mk-part-links a[data-marketplace="aliexpress"]:hover {
  background: #ffe8e4;
}

.mk-concept-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.8rem 1.2rem;
  border-top: 1px solid #e9e3da;
  background: rgba(255, 253, 249, 0.96);
}

.mk-concept-estimate {
  min-width: 0;
  display: grid;
  gap: 0.05rem;
}

.mk-concept-estimate > span {
  color: #6c6861;
  font-size: 0.72rem;
  font-weight: 800;
}

.mk-concept-estimate strong {
  overflow: hidden;
  max-width: 21rem;
  font-family: var(--mk-font-display);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-concept-estimate small {
  color: #77726b;
  font-size: 0.68rem;
}

.mk-concept-primary {
  flex: 0 0 auto;
  min-height: 3.15rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: #111418;
  color: white;
  font-family: var(--mk-font-display);
  font-weight: 700;
  box-shadow: 0 0.8rem 1.7rem rgba(17, 20, 24, 0.22);
}

@keyframes price-pulse {
  70% {
    box-shadow: 0 0 0 0.45rem rgba(255, 182, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 182, 77, 0);
  }
}

.mk-build-stage {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.is-active-build .mk-build-stage {
  opacity: 1;
  transform: translateY(0);
}

@keyframes progress-shift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 280% 50%;
  }
}

@media (max-width: 980px) {
  .mk-topbar {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
  }

  .mk-nav {
    gap: 1rem;
    justify-content: center;
    font-size: 0.96rem;
  }

  .mk-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.25rem;
    padding-bottom: 2rem;
  }

  .mk-hero-media {
    min-height: 20rem;
    order: -1;
  }

  .mk-starter-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-gallery-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-concept-sheet {
    grid-template-columns: minmax(16rem, 0.72fr) minmax(29rem, 1.28fr);
  }

  .mk-concept-header,
  .mk-concept-parts {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .mk-concept-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 680px) {
  .mk-topbar {
    grid-template-columns: 1fr auto;
    row-gap: 0.75rem;
  }

  .mk-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .mk-signin {
    min-width: 5.6rem;
  }

  .mk-hero {
    padding-top: 1rem;
  }

  .mk-hero h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

  .mk-starters {
    padding-top: 0.4rem;
  }

  .mk-starter-rail,
  .mk-gallery-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78vw, 78vw);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .mk-starter-rail::-webkit-scrollbar,
  .mk-gallery-rail::-webkit-scrollbar {
    display: none;
  }

  .mk-starter-card,
  .mk-gallery-card {
    scroll-snap-align: start;
  }

  .mk-section-head--gallery {
    flex-direction: column;
    align-items: start;
  }

  .mk-create {
    padding: 4.5rem 0 4rem;
  }

  .mk-composer {
    min-height: 5.9rem;
  }

  .mk-composer textarea {
    min-height: 5.9rem;
    padding: 1rem 3.6rem 1rem 3.7rem;
  }

  .mk-icon-button {
    bottom: 0.9rem;
    width: 2.7rem;
    height: 2.7rem;
  }

  .mk-modal-card {
    border-radius: 24px;
    padding: 1.25rem;
  }

  .mk-concept-modal {
    place-items: end center;
    padding: 0;
  }

  .mk-concept-sheet {
    grid-template-columns: 1fr;
    grid-template-rows: 28dvh minmax(0, 1fr);
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  .mk-concept-close {
    position: fixed;
    top: max(0.8rem, env(safe-area-inset-top));
    right: 0.8rem;
  }

  .mk-concept-visual-label {
    left: 1rem;
    right: 4.5rem;
    bottom: 1rem;
  }

  .mk-concept-content {
    overflow-y: auto;
    grid-template-rows: auto auto auto;
  }

  .mk-concept-header {
    padding: 1.15rem 1rem 0.85rem;
  }

  .mk-concept-header h2 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .mk-concept-header > p {
    font-size: 0.92rem;
  }

  .mk-concept-parts {
    display: block;
    padding: 0.8rem 1rem 0;
  }

  .mk-concept-section-head {
    align-items: start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .mk-part-list {
    overflow: visible;
  }

  .mk-part-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .mk-part-shop {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .mk-part-links {
    justify-content: start;
  }

  .mk-part-copy > span {
    white-space: normal;
  }

  .mk-concept-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    align-items: end;
    padding: 0.8rem 1rem max(0.9rem, env(safe-area-inset-bottom));
    box-shadow: 0 -1rem 2rem rgba(255, 253, 249, 0.94);
  }

  .mk-concept-estimate small {
    display: none;
  }

  .mk-concept-estimate {
    max-width: calc(100vw - 11.4rem);
  }

  .mk-concept-estimate strong {
    max-width: 100%;
    font-size: 0.84rem;
    line-height: 1.05;
    white-space: normal;
  }

  .mk-concept-primary {
    min-height: 3rem;
    padding: 0 0.9rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
