@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Noto+Serif+SC:wght@500;600;700;900&display=swap");

:root {
  --ink: #10201b;
  --dark: #071411;
  --dark-2: #0c211b;
  --paper: #eff5ef;
  --paper-2: #dce9df;
  --muted: #789086;
  --line: rgba(118, 154, 139, 0.26);
  --lime: #b7ed68;
  --teal: #33c9a8;
  --serif: "Noto Serif SC", "STSong", "SimSun", serif;
  --sans: "Manrope", "Microsoft YaHei", "PingFang SC", sans-serif;
  --mono: "DM Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--dark);
  font-family: var(--sans);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.mgy-grain {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: .065;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.48'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.mgy-width { width: min(1320px, calc(100% - 112px)); margin: 0 auto; }

.mgy-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  color: #f1faef;
}
.mgy-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5, 17, 15, .86);
  opacity: 0;
  backdrop-filter: blur(18px);
  transition: opacity .25s;
}
.mgy-header.is-scrolled::after, .mgy-header.menu-open::after { opacity: 1; }
.mgy-brand { display: flex; align-items: center; gap: 11px; min-width: 245px; }
.mgy-logo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 46px;
  overflow: hidden;
}
.mgy-logo img { width: 100%; height: 100%; object-fit: contain; }
.mgy-brand strong { display: block; font-size: 15px; letter-spacing: .1em; }
.mgy-brand small {
  display: block;
  margin-top: 3px;
  color: rgba(238, 249, 239, .5);
  font: 9px var(--mono);
  letter-spacing: .12em;
}
.mgy-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; margin-right: 35px; }
.mgy-nav a {
  color: rgba(239, 250, 240, .68);
  font-size: 12px;
  transition: color .2s;
}
.mgy-nav a:hover { color: var(--lime); }
.mgy-header-cta {
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 11px 16px 11px 18px;
  font-size: 12px;
  transition: color .2s, background .2s, border-color .2s;
}
.mgy-header-cta span { margin-left: 9px; color: var(--lime); font-size: 16px; }
.mgy-header-cta:hover { color: var(--dark); border-color: var(--lime); background: var(--lime); }
.mgy-menu {
  display: none;
  width: 39px;
  height: 35px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
}
.mgy-menu i { display: block; width: 23px; height: 1px; margin: 5px auto; background: #fff; transition: transform .2s; }

.mgy-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #f0faef;
  background:
    radial-gradient(circle at 71% 42%, rgba(44, 190, 151, .2), transparent 23%),
    radial-gradient(circle at 18% 84%, rgba(115, 159, 42, .12), transparent 28%),
    linear-gradient(135deg, #071411 0%, #102920 58%, #0b1714 100%);
}
.mgy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 14, 12, .5), transparent 63%), linear-gradient(0deg, rgba(3, 12, 10, .74), transparent 48%);
}
.mgy-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .33;
  background-image:
    linear-gradient(rgba(124, 197, 163, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 197, 163, .1) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: perspective(660px) rotateX(58deg) scale(1.4) translateY(28%);
  transform-origin: bottom;
  animation: grid-drift 18s linear infinite;
}
.mgy-hero-orbit {
  position: absolute;
  border: 1px solid rgba(183, 237, 104, .3);
  border-radius: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
}
.orbit-a { width: 410px; height: 410px; top: 12%; right: 13%; transform: rotate(21deg) skewX(-12deg); animation: orbit-float 11s ease-in-out infinite; }
.orbit-b { width: 690px; height: 690px; top: -18%; right: -8%; border-color: rgba(51, 201, 168, .19); transform: rotate(-28deg) skewX(-18deg); animation: orbit-float 15s ease-in-out infinite reverse; }
.mgy-hero-content { position: relative; z-index: 2; padding-top: 112px; }
.mgy-kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font: 11px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.mgy-kicker.dark { color: #199e80; }
.mgy-subbrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 5px 0 22px;
  color: rgba(242, 250, 238, .82);
  font-size: 12px;
}
.mgy-subbrand small {
  margin-left: 4px;
  color: rgba(242, 250, 238, .43);
  font: 9px var(--mono);
  letter-spacing: .08em;
}
.mgy-subbrand-mark, .learning-brand i, .footer-mgy-mark i {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 23px;
}
.mgy-subbrand-mark::before, .learning-brand i::before, .footer-mgy-mark i::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 2px;
  width: 21px;
  height: 13px;
  border-radius: 14px 14px 7px 7px;
  background: #f47e18;
  box-shadow: 0 0 17px rgba(244, 126, 24, .23);
}
.mgy-subbrand-mark i, .learning-brand i::after, .footer-mgy-mark i::after {
  position: absolute;
  z-index: 1;
  left: 9px;
  bottom: 1px;
  display: block;
  width: 8px;
  height: 11px;
  border-radius: 2px 2px 4px 4px;
  background: #ffd35a;
  content: "";
}
.mgy-subbrand-mark b {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 7px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff3ce;
  box-shadow: 8px 0 #fff3ce;
}
.mgy-hero h1 {
  max-width: 780px;
  margin: 0;
  font: 900 clamp(58px, 8.2vw, 116px)/.98 var(--serif);
  letter-spacing: -.09em;
}
.mgy-hero h1 em, .mgy-section h2 em, .mgy-cta h2 em { color: var(--lime); font-style: normal; }
.mgy-hero-copy {
  max-width: 560px;
  margin: 36px 0 0;
  color: rgba(237, 249, 239, .7);
  font-size: 15px;
  line-height: 1.95;
}
.mgy-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.mgy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 49px;
  border-radius: 999px;
  padding: 0 22px 0 25px;
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s, background .2s;
}
.mgy-button span { font-size: 17px; }
.mgy-button:hover { transform: translateY(-3px); }
.mgy-button.primary { color: var(--dark); background: var(--lime); }
.mgy-button.primary:hover { background: #d1f897; }
.mgy-text-link { color: rgba(241, 250, 241, .7); font-size: 12px; }
.mgy-text-link span { margin-left: 9px; color: var(--lime); font-size: 16px; }
.mgy-hero-side {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 23%;
  display: grid;
  gap: 13px;
  width: 220px;
  padding-left: 17px;
  border-left: 1px solid var(--lime);
}
.mgy-hero-side span { color: var(--lime); font: 10px var(--mono); letter-spacing: .09em; }
.mgy-hero-side strong { color: #f3faed; font: 600 26px/1.25 var(--serif); letter-spacing: -.05em; }
.mgy-hero-side small { color: rgba(238, 250, 239, .53); font-size: 11px; line-height: 1.8; }
.mgy-scroll {
  position: absolute;
  z-index: 2;
  right: 48px;
  bottom: 33px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(235, 249, 237, .48);
  font: 9px var(--mono);
  letter-spacing: .11em;
}
.mgy-scroll i { display: block; width: 49px; height: 1px; background: rgba(235, 249, 237, .36); }

.mgy-section { position: relative; overflow: hidden; padding: 126px 0 138px; }
.system-section, .platform-section, .service-section { background: var(--paper); }
.curriculum-section, .hardware-section { color: #f0f8ef; background: var(--dark); }
.mgy-section-head {
  display: grid;
  grid-template-columns: .7fr 2fr 1fr;
  gap: 58px;
  align-items: end;
}
.mgy-index { color: #1ca184; font: 11px var(--mono); letter-spacing: .08em; }
.mgy-index span { display: block; margin-top: 9px; color: rgba(22, 69, 55, .42); font-size: 9px; letter-spacing: .1em; }
.curriculum-section .mgy-index span, .hardware-section .mgy-index span { color: rgba(224, 242, 226, .4); }
.mgy-section h2 {
  margin: 0;
  color: var(--ink);
  font: 800 clamp(41px, 5.9vw, 77px)/1.08 var(--serif);
  letter-spacing: -.075em;
}
.curriculum-section h2, .hardware-section h2 { color: #f0f8ef; }
.mgy-aside {
  max-width: 245px;
  margin: 0 0 4px;
  color: #71847b;
  font-size: 12px;
  line-height: 1.85;
}
.system-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 67px;
}
.system-card {
  position: relative;
  min-height: 325px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.system-card:hover { transform: translateY(-6px); box-shadow: 0 18px 32px rgba(5, 36, 27, .14); }
.system-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -64px;
  bottom: -64px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .18;
  box-shadow: 0 0 0 24px rgba(255,255,255,.04), 0 0 0 48px rgba(255,255,255,.035);
}
.system-card > span { font: 10px var(--mono); opacity: .65; }
.system-card b { margin-top: 54px; font: 600 31px var(--serif); letter-spacing: -.06em; }
.system-card p { margin: 15px 0 0; font-size: 12px; line-height: 1.9; opacity: .7; }
.system-card i { margin-top: auto; font: 9px var(--mono); letter-spacing: .12em; opacity: .58; font-style: normal; }
.card-dark { color: #eef9f0; background: #0a1f1a; }
.card-lime { color: #12231a; background: var(--lime); }
.card-teal { color: #edf9ef; background: #1a9f82; }
.card-paper { color: #173a2e; background: #dce9df; }

.curriculum-section::before, .hardware-section::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  top: -270px;
  right: -240px;
  border: 1px solid rgba(183, 237, 104, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(183, 237, 104, .025), 0 0 0 88px rgba(183, 237, 104, .018);
}
.curriculum-layout {
  display: grid;
  grid-template-columns: minmax(380px, .9fr) minmax(0, 1.1fr);
  gap: 90px;
  align-items: center;
  margin-top: 74px;
}
.curriculum-map { position: relative; min-height: 530px; }
.curriculum-map::before, .curriculum-map::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(183, 237, 104, .25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.curriculum-map::before { width: 290px; height: 290px; }
.curriculum-map::after { width: 470px; height: 470px; border-color: rgba(51, 201, 168, .17); transform: translate(-50%, -50%) rotate(-18deg) skewX(-14deg); }
.map-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 145px;
  height: 145px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  color: #f3faee;
  background: #102d25;
  box-shadow: 0 0 55px rgba(183, 237, 104, .16);
  text-align: center;
  transform: translate(-50%, -50%);
}
.map-center strong { color: var(--lime); font: 800 30px/.95 var(--serif); letter-spacing: -.08em; }
.map-center small { margin-top: -18px; color: rgba(237, 249, 239, .45); font: 8px/1.4 var(--mono); letter-spacing: .08em; }
.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 5px;
  min-width: 150px;
  padding: 12px 15px;
  border-left: 2px solid var(--teal);
  background: rgba(9, 26, 22, .78);
  backdrop-filter: blur(8px);
}
.map-node b { color: #eef9ef; font: 600 17px var(--serif); }
.map-node span { color: rgba(225, 243, 228, .55); font-size: 10px; }
.node-1 { top: 7%; left: 4%; }
.node-2 { top: 20%; right: 0; border-color: var(--lime); }
.node-3 { bottom: 7%; left: 4%; border-color: #8b7dff; }
.node-4 { right: 0; bottom: 13%; border-color: #f0a667; }
.curriculum-list { display: grid; }
.curriculum-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(210, 237, 217, .16);
}
.curriculum-list article:first-child { border-top: 1px solid rgba(210, 237, 217, .16); }
.curriculum-list article > span { color: var(--lime); font: 11px var(--mono); }
.curriculum-list h3 { margin: -4px 0 8px; color: #f0f8ef; font: 600 23px var(--serif); letter-spacing: -.04em; }
.curriculum-list p { margin: 0; color: rgba(228, 244, 230, .58); font-size: 12px; line-height: 1.8; }

.platform-grid { display: grid; gap: 18px; margin-top: 67px; }
.platform-feature {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(400px, 1.18fr);
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(39, 89, 69, .17);
  background: linear-gradient(135deg, #e5efe6, #f7fbf5);
}
.platform-feature.reverse { grid-template-columns: minmax(400px, 1.18fr) minmax(0, .82fr); }
.platform-feature.reverse .platform-copy { order: 2; }
.platform-feature.reverse .platform-screen { order: 1; }
.platform-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px; }
.platform-label { color: #209d80; font: 10px var(--mono); letter-spacing: .1em; }
.platform-copy h3 { margin: 20px 0 17px; color: #173b30; font: 700 40px/1.12 var(--serif); letter-spacing: -.06em; }
.platform-copy h3 em { color: #1b9e7e; font-style: normal; }
.platform-copy p { max-width: 440px; margin: 0; color: #6a7f73; font-size: 13px; line-height: 1.95; }
.platform-copy ul { display: grid; gap: 11px; margin: 25px 0 0; padding: 0; list-style: none; color: #426356; font-size: 11px; }
.platform-copy li::before { content: "↗"; margin-right: 10px; color: #1caa88; }
.platform-screen { position: relative; display: grid; place-items: center; min-height: 430px; overflow: hidden; background: #0c2620; }
.platform-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image: linear-gradient(rgba(142, 226, 181, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(142, 226, 181, .14) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(520px) rotateX(61deg) scale(1.5) translateY(18%);
  transform-origin: bottom;
}
.platform-screen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(52, 203, 165, .32), transparent 42%); }
.platform-screen img { position: relative; z-index: 1; width: 78%; border: 1px solid rgba(184, 241, 204, .36); box-shadow: 0 24px 50px rgba(0,0,0,.26); transform: rotate(-3deg); }
.learning-screen { padding: 40px; }
.learning-window {
  position: relative;
  z-index: 1;
  width: min(88%, 570px);
  overflow: hidden;
  border: 1px solid rgba(198, 244, 211, .38);
  background: #102c25;
  box-shadow: 0 25px 55px rgba(0,0,0,.3);
  transform: rotate(-3deg);
}
.learning-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 17px;
  border-bottom: 1px solid rgba(206, 244, 215, .14);
  background: rgba(4, 15, 13, .28);
}
.learning-brand { display: flex; align-items: center; gap: 8px; color: #f8fbef; }
.learning-brand i { width: 24px; height: 22px; }
.learning-brand i::before { width: 20px; height: 12px; }
.learning-brand i::after { left: 8px; width: 8px; height: 10px; }
.learning-brand b { font: 600 16px var(--serif); }
.learning-brand small { display: block; margin-left: 3px; color: rgba(242, 250, 238, .42); font: 7px var(--mono); letter-spacing: .08em; }
.learning-status { color: var(--lime); font: 8px var(--mono); letter-spacing: .06em; }
.learning-window-body { display: grid; grid-template-columns: 115px 1fr; min-height: 260px; }
.learning-sidebar { display: grid; align-content: start; gap: 5px; padding: 22px 12px; border-right: 1px solid rgba(206, 244, 215, .1); background: rgba(4, 18, 15, .26); }
.learning-sidebar span { padding: 10px 11px; color: rgba(228, 246, 230, .48); font-size: 9px; }
.learning-sidebar span.is-active { color: #10201b; background: var(--lime); }
.learning-main { padding: 28px 26px; }
.learning-welcome { display: grid; gap: 8px; }
.learning-welcome span { color: #f0a052; font: 8px var(--mono); letter-spacing: .09em; }
.learning-welcome strong { color: #f3faef; font: 600 27px var(--serif); letter-spacing: -.06em; }
.learning-welcome small { color: rgba(228, 246, 230, .54); font-size: 10px; line-height: 1.6; }
.learning-progress { margin-top: 29px; color: rgba(234, 248, 235, .58); font-size: 9px; }
.learning-progress span { display: flex; justify-content: space-between; }
.learning-progress b { color: var(--lime); font-weight: 500; }
.learning-progress > i { display: block; height: 5px; margin-top: 11px; border-radius: 99px; background: rgba(230, 247, 232, .12); }
.learning-progress > i b { display: block; width: 66%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--lime)); }
.learning-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 30px; }
.learning-modules div { display: grid; gap: 8px; padding: 13px 10px; border: 1px solid rgba(207, 243, 214, .15); background: rgba(255,255,255,.035); }
.learning-modules b { color: var(--lime); font: 10px var(--mono); }
.learning-modules span { color: rgba(229, 246, 231, .52); font-size: 9px; }
.iot-screen img { width: min(78%, 450px); transform: rotate(3deg); }
.screen-dot, .screen-line { position: absolute; z-index: 2; background: var(--lime); box-shadow: 0 0 18px rgba(183, 237, 104, .7); }
.screen-dot { top: 22%; right: 21%; width: 8px; height: 8px; border-radius: 50%; }
.screen-line { width: 98px; height: 1px; opacity: .75; transform: rotate(-30deg); }
.line-one { top: 24%; right: 24%; }
.line-two { bottom: 23%; left: 15%; width: 135px; background: var(--teal); transform: rotate(22deg); }
.platform-tabs { display: flex; gap: 10px; margin: 27px 0 18px; }
.platform-tabs button { border: 1px solid rgba(31, 123, 95, .35); border-radius: 99px; padding: 9px 15px; color: #39806c; background: transparent; font: 10px var(--mono); transition: color .2s, background .2s; }
.platform-tabs button.is-active, .platform-tabs button:hover { color: #10201b; border-color: var(--lime); background: var(--lime); }
.platform-tab-copy { max-width: 430px; }
.platform-tab-copy.is-hidden { display: none; }

.hardware-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 61px; padding-bottom: 20px; border-bottom: 1px solid rgba(213, 239, 220, .16); }
.hardware-intro p { max-width: 640px; margin: 0; color: rgba(228, 244, 230, .58); font-size: 13px; line-height: 1.9; }
.hardware-intro span { color: var(--lime); font: 10px var(--mono); letter-spacing: .09em; white-space: nowrap; }
.hardware-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 18px; margin-top: 34px; }
.hardware-grid article { min-width: 0; }
.hardware-image { position: relative; aspect-ratio: 1.27; overflow: hidden; background: #152e27; }
.hardware-image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(183, 237, 104, .23); pointer-events: none; }
.hardware-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hardware-grid article:hover .hardware-image img { transform: scale(1.045); }
.hardware-grid article > span { display: block; margin-top: 18px; color: var(--lime); font: 10px var(--mono); letter-spacing: .09em; }
.hardware-grid h3 { margin: 9px 0 7px; color: #f0f8ef; font: 600 25px var(--serif); letter-spacing: -.05em; }
.hardware-grid p { margin: 0; color: rgba(229, 244, 230, .54); font-size: 11px; line-height: 1.7; }

.service-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 84px; }
.flow-line { position: absolute; top: 14px; right: 6%; left: 6%; height: 1px; background: linear-gradient(90deg, #1aa182, rgba(26, 161, 130, .15)); }
.service-flow article { position: relative; padding-top: 53px; }
.service-flow article::before { content: ""; position: absolute; top: 5px; left: 0; width: 18px; height: 18px; border: 1px solid #1aa182; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 7px var(--paper); }
.service-flow b { display: block; color: #1b9f82; font: 10px var(--mono); }
.service-flow strong { display: block; margin-top: 10px; color: #173b30; font: 600 30px var(--serif); letter-spacing: -.05em; }
.service-flow p { max-width: 210px; margin: 12px 0 0; color: #718278; font-size: 11px; line-height: 1.85; }
.service-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 95px; padding-top: 35px; border-top: 1px solid rgba(44, 100, 78, .22); }
.service-bottom span { color: #1b9f82; font: 10px var(--mono); letter-spacing: .1em; }
.service-bottom h3 { margin: 17px 0 0; color: #163a2f; font: 600 34px/1.25 var(--serif); letter-spacing: -.06em; }
.service-bottom p { align-self: end; max-width: 460px; margin: 0; color: #718278; font-size: 13px; line-height: 2; }

.mgy-cta {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #eff9ef;
  background: radial-gradient(circle at 50% 50%, #174c3d, #071411 65%);
}
.mgy-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 15, 13, .55), transparent 55%); }
.cta-orbit { position: absolute; width: min(72vw, 720px); aspect-ratio: 1; border: 1px solid rgba(183, 237, 104, .28); border-radius: 50%; box-shadow: 0 0 0 48px rgba(183,237,104,.035), 0 0 0 96px rgba(183,237,104,.025); animation: pulse-ring 8s ease-in-out infinite; }
.mgy-cta .mgy-width { position: relative; z-index: 1; text-align: center; }
.mgy-cta h2 { margin: 0 0 34px; color: #eff9ef; font: 800 clamp(45px, 7vw, 87px)/1.08 var(--serif); letter-spacing: -.08em; }

.mgy-footer { padding: 57px 0 25px; color: #d7e9da; background: #06100e; }
.mgy-footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; align-items: center; }
.mgy-footer-top > p { margin: 0; color: rgba(215, 233, 218, .54); font: 12px var(--serif); }
.footer-mgy-mark { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; color: #f2a152; font-weight: 600; }
.footer-mgy-mark i { width: 19px; height: 18px; }
.footer-mgy-mark i::before { width: 17px; height: 10px; }
.footer-mgy-mark i::after { left: 6px; width: 6px; height: 8px; }
.mgy-footer-top > a:last-child { justify-self: end; color: rgba(215, 233, 218, .65); font-size: 11px; }
.mgy-footer-top > a:last-child span { margin-left: 8px; color: var(--lime); font-size: 16px; }
.mgy-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 57px; padding-top: 18px; border-top: 1px solid rgba(215,233,218,.14); color: rgba(215,233,218,.35); font: 9px var(--mono); letter-spacing: .04em; }

.mgy-reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.65,.2,1); }
.mgy-reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes grid-drift { from { background-position: 0 0; } to { background-position: 58px 58px; } }
@keyframes orbit-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 14px; } }
@keyframes pulse-ring { 0%, 100% { transform: scale(.96); opacity: .72; } 50% { transform: scale(1.04); opacity: 1; } }

@media (max-width: 980px) {
  .mgy-width { width: min(100% - 48px, 720px); }
  .mgy-header { padding: 18px 24px; }
  .mgy-nav, .mgy-header-cta { display: none; }
  .mgy-menu { display: block; }
  .mgy-header.menu-open .mgy-nav {
    position: absolute;
    top: 77px;
    right: 24px;
    left: 24px;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 7px 18px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(7, 20, 17, .95);
    backdrop-filter: blur(16px);
  }
  .mgy-header.menu-open .mgy-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mgy-header.menu-open .mgy-nav a:last-child { border-bottom: 0; }
  .mgy-hero-side { right: 6%; }
  .mgy-section-head { grid-template-columns: .6fr 1.7fr; gap: 30px; }
  .mgy-aside { grid-column: 2; margin: 0; }
  .system-cards { grid-template-columns: repeat(2, 1fr); }
  .curriculum-layout { grid-template-columns: 1fr; gap: 55px; }
  .curriculum-map { min-height: 470px; }
  .platform-feature, .platform-feature.reverse { grid-template-columns: 1fr; }
  .platform-feature.reverse .platform-copy, .platform-feature.reverse .platform-screen { order: initial; }
  .platform-screen { min-height: 380px; }
  .service-bottom { gap: 35px; }
  .mgy-footer-top { grid-template-columns: 1fr 1fr; }
  .mgy-footer-top > a:last-child { justify-self: start; }
}

@media (max-width: 640px) {
  .mgy-width { width: calc(100% - 38px); }
  .mgy-brand { min-width: 0; }
  .mgy-brand strong { font-size: 13px; }
  .mgy-brand small { font-size: 8px; }
  .mgy-hero { min-height: 760px; align-items: flex-start; }
  .mgy-hero-content { padding-top: 153px; }
  .mgy-hero h1 { font-size: clamp(54px, 16vw, 84px); }
  .mgy-hero-copy { margin-top: 27px; font-size: 13px; line-height: 1.85; }
  .mgy-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .mgy-hero-side { right: 19px; bottom: 84px; width: 174px; }
  .mgy-hero-side strong { font-size: 22px; }
  .mgy-scroll { right: 19px; bottom: 28px; font-size: 8px; }
  .mgy-scroll i { width: 30px; }
  .mgy-section { padding: 88px 0 96px; }
  .mgy-section-head { grid-template-columns: 1fr; gap: 22px; }
  .mgy-aside { grid-column: auto; max-width: 380px; }
  .mgy-section h2 { font-size: 48px; }
  .system-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 46px; }
  .system-card { min-height: 255px; }
  .system-card b { margin-top: 34px; }
  .curriculum-layout { margin-top: 47px; }
  .curriculum-map { min-height: 390px; transform: scale(.88); transform-origin: top center; margin-bottom: -50px; }
  .curriculum-map::before { width: 245px; height: 245px; }
  .curriculum-map::after { width: 390px; height: 390px; }
  .map-center { width: 116px; height: 116px; }
  .map-center strong { font-size: 25px; }
  .map-node { min-width: 116px; padding: 9px 10px; }
  .map-node b { font-size: 14px; }
  .map-node span { font-size: 8px; }
  .node-1 { top: 4%; left: 0; }
  .node-2 { top: 17%; right: 0; }
  .node-3 { bottom: 2%; left: 0; }
  .node-4 { right: 0; bottom: 8%; }
  .curriculum-list article { grid-template-columns: 35px 1fr; gap: 10px; padding: 18px 0; }
  .curriculum-list h3 { font-size: 20px; }
  .curriculum-list p { font-size: 11px; }
  .platform-grid { margin-top: 45px; }
  .platform-copy { padding: 35px 26px 38px; }
  .platform-copy h3 { font-size: 32px; }
  .platform-screen { min-height: 300px; }
  .platform-screen img { width: 84%; }
  .learning-screen { padding: 20px 12px; }
  .learning-window { width: 100%; transform: rotate(-2deg); }
  .learning-window-body { grid-template-columns: 78px 1fr; min-height: 220px; }
  .learning-sidebar { padding: 14px 7px; }
  .learning-sidebar span { padding: 8px 6px; font-size: 8px; }
  .learning-window-top { padding: 11px 12px; }
  .learning-brand b { font-size: 14px; }
  .learning-brand small { display: none; }
  .learning-status { font-size: 7px; }
  .learning-main { padding: 20px 15px; }
  .learning-welcome strong { font-size: 22px; }
  .learning-welcome small { font-size: 9px; }
  .learning-modules { gap: 5px; margin-top: 23px; }
  .learning-modules div { padding: 9px 6px; }
  .learning-modules b, .learning-modules span { font-size: 8px; }
  .hardware-intro { display: block; margin-top: 45px; }
  .hardware-intro span { display: block; margin-top: 18px; white-space: normal; }
  .hardware-grid { grid-template-columns: 1fr 1fr; gap: 27px 12px; }
  .hardware-grid h3 { font-size: 21px; }
  .hardware-grid p { font-size: 10px; }
  .service-flow { grid-template-columns: 1fr 1fr; gap: 37px 20px; margin-top: 60px; }
  .flow-line { display: none; }
  .service-flow article { padding-top: 39px; }
  .service-flow strong { font-size: 26px; }
  .service-bottom { grid-template-columns: 1fr; gap: 27px; margin-top: 65px; }
  .service-bottom h3 { font-size: 29px; }
  .mgy-cta { min-height: 480px; }
  .mgy-cta h2 { font-size: 49px; }
  .mgy-footer-top { grid-template-columns: 1fr; gap: 23px; }
  .mgy-footer-top > a:last-child { justify-self: start; }
  .mgy-footer-bottom { display: grid; gap: 8px; margin-top: 38px; }
}
