/* MacroRoni website. Same black-and-yellow look as the app; light by default, dark when the system asks. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/Manrope-400-800-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/DMMono-400-latin.woff2") format("woff2"); }

:root {
  --bg: #f6f4ec; --surface: #fffdf8; --surface-2: #f1eee3; --ink: #171713; --ink-2: #3a3933; --mute: #66645b;
  --line: #e3dfd1; --brand: #ffd500; --brand-2: #ffe45a; --on-brand: #171713; --night: #11110f; --night-2: #1b1b18; --accent: #6f5c00;
  --shadow: 0 1px 2px rgba(24, 24, 19, 0.06), 0 24px 60px -30px rgba(24, 24, 19, 0.35);
  --radius: 18px; --max: 1160px;
  --logo-tile: #ffd500; --logo-mark: #11110f;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f0f0d; --surface: #191916; --surface-2: #22221e; --ink: #f2f0e6; --ink-2: #d9d6ca; --mute: #a4a296; --line: #302f29; --accent: #ffd500; --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 60px -30px rgba(0, 0, 0, 0.8); color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Manrope", system-ui, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--brand); color: var(--on-brand); border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand .macro-logo { width: 34px; height: 34px; }
.brand b { color: var(--accent); font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.3), box-shadow 0.2s, background 0.2s; }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 12px 30px -12px rgba(255, 213, 0, 0.75); }
.btn-primary:hover { transform: translateY(-2px); background: var(--brand-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-dark { background: var(--night); color: var(--brand); }
.btn-dark:hover { transform: translateY(-2px); }
.btn small { font-weight: 600; opacity: 0.75; }
.btn svg { flex: none; }
.site-nav .btn { min-height: 40px; padding: 0 16px; margin-left: 8px; color: var(--on-brand); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 70px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 213, 0, 0.28), transparent 62%); pointer-events: none; }
.hero .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(255, 213, 0, 0.7); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 213, 0, 0); } }
h1 { margin: 18px 0 16px; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
h1 .mark { position: relative; white-space: nowrap; }
h1 .mark { isolation: isolate; }
h1 .mark::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -0.06em; height: 0.14em; z-index: -1; border-radius: 6px; background: var(--brand); transform-origin: left; animation: swipe 0.8s 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
@keyframes swipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lead { margin: 0 0 28px; max-width: 560px; font-size: 20px; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 14px; color: var(--mute); font-size: 14px; }
.hero-visual { position: relative; perspective: 1400px; }
.shot { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--night); }
.hero-visual .shot { transform: rotateY(-9deg) rotateX(4deg); transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1); animation: rise 0.9s 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.05) both; }
.hero-visual:hover .shot { transform: rotateY(-3deg) rotateX(1deg); }
.hero-scout { position: absolute; left: -54px; bottom: -40px; width: 150px; height: 150px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.25)); animation: scoutIn 1s 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.35) both; }
.hero-scout .wt-scout { width: 100%; height: 100%; }
@keyframes scoutIn { from { opacity: 0; transform: translateY(40px) rotate(-12deg) scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px) rotateY(-9deg) rotateX(4deg); } }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 54px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.trust span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.trust svg { color: var(--accent); flex: none; }

/* ---- Sections ---- */
section { padding: 80px 0; }
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { margin: 12px 0 12px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.025em; }
.section-head p { margin: 0; color: var(--ink-2); font-size: 18px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.3), border-color 0.3s; }
.feature:hover { transform: translateY(-4px); border-color: var(--brand); }
.feature::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 213, 0, 0.22), transparent 70%); opacity: 0; transition: opacity 0.35s; }
.feature:hover::after { opacity: 1; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: var(--night); color: var(--brand); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
@media (prefers-color-scheme: dark) { .feature-icon { background: var(--brand); color: var(--night); } }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--night); color: #f1eecf; counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--brand); color: var(--night); font-weight: 900; font-size: 18px; }
.step h3 { margin: 0 0 6px; color: #fffdf2; }
.step p { margin: 0; color: #c9c6b8; font-size: 15.5px; }

.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; padding: 34px 0; }
.showcase.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.showcase.flip .showcase-text { order: 2; }
.showcase h3 { margin: 10px 0 10px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.showcase p { margin: 0 0 14px; color: var(--ink-2); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23171713' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.kicker { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.dark-band { background: var(--night); color: #fffdf2; border-radius: 28px; padding: 60px 48px; position: relative; overflow: hidden; }
.dark-band::before { content: ""; position: absolute; inset: auto auto -50% -10%; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 213, 0, 0.22), transparent 60%); }
.dark-band > * { position: relative; }
.dark-band h2 { color: #fffdf2; }
.dark-band p { color: #cfcdc2; }
.safety-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.safety-grid div { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.safety-grid b { display: block; margin-bottom: 4px; color: #ffd500; }
.safety-grid span { color: #cfcdc2; font-size: 15px; }

.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 20px; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--brand); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

.cta { text-align: center; }
.cta .dark-band { padding: 70px 30px; }
.cta .scout-mini { width: 120px; height: 120px; margin: 0 auto 10px; }
.cta .scout-mini .wt-scout { width: 100%; height: 100%; }

/* ---- Pages ---- */
.page-hero { padding: 64px 0 24px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 54px); }
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin-top: 34px; }
.prose p, .prose li { color: var(--ink-2); }
.release { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
.release h2 { margin: 0; font-size: 22px; }
.release time { color: var(--mute); font-size: 14px; }
.release h3 { margin: 0 0 6px; font-size: 14px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.release ul { margin: 0 0 14px; padding-left: 20px; }
.release li { margin-bottom: 6px; color: var(--ink-2); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.cat-chips a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 700; font-size: 14px; }
.cat-chips a:hover { border-color: var(--brand); }
.starter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 40px; }
.starter-card { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.3), border-color 0.25s; }
.starter-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.starter-card strong { font-size: 17px; }
.starter-card span { color: var(--ink-2); font-size: 14.5px; }
.starter-card small { color: var(--mute); font-weight: 700; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--surface-2); }
.tag.safe { background: #e5f6ea; color: #1d6b39; }
.tag.changes { background: #fff1d6; color: #7a4b00; }
@media (prefers-color-scheme: dark) { .tag.safe { background: #183323; color: #8fe0ad; } .tag.changes { background: #3a2a0c; color: #ffcf73; } }
.step-list { counter-reset: s; margin: 20px 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; }
.step-list li { counter-increment: s; display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.step-list li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: var(--on-brand); font-weight: 900; }
.callout { padding: 18px 20px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.download-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0; }
.download-steps div { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.download-steps b { display: block; margin-bottom: 6px; }
.breadcrumb { color: var(--mute); font-size: 14px; }
.breadcrumb a { color: var(--mute); }

/* ---- Footer ---- */
.site-footer { margin-top: 60px; padding: 48px 0 40px; border-top: 1px solid var(--line); color: var(--mute); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero .hero-grid, .showcase, .showcase.flip { grid-template-columns: 1fr; }
  .showcase.flip .showcase-text { order: 0; }
  .features, .steps, .download-steps { grid-template-columns: 1fr 1fr; }
  .safety-grid { grid-template-columns: 1fr 1fr; }
  .hero-scout { left: auto; right: -10px; width: 110px; height: 110px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
  .site-header.is-open .site-nav { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav .btn { margin: 8px 0 0; }
  .features, .steps, .download-steps, .safety-grid { grid-template-columns: 1fr; }
  .release { grid-template-columns: 1fr; gap: 8px; }
  .dark-band { padding: 40px 22px; border-radius: 20px; }
  section { padding: 56px 0; }
  .hero { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- From the app: Scout and the logo ---- */
/* ---- Brand mark ---------------------------------------------------------- */
.macro-logo {
  width: 30px;
  height: 30px;
  flex: none;
  overflow: visible;
}
.logo-tile {
  fill: var(--logo-tile, #ffd500);
}
.logo-sheet {
  fill: var(--logo-mark, #11110f);
}
.logo-cells,
.logo-run {
  fill: none;
  stroke: var(--logo-tile, #ffd500);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.logo-cells {
  stroke-width: 1.6;
}
.logo-run {
  stroke-width: 3.1;
}
.macro-logo-large {
  width: 104px;
  height: 104px;
  filter: drop-shadow(0 20px 30px rgba(255, 213, 0, 0.16));
}
.startup .logo-tile {
  fill: #ffd500;
}
.startup .logo-sheet {
  fill: #11110f;
}
.startup .logo-cells,
.startup .logo-run {
  stroke: #ffd500;
}
.startup-logo-wrap .logo-tile {
  transform-box: fill-box;
  transform-origin: center;
  animation: tileTurn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.startup-logo-wrap .logo-sheet {
  transform-box: fill-box;
  transform-origin: center;
  animation: sheetPop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.15s both;
}
.startup-logo-wrap .logo-cells,
.startup-logo-wrap .logo-run {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: logoDraw 0.6s ease 0.4s forwards;
}
.startup-logo-wrap .logo-run {
  animation-delay: 0.65s;
}
.titlebar-brand .macro-logo {
  width: 26px;
  height: 26px;
}
/* The title-bar logo draws itself once when the app opens... */
.titlebar-brand .logo-sheet { transform-box: fill-box; transform-origin: center; animation: sheetPop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
.titlebar-brand .logo-cells, .titlebar-brand .logo-run { stroke-dasharray: 1; stroke-dashoffset: 1; animation: logoDraw 0.5s ease 0.25s forwards; }
.titlebar-brand .logo-run { animation-delay: 0.5s; }
/* ...and runs again (with a little hop of "Roni") when you point at it. */
.titlebar-brand:hover .logo-run { animation: runAgain 0.6s ease both; }
.gate-logo .macro-logo, .about-logo .macro-logo { width: 100%; height: 100%; }
.gate-logo .logo-tile, .about-logo .logo-tile { fill: #ffd500; stroke: none; }
.gate-logo .logo-sheet, .about-logo .logo-sheet { fill: #11110f; stroke: none; }
.gate-logo .logo-cells, .gate-logo .logo-run, .about-logo .logo-cells, .about-logo .logo-run { stroke: #ffd500; fill: none; }
.gate-logo .logo-cells, .about-logo .logo-cells { stroke-width: 1.6; }
.gate-logo .logo-run, .about-logo .logo-run { stroke-width: 3.1; }
.wt-hello .macro-logo-large { width: 96px; height: 96px; }
.wt-hello .logo-sheet { transform-box: fill-box; transform-origin: center; animation: sheetPop .55s cubic-bezier(.2,.9,.3,1.3) .2s both; }
.wt-hello .logo-cells, .wt-hello .logo-run { stroke-dasharray: 1; stroke-dashoffset: 1; animation: logoDraw .6s ease .5s forwards; }
.wt-hello .logo-run { animation-delay: .8s; }
/* Scout in the walkthrough (same look as in Excel Intelligence) */
.wt-scout { width: 100%; height: 100%; overflow: visible; }
.wts-cell { fill: #ffd500; stroke: #11110f; stroke-width: 3; }
.wts-header { fill: #11110f; }
.wts-grid { fill: none; stroke: rgba(17,17,15,.28); stroke-width: 2; }
.wts-eye { fill: #fff; stroke: #11110f; stroke-width: 2; }
.wts-pupil { fill: #11110f; }
.wts-line { fill: none; stroke: #11110f; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wts-open { fill: #7a1f1f; }
.wts-cheek { fill: #ff8a80; opacity: .7; }
.wts-arm { fill: none; stroke: #11110f; stroke-width: 4; stroke-linecap: round; }
.wts-handle { stroke: #11110f; stroke-width: 6; stroke-linecap: round; }
.wts-lens { fill: rgba(255,255,255,.55); stroke: #11110f; stroke-width: 4; }
.wt-guide .wts-arm, .wt-guide .wts-handle, .wt-guide .wts-lens, .tour-option-art .wts-arm, .tour-option-art .wts-handle, .tour-option-art .wts-lens { stroke: #fffdf2; }
.wts-shadow { fill: rgba(0,0,0,.18); }
.wt-guide .wts-shadow, .tour-option-art .wts-shadow { fill: rgba(255,213,0,.18); }
.wts-sparkles path { fill: #ffd500; stroke: #11110f; stroke-width: 1.2; animation: wtTwinkle 1.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.wts-body { transform-origin: 60px 100px; animation: wtFloat 3.2s ease-in-out infinite; }
.wts-eyes { transform-origin: 60px 56px; animation: wtBlink 4.6s infinite; }
.wt-scout--hello .wts-wave { transform-origin: 26px 72px; animation: wtWave 1.2s ease-in-out 2; }
.wt-scout--scan .wts-glass { transform-origin: 84px 76px; animation: wtSweep 1.4s ease-in-out infinite; }
.wt-scout--think .wts-glass { transform-origin: 84px 76px; animation: wtTap 2.4s ease-in-out infinite; }
.wt-scout--great .wts-body { animation: wtCheer .9s cubic-bezier(.2,.9,.3,1.4) 2 both, wtFloat 3.2s 1.8s ease-in-out infinite; }
.tour-option-art .wt-scout { width: 54px; height: 54px; }
.home-scout .wt-scout { width: 100%; height: 100%; }
.scout-hello-stage .wt-scout { position: relative; width: 140px; height: 140px; animation: scoutPop 0.9s 0.1s cubic-bezier(0.2, 0.9, 0.3, 1.4) both; }
.scout-hello.is-greeted .wt-scout { animation: scoutJump 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.4) 2; }
@keyframes tileTurn {
  from { transform: rotate(-14deg); }
  to { transform: rotate(0); }
}
@keyframes logoDraw { to { stroke-dashoffset: 0; } }
@keyframes runAgain { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
@keyframes wtFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes wtBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes wtWave { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(18deg); } 60% { transform: rotate(-8deg); } }
@keyframes wtSweep { 0%, 100% { transform: rotate(-14deg) translateX(-4px); } 50% { transform: rotate(10deg) translateX(3px); } }
@keyframes wtTap { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-10deg); } 90% { transform: rotate(6deg); } }
@keyframes wtCheer { 0% { transform: none; } 40% { transform: translateY(-14px) scale(1.06) rotate(-4deg); } 70% { transform: translateY(0) scale(.98); } 100% { transform: none; } }
@keyframes wtTwinkle { 0%, 100% { opacity: .4; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes scoutPop { 0% { opacity: 0; transform: translateY(60px) scale(0.4) rotate(-20deg); } 60% { opacity: 1; transform: translateY(-8px) scale(1.06) rotate(4deg); } 100% { transform: none; } }
@keyframes scoutJump { 50% { transform: translateY(-18px) rotate(6deg); } }
