:root {
  --ink: #f7f2fb;
  --muted: #b9acbf;
  --dark: #0d0714;
  --dark-soft: #160b20;
  --line: rgba(247, 242, 251, 0.13);
  --accent: #a851eb;
  --accent-deep: #64209c;
  --paper: #f5f2f7;
  --paper-ink: #1a0d26;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--dark); color: var(--ink); font-family: "Manrope", sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin-top: 0; font-family: "Space Grotesk", sans-serif; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 78px; padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; background: rgba(13, 7, 20, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.brand b { color: var(--accent); font-weight: 600; }
.brand-mark { width: 36px; height: 36px; padding: 5px; display: grid; place-items: center; overflow: hidden; background: #fff; border-radius: 8px 2px 8px 2px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; gap: clamp(1.2rem, 3vw, 2.8rem); color: #d0c3d7; font-size: .88rem; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--accent); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: #fff; }
.menu-button span { width: 18px; height: 1px; display: block; margin: 5px auto; background: currentColor; }

.hero { min-height: calc(100vh - 78px); padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; border-bottom: 1px solid var(--line); }
.eyebrow, .section-index { margin: 0 0 1.4rem; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
h1 { max-width: 850px; margin-bottom: 1.6rem; font-size: clamp(3.2rem, 6.5vw, 7rem); line-height: .94; letter-spacing: -.06em; font-weight: 600; }
h1 em { display: block; color: var(--accent); font-style: normal; }
.hero-text { max-width: 720px; margin: 0; color: #c8bbcf; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { margin-top: 2.4rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.button { min-height: 52px; padding: .8rem 1.2rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; }
.button-primary { background: var(--accent); color: #12071c; border-radius: 2px 13px 2px 13px; transition: transform .2s ease; }
.button-primary:hover { transform: translateY(-2px); }
.text-link { color: #eadff0; font-size: .9rem; border-bottom: 1px solid rgba(234, 223, 240, .35); }
.hero-summary { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); background: linear-gradient(145deg, rgba(168,81,235,.13), rgba(255,255,255,.02)); }
.summary-label { margin: 0 0 2.2rem; color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.summary-item { padding: 1.1rem 0; display: grid; grid-template-columns: 42px 1fr; align-items: center; border-top: 1px solid var(--line); }
.summary-item span { color: #927fa0; font-family: "Space Grotesk", sans-serif; font-size: .7rem; }
.summary-item strong { font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.summary-bottom { margin-top: 2rem; display: flex; align-items: center; gap: .6rem; color: #bcaec4; font-size: .78rem; }
.summary-bottom i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.section { padding: clamp(5rem, 9vw, 8.5rem) clamp(1.25rem, 6vw, 6rem); }
.section-heading { margin-bottom: 3.5rem; display: grid; grid-template-columns: .36fr 1.05fr .65fr; gap: 2rem; align-items: start; }
.section-heading h2, .hours-copy h2, .systems-heading h2 { margin-bottom: 0; font-size: clamp(2.3rem, 4.7vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.section-heading > p:last-child { margin: .2rem 0 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 310px; padding: 1.8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card.featured { background: var(--accent); color: #14081e; }
.service-card > span { color: #9f8bab; font-family: "Space Grotesk", sans-serif; font-size: .7rem; }
.service-card.featured > span { color: rgba(20,8,30,.55); }
.service-card h3 { margin: 5rem 0 .9rem; font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing: -.04em; }
.service-card p { margin: 0; color: var(--muted); }
.service-card.featured p { color: rgba(20,8,30,.75); }
.contract-note, .schedule-note { margin: 1rem 0 0; color: #a997b4; font-size: .82rem; }

.hours-section { border-top: 1px solid var(--line); background: var(--dark-soft); }
.hours-copy { max-width: 920px; margin-bottom: 3.5rem; }
.hours-copy h2 { margin-bottom: 1.2rem; }
.hours-copy > p:last-child { max-width: 700px; color: var(--muted); }
.schedule-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.schedule-grid article { min-height: 240px; padding: clamp(1.6rem, 4vw, 2.8rem); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.schedule-grid article:last-child { background: var(--accent); color: #14081e; }
.schedule-grid p { margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.schedule-grid strong { font-family: "Space Grotesk", sans-serif; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.schedule-grid span { color: var(--muted); }
.schedule-grid article:last-child span { color: rgba(20,8,30,.72); }

.systems-section { background: var(--paper); color: var(--paper-ink); }
.systems-section .section-index { color: #7129ae; }
.systems-heading { margin-bottom: 4rem; display: grid; grid-template-columns: 1.1fr .7fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.plain-explanation { padding: 1.5rem; border-left: 3px solid #7c31b9; background: #fff; }
.plain-explanation strong { font-family: "Space Grotesk", sans-serif; }
.plain-explanation p { margin: .55rem 0 0; color: #64546e; }
.custom-demo { margin-bottom: 4rem; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.custom-demo-copy h3 { margin-bottom: 1rem; font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1; letter-spacing: -.05em; }
.custom-demo-copy > p:not(.section-index) { max-width: 570px; color: #675870; }
.choice-list { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-list span { padding: .38rem .7rem; border: 1px solid rgba(26,13,38,.2); background: #fff; color: #5f4f69; font-size: .76rem; font-weight: 700; }
.demo-window { overflow: hidden; border: 1px solid rgba(26,13,38,.2); border-radius: 10px; background: #fff; box-shadow: 0 22px 70px rgba(53,20,77,.12); }
.demo-window-top { min-height: 48px; padding: 0 1rem; display: flex; align-items: center; gap: .4rem; border-bottom: 1px solid rgba(26,13,38,.12); background: #faf8fb; }
.demo-window-top > span { width: 8px; height: 8px; border-radius: 50%; background: #d7cbdc; }
.demo-window-top > span:first-child { background: #a851eb; }
.demo-window-top p { margin: 0 0 0 auto; color: #74647d; font-size: .72rem; font-weight: 700; }
.demo-toolbar { min-height: 44px; padding: 0 1.1rem; display: flex; align-items: center; gap: .75rem; border-bottom: 1px solid rgba(26,13,38,.1); color: #796a82; font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.demo-toolbar i { width: 4px; height: 4px; border-radius: 50%; background: #a851eb; }
.demo-canvas { --move-x: 190px; position: relative; min-height: 340px; overflow: hidden; background: #f7f3f9; }
.demo-grid { position: absolute; inset: 0; opacity: .7; background-image: linear-gradient(rgba(94,62,113,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(94,62,113,.07) 1px, transparent 1px); background-size: 28px 28px; }
.moving-button { position: absolute; z-index: 2; left: 34px; top: 70px; min-width: 156px; height: 48px; padding: 0 1.2rem; border: 0; border-radius: 7px; background: #a851eb; color: #170921; box-shadow: 0 8px 20px rgba(73,26,105,.18); font-family: "Manrope", sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .06em; pointer-events: none; animation: move-and-style-button 8s ease-in-out infinite; }
.demo-cursor { position: absolute; z-index: 4; left: 112px; top: 88px; width: 28px; height: 32px; filter: drop-shadow(0 3px 2px rgba(0,0,0,.2)); animation: drag-cursor 8s ease-in-out infinite; }
.demo-cursor svg { width: 100%; height: 100%; overflow: visible; }
.demo-cursor path { fill: #170921; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.demo-caption { position: absolute; right: 1.2rem; bottom: .8rem; margin: 0; color: #8a7a92; font-size: .7rem; }
@keyframes move-and-style-button {
  0%, 17% { transform: translate(0, 0); border-radius: 7px; background: #a851eb; color: #170921; }
  37%, 48% { transform: translate(var(--move-x), 78px); border-radius: 7px; background: #a851eb; color: #170921; }
  55%, 63% { transform: translate(var(--move-x), 78px); border-radius: 999px; background: #64209c; color: #fff; }
  80%, 92% { transform: translate(42px, 165px); border-radius: 2px 14px 2px 14px; background: #170921; color: #fff; }
  100% { transform: translate(0, 0); border-radius: 7px; background: #a851eb; color: #170921; }
}
@keyframes drag-cursor {
  0% { transform: translate(230px, -42px); opacity: 0; }
  7% { transform: translate(230px, -42px); opacity: 1; }
  17% { transform: translate(0, 0); opacity: 1; }
  37% { transform: translate(var(--move-x), 78px) scale(.9); opacity: 1; }
  45% { transform: translate(calc(var(--move-x) + 85px), 20px); opacity: 1; }
  52% { transform: translate(calc(var(--move-x) + 110px), 8px); opacity: 0; }
  64% { transform: translate(150px, 210px); opacity: 0; }
  70% { transform: translate(42px, 165px); opacity: 1; }
  80% { transform: translate(42px, 165px) scale(.9); opacity: 1; }
  90% { transform: translate(245px, 215px); opacity: 0; }
  100% { transform: translate(230px, -42px); opacity: 0; }
}
.system-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(26,13,38,.18); border-left: 1px solid rgba(26,13,38,.18); }
.system-steps article { min-height: 300px; padding: 1.8rem; border-right: 1px solid rgba(26,13,38,.18); border-bottom: 1px solid rgba(26,13,38,.18); }
.system-steps article.highlight { background: var(--accent-deep); color: #fff; }
.system-steps span, .server-options span { color: #7b2fba; font-family: "Space Grotesk", sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.system-steps .highlight span { color: #dfbdff; }
.system-steps h3 { margin: 5rem 0 .9rem; font-size: 1.55rem; letter-spacing: -.03em; }
.system-steps p { margin: 0; color: #675870; }
.system-steps .highlight p { color: #e8dcf0; }
.server-block { margin-top: 4rem; padding-top: 3rem; display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid rgba(26,13,38,.18); }
.server-intro h3 { margin-bottom: .7rem; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; letter-spacing: -.04em; }
.server-intro > p:last-child { color: #675870; }
.server-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.server-options article { padding: 1.6rem; border: 1px solid rgba(26,13,38,.18); background: #fff; }
.server-options h4 { margin: 2.3rem 0 .7rem; font-size: 1.22rem; }
.server-options p { margin: 0; color: #675870; }

.contact-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; border-top: 1px solid var(--line); background: var(--dark-soft); }
.contact-copy h2 { max-width: 700px; margin-bottom: 1.3rem; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .98; letter-spacing: -.05em; }
.contact-copy > p:not(.section-index) { max-width: 610px; margin: 0; color: var(--muted); }
.contact-points { margin-top: 3rem; border-top: 1px solid var(--line); }
.contact-points > div { padding: 1.15rem 0; display: grid; grid-template-columns: 42px 1fr; gap: .5rem; border-bottom: 1px solid var(--line); }
.contact-points span { color: var(--accent); font-family: "Space Grotesk", sans-serif; font-size: .7rem; }
.contact-points p { margin: 0; color: #aa9ab3; font-size: .88rem; line-height: 1.55; }
.contact-points strong { color: #f1e9f5; font-weight: 700; }
.contact-form { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); background: #f8f5fa; color: var(--paper-ink); box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.form-heading { margin-bottom: 2rem; }
.form-heading p { margin: 0 0 .45rem; color: #7b2fba; font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.form-heading h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.04em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.form-grid label { min-width: 0; display: grid; gap: .5rem; }
.form-grid label > span { font-size: .82rem; font-weight: 800; }
.form-grid input { width: 100%; min-height: 52px; padding: .8rem .9rem; border: 1px solid rgba(26,13,38,.22); border-radius: 3px; outline: 0; background: #fff; color: var(--paper-ink); font: inherit; font-size: .95rem; transition: border-color .2s ease, box-shadow .2s ease; }
.form-grid input::placeholder { color: #93859b; }
.form-grid input:focus { border-color: #7b2fba; box-shadow: 0 0 0 3px rgba(123,47,186,.13); }
.form-grid input[aria-invalid="true"] { border-color: #b42318; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-field { margin: 1.5rem 0; display: grid; grid-template-columns: 20px 1fr; gap: .7rem; align-items: start; color: #5e5066; font-size: .78rem; line-height: 1.5; cursor: pointer; }
.consent-field input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: #7b2fba; }
.submit-button { width: 100%; border: 0; cursor: pointer; }
.submit-button:focus-visible { outline: 3px solid rgba(123,47,186,.3); outline-offset: 3px; }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.form-status { min-height: 1.5rem; margin: .9rem 0 0; font-size: .82rem; font-weight: 700; }
.form-status.success { color: #19733b; }
.form-status.error { color: #b42318; }

footer { min-height: 100px; padding: 2rem clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: #a997b4; font-size: .82rem; }
footer p { margin: 0; }
footer strong { color: #eee5f3; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { color: var(--accent); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-summary { max-width: 600px; }
  .section-heading { grid-template-columns: 1fr; gap: .6rem; }
  .systems-heading, .custom-demo, .server-block, .contact-section { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .service-card h3 { margin-top: 3.5rem; }
}

@media (max-width: 680px) {
  .site-header { min-height: 70px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 70px; left: 0; right: 0; padding: 1.5rem; display: none; flex-direction: column; align-items: flex-start; background: #12091b; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .hero { padding-top: 5rem; padding-bottom: 5rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .schedule-grid, .system-steps, .server-options, .form-grid { grid-template-columns: 1fr; }
  .demo-canvas { --move-x: 100px; min-height: 330px; }
  .moving-button { left: 22px; min-width: 142px; }
  .demo-cursor { left: 92px; }
  .schedule-grid article { min-height: 210px; }
  .system-steps article { min-height: 245px; }
  .system-steps h3 { margin-top: 3.5rem; }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-direction: column; gap: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .moving-button { transform: translate(42px, 165px); border-radius: 2px 14px 2px 14px; background: #170921; color: #fff; animation: none; }
  .demo-cursor { display: none; }
}
