/* A small, tactile publication. The artwork stays on the cover. */
.mg-ready { scrollbar-gutter: stable; }
html.mg-ready:has(.mg-dialog[open]), body:has(.mg-dialog[open]) { overflow: hidden; overscroll-behavior: none; }
.mg-book::before {
  inset: 5px -8px -10px 8px;
  background: repeating-linear-gradient(0deg, #cec8b5 0 1px, #f4edda 1px 3px);
  border: 1px solid #777666;
  transform: translateZ(-3px);
}
.mg-book::after {
  inset: 11px -12px -14px 12px;
  background: #d8b93d;
  border: 2px solid var(--ink);
  box-shadow: 6px 10px 0 #131b583b, 13px 24px 23px #0c143455;
}
.mg-book .hero-art { position: relative; }
.mg-book .hero-art::before {
  content: '';
  position: absolute;
  inset: 3px auto 3px 3px;
  width: 17px;
  z-index: 4;
  background: linear-gradient(90deg, #15191466, #fff8de32 38%, #15191433 60%, transparent);
  border-right: 1px solid #20231f25;
  pointer-events: none;
}
.mg-book .hero-art::after {
  content: '';
  position: absolute;
  inset: 3px;
  z-index: 3;
  background: linear-gradient(118deg, transparent 15%, #fff9e731 36%, transparent 53%);
  pointer-events: none;
}
.mg-book .hero-art { border-radius: 2px 5px 10px 2px; overflow: hidden; }
.mg-paper-stack {
  position: absolute;
  inset: 7px -6px -8px 10px;
  z-index: -1;
  border: 1px solid #8a826e;
  border-radius: 1px 4px 6px 1px;
  background: repeating-linear-gradient(0deg, #f8f0dc 0 2px, #b7af97 2px 3px);
  transform: translateZ(-2px);
}
.mg-spine {
  position: absolute;
  top: 1px;
  bottom: -3px;
  left: -5px;
  width: 12px;
  z-index: 4;
  border: 1px solid #20231f;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, #202d69, #5366ac 36%, #1d265a);
  box-shadow: 2px 0 4px #15172540;
  transform: translateZ(2px);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  writing-mode: vertical-rl;
  color: #e6e9fc;
  font-size: 6px;
  font-weight: 650;
  letter-spacing: 1.1px;
  white-space: nowrap;
}
.mg-corner {
  position: absolute;
  width: 31px;
  height: 31px;
  bottom: 3px;
  right: 3px;
  z-index: 5;
  background: linear-gradient(135deg, #ded4ba 40%, #fff8e6 49%, #aea58d 52%, #c5beab 55%, transparent 56%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  color: transparent;
  transition: width .2s, height .2s;
}
.mg-cover-open {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: none;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}
.mg-ready .mg-cover-open { display: block; }
.mg-cover-open:hover .mg-corner { width: 38px; height: 38px; }
.mg-cover-open:focus-visible { outline: 3px solid var(--yellow); outline-offset: 8px; }
.mg-launch-row {
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.mg-cover-note { display: flex; flex-direction: column; gap: 4px; max-width: 148px; transform: rotate(-4deg); }
.mg-cover-note small { font-size: 9px; line-height: 1.4; letter-spacing: 1px; color: #67705e; text-transform: uppercase; }
.mg-cover-note strong { font-size: 13px; line-height: 1.35; font-weight: 550; }
.mg-launch, .mg-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 13px 17px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  transform: rotate(2deg);
  transition: transform .2s, box-shadow .2s;
}
.mg-launch { display: none; }
.mg-ready .mg-launch { display: inline-flex; }
.mg-ready .mg-fallback { display: none; }
.mg-launch:hover, .mg-fallback:hover { transform: translateY(-3px); box-shadow: 5px 7px 0 var(--ink); }
.mg-launch:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.mg-launch svg, .mg-fallback svg { width: 20px; height: 20px; }
.mg-launch[hidden], .mg-cover-open[hidden] { display: none !important; }

.mg-dialog {
  --mg-paper: #faf5e9;
  --mg-ink: #20231f;
  --mg-muted: #5c6055;
  --mg-blue: #3354d9;
  width: min(1050px, 92vw);
  height: min(850px, 92dvh);
  max-width: none;
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  border: 2px solid var(--mg-ink);
  border-radius: 6px;
  color: var(--mg-ink);
  background: #e7e0cb;
  box-shadow: 0 32px 100px #090e32a6, 0 0 0 1px #fff8e533;
  overflow: hidden;
  font-family: Outfit, system-ui, sans-serif;
  touch-action: pan-y;
}
.mg-dialog::backdrop {
  background: radial-gradient(ellipse at 50% 35%, #29449bbd, #101726e8 85%);
  backdrop-filter: blur(9px);
}
.mg-dialog[open] { display: flex; flex-direction: column; }
.mg-reader { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; max-height: 100%; }
.mg-dialog[open] .mg-reader { animation: mg-unfold .38s cubic-bezier(.16, 1, .3, 1) both; transform-origin: 50% 75%; }
@keyframes mg-unfold {
  from { transform: perspective(1400px) translateY(12px) rotateX(5deg) scale(.97); opacity: .65; }
  to { transform: perspective(1400px) translateY(0) rotateX(0) scale(1); opacity: 1; }
}
.mg-header, .mg-footer {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  background: #f8f3e7;
}
.mg-header { border-bottom: 1px solid #adae9a; }
.mg-header h2, .mg-brand { font-size: 19px; line-height: 1.1; font-weight: 750; letter-spacing: -.6px; }
.mg-reader-brand { font-size: 24px; line-height: .98; font-weight: 750; letter-spacing: -1.1px; }
.mg-reader-brand > span { color: var(--mg-blue); margin-left: 5px; }
.mg-header p, .mg-issue { color: #676b5f; font-size: 10px; line-height: 1.5; letter-spacing: 1.25px; text-transform: uppercase; }
.mg-issue { display: block; margin-top: 4px; }
.mg-header p { margin-top: 4px; }
.mg-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #777e6e;
  border-radius: 2px;
  color: var(--mg-ink);
  background: transparent;
  font-size: 12px;
  font-weight: 550;
  transition: background .18s, border-color .18s;
}
.mg-close svg { width: 17px; height: 17px; }
.mg-close:hover { background: #e8e5d6; border-color: var(--mg-ink); }
.mg-viewport {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 25px 29px 30px;
  overscroll-behavior: contain;
  scrollbar-color: #878f7b #dce0d2;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  touch-action: pan-y;
  perspective: 1800px;
  background: radial-gradient(#686f5617 .8px, transparent .9px) 0 0 / 5px 5px,
    radial-gradient(ellipse at 50% 8%, #f5efdb, #d5d3c2 82%);
}
.mg-spread {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-width: 0;
  min-height: 100%;
  background: var(--mg-paper);
  border: 1px solid #b2ae98;
  border-radius: 2px 4px 4px 2px;
  box-shadow: 0 2px 0 #eae5d2, 0 3px 0 #b7b29c, 0 5px 0 #e9e3d0, 0 6px 0 #afa995,
    0 9px 0 #e4ddc8, 0 10px 0 #a5a28d, 0 17px 22px #4a4b3740;
  backface-visibility: hidden;
}
[data-mag-leaf][hidden] { display: none !important; }
.mg-spread::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 50%;
  width: 32px;
  transform: translateX(-50%);
  z-index: 3;
  background: linear-gradient(90deg, transparent, #746a4621 33%, #51442e38 49%, #fffdf866 52%, #8e805918 65%, transparent);
  pointer-events: none;
}
.mg-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 490px;
  padding: 29px 34px 22px;
  overflow-wrap: break-word;
  background: var(--mg-paper);
}
.mg-page-left { background: linear-gradient(90deg, #faf5e9 75%, #f3eddf 96%, #e5ddc9); }
.mg-page-right { background: linear-gradient(90deg, #eae2cf, #faf5e9 7%, #faf5e9); }
.mg-page p { font-size: 14px; line-height: 1.65; color: var(--mg-muted); }
.mg-page p + p { margin-top: 13px; }
.mg-page h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.02; font-weight: 750; letter-spacing: -.055em; }
.mg-page h3 { font-size: 25px; line-height: 1.12; font-weight: 700; letter-spacing: -.045em; }
.mg-page h2 + p, .mg-page h3 + p { margin-top: 18px; }
.mg-page h2 em, .mg-page h2 > span { color: var(--mg-blue); font-style: normal; }
.mg-kicker, .mg-page .mg-kicker {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mg-ink);
  margin-bottom: 24px;
}
.mg-folio, .mg-page .mg-folio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 27px;
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 1.3;
  color: #6c7063;
  text-transform: uppercase;
}
.mg-footer { border-top: 1px solid #adae9a; gap: 13px; }
.mg-nav { display: flex; align-items: center; gap: 8px; }
.mg-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 44px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--mg-ink);
  border-radius: 2px;
  background: #f8f3e7;
  color: var(--mg-ink);
  font-size: 12px;
  font-weight: 600;
  transition: background .18s, box-shadow .18s;
}
.mg-nav [data-mag-next] { background: #ffe04c; }
.mg-nav button:hover:not(:disabled) { background: #ffe775; box-shadow: 2px 2px 0 var(--mg-ink); }
.mg-dialog button:disabled { opacity: .38; cursor: default; box-shadow: none; }
.mg-nav svg { width: 19px; height: 19px; }
.mg-dots { display: flex; gap: 3px; align-items: center; }
.mg-dot {
  display: grid;
  place-items: center;
  min-width: 37px;
  min-height: 42px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #66705c;
  font-size: 12px;
  font-weight: 600;
  transition: background .18s, color .18s;
}
.mg-dot:hover { background: #e8e5d6; }
.mg-dot[aria-current="page"], .mg-dot[aria-pressed="true"] { color: var(--mg-paper); background: var(--mg-ink); }
.mg-counter { font-size: 11px; color: #686f5d; line-height: 1.4; white-space: nowrap; }
.mg-dialog :is(a, button):focus-visible { outline: 3px solid var(--mg-blue); outline-offset: 3px; }
.mg-live, .mg-a11y { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0; }

/* Four little stories, each with its own ink and paper. */
.mg-title { text-wrap: balance; }
.mg-deck { max-width: 35ch; }
.mg-editorial-cover {
  color: #faf5e9;
  background: linear-gradient(100deg, #3354d9 76%, #2a43b4 97%, #253c9e);
  overflow: hidden;
  isolation: isolate;
}
.mg-editorial-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(#ced5ff38 1px, transparent 1.25px) 0 0 / 7px 7px;
  mask-image: linear-gradient(155deg, transparent 40%, #000);
  pointer-events: none;
}
.mg-editorial-cover .mg-title { font-size: clamp(44px, 5.7vw, 68px); max-width: 340px; color: #faf5e9; letter-spacing: -.06em; line-height: .98; }
.mg-editorial-cover .mg-title > span, .mg-editorial-cover .mg-title em { color: #ffe04c; }
.mg-editorial-cover .mg-kicker, .mg-editorial-cover .mg-folio { color: #dde2ff; }
.mg-editorial-cover .mg-deck { color: #edf0ff; max-width: 27ch; margin-top: 25px; font-size: 15px; }
.mg-giant { position: absolute; right: 10px; bottom: 26px; z-index: -1; color: #93a4fb; opacity: .14; font-size: 180px; line-height: 1; font-weight: 850; letter-spacing: -.07em; transform: rotate(-8deg); pointer-events: none; }
.mg-giant svg { width: 135px; height: 135px; }
.mg-editorial-star { width: 104px; height: 104px; color: #ffe04c; align-self: flex-end; margin: 16px 2px 4px; transform: rotate(-12deg); }
.mg-editorial-star svg { width: 100%; height: 100%; }
.mg-editorial-note .mg-title { font-size: 32px; line-height: 1.07; }
.mg-editorial-note .mg-kicker { margin-bottom: 18px; }
.mg-editorial-note .mg-deck { max-width: none; font-size: 13px; line-height: 1.65; margin-top: 14px; }
.mg-services { display: grid; gap: 15px; margin-top: 24px; }
.mg-services > div { display: grid; grid-template-columns: 25px minmax(0, 1fr); column-gap: 11px; row-gap: 3px; padding-top: 13px; border-top: 1px solid #cac8b8; }
.mg-services svg { grid-column: 1; grid-row: 1 / 3; width: 22px; height: 22px; margin-top: 1px; color: var(--mg-blue); }
.mg-services strong { grid-column: 2; font-size: 15px; line-height: 1.3; font-weight: 650; }
.mg-services p { grid-column: 2; font-size: 12px; line-height: 1.5; }
.mg-services > div > div { min-width: 0; }
.mg-services strong { display: block; }
.mg-services p { margin-top: 5px; }
.mg-page .mg-handwritten { color: var(--mg-blue); font-size: 19px; font-style: italic; font-weight: 650; letter-spacing: -.7px; line-height: 1.2; transform: rotate(-5deg); margin-top: 24px; align-self: flex-end; }
.mg-nini .mg-page-left { background: linear-gradient(90deg, #e7efde 76%, #d8e1cb); }
.mg-product-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; }
.mg-product-logo img { width: 42px; height: 42px; border-radius: 12px; }
.mg-product-logo h3 { font-size: 28px; letter-spacing: -.7px; }
.mg-nini .mg-title { font-size: clamp(34px, 4.2vw, 49px); }
.mg-nini .mg-title > span { color: #52714e; }
.mg-nini .mg-deck { color: #505e47; }
.mg-feature-notes { display: grid; gap: 0; margin-top: 22px; }
.mg-feature-notes > span { display: flex; align-items: center; gap: 10px; border-top: 1px solid #bac8ad; padding: 10px 0; font-size: 12px; font-weight: 550; line-height: 1.4; }
.mg-feature-notes > span::before { content: ''; flex: 0 0 auto; width: 6px; height: 6px; border: 1px solid #42633e; border-radius: 50%; background: #6f8d64; }
.mg-plus-note { margin-top: 17px; padding: 13px 14px; border: 1px solid #c7b391; background: #f6e6cd; font-size: 12px; line-height: 1.6; color: #514b3b; }
.mg-plus-note strong { display: block; font-size: 15px; color: #3f4435; margin-bottom: 4px; }
.mg-plus-note > b { display: inline-block; padding: 3px 6px; margin-bottom: 8px; background: #364631; color: #f6e6cd; font-size: 9px; letter-spacing: .4px; line-height: 1.3; }
.mg-plus-note > p { font-size: 12px; line-height: 1.6; color: #514b3b; }
.mg-product-art { align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(90deg, #e6e0cc, #f5f1e4 8%, #f5f1e4); }
.mg-phone-orbit { position: absolute; width: min(300px, 85%); aspect-ratio: 1; top: 80px; left: 50%; transform: translateX(-50%); border-radius: 50%; border: 1px solid #b5c2a8; background: radial-gradient(#a7ba963d 1px, transparent 1.3px) 0 0 / 7px 7px, #e1e9d6; box-shadow: 0 0 0 16px #dce5d038; pointer-events: none; }
.mg-phone {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 170px;
  aspect-ratio: 9 / 19.5;
  padding: 7px;
  margin: 9px 0 21px;
  border: 1px solid #12191a;
  border-radius: 25px;
  background: linear-gradient(120deg, #929b96, #242c2d 17%, #0d1616 75%, #6d7973);
  box-shadow: 4px 3px 0 #172021, 5px 4px 0 #7b8b7e, 14px 18px 19px #3d4f352b;
  transform: rotate(-5deg);
}
.mg-phone::before { content: ''; position: absolute; width: 5px; height: 5px; border: 1px solid #384443; background: #080c0d; border-radius: 50%; top: 12px; left: calc(50% - 2.5px); z-index: 2; }
.mg-phone::after { content: ''; position: absolute; left: 38%; bottom: 13px; width: 24%; height: 2px; border-radius: 2px; background: #666f71; }
.mg-phone-screen { display: flex; align-items: center; width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: #151a20; }
.mg-phone-screen img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.mg-caption, .mg-page .mg-caption { position: relative; max-width: 29ch; text-align: center; font-size: 11px; line-height: 1.5; color: #65705c; }
.mg-product-art .mg-folio { position: relative; align-self: stretch; }
.mg-making .mg-page-left { background: linear-gradient(90deg, #ffe577 76%, #edd068); }
.mg-making .mg-title { max-width: 340px; }
.mg-making .mg-deck { color: #615b40; }
.mg-sketch { position: relative; margin: 34px 7px 9px; min-height: 162px; border: 2px solid var(--mg-ink); background: #fff7d8; transform: rotate(-4deg); box-shadow: 5px 6px 0 #d0b450; }
.mg-sketch-bar { display: flex; align-items: center; gap: 4px; height: 28px; border-bottom: 2px solid var(--mg-ink); padding: 4px 10px; font-size: 8px; letter-spacing: .5px; line-height: 1.3; }
.mg-sketch-bar > i { width: 5px; height: 5px; border: 1px solid var(--mg-ink); border-radius: 50%; }
.mg-sketch-bar > span { margin-left: auto; color: #69705c; }
.mg-sketch-card { margin: 17px 18px; height: 81px; border: 1px dashed #64707d; background: linear-gradient(90deg, #cbd5fc 35%, transparent 35%); position: relative; }
.mg-sketch-card::before, .mg-sketch-card::after { content: ''; position: absolute; left: 45%; right: 10%; top: 20px; height: 7px; background: #9caadb; }
.mg-sketch-card::after { top: 39px; right: 24%; height: 5px; background: #c5ccdf; }
.mg-sketch-card > span { position: absolute; left: 7%; top: 20px; font-size: 33px; line-height: 1; color: var(--mg-blue); }
.mg-sketch-card > i, .mg-sketch-card > b { display: none; }
.mg-sketch-cursor { position: absolute; right: 7px; bottom: -20px; font-size: 62px; line-height: 1; color: var(--mg-blue); -webkit-text-stroke: 1px var(--mg-ink); text-shadow: 2px 3px 0 #f7edbd; transform: rotate(-13deg); }
.mg-sketch-note { position: absolute; left: -5px; bottom: -14px; transform: rotate(7deg); padding: 6px 8px; border: 1px solid var(--mg-ink); background: #fff8e3; font-size: 8px; line-height: 1; font-weight: 600; letter-spacing: .6px; }
.mg-steps { display: grid; gap: 22px; margin-top: 26px; }
.mg-steps > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 7px 12px; padding-top: 17px; border-top: 1px solid #ccc8b6; }
.mg-steps b { grid-column: 1; grid-row: 1 / 3; font-size: 21px; line-height: 1.1; color: var(--mg-blue); letter-spacing: -1px; }
.mg-steps strong { grid-column: 2; font-size: 20px; line-height: 1.15; font-weight: 650; letter-spacing: -.5px; }
.mg-steps p { grid-column: 2; font-size: 13px; line-height: 1.6; }
.mg-steps > div > div { min-width: 0; }
.mg-steps strong { display: block; }
.mg-steps p { margin-top: 7px; }
.mg-next .mg-page-left { color: #faf5e9; background: linear-gradient(90deg, #20231f 78%, #161d17); }
.mg-next .mg-page-left .mg-title { font-size: clamp(46px, 6vw, 70px); color: #ffe04c; line-height: .98; letter-spacing: -.06em; }
.mg-next .mg-page-left .mg-title > span { color: #faf5e9; }
.mg-next .mg-page-left .mg-kicker, .mg-next .mg-page-left .mg-folio { color: #d1d6c6; }
.mg-next .mg-page-left .mg-deck { color: #d1d6c6; }
.mg-next .mg-page-left .mg-title em { color: #faf5e9; }
.mg-next-star { width: 132px; height: 132px; color: #ffe04c; margin: 28px 0 15px; align-self: flex-end; transform: rotate(-12deg); }
.mg-next-star svg { width: 100%; height: 100%; }
.mg-invitation .mg-title { font-size: clamp(34px, 4.2vw, 48px); }
.mg-idea-note { position: relative; margin-top: 26px; padding: 17px 19px; background: #fff0b0; border: 1.5px dashed #999366; color: #514d37; font-size: 14px; line-height: 1.6; transform: rotate(-2deg); }
.mg-page .mg-idea-note p { color: #514d37; }
.mg-idea-note > span { position: absolute; right: 10px; bottom: -19px; font-size: 41px; color: var(--mg-blue); line-height: 1; transform: rotate(6deg); }
.mg-page .mg-endnote { margin-top: 28px; max-width: 24ch; font-size: 9px; font-weight: 600; line-height: 1.6; letter-spacing: 1.2px; color: #6a7060; }
.mg-page-link { display: inline-flex; align-items: center; justify-content: space-between; align-self: flex-start; gap: 17px; max-width: 100%; min-height: 44px; margin-top: 25px; padding: 12px 15px; border: 1px solid var(--mg-ink); background: #ffe04c; box-shadow: 3px 3px 0 var(--mg-ink); color: var(--mg-ink); font-size: 13px; font-weight: 600; line-height: 1.4; transition: background .18s, box-shadow .18s; }
.mg-page-link svg { width: 18px; height: 18px; flex: 0 0 auto; }
.mg-page-link:hover { background: #ffe983; box-shadow: 4px 4px 0 var(--mg-ink); }
.mg-invitation .mg-page-link { background: var(--mg-blue); color: #faf5e9; }
.mg-invitation .mg-page-link:hover { background: #263ea7; }

@media (min-width: 701px) {
  .mg-page { padding: 26px 30px 18px; }
  .mg-page .mg-folio { padding-top: 20px; }
  .mg-editorial-note .mg-services { margin-top: 18px; gap: 10px; }
  .mg-editorial-note .mg-services > div { padding-top: 10px; }
  .mg-editorial-note .mg-services strong { font-size: 14px; }
  .mg-editorial-note .mg-services p { margin-top: 3px; line-height: 1.45; }
  .mg-editorial-note .mg-handwritten { font-size: 18px; margin-top: 18px; }
  .mg-editorial-note .mg-page-link { margin-top: 20px; }
  .mg-nini .mg-page-left .mg-kicker { margin-bottom: 18px; }
  .mg-nini .mg-product-logo { margin-bottom: 17px; }
  .mg-nini .mg-product-logo img { width: 36px; height: 36px; border-radius: 10px; }
  .mg-nini .mg-title { font-size: clamp(33px, 4vw, 45px); }
  .mg-nini .mg-deck { max-width: none; font-size: 13px; line-height: 1.6; margin-top: 14px; }
  .mg-feature-notes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
  .mg-feature-notes > span { padding: 6px 8px; border: 1px solid #bac8ad; background: #f3f7eb69; font-size: 10px; gap: 6px; }
  .mg-feature-notes > span::before { width: 4px; height: 4px; }
  .mg-plus-note { padding: 11px 12px; }
  .mg-plus-note > b { margin: 0 7px 0 0; }
  .mg-plus-note > strong { display: inline; font-size: 13px; }
  .mg-plus-note > p { margin-top: 7px; }
}

@media (max-width: 900px) and (min-width: 701px) {
  .mg-dialog { width: 95vw; }
  .mg-viewport { padding: 20px 18px 27px; }
  .mg-page { padding: 25px 24px 20px; }
  .mg-page p { font-size: 13px; }
  .mg-page h2 { font-size: 37px; }
  .mg-editorial-cover .mg-title { font-size: 50px; }
  .mg-next .mg-page-left .mg-title { font-size: 53px; }
  .mg-editorial-note .mg-title { font-size: 30px; }
  .mg-launch-row { gap: 13px; }
  .mg-cover-note { max-width: 112px; }
  .mg-cover-note strong { font-size: 10px; }
  .mg-cover-note small { font-size: 7px; }
  .mg-launch { font-size: 10px; padding: 11px 12px; gap: 7px; }
}
@media (max-width: 700px) {
  .mg-dialog { width: calc(100vw - 20px); height: 94dvh; max-height: 94dvh; border-radius: 4px; }
  .mg-header, .mg-footer { padding: 10px 12px; gap: 8px; }
  .mg-header h2, .mg-brand { font-size: 17px; }
  .mg-reader-brand { font-size: 21px; }
  .mg-header p, .mg-issue { font-size: 8px; letter-spacing: .8px; }
  .mg-close { min-height: 40px; padding: 8px 10px; font-size: 11px; }
  .mg-viewport { padding: 15px 13px 22px; }
  .mg-spread { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mg-spread::after { display: none; }
  .mg-page { min-height: 0; padding: 27px 24px 22px; background: var(--mg-paper); }
  .mg-page-left { border-bottom: 1px solid #c9c5b4; }
  .mg-page-right { background: linear-gradient(#e9e3d424, transparent 18px), var(--mg-paper); }
  .mg-page h2 { font-size: clamp(32px, 8vw, 48px); line-height: 1.07; }
  .mg-page h3 { font-size: 26px; }
  .mg-page p { font-size: 14px; }
  .mg-kicker, .mg-page .mg-kicker { margin-bottom: 23px; }
  .mg-folio, .mg-page .mg-folio { padding-top: 28px; }
  .mg-footer { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; }
  .mg-nav { gap: 6px; }
  .mg-nav button { padding: 8px 10px; gap: 6px; font-size: 11px; }
  .mg-dot { min-width: 31px; min-height: 40px; }
  .mg-counter { grid-column: 1 / -1; justify-self: center; font-size: 10px; }
  .mg-editorial-cover { padding-top: 30px; padding-bottom: 21px; background: linear-gradient(115deg, #3354d9, #2a43b4); }
  .mg-editorial-cover .mg-title { font-size: clamp(43px, 11vw, 59px); max-width: 95%; }
  .mg-editorial-cover .mg-kicker { max-width: 76%; }
  .mg-editorial-cover .mg-deck { font-size: 14px; margin-top: 20px; }
  .mg-editorial-star { position: absolute; top: 20px; right: 15px; width: 40px; height: 40px; margin: 0; }
  .mg-giant { font-size: 145px; right: 12px; bottom: 15px; }
  .mg-editorial-note .mg-title { font-size: clamp(30px, 7.8vw, 40px); }
  .mg-editorial-note .mg-deck { font-size: 14px; }
  .mg-services { margin-top: 25px; gap: 17px; }
  .mg-services strong { font-size: 15px; }
  .mg-services p { font-size: 13px; }
  .mg-page .mg-handwritten { font-size: 19px; margin-top: 28px; }
  .mg-product-logo { margin-bottom: 23px; }
  .mg-nini .mg-title { font-size: clamp(32px, 8.2vw, 43px); }
  .mg-feature-notes > span { font-size: 13px; }
  .mg-plus-note { margin-top: 20px; }
  .mg-plus-note > p { font-size: 13px; }
  .mg-product-art { padding-top: 25px; background: #f0f0e0; }
  .mg-product-art .mg-kicker { align-self: flex-start; }
  .mg-phone { width: 170px; margin: 5px 0 22px; }
  .mg-phone-orbit { top: 95px; width: 80%; }
  .mg-page .mg-caption { font-size: 12px; }
  .mg-making .mg-page-left { background: #ffe577; }
  .mg-making .mg-title { font-size: clamp(33px, 8.7vw, 47px); }
  .mg-sketch { min-height: 150px; margin: 29px 4px 14px; }
  .mg-sketch-card { height: 70px; }
  .mg-steps { margin-top: 0; gap: 26px; }
  .mg-steps strong { font-size: 22px; }
  .mg-steps p { font-size: 14px; }
  .mg-next .mg-page-left .mg-title { font-size: clamp(43px, 11.5vw, 62px); max-width: 95%; }
  .mg-next-star { position: absolute; width: 64px; height: 64px; right: 18px; bottom: 100px; margin: 0; }
  .mg-next .mg-page-left .mg-deck { max-width: 22ch; padding-right: 22px; margin-top: 28px; }
  .mg-invitation .mg-title { font-size: clamp(31px, 8.2vw, 43px); }
  .mg-page-link { min-height: 46px; font-size: 13px; }
  .mg-launch-row { gap: 17px; }
  .mg-cover-note { max-width: 135px; }
  .mg-cover-note strong { font-size: 11px; }
  .mg-cover-note small { font-size: 8px; letter-spacing: .6px; }
  .mg-launch { padding: 12px 14px; font-size: 11px; gap: 8px; }
}
@media (max-width: 370px) {
  .mg-dialog { width: calc(100vw - 12px); }
  .mg-viewport { padding-inline: 9px; }
  .mg-page { padding-inline: 19px; }
  .mg-header, .mg-footer { padding-inline: 10px; }
  .mg-nav { gap: 4px; }
  .mg-nav button { min-width: 42px; padding-inline: 9px; }
  .mg-dot { min-width: 27px; }
  .mg-cover-note { max-width: 113px; }
  .mg-cover-note strong { font-size: 10px; }
  .mg-cover-note small { font-size: 7px; }
  .mg-launch { padding: 11px 12px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .mg-dialog *, .mg-book, .mg-book * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
