/* DUYLE Modern Experience 2026 - responsive enhancement, preserves the existing checkout. */
:root { color-scheme: light; --ux-ink:#14223b; --ux-muted:#66768c; --ux-primary:#4e62ef; --ux-navy:#09172d; }
html { scroll-behavior:smooth; }
body { background:#edf2f9 !important; background-image:radial-gradient(circle at 0% 0%,#e4ebff 0,transparent 37%),linear-gradient(180deg,#f4f7fc,#edf2f9) !important; color:var(--ux-ink); }
body::before, .fx-orbs { display:none !important; }
button, a, input { -webkit-tap-highlight-color:transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline:3px solid #8ca2ff !important;outline-offset:3px !important; }
.site-topbar { background:rgba(255,255,255,.95) !important; border-bottom:1px solid #e1e7f1 !important; box-shadow:0 1px 20px rgba(8,27,65,.025); }
.site-topbar-inner { max-width:1200px; min-height:76px; padding:13px 24px; gap:20px; }
.brand-mini { text-decoration:none; }
.brand-mini img { width:44px; height:44px; border-radius:14px; }
.brand-mini-copy strong { font-size:15px; color:#12223f; letter-spacing:.005em; }
.brand-mini-copy span { font-size:11px; color:#738095; }
.site-nav { display:flex; align-items:center; gap:8px; margin-left:auto; }
.site-nav a { padding:10px 13px; text-decoration:none; font-size:13px; font-weight:700; color:#58677c; border-radius:12px; }
.site-nav a:hover { color:#394bcd; background:#eff2ff; }
.site-nav .support-pill { background:#f0f3fa; color:#30415c; border:1px solid #e2e8f2; box-shadow:none; }
.auth-trigger { border:0; background:#15254b; color:#fff; font-size:12px; font-weight:800; min-height:42px; padding:0 17px; border-radius:12px; cursor:pointer; display:flex; align-items:center; gap:9px; box-shadow:0 7px 17px rgba(20,36,76,.13); }
.auth-trigger:hover { background:#283d79; }
.auth-trigger .avatar-dot { width:23px;height:23px;border-radius:50%;background:linear-gradient(135deg,#8aa3fb,#c1ccff);display:grid;place-items:center;color:#182c67;overflow:hidden;font-size:11px; }
.auth-trigger .avatar-dot img { width:100%;height:100%;object-fit:cover; }
.auth-trigger svg { width:17px; height:17px; }
.workspace-layout { width:min(1200px,calc(100% - 48px)); margin:30px auto 62px; display:grid; grid-template-columns:minmax(0,.96fr) minmax(0,1.08fr); gap:29px; align-items:start; }
.welcome-panel { border-radius:30px; background:radial-gradient(circle at 100% 8%, rgba(80,102,253,.45),transparent 40%), radial-gradient(circle at 10% 100%,rgba(22,159,196,.20),transparent 35%),linear-gradient(155deg,#101f40 4%,#102956 57%,#122a54); position:sticky;top:104px; min-height:710px; overflow:hidden; color:#fff; box-shadow:0 24px 65px rgba(20,44,91,.15); padding:42px 38px; }
.welcome-panel:after { content:''; width:310px; height:310px; position:absolute; top:275px;right:-170px; border:1px solid rgba(255,255,255,.10); border-radius:50%; box-shadow:0 0 0 52px rgba(255,255,255,.025),0 0 0 104px rgba(255,255,255,.018);pointer-events:none; }
.welcome-panel > * { position:relative; z-index:1; }
.welcome-eyebrow { display:inline-flex; align-items:center; gap:9px; background:rgba(255,255,255,.095);border:1px solid rgba(255,255,255,.12);border-radius:100px;padding:9px 13px;font-size:10px;font-weight:800;letter-spacing:.12em;color:#b9d0ff; }
.welcome-eyebrow:before { content:''; width:7px;height:7px;background:#5fe2b4;border-radius:50%;box-shadow:0 0 0 4px rgba(95,226,180,.12); }
.welcome-panel h1 { font-size:clamp(35px,3.4vw,52px);font-weight:800;line-height:1.18;letter-spacing:-.05em;margin:31px 0 18px;max-width:490px;color:#fff; }
.welcome-panel h1 .highlight { color:#99b6ff; }
.welcome-description { font-size:14px; line-height:1.85; color:#b5c7e1; max-width:425px; margin:0; }
.welcome-actions { display:flex;gap:10px;flex-wrap:wrap;margin-top:30px; }
.welcome-primary { display:inline-flex;gap:8px;align-items:center; justify-content:center; padding:13px 20px; border-radius:13px; color:#132450; background:#fff; font-weight:800; font-size:13px; text-decoration:none; box-shadow:0 12px 30px rgba(0,0,0,.12); }
.welcome-primary:hover { background:#eaf0ff; }
.welcome-secondary { display:inline-flex;gap:8px;align-items:center; justify-content:center; padding:13px 17px; border-radius:13px; border:1px solid rgba(255,255,255,.25);color:#f0f5ff; font-weight:700; font-size:13px; text-decoration:none; background:rgba(255,255,255,.035); }
.welcome-secondary:hover {background:rgba(255,255,255,.12);}
.welcome-divider { height:1px; background:rgba(255,255,255,.14); margin:43px 0 27px; }
.welcome-minihead { font-size:11px; font-weight:800; letter-spacing:.13em; color:#9fb3d5; margin-bottom:16px; }
.welcome-steps { display:flex; flex-direction:column; gap:12px; }
.welcome-step { display:flex;align-items:center;gap:13px; padding:13px 14px;border:1px solid rgba(255,255,255,.10);border-radius:15px;background:rgba(255,255,255,.045); }
.welcome-step .num { flex:none;width:32px;height:32px;border-radius:10px;background:rgba(113,150,255,.19);color:#b6cbff;display:grid;place-items:center;font-size:11px;font-weight:800; }
.welcome-step strong {display:block;font-size:13px;font-weight:750;color:#f3f6ff;}
.welcome-step span {display:block;font-size:11px;color:#a9bdda;margin-top:3px;line-height:1.5;}
.welcome-foot { display:flex;gap:18px;align-items:center; flex-wrap:wrap; margin-top:26px;font-size:11px;color:#b5c8e6; }
.welcome-foot span:before { content:'✓';color:#72e3bd; margin-right:7px;font-weight:900; }
#root { min-width:0; width:100%; }
#root header { display:none !important; }
#root > div { background:transparent !important; box-shadow:none !important; width:100% !important; min-height:0 !important; }
#root main { width:100% !important; max-width:none !important; margin:0 !important; padding:0 0 24px !important; }
#root main > div { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
#root main h1 { font-size:24px !important; color:#1d3059 !important; -webkit-text-fill-color:#1d3059 !important; background:none !important; }
#root main h1 + p { font-size:12px !important; }
#udidDirectSection { margin:0 0 24px !important; }
.purchase-shell { border-radius:25px; border:1px solid #e1e8f3; box-shadow:0 19px 60px rgba(32,53,103,.08); }
.flow-head { padding:26px 25px 21px; }
.flow-head .eyebrow { color:#5770ed; font-size:11px; letter-spacing:.09em; }
.flow-head h2 { font-size:25px; margin:9px 0 8px; }
.flow-head p { font-size:12.5px !important; }
.trust-badge {background:#e8f9f0; color:#087b53; font-size:11px;}
.main-tabs { padding:0 25px 21px; }
.main-tabs button { min-height:50px; font-size:12px; background:#f4f6fb !important; border-radius:13px; }
.main-tabs button.active {background:linear-gradient(125deg,#4763ea,#6678f5) !important;box-shadow:0 9px 21px rgba(77,96,233,.20) !important;}
.step-block { padding:21px 25px; border-color:#eef1f6; }
.step-title { font-size:13px; margin-bottom:15px; }
.step-title b { width:28px;height:28px;border-radius:10px;background:#ebefff;color:#5064df; }
.clean-input {font-size:13px; min-height:51px; border-color:#dbe3ef; background:#fcfdff; }
.plan-grid {gap:9px;}
.plan-card { border-color:#e1e7f0 !important; border-radius:14px !important; }
.pay-button {border-radius:13px !important;}
#root footer { opacity:.75; }
.auth-modal { position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:20px; }
.auth-modal[hidden] { display:none !important; }
.auth-backdrop {position:absolute;inset:0;background:rgba(7,18,43,.65);backdrop-filter:blur(7px);}
.auth-dialog {position:relative; width:min(435px,100%);border-radius:26px;background:#fff;box-shadow:0 35px 110px rgba(4,15,45,.36);padding:30px;text-align:center;}
.auth-close {position:absolute;right:18px;top:16px;width:33px;height:33px;border:0;border-radius:10px;background:#f1f4f9;color:#66758d;font-size:22px;cursor:pointer;}
.auth-logo {width:64px;height:64px;margin:5px auto 17px;border-radius:18px;background:#edf1ff;display:grid;place-items:center;}
.auth-logo img {width:44px;height:44px;border-radius:11px;object-fit:cover;}
.auth-dialog h2 {color:#18294a;font-size:24px;letter-spacing:-.035em;margin:0 0 8px;}
.auth-dialog p {font-size:13px;line-height:1.7;color:#6f7c90;margin:0 auto 24px;max-width:310px;}
.google-button {display:flex;align-items:center;justify-content:center;gap:13px;width:100%;min-height:52px;border:1px solid #dde4ed;border-radius:13px;background:#fff;cursor:pointer;color:#1c2a42;font-family:inherit;font-weight:800;font-size:13px;box-shadow:0 3px 8px rgba(20,35,72,.04);}
.google-button:hover {background:#f7f9ff;border-color:#c8d4ef;}
.google-button svg {width:21px;height:21px;}
.auth-info {font-size:11px;color:#7c899c;line-height:1.7;margin-top:20px;}
.auth-error {margin-top:14px;color:#b42318;background:#fff1f0;border:1px solid #ffd4d1;padding:10px 12px;border-radius:10px;font-size:12px;text-align:left;}
.auth-error[hidden] {display:none;}
.account-menu {position:absolute;right:20px;top:70px;z-index:90;width:min(310px,calc(100vw - 30px));border:1px solid #e1e8f3;background:#fff;padding:17px;border-radius:17px;box-shadow:0 17px 44px rgba(27,46,81,.16);}
.account-menu[hidden] {display:none;}
.account-menu strong {color:#1c2e50;font-size:13px;}
.account-menu small {color:#728096;font-size:11px;word-break:break-word;display:block;margin-top:6px;}
.account-menu button {margin-top:13px;cursor:pointer;border:1px solid #e0e6ef;background:#f5f7fb;border-radius:10px;padding:10px 14px;width:100%;font-weight:750;color:#344158;}
@media (max-width: 1060px){.workspace-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:16px;width:min(100% - 30px,1180px);}.welcome-panel{padding:33px 26px;min-height:710px;}.welcome-panel h1{font-size:35px;}.flow-head{padding:21px 17px 16px;}.main-tabs{padding:0 17px 16px;}.step-block{padding:17px;}.welcome-step{padding:11px;}}
@media (max-width: 800px) { .workspace-layout{grid-template-columns:1fr;width:min(620px,calc(100% - 28px));margin:18px auto 34px;gap:18px;}.welcome-panel{position:relative;top:auto;min-height:0;border-radius:23px;padding:29px 27px;}.welcome-panel h1{font-size:clamp(29px,6vw,39px);margin:18px 0 12px;}.welcome-description{font-size:12px;}.welcome-actions{margin-top:20px;}.welcome-divider{margin:22px 0 17px;}.welcome-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}.welcome-step{padding:12px;align-items:flex-start;gap:8px;flex-direction:column;}.welcome-step span{font-size:10px;}.welcome-foot{margin-top:19px;}.site-topbar-inner{min-height:67px;padding:10px 16px;}.site-nav .nav-link{display:none;}}
@media (max-width: 520px) { .site-topbar-inner{gap:7px;padding:10px 12px;}.brand-mini{gap:7px;}.brand-mini img{width:38px;height:38px;border-radius:11px;}.brand-mini-copy strong{font-size:11px;}.brand-mini-copy span{font-size:9px;}.site-nav{gap:5px;}.site-nav .support-pill{display:none;}.auth-trigger{min-height:38px;font-size:10.5px;padding:0 10px;gap:5px;border-radius:11px;}.auth-trigger svg{width:16px;height:16px;}.workspace-layout{width:calc(100% - 22px);gap:12px;margin-top:12px;}.welcome-panel{padding:24px 19px;border-radius:21px;}.welcome-panel h1{font-size:31px;}.welcome-description{font-size:11.5px;}.welcome-eyebrow{font-size:9px;padding:7px 10px;}.welcome-actions{gap:7px;}.welcome-primary,.welcome-secondary{padding:11px 12px;font-size:11px;}.welcome-steps{grid-template-columns:1fr;gap:7px;}.welcome-step{flex-direction:row;align-items:center;padding:8px 11px;}.welcome-step .num{width:27px;height:27px;}.welcome-step span{font-size:9.5px;}.welcome-divider{margin:19px 0 11px;}.welcome-minihead{margin-bottom:10px;}.welcome-foot{font-size:10px;gap:10px;margin-top:17px;}.purchase-shell{border-radius:19px;}.flow-head{padding:18px 15px 14px;}.flow-head h2{font-size:21px;}.main-tabs{padding:0 14px 14px;}.main-tabs button{font-size:11px;}.step-block{padding:15px 14px;}.auth-dialog{padding:27px 21px;}}
@media (prefers-reduced-motion:reduce){ *,*::before,*::after{animation-duration:.001ms !important;scroll-behavior:auto !important;} }
/* Final accessibility refinements: readable account CTA in both light and dark modes. */
.site-topbar .auth-trigger, .site-topbar .auth-trigger span, .site-topbar #authTriggerText {
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}
.site-topbar .auth-trigger .avatar-dot { background:#91a9ff; color:#172a5d !important; -webkit-text-fill-color:#172a5d !important; }
.site-topbar .brand-mini img { background:#111b36; object-fit:cover; }
.site-topbar-inner { width:min(1200px,100%); }
@media(max-width:520px){.site-topbar #authTriggerText{font-size:10.5px !important;max-width:112px;line-height:1.25;display:block;}.auth-trigger{width:142px;justify-content:center;}.site-topbar .brand-mini-copy{max-width:160px;}}

/* Sign-in link stays usable even if page scripts have an error (iOS/Safari). */
.google-button{text-decoration:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;}
.auth-guest-link{display:block;margin:15px auto 0;text-align:center;color:#52627c;text-decoration:underline;text-underline-offset:3px;font-size:12px;font-weight:600;}
.auth-guest-link:hover{color:#1c2a42;}
