/* Homepage redesign. Existing hero rules remain in style.css. */
.md-homepage .main-nav a { color: #e9a5fa; }
.md-homepage .main-nav a:hover, .md-homepage .main-nav a.active { color: #99cc33; }
.md-homepage .vaxel-hint { position: relative; display: inline-block; margin-top: 18px; color: #e9a5fa; font: 600 .85rem 'Poppins', sans-serif; white-space: nowrap; pointer-events: none; }
.md-homepage .vaxel-hint svg { position: absolute; width: 48px; height: 30px; right: calc(100% + 8px); top: 4px; pointer-events: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.md-home { --md-purple: #d680ff; --md-light: #e9a5fa; --md-green: #99cc33; color: #efe5f5; background: #08030e; }
.md-home .md-section { margin: 0; padding: clamp(90px, 10vw, 150px) 0; border-top: 1px solid #392047; scroll-margin-top: 24px; }
.md-container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.md-home h2 { color: var(--md-purple); font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 1.12; margin: 0 auto 28px; filter: none; }
.md-home h3 { color: var(--md-green); font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.2; filter: none; margin-bottom: 20px; }
.md-home p { line-height: 1.75; font-size: 1.05rem; margin-bottom: 24px; }
.md-home .md-eyebrow { color: var(--md-green); text-transform: uppercase; font-size: .78rem; letter-spacing: .19em; font-weight: 700; line-height: 1.6; margin-bottom: 20px; }
.md-home .md-lead { max-width: 800px; margin: 0 auto 30px; font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #eedcf6; }
.md-intro, .md-pathways, .md-work, .md-benefits { text-align: center; }
.md-intro { background: radial-gradient(ellipse at 50% 0, #290d3c, transparent 75%), #0b0412; }
.md-intro-copy { max-width: 760px; margin-inline: auto; }
.md-capabilities { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; margin-top: 65px; }
.md-capabilities li { font-size: 1rem; line-height: 1.5; }
.md-symbol { display: block; color: #d680ff; font-size: 3.5rem; line-height: 1.3; margin-bottom: 18px; }
.md-symbol--code { font-size: 2.7rem; min-height: 73px; display: grid; place-items: center; }
.md-pathways { background: linear-gradient(160deg, #16081f, #08030e); }
.md-pathway-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 58px; }
.md-pathway, .md-work-card { min-width: 0; border: 1px solid #6d3488; border-radius: 12px; background: #100817; overflow: hidden; text-align: left; display: flex; flex-direction: column; }
.md-pathway--business { border-color: #65802d; }
.md-pathway > img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.md-pathway--business > img { object-fit: contain; background: #edf0e6; }
.md-card-copy { padding: clamp(24px, 3vw, 36px); flex: 1; display: flex; flex-direction: column; }
.md-home .md-card-label { color: #e9a5fa; font-size: .74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 15px; }
.md-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 54px; padding: 15px 24px; border-radius: 6px; background: #99cc33; color: #08030e; font-size: 1rem; font-weight: 700; text-align: center; line-height: 1.4; text-decoration: none; }
.md-card-copy .md-button { align-self: flex-start; margin-top: auto; }
.md-button--creative { background: #d680ff; }
.md-home .md-button:hover { background: #b3e34e; text-decoration: none; }
.md-home .md-button--creative:hover { background: #e9a5fa; }
.md-home a:focus-visible, .md-footer a:focus-visible { outline: 3px solid #e9a5fa; outline-offset: 6px; }
.md-work { background: radial-gradient(ellipse at 50% 100%, #230c33, transparent 75%), #08030e; }
.md-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 58px; }
.md-work-card { scroll-margin-top: 30px; }
.md-work-card > img, .md-app-art { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.md-work-card:first-child > img { object-fit: contain; background: #edf0e6; }
.md-work-card .md-card-copy { padding: 28px; }
.md-work-card h3 { font-size: 1.6rem; }
.md-text-link { color: #b3e34e; font-weight: 600; line-height: 1.5; margin-top: auto; }
.md-app-art { display: grid; place-items: center; background: radial-gradient(circle, #3b1657, #13091d); padding: 35px; }
.md-app-window { width: 100%; max-width: 250px; border: 3px solid #d680ff; border-radius: 10px; transform: rotate(-4deg); box-shadow: 0 0 30px #8e36bb55; }
.md-app-bar { display: flex; gap: 6px; padding: 12px; border-bottom: 2px solid #d680ff; }
.md-app-bar i { width: 6px; height: 6px; border-radius: 50%; background: #e9a5fa; }
.md-app-content { position: relative; padding: 23px; display: grid; gap: 16px; }
.md-app-content span { width: 55%; height: 6px; border-radius: 4px; background: #d680ff; }
.md-app-content b { position: absolute; right: 18px; top: 12px; font-size: 4rem; color: #e9a5fa; }
.md-benefits { background: linear-gradient(180deg, #190925, #100619); }
.md-benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 35px; margin-top: 64px; }
.md-benefit-grid h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 600; color: #f0d7ff; }
.md-benefit-grid p { font-size: .96rem; color: #decce7; margin-bottom: 0; }
.md-home .md-contact { padding-block: clamp(100px, 12vw, 160px); background: linear-gradient(90deg, #08030ecc, #08030e66), url('/assets/images/Neon-Nebula-Planetscape.png') center / cover no-repeat; }
.md-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 80px); }
.md-home .md-contact h2 { color: #f0d7ff; }
.md-home .md-contact .md-lead { margin-inline: 0; }
.md-contact-notes { margin-top: 32px; }
.md-contact-notes li { padding: 8px 0 8px 30px; position: relative; line-height: 1.6; }
.md-contact-notes li::before { content: '✓'; color: #b3e34e; position: absolute; left: 0; font-weight: 700; }
.md-contact-form { background: #100718f2; border: 1px solid #b46bda; border-radius: 12px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 16px 60px #0008; min-width: 0; }
.md-contact-form label { display: block; margin-bottom: 10px; color: #f0d7ff; font-size: .95rem; font-weight: 500; }
.md-contact-form input:not([type='hidden']), .md-contact-form textarea { display: block; width: 100%; min-height: 54px; padding: 14px; margin-bottom: 24px; border: 1px solid #9365aa; border-radius: 6px; color: #fff; background: #2c153d; font: 400 1rem/1.6 'Poppins', sans-serif; }
.md-contact-form textarea { resize: vertical; }
.md-contact-form textarea::placeholder { color: #ceb8dc; opacity: 1; }
.md-contact-form input:focus, .md-contact-form textarea:focus { outline: 3px solid #b3e34e; outline-offset: 3px; border-color: #b3e34e; }
.md-contact-form .md-button { width: 100%; }
.md-home .md-form-note { font-size: .8rem; color: #dac6e5; margin: 12px 0; }
.md-footer { padding: 65px 0 30px; background: #09030e; color: #e9a5fa; border-top: 1px solid #392047; }
.md-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 50px; }
.md-footer-logo img { width: 240px; max-width: 100%; height: auto; margin-bottom: 22px; }
.md-footer h2 { color: #99cc33; font-family: 'Poppins', sans-serif; font-size: .95rem; font-weight: 600; filter: none; margin-bottom: 20px; }
.md-footer p, .md-footer li, .md-footer a { font-size: .9rem; line-height: 1.9; }
.md-footer a { color: #e9a5fa; overflow-wrap: anywhere; }
.md-footer li { margin-bottom: 6px; }
.md-footer-bottom { margin: 50px 20px 0; text-align: center; }
.md-homepage > .back-to-top-container { margin-block: 40px; }
@media (max-width: 980px) {
  .md-work-grid { grid-template-columns: 1fr; max-width: 700px; margin-inline: auto; }
  .md-work-card > img, .md-app-art { max-height: 380px; }
  .md-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-capabilities { gap: 18px; }
  .md-capabilities li { font-size: .9rem; }
}
@media (max-width: 700px) {
  .md-container { width: calc(100% - 40px); }
  .md-home .md-section { padding-block: 80px; }
  .md-home h2 { font-size: clamp(2.25rem, 9vw, 3.1rem); }
  .md-pathway-grid, .md-contact-grid, .md-footer-grid { grid-template-columns: 1fr; }
  .md-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .md-capabilities li:last-child { grid-column: 1 / -1; }
  .md-pathway-grid { gap: 36px; }
  .md-card-copy .md-button { width: 100%; }
  .md-footer { padding-bottom: 100px; }
  .md-contact-copy { text-align: center; }
  .md-contact-notes { text-align: left; }
}
@media (max-width: 420px) {
  .md-benefit-grid { grid-template-columns: 1fr; }
  .md-contact-form { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .md-homepage { scroll-behavior: auto; }
}
.md-footer .md-footer-top { display: flex; flex-direction: column; align-items: center; gap: 8px; width: fit-content; margin: 0 auto 50px; padding: 10px 20px; color: #e9a5fa; text-decoration: none; }
.md-footer-top svg { display: block; flex: none; width: 100px; height: 20px; fill: var(--color-accent); }
.md-footer-top span { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; line-height: 1.4; }
@media (max-width: 800px) {
  .md-contact-grid { grid-template-columns: 1fr; }
  .md-contact-copy { text-align: center; }
  .md-contact-notes { text-align: left; }
}

.md-homepage .vaxel-hint .vaxel-arrow-mobile { display: none; }
@media (max-width: 800px) {
  .md-homepage .vaxel-hint .vaxel-arrow-desktop { display: none; }
  .md-homepage .vaxel-hint .vaxel-arrow-mobile { display: block; width: min(160px, calc(50vw - 46px)); height: 150px; top: -126px; }
}
