/* MoonBuild Labs
   Layout: a dusk-sky band with a neon skyline opens every page, then a deep-night column (1200px)
   where tiny planets mark each service, step and plan. One look, dark by design. */
:root {
  --night: #12062A;
  --night-2: #1C0D3F;
  --night-3: #2A1260;
  --line: #3A2470;
  --line-2: #5A3EA8;
  --violet: #6C2BD9;
  --magenta: #E040A0;
  --sunset: #FF9A5A;
  --star: #FFE7A8;
  --teal: #3FD0E0;
  --fg: #F4EEFF;
  --bright: #FFFFFF;
  --muted: #CFC2EE;
  --soft: #BFB2E0;
  --label: #FFB98A;
  --ink: #1B0B3A;
  --ink-2: #0E0824;
  --lit: #FFD27A;
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sky: linear-gradient(180deg, #12062A 0%, #2A0F5C 34%, #5A23B8 58%, #B23A9E 78%, #F0607A 92%, #FF9A5A 100%);
  --dusk: linear-gradient(180deg, #2A0F5C 0%, #6C2BD9 45%, #B23A9E 75%, #FF9A5A 100%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: var(--label); }
a:hover { color: var(--star); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--star); color: var(--ink); padding: 10px 16px; border-radius: 999px; }

/* ---------- Header ---------- */
.masthead { position: relative; background: var(--night); }
.site-header { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-family: var(--display); font-weight: 600; font-size: 24px; }
.brand:hover { color: var(--fg); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-weight: 700; font-size: 16px; }
.nav a:not(.btn) { color: var(--fg); text-decoration: none; opacity: .88; padding-block: 10px; }
.nav a:not(.btn):hover { opacity: 1; color: var(--star); }
.nav a[aria-current="page"] { opacity: 1; color: var(--star); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent; font-family: var(--body); font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--star); color: var(--ink); }
.btn--primary:hover { color: var(--ink); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: var(--bright); }
.btn--ghost:hover { border-color: var(--bright); color: var(--bright); }
.btn--dark { background: var(--night); color: var(--bright); }
.btn--dark:hover { color: var(--star); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sky band ---------- */
.sky { position: relative; overflow: hidden; background: var(--sky); }
.stars { position: absolute; inset: 0 0 45% 0; pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 30px 50px, #ffffff 50%, transparent 55%), radial-gradient(1px 1px at 160px 110px, #FFE7A8 50%, transparent 55%), radial-gradient(1.2px 1.2px at 290px 30px, #ffffff 50%, transparent 55%), radial-gradient(1px 1px at 380px 170px, #E7D9FF 50%, transparent 55%), radial-gradient(1.7px 1.7px at 90px 230px, #ffffff 50%, transparent 55%);
  background-size: 420px 300px; }
.masthead .stars { inset: 0; }
.moon { position: absolute; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFF6D8, var(--star) 60%, #FFD38A); box-shadow: 0 0 50px 16px rgba(255, 231, 168, .35); pointer-events: none; }
.shoot { position: absolute; height: 3px; width: 200px; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 231, 168, 0), var(--star) 70%, #ffffff); transform: rotate(-24deg); animation: shoot 6s ease-in infinite; opacity: 0; pointer-events: none; }
.shoot::after { content: ""; position: absolute; right: -4px; top: -4px; width: 11px; height: 11px; border-radius: 2px; background: #ffffff; transform: rotate(45deg); box-shadow: 0 0 12px 4px rgba(255, 231, 168, .8); }
@keyframes shoot { 0% { opacity: 0; translate: 0 0; } 5% { opacity: 1; } 16% { opacity: 0; translate: -380px 170px; } 100% { opacity: 0; translate: -380px 170px; } }
.bit { position: absolute; display: block; width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); animation: twinkle 3s ease-in-out infinite; pointer-events: none; }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.skyline { position: absolute; left: 0; bottom: 0; width: 100%; display: flex; align-items: flex-end; gap: 6px; pointer-events: none; }
.bldg { flex: var(--w, 2); height: var(--h, 50%); border-radius: 6px 6px 0 0; background-color: #14072E; background-image: radial-gradient(circle, var(--lit) 1.6px, transparent 2.2px); background-size: 14px 18px; background-position: 6px 10px; }
.bldg--dim { background-color: #1A0A3A; background-image: radial-gradient(circle, rgba(255, 154, 90, .75) 1.4px, transparent 2px); background-size: 16px 20px; background-position: 4px 12px; }
.bldg--round { border-radius: 40px 40px 0 0; }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: center; padding-block: 40px 270px; }
.hero--page { padding-block: 40px 190px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.pill { display: inline-flex; padding: 8px 16px; border-radius: 999px; background: rgba(18, 6, 42, .55); color: var(--star); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.hero h1 { font-weight: 700; font-size: clamp(42px, 6vw, 80px); line-height: 1.02; }
.hero--page h1 { font-size: clamp(40px, 5.4vw, 70px); }
.hero .lede { font-size: 20px; color: #F1E8FF; max-width: 560px; }

/* Planet scene */
.scene { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1 / 1; justify-self: center; }
.scene--small { max-width: 340px; }
.planet-main { position: absolute; left: 18%; top: 18%; width: 64%; aspect-ratio: 1 / 1; border-radius: 50%; }
.crater { position: absolute; aspect-ratio: 1 / 1; border-radius: 50%; background: rgba(108, 43, 217, .32); }
.ring { position: absolute; left: 4%; top: 41%; width: 92%; height: 18%; border-radius: 50%; border: 4px solid rgba(255, 231, 168, .85); transform: rotate(-14deg); }
.orb { display: block; border-radius: 50%; aspect-ratio: 1 / 1; }
.orb--rose { background: radial-gradient(circle at 34% 28%, #FFC08F 0%, #FF9A5A 18%, #E040A0 52%, #6C2BD9 88%); box-shadow: 0 0 70px rgba(224, 64, 160, .5); }
.orb--teal { background: radial-gradient(circle at 35% 30%, #B8F7FF, #3FD0E0 50%, #2B5BD9); box-shadow: 0 0 50px rgba(63, 208, 224, .4); }
.orb--gold { background: radial-gradient(circle at 35% 30%, #FFF3C4, #FFC65A 50%, #FF7A3D); box-shadow: 0 0 50px rgba(255, 154, 90, .45); }
.orb--pearl { background: radial-gradient(circle at 40% 35%, #FFFFFF, #FFE7A8 55%, #D9C27A); box-shadow: 0 0 40px rgba(255, 231, 168, .4); }
.orb--violet { background: radial-gradient(circle at 35% 30%, #D9C8FF, #8C5BFF 50%, #3A1590); box-shadow: 0 0 50px rgba(140, 91, 255, .45); }

/* ---------- Sections ---------- */
.section { display: flex; flex-direction: column; gap: 44px; padding-block: 96px 24px; }
.section--tight { padding-block: 72px 24px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 700px; }
.section-head--center { align-items: center; text-align: center; margin-inline: auto; }
.eyebrow { color: var(--label); font-weight: 800; letter-spacing: .12em; font-size: 14px; text-transform: uppercase; }
.h2 { font-weight: 700; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; }
.lede-sm { font-size: 18px; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }

.card { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 32px; border-radius: 28px; background: linear-gradient(180deg, var(--night-2), var(--night-3)); border: 1px solid var(--line); }
.card h3 { font-weight: 600; font-size: 28px; line-height: 1.15; }
.card p { font-size: 16px; color: var(--muted); }
.card--center { align-items: center; text-align: center; }
.badge { position: relative; width: 150px; height: 120px; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: auto; color: var(--star); font-weight: 800; text-decoration: none; }
.more:hover { color: var(--bright); }
.more svg { transition: transform .15s ease; }
.more:hover svg { transform: translateX(3px); }

/* Projects */
.project { padding: 24px; gap: 20px; }
.preview { display: flex; justify-content: center; align-items: flex-end; height: 200px; border-radius: 16px; overflow: hidden; }
.preview--mise { background: linear-gradient(180deg, #2A0F5C, #B23A9E 75%, #FF9A5A); }
.preview--sleep { background: linear-gradient(180deg, #12062A, #2A0F5C 50%, #5A23B8); }
.preview--brand { flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; padding: 0 24px; background: linear-gradient(180deg, #5A23B8, #F0607A); }
.phone { display: flex; flex-direction: column; gap: 8px; width: 110px; height: 170px; padding: 14px 12px; border-radius: 18px 18px 0 0; background: var(--night); border: 3px solid var(--fg); border-bottom: 0; }
.phone--center { justify-content: center; align-items: center; }
.phone__bar { height: 10px; width: 60%; border-radius: 4px; background: var(--star); }
.phone__tile { height: 44px; border-radius: 8px; background: var(--line); }
.creature { width: 54px; height: 40px; border-radius: 28px 28px 14px 14px; background: #B794FF; position: relative; }
.creature::before, .creature::after { content: ""; position: absolute; top: 16px; width: 10px; height: 3px; border-radius: 3px; background: var(--ink); }
.creature::before { left: 12px; } .creature::after { right: 12px; }
.bubble { padding: 10px 14px; font-size: 13px; font-weight: 700; }
.bubble--in { align-self: flex-start; border-radius: 14px 14px 14px 4px; background: var(--fg); color: var(--ink); }
.bubble--out { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--night); color: var(--fg); }
.project__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.project__top h3 { font-size: 24px; }
.status { padding: 5px 12px; border-radius: 999px; background: var(--teal); color: var(--ink-2); font-size: 13px; font-weight: 800; white-space: nowrap; }

/* Process */
.orbit { position: relative; }
.orbit::before { content: ""; position: absolute; left: 8%; right: 8%; top: 44px; border-top: 3px dashed var(--line-2); }
.steps { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px 24px; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.steps .orb { width: 88px; }
.step-title { font-family: var(--display); font-weight: 600; font-size: 24px; }
.steps p { font-size: 16px; color: var(--muted); max-width: 250px; }

/* Founder */
.founder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; align-items: center; }
.portrait { position: relative; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; justify-self: center; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #12062A 0%, #3A1590 45%, #B23A9E 78%, #FF9A5A 100%); }
.portrait .stars { inset: 0 0 50% 0; }
.portrait__hill { position: absolute; left: 50%; bottom: -260px; width: 560px; height: 560px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 6%, #FF9A5A 0%, #E040A0 12%, #6C2BD9 30%, #2A0F5C 46%); }
.initials { position: absolute; left: 50%; top: 36%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; width: 140px; height: 140px; border-radius: 50%; background: var(--night); border: 3px solid var(--star); font-family: var(--display); font-weight: 700; font-size: 52px; color: var(--star); }
.founder__copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.founder__copy p { font-size: 18px; line-height: 1.7; color: var(--muted); }

/* Motto */
.motto { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding-block: 96px 24px; }
.motto__line { max-width: 820px; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; }
.motto p:last-child { max-width: 600px; font-size: 18px; color: var(--muted); }

/* Pricing */
.price { gap: 16px; }
.price--featured { background: linear-gradient(160deg, #3A1590, #8E2F8C); border-color: var(--magenta); }
.price--featured p { color: #FFE9F6; }
.price .orb { width: 56px; }
.amount { font-family: var(--display); font-weight: 600; font-size: 28px; color: var(--star); }
.note { text-align: center; color: var(--muted); font-size: 16px; }

/* Lists */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--muted); }
.checklist svg { flex: none; margin-top: 4px; color: var(--teal); }
.price--featured .checklist li { color: #FFE9F6; }
.price--featured .checklist svg { color: var(--star); }
.list-title { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--fg); }

/* Service detail */
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: center; padding-block: 80px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.feature:first-of-type { border-top: 0; }
.feature__visual { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1 / 1; justify-self: center; }
.feature__visual .orb { position: absolute; left: 20%; top: 20%; width: 60%; }
.feature__copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.feature__copy h2 { font-weight: 700; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; }
.feature__copy > p { font-size: 18px; color: var(--muted); max-width: 600px; }
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.lists > div { display: flex; flex-direction: column; gap: 12px; }

/* Project detail */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: 20px; background: var(--night-2); border: 1px solid var(--line); }
.fact span:first-child { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.fact span:last-child { font-family: var(--display); font-weight: 600; font-size: 20px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: start; }
.split > div { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.split p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.big-preview { height: 320px; border-radius: 28px; }
.big-preview .phone { width: 160px; height: 250px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 820px; width: 100%; margin-inline: auto; }
.faq details { padding: 22px 26px; border-radius: 24px; background: var(--night-2); border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 21px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; color: var(--star); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; align-items: start; }
.email { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 3vw, 34px); color: var(--fg); user-select: all; overflow-wrap: anywhere; }
.copy-status { font-size: 15px; color: var(--teal); min-height: 24px; }

/* CTA band */
.cta { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 20px; margin-block: 96px 80px; padding: 80px 24px 220px; border-radius: 36px; text-align: center; background: var(--dusk); }
.cta > :not(.stars):not(.skyline):not(.shoot):not(.bit) { position: relative; z-index: 1; }
.cta .stars { inset: 0 0 50% 0; }
.cta h2 { font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; max-width: 760px; }
.cta p { font-size: 18px; color: #FFF2FA; max-width: 520px; }
.cta a:not(.btn) { color: var(--bright); }

/* Footer */
.site-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; padding-block: 48px 56px; border-top: 1px solid var(--line); color: var(--soft); font-size: 15px; }
.site-footer h2 { font-size: 16px; font-family: var(--body); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
.site-footer > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-links a { color: var(--soft); text-decoration: none; display: inline-block; padding-block: 4px; }
.footer-links a:hover { color: var(--star); }
.legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 640px) {
  .hero { padding-block: 24px 230px; }
  .hero--page { padding-block: 24px 160px; }
  .orbit::before { display: none; }
  .cta { padding: 64px 20px 190px; border-radius: 28px; }
  .card { padding: 26px; }
  .sky > .moon { left: auto !important; right: 6%; top: 1.5% !important; width: 40px !important; height: 40px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .bit { animation: none; }
  .shoot { animation: none; opacity: .7; }
  .btn:hover { transform: none; }
}
