/* Device-controlled themes begin at Services; the opening scene keeps its palette. */
:is(.services,.how-it-works,.trust-section,.early-access,.access-dialog){color-scheme:light}
@media(prefers-color-scheme:dark){
 :is(.services,.how-it-works,.trust-section,.early-access,.access-dialog){
  color-scheme:dark;
  --ink:#f2f4fa;
  --page-grid:rgba(177,190,218,.045);
  --theme-text:#f2f4fa;
  --theme-muted:#b5bfce;
  --theme-accent:#a5b7ff;
  color:var(--theme-text);
 }
 :is(.services,.how-it-works,.trust-section,.early-access){
  background-color:#17191d;
  background-image:linear-gradient(var(--page-grid) 1px,transparent 1px),linear-gradient(90deg,var(--page-grid) 1px,transparent 1px);
 }
 :is(.services,.how-it-works,.trust-section,.early-access) :is(.eyebrow,h2 span){color:var(--theme-accent)}
 :is(.services,.how-it-works,.trust-section,.early-access) .eyebrow::before{background:var(--theme-accent)}
 :is(.services,.how-it-works,.trust-section,.early-access) :is(.services-intro,.services-note,.services-footer,.step-copy p){color:var(--theme-muted)}
 .service-card,.service-card:nth-child(1){background:linear-gradient(145deg,#292d35,#202329);border-color:#363d49;box-shadow:0 12px 30px -18px #0008}
 .service-card:hover{background:#2d3340;box-shadow:0 14px 32px #0003}
 .service-card img{mix-blend-mode:normal;background:#f4f6fb;border-radius:22px}
 .service-card h3{color:var(--theme-text)}
 .services-note{border-color:#363d49}
 .step-number{box-shadow:0 5px 16px #0005}

 /* Dark app demonstrations, with pale artwork wells preserving icon colors. */
 .demo-phone,.arrival-phone{background:linear-gradient(160deg,#242830,#191d24);color:#f2f4fa;border-color:#101216;box-shadow:0 0 0 1px #656c78,0 0 0 3px #313640,0 0 0 4px #111318,0 24px 46px -20px #0009}
 .phone-status,.mini-brand,.phone-content h4{color:#f2f4fa}
 .mini-brand b,.arrival-phone h4{color:#a5b7ff}
 .phone-content p,.mini-location,.arrival-signoff{color:#b5bfce}
 .phone-homebar{background:#e3e7ef}
 .status-signal{background:linear-gradient(#e3e7ef,#e3e7ef) 0 100%/2px 4px no-repeat,linear-gradient(#e3e7ef,#e3e7ef) 4px 100%/2px 7px no-repeat,linear-gradient(#e3e7ef,#e3e7ef) 8px 100%/2px 10px no-repeat}
 .status-wifi{border-color:#e3e7ef}
 .status-battery{border-color:#aeb7c7;background-image:linear-gradient(to right,#e3e7ef 80%,transparent 80%)}
 .welcome-art{background:radial-gradient(ellipse,#344364,transparent 73%)}
 .welcome-art::before{border-color:#3d4b69;box-shadow:0 0 0 10px #35425d30,0 0 0 22px #35425d20}
 .welcome-art img,.arrival-person{mix-blend-mode:normal;background:#f4f6fb;border-radius:24px}
 .hello-bubble{background:#2d3545;border-color:#465472;color:#b7c6ff;box-shadow:0 6px 14px #0003}
 .demo-field,.booking-summary,.arrival-message{background:#292f39;border-color:#414a5b;box-shadow:0 3px 12px #0002}
 .demo-field span,.booking-summary>span{color:#b5bfce}
 .demo-field strong,.booking-summary>strong,.arrival-message strong,.arrival-signoff b{color:#f2f4fa}
 .mini-location{background:#293243;border-color:#414e67;color:#c0cce3}
 .mini-service-grid>div{background:#2b313c;border-color:#414a5b}
 .mini-service-grid img{mix-blend-mode:normal;background:#f4f6fb;border-radius:11px}
 .mini-service-grid .selected-service{background:#303e64;border-color:#91aaff;box-shadow:inset 0 0 0 1px #a0b4ff30}
 .arrival-halo{background:radial-gradient(ellipse,#3c4c76,transparent 70%)}
 .arrival-tag{background:#213b34;border-color:#355a4e;color:#ade2c9}
 .arrival-message>span{background:#344779;color:#d3ddff}
 .tool-orbit{box-shadow:0 8px 18px #0004}

 .trust-card{border-color:#6074bf;box-shadow:0 12px 30px -18px #0009}
 .trust-card .trust-icon{color-scheme:light}
 .access-heading>p:last-child,.access-copy>p:not(.access-label){color:var(--theme-muted)}
 .access-copy h3,.access-dialog h2{color:var(--theme-text)}
 .access-label{color:var(--theme-accent)}
 .access-perk,.access-perk--legend{background:#293653;border-color:#4b5d87;color:#c5d1ff}
 .access-art,.access-card--legend .access-art{background:radial-gradient(ellipse at 50% 65%,#303f6040,transparent 72%)}
 .access-art img{mix-blend-mode:normal}
 .access-tabs button{background:#2c3444;color:#c5d0e8;border-color:#44516b}
 .access-tabs button[aria-pressed=true]{background:#2144ff;color:#fff;border-color:#748dff}
 .access-dialog{background:#22262e;border-color:#465064;box-shadow:0 30px 100px #0009}
 .access-dialog::backdrop{background:#05070bcc}
 .access-close{background:#303743;border-color:#495365;color:#e4e9f4}
 .access-dialog-intro,.access-consent,.access-form-note{color:var(--theme-muted)}
 .access-field{color:#d8deeb}
 .access-field input,.access-field select{background:#191d24;border-color:#596579;color:#f2f4fa}
 .access-field input::placeholder{color:#9ba8bd;opacity:1}
 .access-status{color:#b2c2ff}
 @media(max-width:700px){
  .access-card,.access-card--legend{background:linear-gradient(160deg,#272c35,#20242c);border-color:#404a5d;box-shadow:inset 0 1px 0 #ffffff08,0 15px 28px -15px #0009}
 }
}
