/* Start here (os/apps/welcome.js): the window, the tour card, the first-time hint on windows, the trick of the day,
   and the hero's second row of buttons. In every page's head (eager_css). */

/* ---- The Start here window ---- */
.wl { padding: 16px 20px 14px; font: 14px/1.5 var(--font-body); color: var(--text); }
.wl-head { display: flex; align-items: center; gap: 12px; }
.wl-head img { border-radius: 12px; }
.wl-head h2 { margin: 0; font: 700 22px/1.15 var(--font-display); }
.wl-head p { margin: 2px 0 0; color: var(--text-2); font-size: 13px; }
.wl-lead { margin: 10px 0 8px; font-size: 14.5px; line-height: 1.45; }
.wl-note { margin: 0 0 10px; padding: 7px 10px; border-radius: 7px; background: var(--surface-2); color: var(--text-2); font-size: 13px; }
.wl-note b { color: var(--text); }
.wl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.wl-steps li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 6px 7px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); text-align: center; }
.wl-steps b { font: 650 14px var(--font-display); }
.wl-steps span { font-size: 12px; line-height: 1.35; color: var(--text-2); }
.wl-apps { margin: 0 0 12px; }
.wl-apps p { margin: 0 0 6px; font-size: 13px; color: var(--text-2); }
.wl-apps p b { color: var(--text); }
.wl-apps div { display: flex; flex-wrap: wrap; gap: 6px; }
.wl-app { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 7px; border-radius: 6px; border: 1px solid var(--btn-line); background: var(--btn); color: var(--text); font: 500 13px var(--font-ui); cursor: pointer; }
.wl-app:hover { background: var(--btn-hover); }
.wl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
.wl-cta .os-btn { min-height: 40px; padding: 6px 16px; font-size: 14px; }
.wl-cta .os-btn svg, .gd-hint svg, .hero-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.wl-cta .store-badge img { display: block; height: 40px; width: auto; }
.wl-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 10px; font-size: 13px; }
.wl-links a { color: var(--link); }
.wl-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.wl-facts li { padding: 6px 4px; border-radius: 7px; background: var(--surface-2); text-align: center; font-size: 11.5px; line-height: 1.3; color: var(--text-2); }
.wl-facts b { display: block; font: 700 16px var(--font-display); color: var(--text); }
.wl-fine { margin: 0; font-size: 12px; color: var(--text-3); }

/* The three tiny live demos: hold (the ring blooms), flick (the dot travels, a slice lights), let go (it fires). */
.wl-mini { width: 46px; height: 46px; margin-bottom: 4px; overflow: visible; }
.wl-mini path { fill: color-mix(in srgb, var(--text) 24%, transparent); stroke: var(--win-body); stroke-width: 1.2; }
.wl-mini .wl-dot { fill: var(--accent-ui); stroke: #fff; stroke-width: 1.2; }
.wl-ring { transform-origin: 32px 32px; }
.wl-hold .wl-ring { animation: wl-bloom 2.4s var(--ease) infinite; }
.wl-hold .wl-dot { animation: wl-press 2.4s ease infinite; transform-origin: 32px 32px; }
.wl-flick .wl-dot { animation: wl-move 2.4s var(--ease) infinite; }
.wl-flick .wl-hot { animation: wl-light 2.4s ease infinite; }
.wl-go .wl-hot { fill: var(--accent-ui); animation: wl-fire 2.4s ease infinite; transform-origin: 32px 32px; }
.wl-go .wl-dot { transform: translate(12px, -14px); animation: wl-gone 2.4s ease infinite; }
@keyframes wl-bloom { 0%, 15% { transform: scale(.3); opacity: 0; } 45%, 85% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes wl-press { 0%, 100% { transform: scale(1); } 10%, 40% { transform: scale(.75); } }
@keyframes wl-move { 0%, 25% { transform: none; } 55%, 100% { transform: translate(12px, -14px); } }
@keyframes wl-light { 0%, 45% { fill: color-mix(in srgb, var(--text) 24%, transparent); } 60%, 100% { fill: var(--accent-ui); } }
@keyframes wl-fire { 0%, 30% { transform: none; opacity: 1; } 45% { transform: scale(1.12); opacity: 1; } 70%, 100% { transform: scale(1.12); opacity: .25; } }
@keyframes wl-gone { 0%, 30% { opacity: 1; } 45%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wl-mini * { animation: none !important; } }

/* ---- First-time hint on a window: floats over its status bar ---- */
.gd-hint { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 12px; border-radius: 9px;
  font: 13px/1.4 var(--font-body); color: #fff; background: rgba(24, 28, 48, .94); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 8px 28px rgba(0,0,0,.35);
  animation: gd-in .35s var(--ease); transition: opacity .25s, transform .25s; }
.gd-hint.is-off { opacity: 0; transform: translateY(6px); }
.gd-hint p { flex: 1; margin: 0; }
.gd-pro { color: rgba(255,255,255,.75); }
.gd-hint .tag-pro { color: #c4b5fd !important; }
.gd-hint-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(76,194,255,.2); color: #4cc2ff; }
.gd-hint .gd-show { flex: none; color: #0b0f1e; background: #4cc2ff; border-color: transparent; font-weight: 600; }
.gd-x { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; color: inherit; opacity: .7; cursor: pointer; }
.gd-x:hover { opacity: 1; background: rgba(255,255,255,.1); }
.gd-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@keyframes gd-in { from { opacity: 0; transform: translateY(8px); } }

/* ---- The tour's card: top right, clear of the ring (centre) and of the ring's caption (bottom) ---- */
.gd-tour { position: fixed; right: 16px; top: 14px; z-index: 66; width: min(380px, calc(100vw - 32px)); padding: 12px 14px; border-radius: 12px; transform: translateY(-12px); opacity: 0;
  font: 14px/1.45 var(--font-body); color: #fff; background: rgba(20, 24, 42, .94); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 14px 40px rgba(0,0,0,.4);
  transition: opacity .3s, transform .35s var(--ease); }
.gd-tour.is-on { opacity: 1; transform: none; }
.gd-dots { display: flex; gap: 5px; margin-bottom: 6px; }
.gd-dots i { width: 18px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.2); transition: background .3s; }
.gd-dots i.is-on { background: #4cc2ff; }
.gd-text { margin: 0 0 10px; min-height: 2.9em; }
.gd-btns { display: flex; gap: 8px; justify-content: flex-end; }
.gd-tour .os-btn { --btn: rgba(255,255,255,.08); --btn-hover: rgba(255,255,255,.14); --btn-line: rgba(255,255,255,.16); --text: #fff; color: #fff; text-decoration: none; }
.gd-tour .os-btn-primary { color: #0b0f1e; }

/* ---- Trick of the day: bottom right, under the reels, behind every window ---- */
.gd-tod { position: fixed; right: 24px; bottom: 60px; z-index: 5; width: 250px; border-radius: 12px; color: #fff; background: rgba(14, 16, 30, .55); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 26px rgba(0,0,0,.25); animation: gd-in .5s var(--ease); }
.gd-tod-open { display: block; width: 100%; padding: 11px 34px 11px 13px; border: 0; background: none; color: inherit; text-align: left; font: 13px/1.4 var(--font-body); cursor: pointer; border-radius: 12px; }
.gd-tod-open:hover { background: rgba(255,255,255,.06); }
.gd-tod small { display: block; font: 600 10.5px var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #fdba74; }
.gd-tod b { display: block; margin: 2px 0; font: 650 14.5px/1.3 var(--font-display); }
.gd-tod span { display: block; color: rgba(255,255,255,.75); font-size: 12.5px; }
.gd-tod em { display: block; margin-top: 5px; font-style: normal; font-weight: 600; color: #7dd3fc; font-size: 12.5px; }
.gd-tod .gd-x { position: absolute; right: 4px; top: 4px; }
/* The reels phone sits above it from 1180 x 640; below that there is no room beside the ring. */
@media (max-width: 1179px), (max-height: 699px) { .gd-tod { display: none; } }
@media (min-width: 1180px) and (max-height: 860px) { .gd-tod { width: 230px; } .gd-tod span { display: none; } }

/* ---- The hero's second row: the tour and what it does ---- */
.hero-more { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.hero-more a, .hero-more button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; font: 600 13.5px var(--font-ui); color: #fff; text-decoration: none; cursor: pointer;
  background: rgba(10,12,24,.32); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .15s; }
.hero-more a:hover, .hero-more button:hover { background: rgba(10,12,24,.5); }

/* The taskbar's Get it: always in view, even with every window open. */
.tb-widget { background: rgba(76,194,255,.13); box-shadow: inset 0 0 0 1px rgba(76,194,255,.35); }
.tb-widget:hover { background: rgba(76,194,255,.22); }
