/* Shared styling for the public site and the portal. */
:root {--dt-display-font:Georgia,'Times New Roman',serif;--dt-gold-red:linear-gradient(105deg,#f6db9e,#e2b576 42%,#de8475 77%,#e6ab81);--dt-public-header-height:54px;}
:root {
 --dt-entry-fill:radial-gradient(ellipse at 18% 120%,#95152880,transparent 62%),radial-gradient(ellipse at 95% -40%,#95152855,transparent 65%),linear-gradient(115deg,#200e14e8,#3b121fe8 52%,#160d12f2);
 --dt-entry-edge:linear-gradient(115deg,#95152818,#a628405c 25%,#d4b67d64 45%,#95152816 62%,#c6a56736 83%,#95152820);
 --dt-control-rail:linear-gradient(90deg,transparent,#d2b07740 18%,#d2b07740 82%,transparent);
 --dt-control-line:linear-gradient(90deg,transparent,#a52b46 18%,#f0ca88 50%,#a52b46 82%,transparent);
 --dt-scroll-track:#2a1721;
 --dt-scroll-gold:#e5b678;
 --dt-scroll-ruby:#bf5a72;
}
@media (forced-colors:none) {
 * {scrollbar-width:thin;scrollbar-color:var(--dt-scroll-gold) var(--dt-scroll-track);}
 @supports selector(::-webkit-scrollbar) {
  * {scrollbar-width:auto;scrollbar-color:auto;}
  ::-webkit-scrollbar {width:8px;height:8px;}
  ::-webkit-scrollbar-track,::-webkit-scrollbar-corner {background:var(--dt-scroll-track);}
  ::-webkit-scrollbar-thumb {
   background:linear-gradient(var(--dt-scroll-gold),var(--dt-scroll-ruby));
   border:1px solid var(--dt-scroll-track);border-radius:8px;
  }
  ::-webkit-scrollbar-thumb:horizontal {background:linear-gradient(90deg,var(--dt-scroll-gold),var(--dt-scroll-ruby));}
 }
}
.dt-header.brand-shell,.dt-footer.brand-shell {--ruby-half-size:36px;box-sizing:border-box;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;}
.dt-header.brand-shell *,.dt-footer.brand-shell * {box-sizing:border-box;}
.dt-header.brand-shell {position:sticky;top:0;z-index:30;background:rgba(8,8,9,.9);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:0;}
.dt-header.brand-shell .header-inner {display:flex;align-items:center;justify-content:space-between;gap:24px;width:calc(100% - 96px);max-width:1280px;margin:auto;height:94px;min-height:0;padding:0;flex-wrap:nowrap;}
.dt-header.brand-shell a {text-decoration:none;}
.dt-header.brand-shell .dt-brand {display:flex;align-items:center;gap:10px;flex-shrink:0;color:#dfc18b;}
.dt-header.brand-shell .dt-brand img {display:block;width:64px;height:58px;object-fit:contain;}
.dt-header.brand-shell .dt-brand>span {display:block;font:italic 400 27px/1.1 var(--dt-display-font);letter-spacing:-.035em;color:#e2c18b;}
.dt-header.brand-shell .dt-brand-name {display:inline-block;padding-right:.14em;}
@supports (background-clip:text) {
 .dt-header.brand-shell .dt-brand-name {background:var(--dt-gold-red);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
}
.dt-header.brand-shell .dt-brand small {display:block;margin-top:6px;font:800 9px/1.2 Inter,system-ui,sans-serif;letter-spacing:.065em;color:#fff;text-transform:uppercase;}
.dt-header.brand-shell .desktop-nav {display:flex;align-items:center;gap:clamp(14px,1.5vw,28px);width:auto;order:initial;}
.dt-header.brand-shell :is(.desktop-nav,.mobile-nav) a {position:relative;color:#fff;font-size:10px;font-weight:800;letter-spacing:1.1px;text-transform:uppercase;border:0;}
.dt-header.brand-shell .desktop-nav a {padding:8px 0;}
.dt-header.brand-shell :is(.desktop-nav,.mobile-nav) a::after {content:"";position:absolute;left:5%;right:5%;bottom:2px;height:2px;background:linear-gradient(90deg,transparent,#95152875,#c6a567a6,#95152866,transparent);opacity:0;transform:scaleX(.65);transition:opacity .3s,transform .3s,box-shadow .3s;}
.dt-header.brand-shell :is(.desktop-nav,.mobile-nav) a:is(:hover,:focus-visible,[aria-current])::after {opacity:1;transform:scaleX(1);}
.dt-header.brand-shell :is(.desktop-nav,.mobile-nav) a[aria-current]::after {background:linear-gradient(90deg,transparent,#b82b46,#f1d39b,#b82b46,transparent);box-shadow:0 0 10px #dfb66e55;}
.dt-header.brand-shell .header-access {position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:36px;padding:9px 16px;border:1px solid transparent;border-radius:999px;background:var(--dt-entry-fill);color:#e2c38b;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.9px;box-shadow:inset 0 1px #e7c9910c,0 6px 22px #0003;transition:transform .28s,box-shadow .28s;}
.dt-header.brand-shell .header-access::before {display:block;content:"";position:absolute;inset:0;padding:1px;border-radius:inherit;pointer-events:none;background:var(--dt-entry-edge);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;}
.dt-header.brand-shell .header-access::after {display:block;content:"";position:absolute;inset:-60% -40%;z-index:-1;pointer-events:none;background:linear-gradient(115deg,transparent 36%,#e2c38b16 50%,transparent 64%);transform:translateX(-85%);transition:transform .65s;}
.dt-header.brand-shell .header-access:is(:hover,:focus-visible) {transform:translateY(-1px);color:#f0d7a5;box-shadow:0 8px 26px #95152825;}
.dt-header.brand-shell .header-access:is(:hover,:focus-visible)::after {transform:translateX(85%);}
.dt-header.brand-shell .header-access:active {transform:translateY(1px) scale(.98);}
.dt-header.brand-shell .icon {width:12px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.dt-header.brand-shell .header-mobile-icon {display:none;}
.dt-header.brand-shell .header-inner > .eye-exit {flex:none;margin:0;}
.dt-header.brand-shell .menu-toggle {display:none;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:44px;height:44px;flex-shrink:0;padding:0;margin:0;border:0;background:transparent;box-shadow:none;cursor:pointer;}
.dt-header.brand-shell .menu-toggle span {display:block;width:20px;height:1px;background:#dec18b;transition:transform .25s;}
.dt-header.brand-shell .menu-toggle[aria-expanded="true"] span:first-child {transform:translateY(3.5px) rotate(45deg);}
.dt-header.brand-shell .menu-toggle[aria-expanded="true"] span:last-child {transform:translateY(-3.5px) rotate(-45deg);}
.dt-header.brand-shell .mobile-nav {max-height:calc(100dvh - 78px);overflow-y:auto;overscroll-behavior:contain;display:none;flex-direction:column;align-items:flex-start;width:calc(100% - 40px);max-width:1280px;margin:auto;padding:8px 0 24px;gap:0;}
.dt-header.brand-shell .mobile-nav[hidden] {display:none!important;}
.dt-header.brand-shell .mobile-nav a {display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;flex:none;width:fit-content;max-width:100%;min-height:44px;padding:14px 4px;text-align:left;}
.dt-header.brand-shell::after,.dt-footer.brand-shell::before {content:"";position:absolute;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,#86172c 14%,#be704a 30%,#e4c994 50%,#be704a 70%,#86172c 86%,transparent);}
.dt-header.brand-shell::after {bottom:0;}
.dt-header.brand-shell.ruby-pattern {isolation:isolate;}
.dt-header.brand-shell.ruby-pattern::before,.dt-footer.brand-shell.ruby-pattern::after {
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:url("/logo/ruby-wallpaper.webp") center/768px 168px repeat;
 opacity:.32;
}
.dt-header.brand-shell.ruby-pattern::before {
 mask-image:linear-gradient(90deg,#0005,#000 32%,#000 68%,#0005);
}
.dt-footer.brand-shell.ruby-pattern::after {
 background-position:center bottom;
 mask-image:radial-gradient(ellipse 40% 140% at 50% 62%,#0003 20%,#000 100%);
}
.brand-shell>.dt-ruby {position:absolute;left:50%;width:calc(2 * var(--ruby-half-size));height:calc(2 * var(--ruby-half-size));transform:translateX(-50%);z-index:2;pointer-events:none;filter:drop-shadow(0 1px 2px #0008) drop-shadow(0 0 5px #95152820);}
.brand-shell>.dt-ruby img {display:block;width:100%;height:100%;object-fit:contain;}
@media(prefers-reduced-motion:no-preference){
 .brand-shell>.dt-ruby:has(> img[src="/logo/ruby-divider-lightning.png"])::after {
  content:"";position:absolute;inset:0;
  background:url("/logo/ruby-divider-lightning.png") center/contain no-repeat;
  /* Confine the moving light to the faces inside the bezel. */
  clip-path:polygon(50% 12%,70% 49%,50% 87%,30% 49%);
  mask:linear-gradient(180deg,transparent 33%,#000 49%,#000 51%,transparent 67%) 0 100%/100% 230% no-repeat;
  mix-blend-mode:screen;filter:brightness(1.22) saturate(1.15) contrast(1.35);
  animation:dt-ruby-lightning 6s ease-in-out infinite;
 }
 .dt-footer.brand-shell>.dt-ruby:has(> img[src="/logo/ruby-divider-lightning.png"])::after {animation-delay:-2.4s;}
}
@keyframes dt-ruby-lightning {
 0%,12% {opacity:0;mask-position:0 92%;}
 21% {opacity:.58;}
 34% {opacity:.44;}
 43%,100% {opacity:0;mask-position:0 8%;}
}
.dt-header.brand-shell>.dt-ruby {bottom:calc(-1 * var(--ruby-half-size));}
.dt-footer.brand-shell {position:relative;z-index:1;isolation:isolate;width:100%;max-width:none;margin:40px 0 0;padding:calc(var(--ruby-half-size) + 8px) 24px 15px;min-height:105px;text-align:center;background:linear-gradient(180deg,#0b090bfa,#050505);border:0;box-shadow:0 -20px 65px #0003;}
.dt-footer.brand-shell::before {top:0;}
.dt-footer.brand-shell.ruby-pattern {display:grid;place-items:center;min-height:48px;margin-top:24px;padding:2px 18px;}
.dt-footer.brand-shell>.dt-ruby {top:calc(-1 * var(--ruby-half-size));}
.dt-footer.brand-shell>a {display:block;width:138px;margin:auto;}
.dt-footer.brand-shell>a img {display:block;width:100%;height:auto;}
.dt-footer.brand-shell nav {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 16px;margin-top:8px;}
.dt-footer.brand-shell nav a,.dt-footer.brand-shell nav span,.dt-footer.brand-shell>p {color:#fff;text-decoration:none;font-weight:800;text-transform:uppercase;letter-spacing:.7px;}
.dt-footer.brand-shell nav a,.dt-footer.brand-shell nav span {font-size:10px;line-height:1.5;}
.dt-footer.brand-shell>p {margin:7px 0 0;font-size:8px;line-height:1.6;}
.dt-footer.brand-shell .dt-footer-meta {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:9px;margin-top:3px;color:#fff;font-size:10px;font-weight:800;line-height:1.4;letter-spacing:.075em;text-transform:uppercase;}
.dt-footer.brand-shell .dt-footer-meta p {margin:0;}
.dt-footer.brand-shell.ruby-pattern .dt-footer-meta {margin:0;}
.dt-footer.brand-shell.ruby-pattern .dt-footer-meta > span {color:#dfc18b;}
.dt-footer.brand-shell .dt-footer-meta a {display:inline-flex;align-items:center;min-height:36px;color:inherit;text-decoration:none;}
.dt-footer.brand-shell .dt-footer-meta a:is(:hover,:focus-visible) {color:#e4c58d;}
.brand-shell a:focus-visible,.brand-shell button:focus-visible {outline:2px solid #dfc18b;outline-offset:4px;}
.eye-quick-nav {display:flex;flex-wrap:wrap;gap:20px;padding:12px 0;}
.eye-quick-nav a {font-size:11px;font-weight:700;color:#fff;}
@media(max-width:1000px){
 .dt-header.brand-shell .header-inner {height:78px;gap:16px;width:calc(100% - 64px);}
 .dt-header.brand-shell .desktop-nav {display:none;}
 .dt-header.brand-shell .menu-toggle {display:flex;}
 .dt-header.brand-shell .header-inner > .dt-brand {margin-right:auto;}
 .dt-header.brand-shell:not(.dt-public-header) .header-inner > .header-access,
 .dt-header.brand-shell .header-inner > .eye-exit .header-access {width:44px;height:44px;min-height:44px;flex:none;gap:0;padding:0;}
 .dt-header.brand-shell:not(.dt-public-header) .header-inner .header-access,
 .dt-header.brand-shell:not(.dt-public-header) .header-inner .header-access:is(:hover,:focus-visible,:active) {background:none;border:0;box-shadow:none;color:#dfc18b;transform:none;}
 .dt-header.brand-shell:not(.dt-public-header) .header-inner .header-access::before,
 .dt-header.brand-shell:not(.dt-public-header) .header-inner .header-access::after {display:none;}
 .dt-header.brand-shell .header-inner .header-access .icon {color:inherit;transform:none;}
 .dt-header.brand-shell .header-action-label,
 .dt-header.brand-shell .header-desktop-icon {display:none;}
 .dt-header.brand-shell .header-access .header-mobile-icon {display:block;width:19px;height:19px;flex-basis:19px;}
 .dt-header.brand-shell .menu-toggle {margin-left:0;}
 .dt-header.brand-shell .mobile-nav {display:flex;}
 .dt-header.brand-shell .dt-brand img {width:53px;height:50px;}
 .dt-header.brand-shell .dt-brand>span {font-size:24px;}
}
@media(max-width:560px){
 .dt-header.brand-shell .header-inner {width:calc(100% - 40px);height:75px;gap:10px;}
 .dt-header.brand-shell .dt-brand {gap:6px;}
 .dt-header.brand-shell .dt-brand img {width:43px;height:45px;}
 .dt-header.brand-shell .dt-brand>span {font-size:22px;}
 .dt-header.brand-shell .dt-brand small {font-size:8px;margin-top:4px;}
 .dt-header.brand-shell .menu-toggle {margin-left:0;}
 .dt-header.brand-shell,.dt-footer.brand-shell {--ruby-half-size:30px;}
 .dt-footer.brand-shell {padding-inline:18px;padding-bottom:14px;}.dt-footer.brand-shell>a {width:125px;}
 .dt-header.brand-shell.ruby-pattern::before,.dt-footer.brand-shell.ruby-pattern::after {
  background-size:672px 147px;
 }
}
.dt-header.brand-shell.dt-public-header .header-access {
 flex:none;min-height:44px;padding:9px 20px;font-size:12px;text-transform:none;
}
.dt-header.brand-shell.dt-public-header .dt-header-entry {
 width:88px;justify-content:space-between;gap:6px;
 padding:9px 11px;font-size:10px;line-height:1;letter-spacing:.06em;
}
@media(max-width:400px){
 .dt-header.brand-shell.dt-public-header:not(.ruby-pattern) .dt-brand>span {transform:translateY(-10px);}
 .dt-header.brand-shell.dt-public-header:not(.ruby-pattern) .dt-brand small {margin-top:0;}
}
@media(prefers-reduced-motion:no-preference){
 .dt-header.brand-shell .dt-header-entry .icon {transition:transform .28s ease;}
 .dt-header.brand-shell .dt-header-entry:is(:hover,:focus-visible) .icon {transform:translate(3px,-3px);}
}
@media(prefers-reduced-motion:reduce){.brand-shell a,.brand-shell a::before,.brand-shell a::after,.brand-shell .menu-toggle span{transition:none!important;}.dt-header.brand-shell .header-access:is(:hover,:focus-visible,:active){transform:none;}}

/* Accessible touch areas retain the compact desktop frame. */
@media(pointer:coarse){.dt-header.brand-shell .header-access,.dt-footer.brand-shell .dt-footer-meta a{min-height:44px;}.dt-header.brand-shell .desktop-nav a,.dt-footer.brand-shell nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;}.dt-footer.brand-shell nav{gap:4px 16px;}}

.dt-header.brand-shell.ruby-pattern .header-inner {
 width:calc(100% - clamp(40px,8vw,64px));max-width:none;height:var(--dt-public-header-height);
}
.dt-header.brand-shell.ruby-pattern .dt-brand {gap:7px;}
.dt-header.brand-shell.ruby-pattern .dt-brand img {width:38px;height:34px;}
.dt-header.brand-shell.ruby-pattern .dt-brand>span {font-size:22px;line-height:1;}
.dt-header.brand-shell.ruby-pattern .dt-brand small {font-size:8px;margin-top:3px;}
.dt-header.brand-shell.ruby-pattern .header-access {min-height:34px;padding-block:4px;}
.dt-header.brand-shell.ruby-pattern .dt-header-entry {justify-content:center;gap:6px;}
.dt-header.brand-shell.ruby-pattern .dt-header-entry .dt-accent-icon {width:17px;height:17px;flex:0 0 17px;}
@media(min-width:1001px){
 :root {--dt-public-header-height:56px;}
 .dt-header.brand-shell.ruby-pattern .header-inner {width:calc(100% - clamp(96px,8vw,160px));}
}

.dt-header.brand-shell.dt-public-header .header-access.dt-header-entry,.dt-line-action {
 min-height:44px;border:0;border-radius:4px;overflow:visible;background:transparent;box-shadow:none;
 color:#f5dca6;text-transform:uppercase;transition:color .22s;
}
.dt-line-action {
 position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;
 font:800 10px/1.2 Inter,system-ui,sans-serif;letter-spacing:.06em;text-align:center;text-decoration:none;
}
.dt-line-action .icon {flex:none;width:12px;height:12px;}
.dt-home .dt-hero .dt-actions .dt-accent-icon {width:17px;height:17px;}
.dt-header.brand-shell.dt-public-header .header-access.dt-header-entry::before,.dt-line-action::before {
 display:block;content:"";position:absolute;pointer-events:none;
 inset:auto 0 4px;height:1px;padding:0;border-radius:0;background:var(--dt-control-rail);
 -webkit-mask:none;mask:none;
}
.dt-header.brand-shell.dt-public-header .header-access.dt-header-entry::after,.dt-line-action::after {
 display:block;content:"";position:absolute;pointer-events:none;
 inset:auto 0 4px;height:2px;z-index:auto;border-radius:1px;background:var(--dt-control-line);
 box-shadow:0 2px 12px #cd516755;opacity:.72;transform:scaleX(.68);
 transition:opacity .22s,transform .5s cubic-bezier(.22,1,.36,1);
}
.dt-header.brand-shell.dt-public-header .header-access.dt-header-entry:is(:hover,:focus-visible,:active),.dt-line-action:is(:hover,:focus-visible,:active) {
 color:#fff0d4;transform:none;
}
.dt-header.brand-shell.dt-public-header .header-access.dt-header-entry:is(:hover,:focus-visible)::after,.dt-line-action:is(:hover,:focus-visible)::after {
 opacity:1;transform:scaleX(1);
}
.dt-header.brand-shell.dt-public-header .header-access.dt-header-entry:focus-visible,.dt-line-action:focus-visible {
 outline:2px solid #dfc18b;outline-offset:-1px;
}
.icon.dt-accent-icon {stroke:none;}
@media(prefers-reduced-motion:reduce){.dt-line-action,.dt-line-action::after {transition:none;}}

.dt-home .dt-display-title,.login-copy .dt-display-title,.dt-policy h1.dt-display-title {
 position:relative;width:fit-content;max-width:100%;margin-block:16px 14px;padding:0 .14em .23em 0;
 color:#e2c18b;font:italic 400 clamp(29px,3vw,42px)/1.14 var(--dt-display-font,Georgia,serif);
 letter-spacing:-.035em;
}
.dt-display-title::after,.dt-contact-email::after {
 content:"";position:absolute;inset:auto 7% 0 0;height:1px;pointer-events:none;
 background:linear-gradient(90deg,#971b3880,#ac2b46,#e6bd78 76%,transparent);
}
@supports (background-clip:text) {
 .dt-display-title {background:var(--dt-gold-red);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
}
@media(max-width:899px){
 .dt-home .dt-display-title,.login-copy .dt-display-title,.dt-policy h1.dt-display-title {font-size:clamp(26px,4.4vw,36px);margin-block:12px 10px;}
}

.dt-segmented {
 position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(var(--dt-segment-count,2),minmax(0,1fr));
}
.dt-segmented::before {
 content:"";position:absolute;inset:auto 0 0;height:1px;pointer-events:none;
 background:var(--dt-control-rail);
}
.dt-switch-thumb {
 position:absolute;z-index:-1;inset:0 auto 0 0;width:calc(100% / var(--dt-segment-count,2));pointer-events:none;
 background:radial-gradient(ellipse 42% 65% at 50% 100%,#b42e4829,transparent);
 transform:translateX(calc(var(--dt-segment-index,0) * 100%));
 transition:transform .5s cubic-bezier(.22,1,.36,1);
}
.dt-switch-thumb::after {
 content:"";position:absolute;bottom:0;left:50%;width:min(112px,75%,max(54px,58%));height:2px;
 transform:translateX(-50%);border-radius:1px;
 background:var(--dt-control-line);
 box-shadow:0 2px 12px #cd516755;
}
.dt-segmented[data-side="end"] {--dt-segment-index:1;}
.dt-segmented :is(a,button) {
 position:relative;display:grid;place-items:center;min-width:0;min-height:44px;padding:8px 12px 10px;
 border:0;border-radius:4px;background:transparent;
 color:#d5c9c4;font:800 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.08em;text-align:center;
 text-decoration:none;text-transform:uppercase;cursor:pointer;
 transition:color .22s,transform .28s cubic-bezier(.22,1,.36,1);
}
.dt-segmented :is([aria-pressed="true"],[aria-selected="true"]) {color:#f5dca6;text-shadow:0 0 14px #ebae7150;}
.dt-segmented :is(a,button):focus-visible {outline:2px solid #dfc18b;outline-offset:-3px;}
@media(hover:hover){
 .dt-segmented :is(a,button):hover {color:#fff0d4;}
}
.dt-segmented :is(a,button):active {transform:scale(.97);}
@media(prefers-reduced-motion:reduce){
 .dt-segmented :is(.dt-switch-thumb,a,button) {transition:none;}
 .dt-segmented :is(a,button):active {transform:none;}
}

:where(.dt-color-surface,.content-width .glass) {
 --dt-surface-background:
   radial-gradient(ellipse var(--glass-ruby,65% 82% at 8% 100%),#8d25474d,transparent 83%),
   radial-gradient(ellipse var(--glass-gold,64% 91% at 89% 3%),#c291502b,transparent 83%),
   linear-gradient(148deg,#241923ee,#161218f5 65%,#21171eed);
}
