:root {
  color-scheme: dark;
  --ink: #f4f7ff;
  --muted: #b4c2db;
  --blue: #86d9ff;
  --bg: #090e19;
  --line: #263650;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid #ffd275; outline-offset: 4px; }
.frame { width: min(73rem, calc(100% - 5rem)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2; left: 1rem; top: 1rem; transform: translateY(-200%); padding: .75rem 1rem; background: #fff; color: #001024; }
.skip-link:focus { transform: translateY(0); }
.header { border-bottom: 1px solid #202d43; }
.topbar, .footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.6rem; }
.wordmark { display: inline-flex; align-items: center; gap: .48rem; font-size: 1.26rem; font-weight: 700; text-decoration: none; letter-spacing: -.035em; }
.tech { color: #a5bad8; font-weight: 450; margin-left: -.15rem; }
nav a, .footer-inner > a:last-child { padding: .6rem .15rem; text-decoration: none; color: var(--muted); font-size: .96rem; }
nav a:hover, .footer-inner > a:last-child:hover { color: var(--blue); }
.logo {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  mix-blend-mode: screen;
  clip-path: inset(0 0 7%);
  -webkit-mask-image: radial-gradient(ellipse 73% 76% at 50% 51%, #000 58%, transparent 96%);
  mask-image: radial-gradient(ellipse 73% 76% at 50% 51%, #000 58%, transparent 96%);
}
.logo::before {
  content: "";
  position: absolute;
  width: 475.25%;
  height: 380.34%;
  left: -10.85%;
  top: -15.94%;
  background: url(assets/lumora-mark.png) left top / 100% 100% no-repeat;
  filter: contrast(1.075);
}
.logo-small { width: 2.1rem; flex: 0 0 2.1rem; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3.1rem; padding-block: 4rem; }
.hero h1 { font-size: clamp(3.5rem, 6.4vw, 6rem); line-height: .99; letter-spacing: -.073em; margin: 0; font-weight: 730; }
.hero h1 span { color: var(--blue); }
.hero p { font-size: 1.19rem; line-height: 1.62; margin: 1.5rem 0 1.85rem; max-width: 33rem; color: var(--muted); }
.primary { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .65rem 1.2rem; border-radius: .6rem; background: #86d9ff; color: #07182a; text-decoration: none; font-weight: 720; }
.primary:hover { background: #b3e9ff; }
.hero-art { min-width: 0; isolation: isolate; position: relative; display: grid; place-items: center; overflow: hidden; height: clamp(18rem, 30vw, 25rem); border: 1px solid #30466b; border-radius: 1.65rem; background: radial-gradient(ellipse at 50% 42%, #203a5c 0%, #101d34 43%, #0a1527 72%, #0a1322 100%); }
.logo-hero { width: min(65%, 19rem); z-index: 1; margin-top: -.35rem; }
.art-grid { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(#35558161 1px, transparent 1px), linear-gradient(90deg, #35558161 1px, transparent 1px); background-position: center; background-size: 2rem 2rem; mask-image: radial-gradient(ellipse at center, #000 40%, transparent 95%); }
.orbit { position: absolute; aspect-ratio: 1; border-radius: 50%; border: 1px solid #70adf14d; }
.orbit-wide { width: 79%; border-color: #6bb4fb2a; }
.orbit-mid { width: 66%; }
.orbit-inner { width: 53%; border-style: dashed; border-color: #77bdff46; }
.orbit::before { content: ""; position: absolute; border-radius: 50%; height: .36rem; width: .36rem; background: #96d9ff; box-shadow: 0 0 .7rem #7dc8ff; left: 91%; top: 22%; }
.orbit-mid::before { background: #ffd180; box-shadow: 0 0 .6rem #ffae4e; left: 7%; top: 24%; }
.orbit-inner::before { left: 85%; top: 85%; }
.app-section { padding: 2.85rem 0 4rem; border-top: 1px solid #22324b; background: linear-gradient(#0c1423, #090e19); }
.section-heading { margin-bottom: 1.65rem; }
.section-heading h2, dialog h2 { font-size: clamp(1.85rem, 3.4vw, 2.65rem); letter-spacing: -.05em; margin: 0 0 .55rem; line-height: 1.12; }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.55; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.23rem; }
.app-card { --accent: #8edbff; --art-base: #10233b; --art-glow: #173b63; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: #111a2b; border-radius: 1.1rem; }
.product-crm { --accent: #8be8cf; --art-base: #0d282b; --art-glow: #174742; }
.product-trace { --accent: #c8b5ff; --art-base: #231b3b; --art-glow: #3f2b65; }
.card-art { isolation: isolate; display: grid; place-items: center; position: relative; height: 8.3rem; overflow: hidden; color: var(--accent); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at center, var(--art-glow), var(--art-base) 75%); }
.card-pattern { position: absolute; inset: 0; z-index: -1; background: radial-gradient(currentColor .75px, transparent 1px) center / 12px 12px; opacity: .28; mask-image: radial-gradient(ellipse, #000, transparent 80%); }
.logo-card { width: 6.8rem; }
.app-symbol { position: relative; display: block; }
.contacts { width: 4.8rem; height: 3.55rem; border: 2px solid; border-radius: .64rem; background: #143c3d; box-shadow: .36rem .38rem 0 #143c3d, .36rem .38rem 0 1px #63bcad; }
.contacts i { position: absolute; border: 1.5px solid; }
.contacts i:nth-child(1) { left: .69rem; top: .68rem; width: .77rem; aspect-ratio: 1; border-radius: 50%; }
.contacts i:nth-child(2) { left: .42rem; top: 1.66rem; height: .86rem; width: 1.31rem; border-radius: 1rem 1rem .25rem .25rem; }
.contacts i:nth-child(3), .contacts i:nth-child(4) { left: 2.09rem; right: .63rem; top: 1.15rem; border-width: 0 0 1.5px; }
.contacts i:nth-child(4) { top: 1.9rem; right: 1rem; }
.trace { border: 1px dashed; display: grid; place-items: center; width: 3.75rem; height: 3.65rem; font: 3.1rem/.9 Georgia, serif; background: #302451; }
.trace i { width: .38rem; height: .38rem; position: absolute; border: 1px solid; background: #302451; }
.trace i:nth-of-type(1) { top: -.19rem; left: -.19rem; }
.trace i:nth-of-type(2) { top: -.19rem; right: -.19rem; }
.trace i:nth-of-type(3) { bottom: -.19rem; left: -.19rem; }
.trace i:nth-of-type(4) { bottom: -.19rem; right: -.19rem; }
.card-copy { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.35rem; }
.category { color: var(--accent, var(--blue)); font-weight: 660; margin: 0 0 .45rem; font-size: .89rem; }
.card-copy h3 { margin: 0 0 .54rem; font-size: 1.43rem; letter-spacing: -.035em; line-height: 1.15; }
.card-copy > p:not(.category) { color: var(--muted); margin: 0 0 1.2rem; line-height: 1.54; }
button { font: inherit; cursor: pointer; }
.card-copy button { margin-top: auto; color: var(--ink); background: #17253c; border: 1px solid #354966; border-radius: .52rem; min-height: 2.75rem; padding: .54rem .8rem; font-size: .94rem; font-weight: 610; }
.card-copy button:hover { border-color: var(--accent); color: var(--accent); }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 4.8rem; }
dialog { position: fixed; inset: 0; width: min(35rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); color: var(--ink); background: #111c2e; padding: 2rem; border: 1px solid #465e81; border-radius: 1.22rem; box-shadow: 0 1.5rem 6rem #0009; }
dialog::backdrop { background: #050912c9; }
body:has(dialog[open]) { overflow: hidden; }
dialog h2 { margin-right: 2.55rem; }
dialog p:not(.category), dialog dd { color: var(--muted); line-height: 1.5; }
dialog dl { margin: 1.3rem 0 0; }
dialog dl > div { border-top: 1px solid var(--line); padding: .7rem 0; }
dialog dt { font-weight: 680; margin-bottom: .2rem; }
dialog dd { margin: 0; }
.close { background: #1b2a42; color: var(--ink); border: 1px solid #455978; border-radius: .52rem; width: 2.75rem; height: 2.75rem; position: absolute; top: 1rem; right: 1rem; font-size: 1.55rem; line-height: 1; }
.close:hover { background: #263b59; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 59rem) {
  .frame { width: calc(100% - 3rem); }
  .hero { gap: 1.8rem; padding-block: 3rem; }
  .hero p { font-size: 1.1rem; }
}
@media (max-width: 44rem) {
  .frame { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; padding-block: 2.7rem 2.1rem; }
  .hero h1 { font-size: clamp(3.1rem, 10vw, 4.7rem); }
  .hero-art { height: clamp(14rem, 60vw, 23rem); }
  .logo-hero { width: min(64%, 16rem); }
  .app-grid { grid-template-columns: 1fr; }
  .app-section { padding: 2rem 0 2.5rem; }
}

.learning-apps { margin-top: 3.25rem; padding-top: 2.45rem; border-top: 1px solid var(--line); }
.learning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-startyper { --accent: #94e8ff; --art-base: #11172f; --art-glow: #30366a; }
.product-wild-pages { --accent: #bce3b7; --art-base: #132b24; --art-glow: #2d5241; }
.typing-key {
  display: grid;
  width: 4.4rem;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid #a9e8ff;
  border-radius: .72rem;
  background: linear-gradient(150deg, #293b70, #111d41);
  box-shadow: inset 0 0 0 .28rem #19264c, 0 .36rem 0 #5479b0, 0 .75rem 1.45rem #090e1990;
}
.pixel-star {
  width: 2.3rem;
  aspect-ratio: 1;
  background: url('assets/startyper-star.svg') center / contain no-repeat;
}
.story-notebook {
  display: grid;
  width: 3.8rem;
  height: 4.65rem;
  place-items: center;
  transform: rotate(-8deg);
  border: 2px solid #9bcab0;
  border-radius: .28rem .5rem .5rem .28rem;
  background: linear-gradient(90deg, #224839 .48rem, #426d54 .49rem, #345843 100%);
  box-shadow: .2rem .25rem 0 #e1d4ad, .33rem .38rem 0 #263a2d, .48rem .58rem 1rem #09181280;
}
.notebook-leaf {
  width: 1.45rem;
  height: 1.75rem;
  position: relative;
  margin-left: .38rem;
  transform: rotate(25deg);
  border-radius: 100% 0 100% 12%;
  background: #cae5a8;
}
.notebook-leaf::before {
  content: "";
  position: absolute;
  left: 49%;
  top: 22%;
  width: 2px;
  height: 74%;
  transform: rotate(34deg);
  background: #527e51;
}
@media (max-width: 44rem) {
  .learning-apps { margin-top: 2.25rem; padding-top: 1.8rem; }
  .learning-grid { grid-template-columns: 1fr; }
}
