:root {
  color-scheme: dark;
  --ink: #0b0b0e;
  --paper: #f6f3ed;
  --rule: #39383e;
  --pad: clamp(20px, 6vw, 110px);
  --mono: 'IBM Plex Mono', Consolas, 'Courier New', monospace;
  font-family: 'Geist', Arial, Tahoma, sans-serif;
  background: var(--ink);
  color: var(--paper);
  scroll-padding-top: 70px;
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid #dbb5ff; outline-offset: 3px; }
.masthead, .hero-foot, nav { display: flex; align-items: center; justify-content: space-between; }
.masthead { position: sticky; z-index: 3; top: 0; min-height: 60px; padding: 0 var(--pad); background: var(--ink); border-bottom: 1px solid var(--rule); }
.brand { font-size: 25px; letter-spacing: -.08em; font-weight: 800; display: inline-flex; align-items: baseline; gap: 8px; }
.brand span, .hero-foot span { font: 10px/1.3 var(--mono); letter-spacing: .14em; }
nav { gap: 28px; font-size: 14px; }
.login, .explore { border: 1px solid #85838b; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 4px; padding: 8px 16px; }
.login:hover, .explore:hover { background: var(--paper); color: var(--ink); }
.hero { isolation: isolate; position: relative; display: grid; align-items: center; min-height: clamp(510px, 83svh, 960px); padding: 70px var(--pad) 105px; overflow: hidden; background: #19152e; }
.sky, .cabin-camera { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky { background: linear-gradient(155deg,#171e43,#504489 55%,#a57782); }
.sky-photo, .cloud-flow { width: 100%; height: 100%; display: block; position: absolute; inset: 0; object-fit: cover; }
.cloud-flow { visibility: hidden; }
.sky.has-flow .cloud-flow { visibility: visible; }
.sky::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#04041286,transparent 78%),linear-gradient(0deg,#07050f80,transparent 25%); opacity: var(--copy-opacity,1); }
.cabin-camera { display: none; }
.cabin-wall { position: absolute; left: 50%; top: 50%; display: block; width: max(100%, min(148svh, 152vw)); max-width: none; transform: translate(-50%,-50%) scale(var(--camera-scale,12)); box-shadow: 0 0 0 400vmax #100d14; }
.hero-copy, .pass, .hero-foot { opacity: var(--copy-opacity,1); }
@media (prefers-reduced-motion: no-preference) {
  .sky-photo { animation: sky-drift 22s ease-in-out infinite alternate; }
  .sky.has-flow .sky-photo { animation: none; }
  @keyframes sky-drift {
    from { transform: scale(1.14) translateX(-2%); }
    to { transform: scale(1.18) translateX(2%); }
  }
  
  .flight-ready .hero { position: sticky; top: 60px; min-height: calc(100svh - 60px); }
  .flight-ready .cabin-camera { display: block; }
}
.hero-copy { max-width: 850px; }
.hero { grid-template-columns: minmax(0,1fr) minmax(225px,340px); gap: 35px; }
.pass { padding: clamp(18px,2.1vw,34px); border: 1px solid #ffffff45; border-radius: 16px 3px 16px 3px; background: linear-gradient(140deg,#3937529c,#251c3b80); backdrop-filter: blur(8px); justify-self: stretch; }
.pass-top { display: flex; align-items: center; justify-content: space-between; font: 10px var(--mono); letter-spacing: .14em; border-bottom: 1px dashed #ffffff61; padding-bottom: 17px; }
.pass-top i { width: 32px; height: 12px; background: repeating-linear-gradient(90deg,#dfdcea 0 1px,transparent 1px 3px,#dfdcea 3px 5px,transparent 5px 7px); }
.pass-name { font-size: clamp(34px,4vw,60px); letter-spacing: -.07em; margin-top: 24px; }
.pass-name em { font-family: Georgia, serif; }
.pass p { font-size: 16px; }
.pass a { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; padding: 9px 16px; border: 1px solid #d1c6d8; border-radius: 36px; }
.pass a:hover { background: #eee9f4; color: #0b0b0e; }
h1 { font-size: clamp(82px, 9.5vw, 165px); line-height: .86; letter-spacing: -.085em; font-weight: 600; }
h1 em, .footer-brand em { font-family: 'Baskervville', Georgia, serif; font-weight: 400; letter-spacing: -.075em; }
.hero-copy p { margin: 26px 0 18px; font-size: clamp(17px,1.5vw,24px); }
.explore { background: rgba(10,10,25,.35); border-color: #c2bed2; font-size: 14px; padding: 11px 18px; }
.hero-foot { position: absolute; bottom: 17px; left: var(--pad); right: var(--pad); border-top: 1px solid #ffffff63; padding-top: 7px; }
.hero-foot a { padding: 4px 9px; font-size: 14px; }
.hero,.fly-direct,.crew-guides,.product-scene { min-height:calc(100svh - 60px); }
.fly-direct { isolation:isolate; position:relative; display:grid; place-items:center; overflow:hidden; pointer-events:none; }
.cabin-invitation { padding:24px; text-align:center; font-family:Georgia,'Leelawadee UI',serif; font-style:italic; }
.fly-direct h2 { font:inherit; font-size:clamp(38px,7vw,102px); line-height:1.25; text-shadow:0 2px 14px #131020; }
.fly-direct h2 em { letter-spacing:-.055em; }
.cabin-login { display:inline-flex; align-items:center; gap:10px; margin-top:22px; padding:10px 22px; border:1px solid #cfc5d9; border-radius:5px; background:#20182ddb; font-size:clamp(16px,2vw,22px); pointer-events:auto; }
.cabin-login:hover,.cabin-login:focus-visible { background:#f5edf8; color:#251c30; }
html:not(.flight-ready) .fly-direct { background:#100d14 url('rari-sky.webp') center / cover; }
html:not(.flight-ready) .fly-direct::before { content:''; position:absolute; z-index:-1; width:max(100%,min(148svh,152vw)); aspect-ratio:1672/941; background:url('cabin-wall.webp') center / 100% 100%; box-shadow:0 0 0 300vmax #100d14; }
.crew-guides,.product-scene { padding:clamp(48px,8vw,118px) var(--pad); display:grid; align-content:center; }
.crew-guides { background:linear-gradient(0deg,#0b0b0e 3%,#18111ed9 40%,#17111a65 100%),url('crew.webp') center 35% / cover; }
.crew-guides h2,.product-scene h2,.route-stage h2 { font-size:clamp(32px,5.5vw,82px); font-weight:550; line-height:1.15; letter-spacing:-.035em; }
.guide-deck { margin-top:clamp(24px,4vw,60px); display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; align-items:start; }
.guide-card { border:1px solid #786c86; border-radius:14px; background:linear-gradient(155deg,#322542ef,#1a1720f7); overflow:hidden; }
.guide-card summary { display:flex; justify-content:space-between; gap:12px; align-items:center; min-height:clamp(115px,18vh,170px); padding:16px; font-weight:600; cursor:pointer; list-style:none; }
.guide-card summary::-webkit-details-marker { display:none; }
.guide-card[open] summary { min-height:65px; }
.guide-card[open] summary span { transform:rotate(45deg); }
.guide-card ol { margin:0; padding:0 16px 18px 34px; line-height:1.65; }
.product-scene { text-align:center; background:radial-gradient(ellipse at bottom,#211932 0%,#0b0b0e 68%); }
.product-scene em,.route-caption em { font-family:Georgia,Tahoma,serif; font-weight:400; }
.demo-player { color-scheme:light; width:100%; max-width:900px; margin:clamp(24px,5vw,56px) auto 0; border:1px solid #756284; border-radius:16px; overflow:hidden; background:#f8f2fa; color:#312039; text-align:left; }
.demo-player [hidden] { display:none; }
.demo-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px clamp(14px,4vw,30px); color:#fff; background:linear-gradient(110deg,#8b275b,#60396d); }
.demo-header h3 { margin:0 0 2px; font-size:clamp(16px,2.5vw,24px); }
.demo-header p { font-size:13px; }
.demo-count { flex:none; background:#fff3; border-radius:20px; padding:5px 11px; font-size:13px; font-variant-numeric:tabular-nums; }
.demo-progress { display:block; width:calc(100% - 28px); margin:14px auto; height:8px; accent-color:#8b275b; }
.demo-layout { display:grid; grid-template-columns:minmax(155px,.48fr) minmax(0,1fr); gap:12px; padding:0 14px; }
.demo-layout:has(.demo-chapters[hidden]) { grid-template-columns:1fr; }
.demo-chapters,.demo-lesson { border:1px solid #e5d9e9; border-radius:12px; background:#fff; padding:clamp(12px,2.8vw,22px); }
.demo-chapters p { font-weight:700; font-size:14px; margin-bottom:8px; }
.demo-chapters ul { list-style:none; margin:0; padding:0; }
.demo-player button { color:#4d2854; border:1px solid #e4d3e7; border-radius:8px; font:inherit; font-size:13px; padding:7px 9px; background:#fff; cursor:pointer; }
.demo-player button:hover { background:#f9edf7; }
.demo-player button:focus-visible { outline:2px solid #8b275b; outline-offset:2px; }
.demo-chapters button { width:100%; text-align:left; border-color:transparent; }
.demo-chapters button[aria-current=step] { background:#f4e3f0; font-weight:700; color:#6e214b; }
.demo-lessons { display:grid; align-content:start; gap:12px; }
.demo-lesson { min-height:235px; }
.demo-lesson h4 { margin:6px 0; font-size:clamp(17px,3vw,25px); line-height:1.3; }
.demo-step,.demo-path { color:#64466f; font-size:13px; line-height:1.4; }
.demo-lesson ol { padding-inline-start:22px; margin:12px 0; font-size:14px; line-height:1.55; }
.demo-lesson li+li { margin-top:5px; }
.demo-example { padding:8px 10px; background:#f7eaf6; border-radius:6px; font-size:13px; line-height:1.45; }
.demo-controls { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; padding:14px; }
.demo-controls .demo-next { background:#812553; border-color:#812553; color:#fff; }
.demo-controls .demo-next:hover { background:#602047; }
.demo-status { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
@media(prefers-reduced-motion:no-preference) {
  .demo-lesson:not([hidden]) { animation:show-lesson 220ms ease-out; }
  @keyframes show-lesson { from { opacity:.45; transform:translateY(3px); } }
}
.route-stage { height:calc(100svh - 60px); min-height:300px; display:grid; place-items:center; position:relative; overflow:hidden; isolation:isolate; }
.route-map { position:absolute; top:15%; left:0; width:100%; height:70%; z-index:-1; }
.route-map path { stroke:#a69bb5; stroke-width:1.5px; stroke-dasharray:2 6; fill:none; vector-effect:non-scaling-stroke; }
.route-caption { padding:16px; text-align:center; background:radial-gradient(ellipse,#0b0b0eee,transparent 76%); }
.route-caption p { margin-top:16px; }
.route-caption b { color:#c9a9e5; }
.business-footer { background:linear-gradient(130deg,#251d38,#302443 55%,#1b1e34); border-top:1px solid #453956; padding:clamp(40px,6vw,80px) var(--pad) 22px; }
.footer-brand { font-size:clamp(32px,4.2vw,60px); letter-spacing:-.07em; }
.footer-brand em { font-family:Georgia,serif; }
.footer-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:32px 0 52px; }
.footer-links h2 { font-size:1rem; margin-bottom:8px; }
.footer-links p,.footer-links a,.footer-bottom { color:#ddd5e7; line-height:1.6; }
.business-footer a:hover { text-decoration:underline; text-underline-offset:4px; }
.footer-bottom { border-top:1px solid #493d57; padding-top:18px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.flight-meter,.plane-marker { display:none; position:fixed; z-index:5; pointer-events:none; }
.story-active .flight-meter { display:block; inset:58px 0 auto; height:2px; background:#25212d; }
.flight-meter i { display:block; height:100%; background:linear-gradient(90deg,#7c76c7,#f9d0db); transform:scaleX(var(--journey,0)); transform-origin:left; }
.story-active .plane-marker { display:block; top:0; left:0; width:26px; height:26px; color:#fff; filter:drop-shadow(0 1px 3px #22192b); }
@media (prefers-reduced-motion:no-preference) {
  html { scroll-behavior:smooth; }
  .story-active .route-track::after { content:''; display:block; height:105svh; }
  .story-active .route-stage { position:sticky; top:60px; }
}
@media (prefers-reduced-motion:reduce) { .story-active .plane-marker { display:none; } }
@media (max-width:650px) {
  .demo-layout { grid-template-columns:minmax(0,1fr); }
  .demo-chapters ul { display:flex; overflow:auto; gap:5px; padding:2px; }
  .demo-chapters button { width:max-content; }
  .demo-lesson { min-height:255px; }
  .footer-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .masthead nav { gap:8px; font-size:12px; }
  .masthead .brand { gap:5px; font-size:21px; }
  .masthead .brand span { font-size:8px; }
  .masthead .login { gap:4px; padding:6px 7px; white-space:nowrap; }
  .hero { grid-template-columns:1fr; gap:22px; align-content:center; padding:32px var(--pad) 70px; }
  h1 { font-size:clamp(65px,15vw,96px); }
  .hero-copy p { margin:16px 0; }
  .pass { max-width:370px; padding:12px 16px; }
  .pass-top { padding-bottom:7px; }
  .pass-name,.pass p { display:none; }
  .pass a { margin-top:9px; padding:8px 13px; }
  .guide-deck { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .guide-card summary { min-height:84px; padding:12px; }
  .guide-card[open] { grid-column:1/-1; }
}
.
