:root {
  color-scheme: dark;
  --bg: #131622;
  --panel: #1c2030;
  --line: #3a4155;
  --text: #f7f8fb;
  --muted: #bec6d9;
  --lime: #e4fa8b;
  --ink: #1b2511;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
  outline: 3px solid #d5b9ff;
  outline-offset: 4px;
}
a:hover { text-decoration-thickness: .14em; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.045em; overflow-wrap: anywhere; }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: absolute; z-index: 4; left: 16px; top: 12px; padding: 8px 14px; background: var(--bg); transform: translateY(-180%); }
.skip:focus { transform: none; }
.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top { min-height: 82px; border-bottom: 1px solid var(--line); }
.top nav a, .footer a, .back { color: var(--muted); text-underline-offset: .26em; }
.top nav a { display: inline-block; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 720; line-height: 1.2; }
.monogram { display: grid; width: 41px; height: 41px; flex: 0 0 41px; place-items: center; border: 1px solid #626b81; border-radius: 12px; color: var(--lime); font-size: .85rem; letter-spacing: -.055em; }
.hero-bg {
  background: radial-gradient(ellipse at 82% 29%, #292c47 0%, transparent 57%);
}
.hero { min-height: 545px; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 76px); padding-block: clamp(44px, 6vw, 85px); }
.label { color: var(--lime); font-weight: 670; font-size: .92rem; }
.hero h1 { font-size: clamp(3rem, 6.35vw, 6.15rem); letter-spacing: -.075em; margin-top: 15px; max-width: 10ch; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-intro { margin: 23px 0 25px; max-width: 47ch; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.16rem); }
.button, .secondary {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 700; min-height: 46px; padding: 10px 19px;
  border: 1px solid transparent; border-radius: 8px; text-decoration: none; cursor: pointer;
}
.button { background: var(--lime); color: var(--ink); }
.button:hover { background: #f0ffbc; }
.secondary { background: transparent; color: var(--text); border-color: #687087; }
.secondary:hover { background: #303750; }
.feature {
  display: block; min-width: 0; padding: 11px; border: 1px solid #505875; border-radius: 24px;
  background: #1a1e2c; text-decoration: none; box-shadow: 0 18px 64px #0b0c1775;
}
.feature:hover, .card-link:hover { border-color: #a4afcd; }
.feature-copy { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 14px 9px 6px; }
.feature-copy small, .feature-copy strong { display: block; }
.feature-copy small { color: var(--muted); font-size: .9rem; }
.feature-copy strong { font-size: 1.44rem; line-height: 1.2; }
.project-action { font-size: .92rem; color: var(--lime); font-weight: 680; text-decoration: underline; text-underline-offset: .25em; }
.visual { min-width: 0; position: relative; overflow: hidden; min-height: 250px; display: grid; place-items: center; isolation: isolate; border-radius: 14px; }
.visual img { display: block; width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.visual figcaption {
  position: absolute; bottom: 10px; right: 10px; max-width: calc(100% - 20px);
  padding: 3px 8px; background: #131622; color: #eceef6; border-radius: 5px;
  font-size: .76rem; line-height: 1.4;
}
.visual-hri {
  min-height: 275px; padding: clamp(20px, 3.2vw, 47px) clamp(13px, 3vw, 38px) 36px;
  background: radial-gradient(ellipse at 20% 5%, #bdb1fd, transparent 70%), linear-gradient(126deg, #7773dc, #4c458c);
}
.dashboard {
  display: grid; grid-template-columns: 39px minmax(0, 1fr); width: min(100%, 410px);
  border: 1px solid #fff9; border-radius: 13px; overflow: hidden; color: #1e2238;
  background: #f4f3fc; box-shadow: 12px 20px 38px #23175360; text-align: left;
}
.dash-rail { background: #262347; padding: 9px; display: flex; gap: 15px; flex-direction: column; align-items: center; }
.dash-rail i { width: 12px; height: 10px; border: 1px solid #a69cd6; border-radius: 3px; }
.dash-logo { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 5px; background: #d7cdfc; font-size: .8rem; }
.dash-top { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; border-bottom: 1px solid #ddd7f6; font-size: .76rem; font-weight: 730; }
.dash-person { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #dfd6fb; font-size: .65rem; }
.dash-body { padding: clamp(10px, 2vw, 20px); }
.dash-body > strong { display: block; margin-top: 1px; margin-bottom: 9px; font-size: clamp(.95rem, 1.65vw, 1.38rem); line-height: 1.15; letter-spacing: -.035em; }
.dash-body small { display: block; color: #514968; font-size: .71rem; }
.dash-course { display: flex; align-items: center; gap: 7px; padding: 6px; margin-top: 5px; border: 1px solid #e0dcf1; background: #fff; border-radius: 7px; font-weight: 700; font-size: .72rem; line-height: 1.25; }
.dash-course small { margin-top: 2px; font-size: .63rem; font-weight: 500; }
.dash-course i { margin-left: auto; color: #404b27; background: #e5efcc; font-size: .61rem; font-style: normal; border-radius: 5px; padding: 3px 5px; }
.dash-icon { display: grid; flex: 0 0 24px; height: 24px; place-items: center; background: #eae2fe; border-radius: 4px; }
.dash-icon.pink { background: #f7e0f6; }
.dash-bars { display: flex; height: 45px; gap: 5px; align-items: flex-end; margin-top: 9px; padding: 4px 9px; background: #fff; border: 1px solid #e0dcf1; border-radius: 7px; }
.dash-bars span { width: 8%; height: 43%; border-radius: 3px 3px 0 0; background: #ad97ef; }
.dash-bars span:nth-child(2n) { height: 78%; background: #8174d6; }
.dash-bars span:nth-child(3n) { height: 62%; }
.gallery { padding-block: 44px 78px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding-top: 23px; border-top: 1px solid var(--line); }
.section-head h2, .journey h2, .demo h2 { font-size: clamp(1.75rem, 4vw, 3.15rem); }
.section-head p, .card-copy > p:not(.label), .journey p, .demo > p { color: var(--muted); }
.index-links { margin-block: 20px; }
.index-links a { display: inline-block; padding: 8px 0; color: var(--lime); text-underline-offset: .24em; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card-link { border: 1px solid #454d64; border-radius: 19px; background: var(--panel); padding: 9px; display: block; height: 100%; text-decoration: none; }
.card .visual { height: clamp(222px, 25vw, 360px); min-height: 0; }
.card .visual img { min-height: 0; }
.card-copy { padding: 19px 16px 16px; }
.card-copy h3 { margin: 5px 0 7px; font-size: clamp(1.65rem, 3.4vw, 2.45rem); }
.card-copy .project-action { display: inline-block; margin-top: 13px; }
.status { display: inline-block; background: #343148; color: #f0dafc; border-radius: 6px; font-size: .89rem; padding: 4px 9px; font-weight: 670; }
.card-copy .status { margin-left: 9px; }
.visual-fewo { background: #4a5441; }
.visual-delic { background: #6a5e58; }
.visual-neonware { background: #2f1e46; }
.visual-neonware img { transition: filter .22s; }
.case-neonware .visual-neonware img { filter: brightness(1.32) saturate(.77); }
.case-neonware.is-uv .visual-neonware img { filter: brightness(.91) saturate(1.65); }
.visual-booster { background: radial-gradient(ellipse at 15% 12%, #f5bf9e, transparent 70%), linear-gradient(135deg, #bd7298, #734f97); padding: 16px 12px 32px; }
.phone { width: min(160px, 75%); background: #242033; border: 4px solid #21192c; padding: 5px; border-radius: 24px; transform: rotate(-8deg); box-shadow: 13px 15px 26px #2c17275c; }
.phone-cut { position: absolute; top: 8px; left: 41%; width: 18%; height: 5px; border-radius: 5px; background: #242033; }
.phone-screen { padding: 16px 9px 10px; background: #ffead9; border-radius: 16px; color: #2f1e40; }
.phone-brand { font-size: .75rem; background: #e8bbe4; padding: 2px 6px; border-radius: 4px; font-weight: 740; display: inline-block; }
.phone-screen small, .phone-screen strong { display: block; }
.phone-screen small { font-size: .68rem; margin-top: 7px; }
.phone-screen strong { font-size: 1.18rem; line-height: 1.05; letter-spacing: -.04em; }
.phone-stamps { display: flex; gap: 3px; margin: 10px 0; }
.phone-stamps b { border: 1px solid #c86dac; border-radius: 5px; display: grid; place-items: center; width: 18px; height: 21px; font-size: .75rem; }
.phone-action { display: block; padding: 5px; border-radius: 5px; background: #2a2439; color: #fff; text-align: center; font-size: .73rem; font-weight: 650; }
.case-shell { padding-block: 29px 64px; }
.back { display: inline-block; padding: 8px 0; }
.case-head { margin: 28px 0 25px; }
.case-head h1 { font-size: clamp(2.95rem, 7.5vw, 6.1rem); letter-spacing: -.075em; margin: 6px 0; }
.case-lead { font-size: clamp(1.1rem, 2.1vw, 1.5rem); color: var(--muted); }
.case-head .status { margin-top: 16px; }
.case-spot { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: stretch; gap: 20px; }
.case-spot .visual { min-height: 340px; }
.case-art .demo { margin-top: 12px; }
.case-art + .facts { align-self: start; }
.case-spot .visual img { position: absolute; inset: 0; }
.case-spot .visual-booster .phone { width: min(180px, 75%); }
.facts { border: 1px solid #454d64; border-radius: 14px; padding: 19px 23px; background: var(--panel); }
.facts dl { margin: 0; }
.facts dl div + div { border-top: 1px solid #434c64; margin-top: 11px; padding-top: 11px; }
.facts dt { font-weight: 720; }
.facts dd { margin: 2px 0 0; color: var(--muted); }
.journey, .demo { margin-top: 38px; }
.journey ol { padding: 0; margin: 17px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.journey li { border-top: 2px solid #9183cc; padding: 13px 8px 9px 0; }
.journey h3 { font-size: 1.26rem; margin-bottom: 7px; }
.demo { border: 1px solid #596580; border-radius: 15px; background: #242a3e; padding: clamp(18px, 3vw, 32px); }
.demo h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
.demo > p { margin-top: 7px; }
.demo label { display: block; margin-top: 14px; font-weight: 660; }
.demo select {
  appearance: none; width: min(100%, 300px); min-height: 44px; margin-top: 6px;
  font: inherit; padding: 6px 32px 6px 10px; border: 1px solid #818ca6; border-radius: 6px; background:
  linear-gradient(45deg, transparent 50%, #fff 50%) calc(100% - 16px) center / 5px 5px no-repeat,
  linear-gradient(135deg, #fff 50%, transparent 50%) calc(100% - 11px) center / 5px 5px no-repeat, #171b2a;
}
.demo .demo-output { color: var(--lime); margin-top: 11px; }
.switch-label input { inline-size: 19px; block-size: 19px; vertical-align: middle; accent-color: var(--lime); }
.demo-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.stamps { display: flex; gap: 5px; margin-top: 10px; }
.stamps span { width: 34px; height: 35px; display: grid; place-items: center; border: 1px solid #a49abb; border-radius: 7px; }
.next { margin-top: 24px; }
.footer { min-height: 72px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) {
  .wrap { width: calc(100% - 46px); }
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .hero h1 { max-width: 15ch; }
  .feature { max-width: 610px; }
  .case-spot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 570px) {
  .wrap { width: calc(100% - 32px); }
  .top { min-height: 66px; }
  .brand { gap: 6px; }
  .monogram { width: 30px; height: 34px; flex-basis: 30px; }
  .hero h1 { max-width: 11ch; }
  .section-head { align-items: start; flex-direction: column; }
  .cards, .journey ol { grid-template-columns: minmax(0, 1fr); }
  .feature-copy { flex-wrap: wrap; }
  .gallery { padding-block: 28px 54px; }
  .case-spot .visual { min-height: 275px; }
}
@media (prefers-reduced-motion: reduce) {
  .visual-neonware img { transition: none; }
}
