body.has-sculpture {
  --background: #1c2331;
  --surface: transparent;
  --ink: #e4d6ca;
  --muted: #c8bfb8;
  --accent: #d7bda7;
  --accent-display: #d7bda7;
  --hairline: rgb(226 210 194 / 38%);
  --subtle-hairline: transparent;
  color-scheme: dark;
  isolation: isolate;
  min-height: 100vh;
  background: var(--background) !important;
  color: var(--ink);
}
.site-sculpture { position:fixed!important; inset:0; width:100%; height:100%; border:0; z-index:-2; pointer-events:none; opacity:0; transition:opacity .7s }
.site-sculpture.ready { opacity:1 }
.has-sculpture::before { content:""; position:fixed; inset:0; pointer-events:none; z-index:-1; background:radial-gradient(ellipse at 30% 48%,rgb(19 24 34 / 54%),transparent 72%) }
.has-sculpture :is(.website-shell,.design-stage,.art-plane,.policy-page,.site-header,.site-footer,.portal-form,.account-preview,.account-preview article,.beta-content,.dashboard-login,.device-card,.account-email-card,.beta-questionnaire-form section) {
  background:transparent!important; border:0!important; box-shadow:none!important;
}
.has-sculpture .brand-logo { background:#d9cabe!important; mask:url('/assets/doidom-logo-v3.svg') center / contain no-repeat }
.has-sculpture :is(.portal-title,.policy-copy,.beta-intro,.device-copy) h1 { color:var(--ink); font-family:Helvetica, "Helvetica Neue", Arial, sans-serif; font-size:clamp(3rem,5vw,5.6rem); font-weight:300; line-height:1.02; letter-spacing:-.04em; max-width:17ch }
.has-sculpture .portal-hero { display:flex; flex-direction:column; align-items:flex-start; gap:22px; padding:clamp(42px,7vh,90px) 0 70px; min-height:calc(100svh - 90px) }
.has-sculpture .portal-title { margin:0 }
.has-sculpture .portal-title p { margin:12px 0 0; max-width:38ch }
.has-sculpture .portal-form { width:min(100%,410px); padding:0; gap:16px; align-self:flex-start }
.has-sculpture .portal-mode { display:flex; gap:22px; min-height:0; border:0 }
.has-sculpture .portal-mode a { border:0; background:none; color:var(--muted) }
.has-sculpture .portal-mode .is-active { color:var(--ink); text-decoration:underline; text-underline-offset:5px }
.has-sculpture .beta-content::before { display:none }
.has-sculpture :is(form,.device-card) :is(input,textarea,select):not([type=checkbox],[type=radio],[type=hidden],[type=submit]) {
  background:transparent!important; border:0!important; border-bottom:1px solid var(--hairline)!important; border-radius:0; box-shadow:none; color:var(--ink); padding-inline:0;
}
.has-sculpture input::placeholder,.has-sculpture textarea::placeholder {color:#b8aca2}
.has-sculpture :is(button,a,input,select,textarea):focus-visible {outline:2px solid #ecd3bb!important; outline-offset:4px}
.has-sculpture .portal-submit { width:fit-content; min-width:8rem; padding:.85rem 2rem; border:0; border-radius:58% 45% 40% 30% / 66% 64% 44% 45%; background:#d8c6b7; color:#202532; box-shadow:none }
.has-sculpture .portal-submit:hover { background:#ead8c8; color:#202532 }
.has-sculpture .form-link {background:none; color:var(--ink)}
.has-sculpture :is(.form-error,.device-error) {color:#ffc6af}
@media(prefers-reduced-motion:reduce){.site-sculpture{transition:none}}
.has-sculpture .chat-toggle { background:#262b38; color:var(--ink); border:0; border-radius:65% 45% 48% 32% / 65% 55% 48% 45% }
.has-sculpture .chat-panel { background:#242936; color:var(--ink); border:0; border-radius:28px }

@media (scripting: enabled) {
  html:not(.content-visible) :is(body > :not(.site-sculpture,script,style,link)) { visibility:hidden !important; }
}

/* Autofill keeps the dark theme — no browser-yellow fields. */
.has-sculpture input:-webkit-autofill,
.has-sculpture input:-webkit-autofill:hover,
.has-sculpture input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #141a26 inset;
  caret-color: var(--ink);
  transition: background-color 9999s ease-out;
}
/* Primary actions speak in the homepage's uppercase label voice. */
.has-sculpture :is(.portal-submit, .text-action.form-link) {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 12px;
  font-weight: 500;
}
/* Panel mode tabs join the same label voice. */
.has-sculpture .portal-mode a {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 11px;
}
