﻿*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.6 "Segoe UI", Arial, sans-serif; background: var(--bg); color: var(--ink); }
.obsidian { --bg: #0d151c; --ink: #edf7fd; --surface: #17242e; --accent: #a3e4f5; --button-ink: #102027; --rule: #44606b; --heading: "Segoe UI", Arial, sans-serif; }
.ember { --bg: #fff4de; --ink: #431f18; --surface: #f6e5c6; --accent: #783125; --button-ink: #fff4de; --rule: #b98c72; --heading: Georgia, serif; }
.ironline { --bg: #f3f0e8; --ink: #202a24; --surface: #e8e6da; --accent: #ffc16a; --button-ink: #212a24; --rule: #777b6d; --heading: "Arial Black", "Segoe UI", sans-serif; }
.shell { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { position: fixed; z-index: 2; padding: .5rem; background: var(--bg); translate: 0 -150%; }
.skip:focus { translate: 0; }
p { margin: 0 0 1rem; max-width: 60ch; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.02; margin: 0 0 .8rem; }
h1 { font-size: clamp(2.85rem, 6.8vw, 6.4rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4.8vw, 3.8rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.demo-banner { background: var(--surface); font-size: .88rem; border-bottom: 1px solid var(--rule); }
.demo-banner .shell, footer .shell, .site-header, .site-header nav { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; }
.demo-banner .shell { padding-block: .48rem; }
.site-header { padding-block: 1.15rem; border-bottom: 1px solid var(--rule); }
.wordmark { font-family: var(--heading); font-weight: 800; font-size: 1.3rem; text-decoration: none; }
.site-header nav a { font-weight: 650; }
.demo-hero, .demo-request { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 7vw, 6rem); }
.kicker { font-size: .88rem; font-weight: 750; text-transform: uppercase; letter-spacing: .14em; }
.cta { display: inline-block; font: inherit; font-weight: 750; padding: .65rem 1rem; border: 1px solid var(--accent); background: var(--accent); color: var(--button-ink); text-decoration: none; cursor: pointer; }
.cta:hover { filter: brightness(1.12); }
.cta:disabled { opacity: .7; cursor: default; }
.scene { min-width: 0; aspect-ratio: 1.12; position: relative; overflow: hidden; isolation: isolate; }
.scene-shape, .scene-shape::before, .scene-shape::after { position: absolute; }
.scene-shape::before, .scene-shape::after { content: ""; }
.obsidian .scene { background: radial-gradient(ellipse at 52% 65%, #4e7481, #182932 48%, #0b1116 80%); border: 1px solid #42636f; }
.obsidian .scene-shape { inset: 39% 10% 33%; border-radius: 48% 36% 20% 16%; transform: skewX(-13deg); background: linear-gradient(#b3d6e4 3%, #2e4a58 8% 43%, #9bbbc4 44%, #335062 58%, #13232e 80%); box-shadow: 0 21px 20px #0009; }
.obsidian .scene-shape::before, .obsidian .scene-shape::after { width: 17%; aspect-ratio: 1; bottom: -18%; border-radius: 50%; background: radial-gradient(circle, #a7cbd5 8%, #47616e 12% 35%, #080e12 38% 66%, #64808b 68% 71%, #000 74%); }
.obsidian .scene-shape::before { left: 17%; }
.obsidian .scene-shape::after { right: 13%; }
.ember .demo-hero { grid-template-columns: .9fr 1.1fr; }
.ember .scene { border-radius: 49% 49% 0 0; background: repeating-linear-gradient(95deg, #782f21 0 20px, #853728 21px 32px, #71311f 33px 35px); }
.ember .scene-shape { inset: 12% 17%; border-radius: 50%; background: radial-gradient(ellipse, #dcc89c 0 56%, #fbebc6 58% 62%, #b38d62 64%, #f5dfae 65% 68%, transparent 70%); box-shadow: 0 18px 34px #34150991; }
.ember .scene-shape::before { inset: 28%; rotate: -28deg; border-radius: 50%; background: repeating-conic-gradient(from 10deg, #995132 0deg 14deg, #cca659 15deg 33deg, #82573e 35deg 44deg); }
.ember .scene-shape::after { inset: 34%; rotate: 28deg; background: radial-gradient(ellipse at 25% 35%, #456334 0 10%, transparent 12%), radial-gradient(ellipse at 68% 58%, #5a743d 0 15%, transparent 18%), radial-gradient(ellipse at 40% 75%, #652f35 0 15%, transparent 18%); }
.ironline h1, .ironline h2 { text-transform: uppercase; font-weight: 900; }
.ironline .scene { background: linear-gradient(145deg, #f8ba61 47%, #df9950 47% 56%, #414b43 56%); border-bottom: 8px solid #202a24; }
.ironline .scene-shape { inset: 22% 16% 12%; transform: skewY(-8deg); background: repeating-linear-gradient(90deg, #35483e 0 12%, #233129 12% 16%, #647368 16% 23%); border: 8px solid #202a24; box-shadow: 18px 20px #29362c80; }
.ironline .scene-shape::after { inset: 29% 0; border-block: 7px solid #202a24; }

.details-section { padding-block: clamp(2rem, 5vw, 4.5rem); background: var(--surface); }
.demo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.demo-cards article { padding: 1.2rem; border: 1px solid var(--rule); }
.ember .demo-cards article { border-width: 1px 0 0; padding-inline: 0; }
.ironline .demo-cards article { border-top: 4px solid #a45718; background: var(--bg); }
.demo-request { align-items: start; }
form { background: var(--surface); border: 1px solid var(--rule); padding: clamp(1rem, 3vw, 2rem); }
label { display: block; font-weight: 650; margin-bottom: .85rem; }
input, select { display: block; width: 100%; min-width: 0; margin-top: .25rem; padding: .6rem; border: 1px solid var(--rule); background: var(--bg); color: var(--ink); font: inherit; border-radius: 0; }
[role="status"] { margin: .7rem 0 0; }
[role="status"]:empty { margin: 0; }
footer { border-top: 1px solid var(--rule); padding-block: 1.25rem; }
@media (max-width: 730px) {
  .demo-hero, .ember .demo-hero, .demo-request { grid-template-columns: 1fr; }
  .scene { max-width: 520px; }
}
@media (max-width: 580px) {
  .demo-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
