/* Civil Systems structural UI: drafting grid, route accents, CAD selection.
   Rounded corners are deliberately limited to the publisher's app icons. */
:root {
  color-scheme: light;
  --paper: #f4f4f5; --panel: #fff; --ink: #09090b; --muted: #52525b;
  --line: rgb(9 9 11 / .14); --grid: rgb(9 9 11 / .045);
  --accent: #1d4ed8; --soft: #e9e9ee; --route: #2563eb;
  --shadow: 0 0 1px rgb(0 0 0 / .15), 0 4px 12px rgb(0 0 0 / .06), 0 14px 32px rgb(0 0 0 / .04);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 500 16px/1.7 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
body.night { color-scheme: dark; --paper: #09090b; --panel: #141416; --ink: #fafafa; --muted: #a1a1aa; --line: rgb(255 255 255 / .16); --grid: rgb(255 255 255 / .035); --accent: #93b4ff; --soft: #1d1d23; --shadow: 0 0 1px #fff3, 0 6px 28px #0005; }
a { color: inherit; text-underline-offset: 5px; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
button { font: inherit; color: inherit; cursor: pointer; background: var(--panel); border: 1px solid var(--line); min-width: 44px; min-height: 44px; padding: 9px 13px; border-radius: 0; }
button:disabled { opacity: .3; cursor: default; }
button:not(:disabled):hover, .button:hover { box-shadow: inset 0 0 0 2px var(--accent); background-image: repeating-linear-gradient(135deg, transparent 0 3px, var(--grid) 3px 4px); }
header, main, footer { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
header { display: flex; justify-content: space-between; align-items: center; min-height: 90px; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { font-size: 13px; line-height: 1.3; font-weight: 900; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.brand span { display: block; color: var(--accent); font: 700 10px/1.7 'IBM Plex Mono', monospace; letter-spacing: .2em; }
nav { display: flex; align-items: center; gap: 24px; font-size: 12px; }
nav a { text-decoration: none; }
nav a:hover { color: var(--accent); }
nav button { font: 600 10px/1.4 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .06em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: 1.05; }
h1 { font-size: clamp(36px, 4.5vw, 62px); margin-bottom: 22px; }
h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; }
h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.eyebrow, .micro, .category { font: 600 10px/1.6 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eyebrow { margin-bottom: 18px; }
.intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; padding: 42px 0 32px; }
.intro h1 { margin: 0; }
.intro h1 span { color: var(--accent); }
.intro .eyebrow { margin-bottom: 18px; }
.intro-aside { max-width: 430px; justify-self: end; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.75; margin-bottom: 20px; max-width: 530px; }
.intro .lead { font-size: 14px; margin-bottom: 12px; }
.text-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; font: 700 11px/1.5 'IBM Plex Mono', monospace; text-decoration: none; }
.text-link:hover { color: var(--accent); }
.intro .text-link { justify-content: start; }
section { margin-bottom: 44px; }
.featured { margin-bottom: 26px; }
.rail-heading { display: flex; align-items: center; justify-content: space-between; min-height: 50px; }
.rail-heading > .eyebrow { margin: 0; }
.carousel-controls { display: flex; align-items: center; gap: 8px; }
.carousel-controls .eyebrow { margin: 0 16px 0 0; }
.carousel-controls button { font-size: 20px; padding: 0; }
.featured-track { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding: 8px 0 16px; }
.spotlight { flex: 0 0 90%; min-width: 0; position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1.2fr; min-height: 370px; scroll-snap-align: start; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.spotlight::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 5px; background: var(--route); }
.theme-subsystemsynth { --route: #ea580c; --art: #eee7df; }
.theme-cozyconsole { --route: #7c3aed; --art: #e6e1ef; }
.theme-plats { --route: #16a34a; --art: #e3ece5; }
.theme-rockyship { --route: #2563eb; --art: #e0e6f0; }
.theme-pixnay { --route: #ea580c; --art: #eee7df; }
.theme-pixiloc { --route: #7c3aed; --art: #e7e2ef; }
.theme-blockplan { --route: #16a34a; --art: #e3e9de; }
.theme-tenzly { --route: #ca8a04; --art: #ede9df; }
.theme-sortune { --route: #db2777; --art: #eee1e8; }
.theme-coset { --route: #2563eb; --art: #e0e9eb; }
.spotlight-copy { padding: 30px 34px; position: relative; z-index: 1; }
.spotlight-copy .eyebrow { display: flex; align-items: center; gap: 8px; }
.route-dot { width: 6px; height: 6px; background: var(--route); display: inline-block; }
.spotlight-icon { width: 68px; height: 68px; border-radius: 22%; object-fit: cover; margin-bottom: 20px; box-shadow: var(--shadow); }
.spotlight h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 13px; }
.spotlight-line { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 330px; margin-bottom: 22px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 48px; padding: 12px 19px; background: var(--panel); border: 1px solid var(--line); color: var(--ink); font: 700 11px/1.5 'IBM Plex Mono', monospace; text-transform: uppercase; text-decoration: none; box-shadow: var(--shadow); }
.spotlight .button { border-left: 3px solid var(--route); }
.spotlight .micro { display: block; margin-top: 15px; font-size: 9px; }
.spotlight-art { background: var(--art); display: flex; gap: 18px; justify-content: center; align-items: center; padding: 25px 24px; position: relative; overflow: hidden; }
.spotlight-art::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#00000006 1px, transparent 1px), linear-gradient(90deg, #00000006 1px, transparent 1px); background-size: 24px 24px; }
.spotlight-art img { position: relative; display: block; width: min(42%, 188px); height: auto; max-height: 360px; object-fit: contain; box-shadow: 0 6px 22px #0002; }
.spotlight-art .shot-side { margin-top: 35px; }
.spotlight-art .shot-main { margin-bottom: 35px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; border-block: 1px solid var(--line); padding-block: 18px; }
.principles p { font-size: 11px; color: var(--muted); margin: 0; }
.principles strong { display: block; font-weight: 800; font-size: 12px; color: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 40px 0 25px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p, .section-heading > a { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; }
.game-card { min-width: 0; position: relative; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.card-art { display: flex; gap: 9px; align-items: center; justify-content: center; height: 160px; background: var(--art); overflow: hidden; border: 1px solid var(--line); margin-bottom: 15px; }
.card-art img { display: block; width: auto; max-width: 42%; height: 135px; object-fit: contain; box-shadow: 0 3px 12px #0002; }
.card-art img:first-child { margin-top: 20px; }
.card-art img:last-child { margin-bottom: 20px; }
.store-info { display: flex; align-items: center; gap: 10px; }
.store-info > div { min-width: 0; }
.icon { display: block; width: 52px; height: 52px; flex-shrink: 0; border-radius: 22%; object-fit: cover; box-shadow: var(--shadow); }
.game-card h3 { font-size: 16px; margin: 0 0 4px; }
.game-card h3 a { text-decoration: none; }
.game-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.game-card h3 a:focus-visible::after, .game-card:hover h3 a::after { outline: 2px solid var(--route); outline-offset: 6px; }
.category { font-size: 8px; letter-spacing: .035em; margin: 0; }
.card-summary { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 13px 0 8px; }
.game-card .text-link { font-size: 9px; min-height: 32px; position: relative; z-index: 2; }
.closing { border-block: 1px solid var(--line); margin: 48px 0; padding: 34px 0; }
.closing p { color: var(--muted); font-size: 14px; max-width: 650px; margin: 18px 0 0; }
.closing .eyebrow { margin: 0 0 12px; font-size: 10px; }
.closing h2 { margin-bottom: 20px; }
footer { padding: 30px 0 35px; border-top: 1px solid var(--line); }
footer p { font-size: 13px; color: var(--muted); margin: 14px 0; }
footer div { display: flex; gap: 24px; flex-wrap: wrap; font-size: 11px; }
footer small { display: block; font-size: 10px; margin-top: 25px; color: var(--muted); }
.back { display: inline-block; margin: 28px 0; font: 600 11px/1.7 'IBM Plex Mono', monospace; text-decoration: none; }
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 20px 0 35px; }
.detail-icon { width: 108px; height: 108px; border-radius: 22%; object-fit: cover; box-shadow: var(--shadow); margin-bottom: 24px; }
.detail-hero h1 { overflow-wrap: anywhere; }
.detail-screen { width: auto; max-width: 100%; height: 510px; object-fit: contain; justify-self: center; }
.micro { display: block; margin-top: 18px; font-size: 9px; }
.how { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; border-block: 1px solid var(--line); padding-block: 40px; }
.body-copy { font-size: 18px; line-height: 1.85; }
.features { padding-left: 20px; color: var(--muted); list-style-type: square; }
.features li { padding: 7px 0; }
.screenshots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.screenshots a { padding: 20px; background: var(--soft); border: 1px solid var(--line); }
.screenshots img { display: block; width: 100%; height: auto; }
.related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related .card-art { height: 220px; }
.related .card-art img { height: 190px; }
.legal { max-width: 780px; padding-block: 50px; }
.legal h2 { margin-top: 40px; font-size: 26px; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 20; padding: 12px; background: var(--panel); }
.skip:focus { top: 10px; }
[hidden] { display: none !important; }
@media (max-width: 1050px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spotlight { flex-basis: 96%; grid-template-columns: 1fr 1fr; }
  .spotlight-copy { padding: 25px; }
  .intro { gap: 32px; }
  .spotlight-art { gap: 12px; padding-inline: 16px; }
}
@media (max-width: 700px) {
  header, main, footer { width: calc(100% - 36px); }
  header { min-height: 82px; gap: 14px; }
  nav { gap: 12px; font-size: 10px; }
  nav button { padding-inline: 8px; font-size: 9px; }
  .brand { font-size: 11px; }
  .intro { grid-template-columns: 1fr; gap: 18px; padding: 30px 0 16px; }
  .intro h1 { font-size: clamp(34px, 6.7vw, 48px); }
  .intro-aside { justify-self: start; max-width: 100%; }
  .intro .lead { font-size: 13px; }
  .intro .text-link { display: none; }
  .spotlight { flex-basis: 94%; grid-template-columns: 1fr; min-height: auto; }
  .spotlight-copy { padding: 22px; }
  .spotlight-copy .eyebrow { font-size: 8px; margin-bottom: 14px; }
  .spotlight-icon { width: 52px; height: 52px; margin-bottom: 14px; }
  .spotlight h2 { font-size: 30px; }
  .spotlight-line { font-size: 14px; max-width: 100%; margin-bottom: 17px; }
  .spotlight-art { min-height: 245px; padding: 18px; }
  .spotlight-art img { max-height: 235px; width: auto; max-width: 42%; }
  .spotlight-art .shot-side { margin-top: 14px; }
  .spotlight-art .shot-main { margin-bottom: 14px; }
  .spotlight .micro { display: none; }
  .principles { gap: 14px; padding-block: 16px; }
  .principles p { font-size: 10px; }
  .principles strong { font-size: 10px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .card-art { height: 140px; }
  .card-art img { height: 120px; }
  .store-info { gap: 9px; align-items: start; flex-direction: column; }
  .icon { width: 58px; height: 58px; }
  .game-card h3 { font-size: 17px; }
  .card-summary { font-size: 12px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-heading h2 { font-size: 28px; }
  .detail-hero { grid-template-columns: 1fr; gap: 30px; }
  .detail-hero h1 { font-size: 42px; }
  .detail-screen { height: auto; max-height: 540px; width: 100%; }
  .how { grid-template-columns: 1fr; gap: 12px; }
  .body-copy { font-size: 16px; }
  .screenshots { gap: 12px; overflow-x: auto; grid-template-columns: repeat(3, 75%); scroll-snap-type: x mandatory; }
  .screenshots a { padding: 12px; scroll-snap-align: start; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related .card-art { height: 140px; }
  .related .card-art img { height: 120px; }
  .legal h1 { font-size: 40px; }
  .button { max-width: 100%; gap: 15px; font-size: 10px; }
}
@media (max-width: 370px) {
  header { flex-wrap: wrap; padding-block: 14px; gap: 10px; }
  nav { width: 100%; justify-content: space-between; }
  .principles { grid-template-columns: 1fr; gap: 10px; }
  .principles strong { display: inline; margin-right: 5px; }
  .spotlight h2 { font-size: 26px; }
  .spotlight-copy { padding: 20px; }
  .card-art { height: 120px; }
  .card-art img { height: 100px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-color-scheme: dark) {
  body:not(.day) { color-scheme: dark; --paper: #09090b; --panel: #141416; --ink: #fafafa; --muted: #a1a1aa; --line: rgb(255 255 255 / .16); --grid: rgb(255 255 255 / .035); --accent: #93b4ff; --soft: #1d1d23; --shadow: 0 0 1px #fff3, 0 6px 28px #0005; }
}

/* Feature artwork is shown intact; captioned screenshots live on detail pages. */
.spotlight { display: flex; flex-direction: column; flex-basis: 78%; min-height: 0; }
.spotlight::before { top: auto; height: 3px; width: 100%; }
.spotlight-art { display: block; padding: 0; min-height: 0; background: var(--panel); }
.spotlight-art::before { content: none; }
.spotlight-art img { display: block; width: 100%; max-width: none; max-height: none; height: auto; aspect-ratio: 1024 / 500; object-fit: contain; margin: 0; box-shadow: none; }
.spotlight-copy { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; }
.spotlight-copy .eyebrow { margin-bottom: 9px; font-size: 9px; }
.spotlight h2 { font-size: clamp(22px, 2.3vw, 30px); margin-bottom: 8px; }
.spotlight-line { max-width: none; margin-bottom: 0; font-size: 13px; }
.spotlight .button { flex-shrink: 0; }
.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
.card-art, .related .card-art { display: block; height: auto; padding: 0; aspect-ratio: 1024 / 500; margin-bottom: 17px; }
.card-art img, .related .card-art img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 1024 / 500; object-fit: contain; margin: 0 !important; box-shadow: none; }
.store-info { display: block; }
.game-card h3 { font-size: 21px; margin-bottom: 6px; }
.category { font-size: 9px; }
.card-summary { font-size: 13px; margin-top: 11px; }
.game-card .text-link { font-size: 10px; }
.detail-feature { border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.detail-feature img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 500; object-fit: contain; }
.detail-hero { grid-template-columns: 1.4fr 1fr; padding: 28px 0 35px; gap: 30px; }
.detail-hero > div:first-child { display: grid; grid-template-columns: 100px 1fr; column-gap: 24px; align-items: start; }
.detail-icon { width: 100px; height: 100px; grid-column: 1; grid-row: 1 / 4; margin: 0; }
.detail-hero .eyebrow { grid-column: 2; margin: 0 0 7px; }
.detail-hero h1 { grid-column: 2; font-size: clamp(26px, 3.2vw, 40px); margin: 0 0 10px; }
.detail-hero .lead { grid-column: 2; font-size: 14px; margin-bottom: 0; }
.detail-action { justify-self: end; }
.detail-action .micro { max-width: 310px; line-height: 1.8; }
@media (max-width: 1050px) {
  .spotlight { flex-basis: 88%; }
  .spotlight-copy { padding: 20px; gap: 18px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-action { justify-self: start; margin-left: 124px; }
}
@media (max-width: 700px) {
  .spotlight { flex-basis: 94%; }
  .spotlight-copy { flex-direction: column; align-items: start; padding: 19px; gap: 17px; }
  .spotlight h2 { font-size: 25px; }
  .spotlight-line { font-size: 13px; }
  .gallery, .related { grid-template-columns: 1fr; gap: 28px; }
  .game-card h3 { font-size: 22px; }
  .card-summary { font-size: 14px; }
  .detail-hero > div:first-child { grid-template-columns: 72px 1fr; gap: 0 17px; }
  .detail-icon { width: 72px; height: 72px; }
  .detail-hero h1 { font-size: 28px; }
  .detail-action { margin-left: 0; }
  .detail-hero .lead { font-size: 13px; }
}

/* Browser demo: the game keeps its own interface inside an isolated viewport. */
.browser-button { margin-bottom: 5px; border-left: 3px solid var(--accent); }
.detail-action > .micro { margin-bottom: 20px; }
.play-room { padding-block: 12px 35px; }
.play-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 15px 0 25px; }
.play-heading h1 { font-size: clamp(28px,4vw,48px); margin-bottom: 0; }
.play-heading .eyebrow { margin-bottom: 8px; }
.game-stage { border: 1px solid var(--line); background: #09090b; }
.demo-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; background: var(--panel); }
.demo-intro > img { display: block; width: 100%; height: auto; }
.demo-intro > div { padding: 26px; }
.demo-intro h2 { font-size: 28px; }
.demo-intro p { font-size: 14px; color: var(--muted); }
.game-frame { display: block; width: 100%; height: max(560px, calc(100svh - 130px)); border: 0; }
.game-stage:fullscreen .game-frame { height: 100%; }
.demo-tools { display: flex; justify-content: end; gap: 10px; padding-bottom: 10px; }
.demo-tools button { font-size: 12px; }
.demo-notes { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; margin-top: 25px; }
.demo-notes p, #demo-help { font-size: 12px; color: var(--muted); }
@media(max-width:700px) {
 .play-heading { align-items: start; flex-direction: column; }
 .demo-intro { grid-template-columns: 1fr; }
 .demo-intro > div { padding: 22px; }
 .demo-notes { grid-template-columns: 1fr; gap: 5px; }
 .game-frame { height: max(560px, calc(100svh - 100px)); }
}

/* Readable, publisher-sourced alternatives below the screenshot gallery. */
.alternatives { border-top: 1px solid var(--line); padding-top: 40px; }
.alternatives > h2 { max-width: 930px; font-size: clamp(25px,3vw,37px); line-height: 1.2; }
.comparison-intro { max-width: 880px; font-size: 17px; line-height: 1.85; color: var(--muted); }
.comparison-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,360px),1fr)); gap: 30px; margin: 28px 0; }
.comparison-grid article { border: 1px solid var(--line); background: var(--panel); padding: 25px; }
.comparison-grid h3, .free-note h3, .game-faq > h3 { font-size: 21px; line-height: 1.3; }
.comparison-grid p { font-size: 15px; color: var(--muted); line-height: 1.85; }
.comparison-grid .comparison-source { font-size: 11px; margin: 22px 0 0; }
.free-note { border-left: 4px solid var(--accent); background: var(--panel); padding: 23px 27px; margin-bottom: 32px; }
.free-note p { max-width: 900px; font-size: 15px; color: var(--muted); }
.free-note p:last-child { font-size: 12px; margin-bottom: 0; }
.game-faq dl { max-width: 900px; }
.game-faq dt { font-size: 16px; font-weight: 750; margin-top: 24px; }
.game-faq dd { margin: 10px 0 25px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.comparison-updated { font: 500 10px/1.9 'IBM Plex Mono',monospace; color: var(--muted); margin-top: 30px; }
.related-logic { font-size: 13px; line-height: 2; }
@media(max-width:700px) { .comparison-grid article,.free-note { padding: 20px; } .comparison-intro { font-size: 15px; } }

.audience-note { border-left: 3px solid var(--line); padding-left: 23px; margin: 30px 0; max-width: 900px; }
.audience-note h3 { font-size: 20px; margin-bottom: 12px; }
.audience-note p, .player-notes p { font-size: 15px; line-height: 1.85; color: var(--muted); }
.player-notes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; margin: 35px 0; }
.player-notes h3 { font-size: 21px; line-height: 1.3; }
.discovery-notes { border-block: 1px solid var(--line); padding: 18px 0; margin-top: 30px; }
.discovery-notes summary { cursor: pointer; font: 600 11px/1.9 'IBM Plex Mono',monospace; }
.discovery-notes summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.discovery-notes p, .discovery-notes li { color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 900px; }
.discovery-notes p:first-of-type { margin-top: 22px; }
@media(max-width:700px) { .player-notes { grid-template-columns: 1fr; gap: 15px; } }

.video-demo{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;padding:3rem 0;border-top:1px solid var(--line)}
.video-demo h2{margin:.8rem 0}.video-demo p{line-height:1.7;max-width:55ch}.video-player{width:100%;aspect-ratio:16/9;background:#171717;display:grid;place-items:center;overflow:hidden}.video-player iframe{width:100%;height:100%;border:0}.video-player.portrait:has(iframe){aspect-ratio:9/16;max-width:320px;justify-self:center}.video-start{position:relative;display:block;width:100%;height:100%;padding:0;border:0;background:#171717;color:white;cursor:pointer}.video-start img{width:100%;height:100%;object-fit:cover;opacity:.68}.video-start span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:.8rem 1.2rem;background:#111e;font-weight:700;white-space:nowrap}.video-start:focus-visible{outline:3px solid #2563eb;outline-offset:-4px}@media(max-width:700px){.video-demo{grid-template-columns:1fr;gap:1.3rem;padding:2rem 0}}
