/* One shared navigation component on every route. */
.home-page .site-shell,.interior-page .site-shell{width:min(1280px,calc(100% - 80px))}
.site-shell>.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);min-height:88px;gap:28px;border-bottom:0;padding-block:0}
.site-shell>.topbar>.wordmark{justify-self:start}
.site-shell>.topbar .topbar-controls{display:flex;align-items:center;justify-self:end;gap:20px;min-width:0}
.site-shell>.topbar .wordmark{font-size:1.1rem;letter-spacing:.025em;gap:9px}
.site-shell>.topbar .brand-logo{width:39px;height:39px}
.site-shell>.topbar .topbar-nav{display:flex;justify-self:center;margin:0;gap:clamp(12px,1.6vw,24px);width:auto;order:0;flex-wrap:nowrap;padding:0;justify-content:center;border:0}
.site-shell>.topbar .topbar-nav a{font-size:.8125rem;white-space:nowrap;min-height:42px}
.site-shell>.topbar .topbar-nav a[aria-current="page"]{color:var(--text);text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:8px}
.site-shell>.topbar .topbar-actions{gap:20px;margin:0}
.site-shell>.topbar .header-credit-balance{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;color:var(--text);font-size:.8125rem;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}
.site-shell>.topbar .header-credit-balance svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:var(--accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-shell>.topbar .header-credit-unit{color:var(--muted);font-size:.75rem;font-weight:400}
.site-shell>.topbar .header-login{display:inline-flex;min-width:48px;padding-inline:14px;border:1px solid var(--line);border-radius:999px;min-height:42px;color:var(--text);background:var(--surface);font-size:.8125rem;font-weight:550}
.site-shell>.topbar .home-header-cta{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:42px;margin:0;padding:0 18px;border-radius:999px;font-size:.8125rem;font-weight:600;background:var(--text);color:var(--page);white-space:nowrap}
.site-shell>.topbar .home-header-cta:hover{background:#fff}
.site-shell>.topbar .home-header-cta[hidden],.site-shell>.topbar:has(.account-chip) .home-header-cta{display:none}
.site-shell>.topbar .home-header-cta svg{display:none}
@media(max-width:1100px){.site-shell>.topbar{gap:20px}.site-shell>.topbar .topbar-actions{gap:12px}.site-shell>.topbar .account-details{display:none}}
@media(max-width:1100px){
.site-shell>.topbar{grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;min-height:110px;padding:14px 0 0}
.site-shell>.topbar .wordmark{font-size:.9375rem}.site-shell>.topbar .brand-logo{width:32px;height:32px}
.site-shell>.topbar .topbar-actions{margin:0;gap:12px}
.site-shell>.topbar .topbar-controls{gap:12px}
.site-shell>.topbar .topbar-nav{grid-column:1/-1;grid-row:2;width:100%;overflow-x:auto;gap:clamp(12px,4vw,22px);margin:0;scrollbar-width:thin;border-bottom:1px solid var(--line)}
.site-shell>.topbar .topbar-nav a{flex-shrink:0;font-size:.75rem;min-height:42px}
.site-shell>.topbar .header-login{font-size:.75rem;min-height:40px}
.site-shell>.topbar .home-header-cta{min-height:40px;padding-inline:12px;font-size:.75rem}
.site-shell>.topbar .topbar-actions .text-button{font-size:.625rem;padding-inline:2px}
}
@media(max-width:760px){.home-page .site-shell,.interior-page .site-shell{width:calc(100% - 40px)}}
@media(max-width:650px){.site-shell>.topbar .header-credit-unit{display:none}.site-shell>.topbar .header-credit-balance{font-size:.75rem}.site-shell>.topbar .admin-link{margin-right:0}}
@media(max-width:360px){.site-shell>.topbar .wordmark>span{display:none}}
@media(max-width:360px){.site-shell>.topbar{gap:8px}.site-shell>.topbar .home-header-cta{padding-inline:10px}.site-shell>.topbar .topbar-actions{gap:8px}}

/* Welcome offer: header gift pill and the one-hour first-month modal. No inline styles (CSP). */
.wo-trigger{--wo-ring:rgba(228,92,98,.55);position:relative;display:inline-flex;align-items:center;gap:7px;flex-shrink:0;height:34px;padding:0 13px 0 10px;border:1px solid rgba(228,92,98,.5);border-radius:999px;background:linear-gradient(180deg,rgba(228,92,98,.26),rgba(228,92,98,.1));color:var(--text,#f7f7f8);font:600 .8125rem/1 var(--brand-type,Geist,ui-sans-serif,system-ui,sans-serif);font-variant-numeric:tabular-nums;white-space:nowrap;cursor:pointer;transition:background .2s var(--control-ease,ease),border-color .2s var(--control-ease,ease),transform .2s var(--control-ease,ease)}
.wo-trigger:hover{border-color:var(--accent-hover,#f47b80);background:linear-gradient(180deg,rgba(228,92,98,.38),rgba(228,92,98,.16))}
.wo-trigger:active{transform:scale(.97)}
.wo-trigger svg{width:18px;height:18px;flex-shrink:0;color:var(--accent-hover,#f47b80)}
.wo-trigger::after{content:"";position:absolute;inset:-1px;border-radius:inherit;border:1px solid var(--wo-ring);opacity:0;pointer-events:none;animation:wo-ring 2.8s ease-out infinite}
@keyframes wo-ring{0%{opacity:.75;transform:scale(1)}65%,100%{opacity:0;transform:scale(1.24,1.5)}}
.wo-trigger[hidden],.wo-dialog:not([open]){display:none}

/* The site styles every dialog; match its specificity and win by order/element. */
html dialog.wo-dialog{width:min(540px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:0;background:transparent;color:var(--text,#f7f7f8);overflow:visible;font-family:var(--brand-type,Geist,ui-sans-serif,system-ui,sans-serif)}
html dialog.wo-dialog::backdrop{background:rgba(8,8,10,.78)}
.wo-dialog[open]{animation:wo-in .32s cubic-bezier(.2,0,0,1)}
.wo-dialog[open]::backdrop{animation:wo-fade .26s ease-out}
@keyframes wo-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes wo-fade{from{opacity:0}to{opacity:1}}
html dialog.wo-dialog:focus-visible,.wo-card:focus-visible{outline:none}

/* One flat surface: no glow, no halo. Depth comes from an offset, soft shadow. */
.wo-card{position:relative;max-height:calc(100dvh - 24px);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent;padding:26px 28px 22px;border:1px solid var(--line-strong,#48484e);border-radius:20px;background:var(--surface,#1b1b1e);box-shadow:0 28px 64px -24px rgba(0,0,0,.85),0 2px 6px rgba(0,0,0,.4)}
.wo-close{position:absolute;top:18px;right:18px;display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--line,#323236);border-radius:50%;background:transparent;color:var(--muted,#b5b5bc);cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.wo-close:hover{background:var(--surface-raised,#29292d);border-color:var(--line-strong,#48484e);color:var(--text,#f7f7f8)}
.wo-close svg{width:14px;height:14px}

.wo-head{display:flex;align-items:center;gap:12px;padding-right:44px}
.wo-badge{display:grid;place-items:center;flex-shrink:0;color:var(--accent-hover,#f47b80)}
.wo-badge svg{width:30px;height:30px}
.wo-title{margin:0;font-size:1.5rem;font-weight:600;line-height:1.15;letter-spacing:-.03em;text-wrap:balance}
.wo-lede{margin:12px 0 0;color:var(--muted,#b5b5bc);font-size:.875rem;line-height:1.55;text-wrap:pretty}

.wo-clock{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding:11px 16px 14px;border:1px solid var(--line,#323236);border-radius:14px;background:var(--surface-soft,#141416);overflow:hidden}
.wo-clock-label{color:var(--muted,#b5b5bc);font-size:.8125rem;font-weight:500}
.wo-tiles{display:flex;align-items:center;gap:6px}
.wo-digits{display:grid;place-items:center;min-width:42px;height:34px;padding:0 6px;border:1px solid var(--line,#323236);border-radius:9px;background:var(--surface-raised,#29292d);font-size:1.125rem;font-weight:650;letter-spacing:-.01em;font-variant-numeric:tabular-nums;color:var(--text,#f7f7f8)}
.wo-colon{color:var(--dim,#a4a4ad);font-size:1rem;font-weight:600}
.wo-clock[data-urgent="true"] .wo-digits{border-color:rgba(228,92,98,.55);color:var(--accent-hover,#f47b80)}
.wo-bar{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--line,#323236)}
.wo-bar>span{display:block;height:100%;width:calc(var(--wo-left,1) * 100%);background:var(--accent,#e45c62);transition:width 1s linear}

/* The two plans share one bordered panel, split by a hairline. */
.wo-plans{display:grid;grid-template-columns:1fr 1fr;margin-top:14px;border:1px solid var(--line,#323236);border-radius:16px;background:var(--surface-soft,#141416);overflow:hidden}
.wo-plan{display:flex;flex-direction:column;padding:16px 18px 18px}
.wo-plan+.wo-plan{border-left:1px solid var(--line,#323236)}
.wo-plan-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.wo-plan-name{font-size:.9375rem;font-weight:600;letter-spacing:-.01em}
.wo-save{padding:3px 8px;border-radius:999px;background:rgba(166,197,175,.14);color:var(--success,#a6c5af);font-size:.6875rem;font-weight:700;white-space:nowrap}
.wo-price{display:flex;align-items:baseline;gap:8px;margin-top:10px}
.wo-price strong{font-size:2.25rem;font-weight:600;line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.wo-price s{color:var(--dim,#a4a4ad);font-size:.9375rem;text-decoration-thickness:1.5px}
.wo-then{margin:8px 0 14px;color:var(--muted,#b5b5bc);font-size:.8125rem;line-height:1.4}
.wo-cta{margin-top:auto;min-height:44px;padding:0 14px;border:0;border-radius:999px;background:var(--text,#f7f7f8);color:var(--page,#0d0d0f);font-family:inherit;font-size:.875rem;font-weight:650;line-height:1;cursor:pointer;transition:background .2s,transform .2s,opacity .2s}
.wo-cta:hover{background:#fff}
.wo-plan-ultimate .wo-cta{background:var(--accent,#e45c62);color:var(--accent-ink,#25080b)}
.wo-plan-ultimate .wo-cta:hover{background:var(--accent-hover,#f47b80)}
.wo-cta:active{transform:scale(.98)}
.wo-cta:disabled{opacity:.6;cursor:progress}
.wo-error{margin:12px 0 0;padding:9px 14px;border-radius:12px;background:rgba(240,180,171,.1);color:var(--danger,#f0b4ab);font-size:.8125rem;line-height:1.5}
.wo-error[hidden]{display:none}
.wo-fine{margin:14px 0 0;color:var(--dim,#a4a4ad);font-size:.75rem;line-height:1.55;text-wrap:balance}

/* Shorter laptop screens: tighten, never scroll. */
@media(max-height:720px){
  .wo-card{padding:20px 24px 18px}
  .wo-lede{margin-top:8px}
  .wo-clock{margin-top:12px;padding-top:8px;padding-bottom:11px}
  .wo-plans{margin-top:10px}
  .wo-plan{padding:12px 16px 14px}
  .wo-price{margin-top:6px}
  .wo-price strong{font-size:2rem}
  .wo-then{margin:6px 0 10px}
  .wo-fine{margin-top:10px}
}
@media(max-height:620px){.wo-lede{display:none}}
@media(max-width:560px){
  .wo-card{padding:22px 16px 18px;border-radius:18px}
  .wo-close{top:14px;right:14px}
  .wo-head{padding-right:40px}
  .wo-title{font-size:1.3125rem}
  .wo-plans{grid-template-columns:1fr}
  .wo-plan+.wo-plan{border-left:0;border-top:1px solid var(--line,#323236)}
  .wo-plan{padding:14px 16px 16px}
}
@media(prefers-reduced-motion:reduce){
  .wo-dialog[open],.wo-dialog[open]::backdrop{animation:none}
  .wo-bar>span{transition:none}
}

/* Pricing section: the offer price replaces the regular one while the hour lasts. */
.wo-price-now{color:var(--accent-hover,#f47b80)}
.wo-price-side{display:flex;flex-direction:column;justify-content:flex-end;gap:2px;align-self:flex-end;margin-bottom:.5em}
.wo-price-was{color:var(--dim,#a4a4ad);font-size:.4em;font-weight:500;line-height:1;letter-spacing:-.01em;text-decoration-thickness:1.5px}
.wo-price-side small{margin:0}
.wo-plan-offer{display:flex;align-items:center;gap:9px;box-sizing:border-box;min-width:0;max-width:100%;width:fit-content;overflow:hidden;white-space:normal;overflow-wrap:anywhere;margin:8px 0 14px;padding:9px 14px 9px 11px;border:1px solid rgba(228,92,98,.4);border-radius:14px;background:rgba(228,92,98,.12);color:var(--text,#f7f7f8);line-height:1.25}
.wo-plan-offer-text{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1 1 auto}
/* A plan card can never be pushed wider than its grid column by the offer. */
[data-plan-card]{min-width:0}
.wo-plan-offer-text strong{font-size:.8125rem;font-weight:650}
.wo-plan-offer-ends{color:var(--muted,#b5b5bc);font-size:.75rem;font-weight:500}
.wo-plan-offer-ends b{color:var(--text,#f7f7f8)}
.wo-plan-offer svg{width:18px;height:18px;flex-shrink:0;color:var(--accent-hover,#f47b80)}
.wo-plan-offer b{font-variant-numeric:tabular-nums;font-weight:700}
.wo-plan-offer[data-urgent="true"] .wo-plan-offer-ends b{color:var(--accent-hover,#f47b80)}
@media(max-width:480px){.wo-plan-offer{padding:9px 11px}.wo-plan-offer svg{display:none}.wo-plan-offer-text strong{font-size:.78rem}}
@media(max-width:350px){.wo-plan-offer-text strong{font-size:.72rem}.wo-plan-offer-ends{font-size:.6875rem}}

/* While the offer is open nothing behind it scrolls. Reserve the scrollbar's
   width so the page does not jump sideways when it locks and unlocks. */
html.wo-locked{overflow:hidden;scrollbar-gutter:stable}
/* Touch browsers ignore overflow:hidden on the root, so the page is pinned in place and
   its scroll position restored on close. */
html.wo-locked body{position:fixed;top:var(--wo-scroll,0);left:0;right:0;width:auto}
.wo-dialog{overscroll-behavior:contain}
