/* YeboDesk Sites: the shared look. A warm paper page at dawn, deep violet ink, one ultraviolet accent and a
   violet-to-coral-to-sun gradient for the word "dreams". Sora for display, Manrope for text. Dark scheme = dusk. */
:root {
  --paper: #fbf8f3; --paper-2: #eff5ff; --card: #ffffff; --card-2: #fff9f4;
  --ink: #131a2a; --ink-2: #4d5668; --ink-3: #636c7e; --line: #e2e8f3; --line-2: #d1d9ea;
  --violet: #1f5ce6; --violet-2: #2259ce; --violet-3: #5c90ff; --violet-soft: #e8f0fe; --mint: #35d0a0;
  --lilac: #e4edfe;
  --on-violet: #fff;   /* text on an accent badge: white on the deep light-scheme accent, dark ink on the pale dark-scheme one */
  --grad: linear-gradient(100deg, #2259ce 0%, #3374ff 100%);
  --grad-soft: linear-gradient(135deg, #e8f0fe, #f2f7ff 60%, #ffffff);
  --shadow: 0 24px 60px -24px rgb(19 26 42 / .28), 0 2px 6px rgb(19 26 42 / .06);
  --shadow-lg: 0 40px 90px -30px rgb(19 26 42 / .38);
  --font-display: 'Sora', 'Sora Fallback', 'Segoe UI', system-ui, sans-serif;
  --font-text: 'Manrope', 'Manrope Fallback', 'Segoe UI', system-ui, sans-serif;
  --radius: 22px; --radius-sm: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --head-h: 4.25rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1523; --paper-2: #151e33; --card: #182137; --card-2: #1b253d;
    --ink: #f2f7ff; --ink-2: #c2cbdd; --ink-3: #8b96ac; --line: #252f48; --line-2: #32405f;
    --violet: #86acff; --violet-2: #a3c0ff; --violet-3: #74a0ff; --violet-soft: #223051; --lilac: #1d2a49; --on-violet: #0f1523;
    --grad: linear-gradient(100deg, #2566f4 0%, #74a0ff 100%);
    --grad-soft: linear-gradient(135deg, #1d2a49, #182137 60%, #151e33);
    --shadow: 0 24px 60px -24px rgb(0 0 0 / .7), 0 2px 6px rgb(0 0 0 / .3);
    --shadow-lg: 0 40px 90px -30px rgb(0 0 0 / .8);
  }
}
:root[data-theme="dark"] {
  --paper: #0f1523; --paper-2: #151e33; --card: #182137; --card-2: #1b253d;
  --ink: #f2f7ff; --ink-2: #c2cbdd; --ink-3: #8b96ac; --line: #252f48; --line-2: #32405f;
  --violet: #86acff; --violet-2: #a3c0ff; --violet-3: #74a0ff; --violet-soft: #223051; --lilac: #1d2a49; --on-violet: #0f1523;
  --grad: linear-gradient(100deg, #2566f4 0%, #74a0ff 100%);
  --grad-soft: linear-gradient(135deg, #1d2a49, #182137 60%, #151e33);
  --shadow: 0 24px 60px -24px rgb(0 0 0 / .7), 0 2px 6px rgb(0 0 0 / .3);
  --shadow-lg: 0 40px 90px -30px rgb(0 0 0 / .8);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, picture, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }   /* the hidden attribute must beat .btn, .step and the overlays */
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--violet); text-underline-offset: .18em; }
a:hover { color: var(--violet-2); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.9rem + 3.4vw, 5rem); font-weight: 760; }
h2 { font-size: clamp(1.9rem, 1.45rem + 2vw, 3.15rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: var(--on-violet); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 999px; z-index: 100; }
.skip:focus { top: 1rem; }

/* ---------------------------------------------------------------- layout + type */
.wrap { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font: 700 .78rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.eyebrow svg { width: 1em; height: 1em; }
.intro { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-2); max-width: 46rem; text-wrap: pretty; }
.footnote { font-size: .875rem; color: var(--ink-3); }
.opt { font-weight: 500; color: var(--ink-3); font-size: .85em; }
section { padding-block: clamp(4rem, 3rem + 5vw, 8rem); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--font-display); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { color: #fff; background: #1f5ce6; background-image: var(--grad); background-size: 200% 100%; background-position: 0 0; box-shadow: 0 14px 30px -14px rgb(37 102 244 / .75); }
.btn.primary:hover { background-position: 100% 0; color: #fff; box-shadow: 0 18px 36px -12px rgb(37 102 244 / .8); transform: translateY(-2px); }
.btn.dark { color: var(--paper); background: var(--ink); }
.btn.dark:hover { color: var(--paper); transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgb(19 26 42 / .6); }
:root[data-theme="dark"] .btn.dark, :root:not([data-theme="light"]) .btn.dark { color: #131a2a; background: #f2f7ff; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .btn.dark { color: #fbf8f3; background: #131a2a; } }
.btn.ghost { color: var(--ink); border-color: var(--line-2); background: transparent; }
.btn.ghost:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.btn.light { color: #131a2a; background: #fff; }
.btn.light:hover { color: #131a2a; transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgb(0 0 0 / .5); }
.btn.small { padding: .62rem 1.05rem; font-size: .9rem; }
.btn.big { padding: 1.05rem 1.6rem; font-size: 1.08rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none !important; }

/* ---------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.head-in { display: flex; align-items: center; gap: 1rem; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font: 700 1.15rem/1 var(--font-display); letter-spacing: -.02em; }
.brand-logo { height: clamp(1.7rem, 7.2vw, 2rem); width: auto; }   /* 13 Nov: was 1.5rem; the wordmark was only 8px tall */
.brand-logo.on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo.on-light { display: none; }
  :root:not([data-theme="light"]) .brand-logo.on-dark { display: block; }
}
:root[data-theme="dark"] .brand-logo.on-light { display: none; }
:root[data-theme="dark"] .brand-logo.on-dark { display: block; }
.site-head.over-dark .brand-logo.on-light { display: none; }
.site-head.over-dark .brand-logo.on-dark { display: block; }
.brand-word { padding: .2rem .55rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.nav { display: none; gap: .25rem; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font: 600 .95rem/1 var(--font-display); padding: .6rem .8rem; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--violet-soft); }
.nav .nav-acct { display: none; }   /* "Log in" in the opened menu; a wide screen has it beside the nav */
.nav-acct svg { width: 1.15rem; height: 1.15rem; flex: none; }
.head-cta { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.acct-link { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font: 700 .9rem/1 var(--font-display); transition: background-color .2s, color .2s; white-space: nowrap; }
.acct-link svg { width: 1.15rem; height: 1.15rem; }
.acct-link:hover { color: var(--ink); background: var(--violet-soft); }
.site-head.over-dark .acct-link { color: #fff; }
.site-head.over-dark .acct-link:hover { background: rgb(255 255 255 / .12); color: #fff; }
@media (max-width: 30rem) { .acct-link span { display: none; } .acct-link { padding: .55rem; } }
/* The short header (order form, account, legal pages) on a phone: "Back to the site" becomes a round button with only
   the arrow, turned to point back, so the logo, the SITES badge, the account icon and the button fit side by side down
   to 320 px wide. Before, the button ran into the badge and the account icon sat hidden on top of it (C79). The words
   stay in the page for screen readers. */
@media (max-width: 30rem) {
  .btn.back-link { width: 2.6rem; height: 2.6rem; padding: 0; flex: none; }   /* .btn.back-link: beats .btn.small's padding */
  .btn.back-link span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .btn.back-link svg { width: 1.15rem; height: 1.15rem; transform: scaleX(-1); }
  .btn.back-link:hover svg { transform: scaleX(-1) translateX(3px); }
  .acct-link { flex: none; }
}
/* the smallest phones (up to 360 wide): a little less space between the header's items and a slightly smaller logo
   (still above the 1.5rem it was before 13 Nov), so all four fit at their own size down to 320 */
@media (max-width: 22.5rem) { .head-in { gap: .4rem; } .head-in .brand { gap: .4rem; } .head-cta { gap: .2rem; } .head-in .brand-logo { height: 1.55rem; } }
.nav + .head-cta { margin-left: 0; }
.menu { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 2.6rem; height: 2.6rem; padding: 0; border: 2px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; }
.menu span { display: block; width: 16px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 63.99rem) {
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: .75rem 1rem 1rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open a { padding: .9rem 1rem; font-size: 1.05rem; }
  .nav.open .nav-acct { display: flex; align-items: center; gap: .55rem; margin-top: .4rem; padding-top: 1.15rem; border-top: 1px solid var(--line); border-radius: 0; color: var(--ink); font-weight: 700; }
  .head-cta .btn.primary { display: none; }   /* the big call to action waits for the hero; "Back to the site" stays */
}
@media (min-width: 64rem) { .nav { display: flex; } .menu { display: none; } }

/* ---------------------------------------------------------------- footer */
.site-foot { padding: clamp(3rem, 2rem + 3vw, 5rem) 0 2.5rem; border-top: 1px solid var(--line); background: var(--paper-2); }
.foot-in { display: grid; gap: 2rem; }
.foot-brand p { color: var(--ink-2); max-width: 36rem; margin-top: 1rem; }
.foot-contact { font-weight: 600; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-content: start; }
.foot-nav a { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink); text-decoration: none; font: 600 .95rem/1.6 var(--font-display); }
.foot-nav a svg { width: .9em; height: .9em; }
.foot-nav a:hover { color: var(--violet); }
.foot-legal { grid-column: 1 / -1; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .875rem; }
.foot-legal a { color: inherit; }
@media (min-width: 48rem) { .foot-in { grid-template-columns: 1.4fr 1fr; } }

/* ---------------------------------------------------------------- reveal on scroll (JS adds data-revealed) */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-reveal][data-revealed] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .btn svg { transition: none; }
}
