/* Antrepreneur: shared tokens and parts. Calm white and soft grey, near-black type and buttons, one blue accent.
   The personality is Crumb the ant, the garden scenes and the animated icon family, never the interface chrome. */
@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --panel: #F5F5F5;
  --panel-2: #EDEDED;
  --hair: #EDEDED;
  --hair-2: #D9DBDF;
  --ink: #0E1013;
  --ink-2: #565B63;
  --ink-3: #7A7F87;
  --blue: #1F6BFF;
  --blue-d: #1555D6;
  --blue-soft: #E7EFFF;
  --tang: #F26A12;
  --tang-soft: #FFF0E6;
  --r-card: 12px;
  --r-panel: 24px;
  --r-btn: 8px;
  --sans: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --shadow-card: 0 0 0 1px #EDEDED, 0 10px 26px -16px rgba(20, 30, 50, .35);
  --shadow-pop: 0 0 0 1px #EDEDED, 0 14px 30px -14px rgba(20, 30, 50, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #C8CBD1 transparent; scrollbar-width: thin; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: tabular-nums; caret-color: var(--blue); }
::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #C8CBD1; border: 3px solid var(--bg); border-radius: 8px; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* headings are regular weight, tight */
.signface { font-family: var(--sans); font-weight: 400; letter-spacing: -.02em; line-height: 1.08; text-transform: none; }
/* the child's own words: always a different treatment from the helper's grey draft box */
.hand { font-family: var(--sans); font-weight: 500; color: var(--blue); letter-spacing: 0; }

/* buttons: solid black, white text, 8px radius, a small arrow */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-btn);
  font: 500 17px/1 var(--sans); letter-spacing: -.005em;
  background: var(--ink); color: #fff;
  transition: transform .12s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #2A2D33; }
.btn:active { transform: scale(.985); }
.btn.red { background: var(--ink); color: #fff; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-d); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hair-2); }
.btn.ghost:hover { background: var(--panel); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--panel-2); color: #6B7078; cursor: not-allowed; box-shadow: none; }
.btn.block { width: 100%; }
.btn .ic { width: 20px; height: 20px; }
.btn .ic .s { stroke: currentColor; }
.btn .ic .f { display: none; }

/* wordmark: the ant, then the name */
.mark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; }
.mark img, .mark svg { width: 34px; height: 34px; flex: none; }
.mark b { font: 500 21px/1 var(--sans); letter-spacing: -.02em; }

/* icons: one 24 grid, one rounded stroke, a soft tinted shape behind the line (two-tone) */
.ic { width: 24px; height: 24px; flex: none; overflow: visible; transform-origin: 50% 55%; transform-box: fill-box; }
.ic .s { stroke: var(--lc, currentColor); stroke-width: var(--sw, 1.7); stroke-linecap: round; stroke-linejoin: round; fill: none; }
.ic .f { fill: var(--tint, rgba(31, 107, 255, .2)); stroke: none; transform: none; }

/* motion: icons and objects answer touch. Short, smooth, one or two beats. */
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes wob { 0%, 100% { rotate: 0deg; } 25% { rotate: -14deg; } 75% { rotate: 14deg; } }
@keyframes spinY { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
@keyframes pressd { 0%, 100% { translate: 0 0; } 40%, 60% { translate: 0 3px; } }
@keyframes pop { 0%, 100% { scale: 1; } 45% { scale: 1.25; } }
@keyframes shake { 0%, 100% { rotate: 0deg; } 20% { rotate: -16deg; } 40% { rotate: 14deg; } 60% { rotate: -10deg; } 80% { rotate: 6deg; } }
@keyframes steps { 0%, 100% { translate: 0 0; } 25% { translate: 0 -3px; } 75% { translate: 0 2px; } }
@keyframes inn { 0%, 100% { translate: 0 0; } 50% { translate: 0 4px; } }
@keyframes outt { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 4px 0; } }
@keyframes jig { 0%, 100% { transform: rotate(0) scale(1); } 25% { transform: rotate(-6deg) scale(1.05); } 60% { transform: rotate(5deg) scale(1.05); } }
@keyframes breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.012); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-12px); } 70% { transform: translateY(0); } 85% { transform: translateY(-3px); } }
@keyframes ringp { 0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 50% { opacity: .55; transform: translate(-50%, -50%) scale(1.08); } }

.hv:hover [data-ic="streak"], .hv:focus-visible [data-ic="streak"], .hv.go [data-ic="streak"] { animation: steps .6s ease-in-out 2; }
.hv:hover [data-ic="points"], .hv:focus-visible [data-ic="points"], .hv.go [data-ic="points"] { animation: pressd .55s ease-in-out 2; }
.hv:hover [data-ic="coin"], .hv:focus-visible [data-ic="coin"], .hv.go [data-ic="coin"] { animation: spinY .8s ease-in-out; }
.hv:hover [data-ic="lock"], .hv:focus-visible [data-ic="lock"], .hv.go [data-ic="lock"] { animation: shake .6s ease-in-out; }
.hv:hover [data-ic="badge"], .hv:focus-visible [data-ic="badge"], .hv.go [data-ic="badge"], .hv:hover [data-ic="check"], .hv.go [data-ic="check"], .hv:hover [data-ic="profit"], .hv.go [data-ic="profit"], .hv:hover [data-ic="parent"], .hv.go [data-ic="parent"] { animation: pop .5s ease-in-out; }
.hv:hover [data-ic="hands"], .hv:focus-visible [data-ic="hands"], .hv.go [data-ic="hands"], .hv:hover [data-ic="ruler"], .hv.go [data-ic="ruler"], .hv:hover [data-ic="shop"], .hv.go [data-ic="shop"], .hv:hover [data-ic="funding"], .hv.go [data-ic="funding"], .hv:hover [data-ic="hanger"], .hv.go [data-ic="hanger"] { animation: wob .6s ease-in-out; }
.hv:hover [data-ic="press"], .hv.go [data-ic="press"] { animation: pressd .55s ease-in-out 2; }
.hv:hover [data-ic="in"], .hv.go [data-ic="in"] { animation: inn .5s ease-in-out 2; }
.hv:hover [data-ic="out"], .hv.go [data-ic="out"] { animation: outt .5s ease-in-out 2; }
.hv:hover [data-ic="route"], .hv:hover [data-ic="quests"], .hv.go [data-ic="route"], .hv.go [data-ic="quests"], .hv:hover [data-ic="mission"], .hv.go [data-ic="mission"], .hv:hover [data-ic="learn"], .hv.go [data-ic="learn"], .hv:hover [data-ic="reminder"], .hv.go [data-ic="reminder"], .hv:hover [data-ic="receipt"], .hv.go [data-ic="receipt"], .hv:hover [data-ic="tin"], .hv.go [data-ic="tin"] { animation: bob .6s ease-in-out 2; }
.hv:hover [data-ic="arrow"], .hv.go [data-ic="arrow"] { animation: nudge .5s ease-in-out 2; }
.hv:hover [data-ic="settings"], .hv.go [data-ic="settings"], .hv:hover [data-ic="plus"], .hv.go [data-ic="plus"] { animation: spinY .7s ease-in-out; }
.hv:hover .jig, .hv:focus-visible .jig, .hv.go .jig, .jig:hover { animation: jig .6s ease-in-out; }
.hv { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
