@charset "UTF-8";

:root {
  --ink: #17313b;
  --muted: #60747a;
  --cream: #f8f4e9;
  --paper: #fffdf7;
  --white: #ffffff;
  --teal: #2e9f91;
  --teal-dark: #16776f;
  --teal-pale: #dcefe9;
  --yellow: #f2bf4f;
  --yellow-pale: #f9e9b6;
  --coral: #ee7767;
  --coral-pale: #f8d9d2;
  --blue: #668cbc;
  --blue-pale: #dfe8f3;
  --line: rgba(23, 49, 59, .14);
  --shadow: 0 18px 50px rgba(38, 64, 67, .12);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --display: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: Inter, Avenir, "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
  transition: transform .2s;
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(248, 244, 233, .88);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s, border-color .2s;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(23, 49, 59, .06);
}

.header-inner {
  position: relative;
  z-index: 3;
  display: flex;
  height: 78px;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  transform: rotate(-6deg);
}

.brand-hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2.5px;
  border-radius: 4px;
  background: var(--ink);
  transform-origin: 50% 100%;
}

.brand-hand-hour {
  height: 9px;
  transform: translateX(-50%) rotate(-50deg);
}

.brand-hand-minute {
  height: 13px;
  transform: translateX(-50%) rotate(30deg);
}

.brand-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 247, .72);
}

.desktop-nav a,
.footer-main nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.desktop-nav a {
  padding: 8px 14px;
  border-radius: 9px;
  color: var(--muted);
  transition: color .18s, background .18s;
}

.desktop-nav a:hover {
  color: var(--ink);
  background: var(--cream);
}

.desktop-nav a.is-current {
  color: var(--white);
  background: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 12px;
  font-size: 14px;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 6px 0 #0b2028;
}

.button-dark:hover {
  box-shadow: 0 8px 0 #0b2028;
}

.button-primary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 6px 0 #d89b2a;
}

.button-primary:hover {
  box-shadow: 0 8px 0 #d89b2a;
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, .45);
}

.button-ghost:hover {
  background: var(--white);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 23px;
  height: 2px;
  border-radius: 9px;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  z-index: 2;
  top: calc(100% + 8px);
  right: max(14px, calc((100vw - 1180px) / 2));
  width: min(320px, calc(100% - 28px));
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 6px 7px 0 var(--ink);
}

.mobile-nav-label {
  display: block;
  padding: 3px 10px 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.mobile-nav a+a {
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.mobile-nav a:hover {
  background: var(--cream);
}

.mobile-nav a span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  background: var(--teal-pale);
}

.hero {
  display: grid;
  min-height: 640px;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 70px;
  padding-block: 72px 95px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 48px;
  left: -26px;
  width: 88px;
  height: 48px;
  border-top: 3px dashed rgba(238, 119, 103, .35);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 5px;
  color: var(--coral);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -.055em;
  line-height: 1.02;
}

h1 {
  max-width: 700px;
  font-size: clamp(56px, 6.5vw, 91px);
}

h2 {
  font-size: clamp(38px, 4.1vw, 58px);
}

h3 {
  font-size: 30px;
}

em {
  color: var(--teal);
  font-style: normal;
}

.hero-lead {
  max-width: 590px;
  margin: 25px 0 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.hero-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 27px;
}

.hero-skills>span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .5);
  font-size: 11px;
  font-weight: 850;
}

.hero-skills>span:nth-child(1) {
  background: var(--yellow-pale);
}

.hero-skills>span:nth-child(2) {
  background: var(--teal-pale);
}

.hero-skills>span:nth-child(3) {
  background: var(--coral-pale);
}

.mini-clock {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.mini-clock::before,
.mini-clock::after {
  content: "";
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 2px;
  border-radius: 4px;
  background: var(--ink);
  transform-origin: 50% 100%;
}

.mini-clock::before {
  height: 7px;
}

.mini-clock::after {
  height: 9px;
  background: var(--coral);
}

.mini-clock-whole::before {
  transform: translateX(-50%) rotate(60deg);
}

.mini-clock-whole::after {
  transform: translateX(-50%) rotate(0deg);
}

.mini-clock-half::before {
  transform: translateX(-50%) rotate(210deg);
}

.mini-clock-half::after {
  transform: translateX(-50%) rotate(180deg);
}

.mini-clock-quarter::before {
  transform: translateX(-50%) rotate(105deg);
}

.mini-clock-quarter::after {
  transform: translateX(-50%) rotate(90deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 31px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-proof i {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 4px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-style: normal;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -3;
  top: 4%;
  right: 0;
  width: 93%;
  aspect-ratio: 1;
  border-radius: 48% 52% 44% 56%;
  background: var(--teal-pale);
  transform: rotate(-7deg);
}

.hero-clock {
  position: absolute !important;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(355px, 74vw) !important;
  height: min(355px, 74vw) !important;
  transform: translate(-50%, -50%) rotate(2deg);
  filter: drop-shadow(0 22px 26px rgba(23, 49, 59, .16));
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 2px dashed rgba(23, 49, 59, .17);
  border-radius: 50%;
}

.orbit-one {
  inset: 8%;
  transform: rotate(12deg);
}

.orbit-two {
  inset: 15% 3% 4% 16%;
  transform: rotate(-18deg);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  width: 112px;
  height: 84px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: 18px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 7px 8px 0 rgba(23, 49, 59, .16);
  transform: rotate(-6deg);
}

.float-card b {
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
}

.float-card small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.float-card-top {
  top: 3%;
  right: -2%;
}

.float-card-bottom {
  bottom: 3%;
  left: -2%;
  transform: rotate(5deg);
}

.spark {
  position: absolute;
  z-index: 4;
  color: var(--coral);
  font-size: 24px;
}

.spark-a {
  top: 6%;
  left: 14%;
  transform: rotate(20deg);
}

.spark-b {
  right: 7%;
  bottom: 5%;
  color: var(--yellow);
  font-size: 35px;
}

.spark-c {
  top: 21%;
  right: -2%;
  color: var(--blue);
  font-size: 13px;
}

.clock-face {
  position: relative;
  width: 100%;
  height: 100%;
  border: 10px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 7px var(--yellow);
}

.clock-tick {
  position: absolute;
  top: 5.5%;
  left: 50%;
  width: 2px;
  height: 4.8%;
  border-radius: 4px;
  background: rgba(23, 49, 59, .34);
  transform-origin: 50% 50%;
}

.clock-tick.major {
  width: 4px;
  height: 6%;
  background: var(--ink);
}

.clock-number {
  position: absolute;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  font-family: var(--display);
  font-size: clamp(15px, 4.5cqw, 22px);
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.clock-minute-number {
  position: absolute;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-size: clamp(8px, 2.2cqw, 11px);
  font-weight: 900;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .2s;
}

.show-minute-labels .clock-minute-number {
  opacity: 1;
}

.clock-hand {
  position: absolute;
  z-index: 3;
  bottom: 50%;
  left: 50%;
  border-radius: 20px 20px 5px 5px;
  background: var(--ink);
  transform-origin: 50% calc(100% - 2px);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}

.clock-hand.hour {
  width: 7px;
  height: 24%;
  margin-left: -3.5px;
}

.clock-hand.minute {
  width: 5px;
  height: 34%;
  margin-left: -2.5px;
  background: var(--coral);
}

.interactive-clock .clock-hand.hour {
  height: 20%;
}

.clock-hand.minute::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-bottom: 9px solid var(--coral);
  border-left: 4px solid transparent;
  transform: translate(-50%, -50%);
}

.clock-center {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.quick-paths {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -43px;
}

.quick-card {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 14px;
  padding: 16px 17px;
  border: 2px solid var(--ink);
  border-radius: 19px;
  box-shadow: 5px 6px 0 var(--ink);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.quick-card:hover {
  box-shadow: 7px 9px 0 var(--ink);
  transform: translateY(-3px);
}

.quick-card>span:nth-child(2) {
  min-width: 0;
}

.quick-card strong,
.quick-card small {
  display: block;
}

.quick-card strong {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: -.03em;
}

.quick-card small {
  overflow: hidden;
  margin-top: 3px;
  color: rgba(23, 49, 59, .72);
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-card i {
  margin-left: auto;
  font-style: normal;
  font-weight: 900;
}

.quick-icon {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  border: 2px solid rgba(23, 49, 59, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .45);
  font-size: 22px;
  font-weight: 900;
}

.quick-card-teal {
  background: #a9ded3;
}

.quick-card-yellow {
  background: var(--yellow-pale);
}

.quick-card-coral {
  background: var(--coral-pale);
}

.quick-card-blue {
  background: var(--blue-pale);
}

.section {
  padding-block: 112px;
}

.section-heading {
  margin-bottom: 46px;
}

.section-heading>p:not(.eyebrow) {
  max-width: 610px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.centered {
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 50px;
  margin-left: auto;
  text-align: center;
}

.centered>p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 70px;
}

.split-heading>p {
  max-width: 400px !important;
  margin-bottom: 5px !important;
}

.section-tools {
  background: var(--paper);
}

.tool-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 20px;
}

.tool-toolbar .tool-tabs {
  grid-column: 2;
  margin: 0;
}

.sound-toggle {
  display: inline-flex;
  grid-column: 3;
  align-items: center;
  justify-self: end;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-size: 11px;
  cursor: pointer;
}

.sound-toggle span {
  font-size: 15px;
}

.sound-toggle.is-muted {
  color: var(--muted);
  background: var(--cream);
}

.tool-tabs,
.game-picker {
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: 5px;
  margin: 0 auto 20px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--cream);
  overflow-x: auto;
}

.tool-tab,
.game-pick {
  min-width: max-content;
  padding: 10px 19px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.tool-tab.is-active,
.game-pick.is-active {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 3px 7px rgba(23, 49, 59, .15);
}

.tool-stage {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: 10px 12px 0 var(--ink);
}

.tool-panel {
  min-height: 570px;
}

.clock-tool {
  display: none;
  grid-template-columns: 1.15fr .85fr;
}

.clock-tool.is-active {
  display: grid;
}

.tool-display {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 55px;
  background: var(--teal-pale);
}

.interactive-clock {
  width: min(360px, 100%);
  aspect-ratio: 1;
  container-type: inline-size;
}

.digital-readout {
  margin-top: 18px;
  padding: 7px 18px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  color: var(--ink);
  background: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .05em;
  transition: opacity .2s, transform .2s;
}

.digital-readout.is-hidden {
  opacity: 0;
  transform: translateY(4px);
}

.tool-controls {
  padding: 50px 45px;
  background: var(--paper);
}

.tool-kicker {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tool-controls h3 {
  margin-bottom: 29px;
}

.time-stepper {
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.time-stepper.is-hidden {
  display: none;
}

.time-stepper button {
  display: grid;
  width: 43px;
  height: 49px;
  flex: 0 0 43px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--cream);
  font-size: 25px;
  font-weight: 700;
  cursor: pointer;
}

.time-stepper label {
  flex: 1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.time-stepper input {
  width: 100%;
  height: 49px;
  margin-top: 5px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  color: var(--ink);
  background: var(--white);
  font-size: 21px;
  font-weight: 800;
  text-align: center;
}

.time-colon {
  padding-bottom: 7px;
  font-size: 26px;
  font-weight: 900;
}

.minute-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 12px 0 25px;
}

.minute-buttons>div {
  display: grid;
  gap: 8px;
}

.minute-buttons button {
  width: 100%;
}

.minute-buttons button,
.timer-presets button {
  padding: 9px 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--cream);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.minute-buttons button:hover,
.timer-presets button:hover,
.timer-presets button.is-active {
  border-color: var(--teal);
  background: var(--teal-pale);
}

.tool-options {
  border-top: 1px solid var(--line);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.switch-row span,
.switch-row b,
.switch-row small {
  display: block;
}

.switch-row b {
  font-size: 13px;
}

.switch-row small {
  color: var(--muted);
  font-size: 10px;
}

.switch-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-row i {
  position: relative;
  width: 41px;
  height: 23px;
  flex: 0 0 41px;
  border-radius: 50px;
  background: #cbd4d3;
  transition: background .2s;
}

.switch-row i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .2s;
}

.switch-row input:checked+i {
  background: var(--teal);
}

.switch-row input:checked+i::after {
  transform: translateX(18px);
}

.switch-row input:focus-visible+i {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.tool-random {
  width: 100%;
  margin-top: 27px;
}

.timeline-tool.is-active,
.timer-tool.is-active {
  display: block;
}

.timeline-workspace,
.timer-workspace {
  display: flex;
  min-height: 570px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 60px 10%;
  text-align: center;
}

.timeline-times {
  display: flex;
  width: min(620px, 100%);
  align-items: end;
  gap: 24px;
  margin: 42px 0;
}

.timeline-times label {
  flex: 1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.timeline-times input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font-size: 21px;
  font-weight: 850;
}

.timeline-times>span {
  padding-bottom: 13px;
  color: var(--coral);
  font-size: 30px;
  font-weight: 900;
}

.time-line {
  position: relative;
  width: min(720px, 100%);
  height: 116px;
  margin: 8px 0 25px;
}

.timeline-track {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 0;
  height: 4px;
  border-radius: 10px;
  background: var(--ink);
}

.timeline-track::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -2px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--ink);
}

.timeline-point {
  position: absolute;
  bottom: 0;
  left: var(--point-left);
  min-width: 46px;
  text-align: center;
  transform: translateX(-50%);
}

.timeline-point.is-start {
  text-align: left;
  transform: none;
}

.timeline-point.is-end {
  text-align: right;
  transform: translateX(-100%);
}

.timeline-point i {
  display: block;
  width: 4px;
  height: 17px;
  margin: 0 auto 5px;
  border-radius: 5px;
  background: var(--ink);
}

.timeline-point.is-start i {
  margin-left: 0;
}

.timeline-point.is-end i {
  margin-right: 0;
}

.timeline-point b {
  font-size: 11px;
  white-space: nowrap;
}

.timeline-arc {
  position: absolute;
  bottom: 34px;
  left: var(--arc-left);
  width: var(--arc-width);
  height: 42px;
  border: 2px dashed var(--teal-dark);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.timeline-arc b {
  position: absolute;
  top: -24px;
  left: 50%;
  padding: 3px 7px;
  border-radius: 10px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-size: 10px;
  white-space: nowrap;
  transform: translateX(-50%);
}

.elapsed-result {
  display: flex;
  align-items: center;
  justify-content: center;
}

.elapsed-result strong {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.timeline-explanation {
  color: var(--muted);
}

.timer-ring {
  --progress: 0deg;
  position: relative;
  display: grid;
  width: 270px;
  height: 270px;
  margin: 32px 0 20px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--coral) var(--progress), var(--coral-pale) 0);
}

.timer-ring::before {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: var(--paper);
}

.timer-ring span {
  position: relative;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 45px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.timer-adjust {
  display: grid;
  width: min(460px, 100%);
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}

.timer-adjust button {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--yellow-pale);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.timer-adjust button:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
}

.timer-presets {
  display: flex;
  max-width: 560px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.timer-presets button {
  min-width: 67px;
}

.timer-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.section-games {
  position: relative;
  overflow: hidden;
  background: var(--teal-pale);
}

.section-games::before,
.section-games::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px dashed rgba(23, 49, 59, .12);
  border-radius: 50%;
}

.section-games::before {
  top: 55px;
  left: -80px;
}

.section-games::after {
  right: -60px;
  bottom: 90px;
}

.game-toolbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 22px;
}

.game-toolbar .game-picker {
  display: grid;
  width: 100%;
  max-width: none;
  grid-row: 2;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin-bottom: 0;
  overflow: visible;
}

.game-toolbar .game-sound-toggle {
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
}

.game-picker {
  background: rgba(255, 255, 255, .55);
}

.game-picker .game-pick {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  font-size: 13px;
}

.level-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: -6px auto 25px;
}

.level-picker>span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.level-options {
  display: flex;
  max-width: 100%;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.level-option {
  min-width: max-content;
  padding: 7px 11px;
  border: 1px solid rgba(23, 49, 59, .18);
  border-radius: 20px;
  color: var(--muted);
  background: rgba(255, 255, 255, .48);
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.level-option:hover {
  border-color: var(--teal);
  color: var(--ink);
}

.level-option.is-active {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.game-arena {
  position: relative;
  z-index: 2;
  min-height: 480px;
  padding: 36px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 10px 12px 0 var(--ink);
}

.game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
}

.game-head h3 {
  font-size: 25px;
}

.game-stats {
  display: flex;
  gap: 8px;
}

.game-stat {
  min-width: 78px;
  padding: 7px 13px;
  border-radius: 11px;
  background: var(--cream);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.game-stat b {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.1;
}

.game-body {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 55px;
}

.game-clock {
  width: min(310px, 100%);
  aspect-ratio: 1;
  margin: auto;
  container-type: inline-size;
}

.game-question .eyebrow {
  margin-bottom: 9px;
}

.game-question h4 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -.045em;
  line-height: 1.08;
}

.answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.answer-button {
  min-height: 62px;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .15s, border-color .15s, background .15s;
}

.answer-button:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
  transform: translateY(-2px);
}

.answer-button.is-correct {
  border-color: var(--teal-dark);
  color: var(--teal-dark);
  background: var(--teal-pale);
}

.answer-button.is-wrong {
  border-color: var(--coral);
  background: var(--coral-pale);
}

.game-feedback {
  min-height: 38px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 750;
}

.game-feedback.correct {
  color: var(--teal-dark);
}

.game-feedback.wrong {
  color: #b84335;
}

.set-clock-display {
  padding: 30px;
  border-radius: 25px;
  background: var(--teal-pale);
}

.target-time {
  display: inline-block;
  margin: 11px 0 25px;
  padding: 8px 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  font-family: ui-monospace, monospace;
  font-size: 29px;
  font-weight: 900;
}

.set-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 18px;
}

.set-control-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.set-control-group>span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}

.set-controls button {
  min-height: 45px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--cream);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.set-controls button:hover {
  background: var(--yellow-pale);
}

.check-time {
  width: 100%;
  margin-top: 10px;
}

.phrase-card {
  display: grid;
  min-height: 275px;
  place-items: center;
  padding: 40px;
  border-radius: 27px;
  background: var(--yellow-pale);
  text-align: center;
}

.phrase-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.phrase-card strong {
  display: block;
  max-width: 390px;
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -.05em;
  line-height: 1.05;
}

.game-check-button {
  width: 100%;
  margin-top: 12px;
}

.answer-button.is-selected {
  border-color: var(--ink);
  background: var(--yellow-pale);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.clock-number-slot {
  z-index: 4;
  border: 2px dashed var(--teal);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  cursor: pointer;
}

.clock-number-slot:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.clock-number-slot.is-wrong {
  border-color: var(--coral);
  color: #b84335;
  background: var(--coral-pale);
}

.clock-number-slot.is-correct {
  border-style: solid;
  border-color: var(--teal-dark);
  color: var(--teal-dark);
  background: var(--teal-pale);
}

.number-pile,
.digit-pile {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  border: 2px dashed var(--line);
  border-radius: 16px;
  background: var(--white);
}

.number-chip,
.digit-chip {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 14px;
  color: var(--ink);
  background: var(--yellow-pale);
  box-shadow: 3px 4px 0 var(--ink);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 900;
  cursor: grab;
  transition: transform .15s, opacity .15s, background .15s;
}

.number-chip:hover,
.digit-chip:hover {
  transform: translateY(-2px);
}

.number-chip.is-selected {
  color: var(--white);
  background: var(--teal-dark);
}

.number-chip.is-used:not(.is-selected),
.digit-chip.is-used {
  opacity: .35;
  box-shadow: none;
  transform: translateY(2px);
}

.built-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 88px;
  margin-bottom: 15px;
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
}

.built-time span {
  display: grid;
  width: 48px;
  height: 55px;
  place-items: center;
  border-radius: 10px;
  background: var(--cream);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 31px;
  font-weight: 900;
}

.built-time b {
  font-size: 31px;
}

.built-time.is-wrong {
  border-color: var(--coral);
  background: var(--coral-pale);
}

.built-time.is-correct {
  border-color: var(--teal-dark);
  background: var(--teal-pale);
}

.build-time-actions {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 10px;
  margin-top: 13px;
}

.build-time-actions .button {
  width: 100%;
}

.sequence-board {
  display: grid;
  min-height: 275px;
  align-content: center;
  gap: 18px;
  padding: 30px;
  border-radius: 27px;
  background: var(--yellow-pale);
  text-align: center;
}

.sequence-board>div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sequence-board strong {
  padding: 11px 13px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(17px, 2.1vw, 25px);
}

.sequence-board i {
  color: var(--teal-dark);
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}

.sequence-board .sequence-missing {
  min-width: 72px;
  color: var(--coral);
}

.time-machine-board {
  position: relative;
  display: grid;
  min-height: 320px;
  place-items: center;
  padding: 24px;
  border-radius: 27px;
  background: var(--teal-pale);
}

.time-machine-board .game-clock {
  width: min(270px, 100%);
}

.time-machine-board>span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 9px 13px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 3px 4px 0 var(--ink);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
}

.drag-clock-stage {
  display: grid;
  min-height: 340px;
  place-items: center;
  padding: 25px;
  border-radius: 27px;
  background: var(--teal-pale);
}

.drag-clock-stage p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.drag-hand-clock .clock-hand,
.interactive-clock[data-interactive] .clock-hand {
  z-index: 5;
  cursor: grab;
  touch-action: none;
}

.drag-hand-clock .clock-hand:active,
.interactive-clock[data-interactive] .clock-hand:active {
  cursor: grabbing;
}

.drag-hand-clock .clock-hand:focus-visible,
.interactive-clock[data-interactive] .clock-hand:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 3px;
}

.drag-hand-clock .clock-hand.hour,
.interactive-clock[data-interactive] .clock-hand.hour {
  width: 12px;
  margin-left: -6px;
}

.drag-hand-clock .clock-hand.minute,
.interactive-clock[data-interactive] .clock-hand.minute {
  width: 10px;
  margin-left: -5px;
}

.drag-hand-clock.is-dragging .clock-hand,
.interactive-clock[data-interactive].is-dragging .clock-hand {
  transition: none;
}

.drag-hand-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.drag-hand-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.drag-hand-legend i {
  display: inline-block;
  width: 22px;
  height: 5px;
  border-radius: 8px;
  background: var(--ink);
}

.drag-hand-legend .minute-swatch {
  height: 3px;
  background: var(--coral);
}

.move-time-start {
  position: relative;
  display: grid;
  min-height: 340px;
  place-items: center;
  padding: 28px 24px 48px;
  border-radius: 27px;
  background: var(--teal-pale);
}

.move-time-start>p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.move-time-start .game-clock {
  width: min(255px, 100%);
}

.move-time-change {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 9px 13px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 3px 4px 0 var(--ink);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
}

.time-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.time-choice {
  display: grid;
  min-height: 145px;
  place-items: center;
  padding: 10px;
  border: 2px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}

.time-choice:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
  transform: translateY(-2px);
}

.time-choice.is-wrong {
  border-color: var(--coral);
  background: var(--coral-pale);
}

.time-choice.is-correct {
  border-color: var(--teal-dark);
  background: var(--teal-pale);
}

.move-time-choice-clock,
.connector-clock {
  display: block;
  container-type: inline-size;
  pointer-events: none;
}

.move-time-choice-clock {
  width: 112px;
  height: 112px;
}

.connector-clock {
  width: 120px;
  height: 120px;
}

.move-time-choice-clock .clock-face,
.connector-clock .clock-face {
  border-width: 6px;
  box-shadow: inset 0 0 0 3px var(--yellow);
}

.move-time-choice-clock .clock-number,
.connector-clock .clock-number {
  width: 16px;
  height: 16px;
  font-size: 10px;
}

.move-time-choice-clock .clock-hand.hour,
.connector-clock .clock-hand.hour {
  width: 4px;
  margin-left: -2px;
}

.move-time-choice-clock .clock-hand.minute,
.connector-clock .clock-hand.minute {
  width: 3px;
  margin-left: -1.5px;
}

.move-time-choice-clock .clock-center,
.connector-clock .clock-center {
  width: 11px;
  height: 11px;
  border-width: 2px;
}

.connect-game-intro,
.order-game-intro {
  margin-bottom: 20px;
  text-align: center;
}

.connect-game-intro .eyebrow,
.order-game-intro .eyebrow {
  margin-bottom: 5px;
}

.connect-game-intro h4,
.order-game-intro h4 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 37px);
}

.connect-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(130px, 1fr);
  gap: clamp(70px, 15vw, 190px);
  width: min(850px, 100%);
  margin: 0 auto;
}

.connection-lines {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.connection-line {
  fill: none;
  stroke: var(--teal-dark);
  stroke-width: 4;
  stroke-linecap: round;
}

.connection-line.is-preview {
  stroke: var(--coral);
  stroke-dasharray: 7 6;
}

.connection-line.is-wrong {
  stroke: var(--coral);
  stroke-dasharray: 8 7;
}

.connection-line.is-correct {
  stroke: var(--teal);
  stroke-width: 5;
}

.connector-column {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.connector-column>span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.time-connector {
  position: relative;
  display: grid;
  min-height: 132px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--white);
  cursor: grab;
  touch-action: none;
  transition: border-color .15s, background .15s, transform .15s;
}

.time-connector:hover,
.time-connector.is-selected {
  border-color: var(--teal);
  background: var(--teal-pale);
  transform: translateY(-2px);
}

.time-connector.is-linked {
  border-color: var(--ink);
}

.time-connector.is-dragging {
  opacity: .45;
}

.time-connector>i {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 2px var(--ink);
  transform: translateY(-50%);
}

.digital-connector>i {
  right: -8px;
}

.analog-connector>i {
  left: -8px;
}

.digital-connector b {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(18px, 2.3vw, 27px);
}

.connect-check,
.order-check {
  display: block;
  width: min(520px, 100%);
  margin: 22px auto 0;
}

.connect-feedback,
.order-feedback {
  text-align: center;
}

.order-scale {
  display: flex;
  width: min(820px, 100%);
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 13px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.order-scale i {
  flex: 1;
  color: var(--coral);
  font-size: 22px;
  font-style: normal;
  text-align: center;
}

.clock-order-list {
  display: grid;
  grid-template-columns: repeat(var(--clock-count), minmax(0, 1fr));
  gap: 13px;
  width: min(1000px, 100%);
  margin: 0 auto;
}

.clock-order-card {
  position: relative;
  min-width: 0;
  padding: 24px 12px 12px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  cursor: grab;
  transition: border-color .15s, transform .15s, opacity .15s;
}

.clock-order-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
}

.clock-order-card.is-dragging {
  opacity: .35;
}

.clock-order-card.is-dropped {
  animation: order-card-drop .28s ease-out;
}

.clock-order-card.is-wrong {
  border-color: var(--coral);
  background: var(--coral-pale);
}

.clock-order-card.is-correct {
  border-color: var(--teal-dark);
  background: var(--teal-pale);
}

.order-position {
  position: absolute;
  top: 8px;
  left: 10px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 11px;
}

.order-clock {
  width: min(170px, 100%);
  aspect-ratio: 1;
  margin: auto;
  container-type: inline-size;
  pointer-events: none;
}

.order-clock .clock-face {
  border-width: 7px;
  box-shadow: inset 0 0 0 4px var(--yellow);
}

.order-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 9px;
}

.order-card-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.order-card-actions button:hover {
  background: var(--yellow-pale);
}

@keyframes order-card-drop {
  from {
    opacity: .55;
    transform: translateY(-10px) scale(.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.game-complete {
  display: grid;
  min-height: 400px;
  place-items: center;
  text-align: center;
}

.complete-badge {
  display: grid;
  width: 95px;
  height: 95px;
  margin: 0 auto 23px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 6px 7px 0 var(--ink);
  font-size: 40px;
}

.game-complete p {
  color: var(--muted);
}

.section-materials {
  background: var(--paper);
}

.material-generator {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) 1.28fr;
  align-items: center;
  gap: 35px;
  margin-bottom: 32px;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--teal-pale);
}

.material-generator .tool-kicker {
  margin-bottom: 5px;
}

.material-generator h3 {
  font-size: 24px;
}

.material-generator p:not(.tool-kicker) {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.material-level-options {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.material-level-option {
  background: rgba(255, 255, 255, .68);
}

.card-grid {
  display: grid;
  gap: 20px;
}

.materials-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.material-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .2s, box-shadow .2s;
}

.material-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.material-preview {
  position: relative;
  display: grid;
  min-height: 210px;
  place-items: center;
  overflow: hidden;
}

.material-preview::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 2px dashed rgba(23, 49, 59, .12);
  border-radius: 50%;
}

.material-card:nth-child(4n+1) .material-preview {
  background: var(--teal-pale);
}

.material-card:nth-child(4n+2) .material-preview {
  background: var(--yellow-pale);
}

.material-card:nth-child(4n+3) .material-preview {
  background: var(--coral-pale);
}

.material-card:nth-child(4n) .material-preview {
  background: var(--blue-pale);
}

.paper-preview {
  position: relative;
  display: grid;
  width: 124px;
  height: 158px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 7px 8px 0 rgba(23, 49, 59, .15);
  transform: rotate(-3deg);
}

.paper-preview::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 18px;
  left: 15px;
  height: 3px;
  box-shadow: 0 -10px 0 rgba(23, 49, 59, .18), 0 -20px 0 rgba(23, 49, 59, .18);
  background: rgba(23, 49, 59, .18);
}

.preview-clock {
  display: grid;
  width: 75px;
  height: 75px;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 50%;
  color: var(--coral);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 900;
}

.material-badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  padding: 4px 9px;
  border-radius: 20px;
  color: var(--ink);
  background: var(--white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.material-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.material-content h3 {
  font-size: 20px;
}

.material-content p {
  min-height: 64px;
  margin: 11px 0 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.material-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.material-meta span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.material-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.material-generate {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.material-generate:hover {
  background: var(--teal-dark);
}

.material-generate span {
  font-size: 16px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.download-link:hover {
  text-decoration: underline;
}

.material-dialog {
  width: min(1030px, calc(100% - 28px));
  height: min(900px, calc(100dvh - 28px));
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 20px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 10px 12px 0 var(--ink);
  overflow: hidden;
}

.material-dialog::backdrop {
  background: rgba(11, 32, 40, .72);
  backdrop-filter: blur(4px);
}

.material-dialog-bar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 17px 12px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.material-dialog-bar>div:first-child {
  display: grid;
  gap: 3px;
}

.material-dialog-bar span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.material-dialog-bar b {
  font-family: var(--display);
  font-size: 20px;
}

.material-dialog-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.material-dialog-actions .button {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 11px;
}

.material-dialog-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
  font-size: 27px;
  cursor: pointer;
}

.material-dialog iframe {
  display: block;
  width: 100%;
  height: calc(100% - 72px);
  border: 0;
  background: white;
}

.section-activities {
  background: var(--cream);
}

.activity-controls {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(180px, .7fr) minmax(180px, .7fr);
  align-items: end;
  gap: 13px;
  margin-bottom: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .62);
}

.activity-controls label {
  display: grid;
  gap: 7px;
}

.activity-controls label>span:first-child {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.activity-controls input,
.activity-controls select {
  width: 100%;
  height: 47px;
  padding: 0 14px;
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  outline: none;
}

.activity-controls input:focus,
.activity-controls select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 169, 155, .14);
}

.activity-search-field {
  position: relative;
  display: block;
}

.activity-search-field i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  color: var(--teal-dark);
  font-size: 21px;
  font-style: normal;
  transform: translateY(-54%);
}

.activity-search-field input {
  padding-left: 43px;
}

.activity-result-count {
  min-height: 21px;
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.activities-grid {
  grid-template-columns: repeat(3, 1fr);
}

.activity-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 6px 7px 0 var(--ink);
  transition: transform .2s, box-shadow .2s;
}

.activity-card:hover {
  box-shadow: 8px 10px 0 var(--ink);
  transform: translateY(-3px);
}

.activity-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.activity-card-badges {
  display: flex;
  max-width: calc(100% - 63px);
  align-items: flex-end;
  flex-direction: column;
  gap: 5px;
}

.activity-icon {
  display: grid;
  width: 53px;
  height: 53px;
  place-items: center;
  border-radius: 16px;
  font-size: 26px;
}

.activity-card:nth-child(3n+1) .activity-icon {
  background: var(--teal-pale);
}

.activity-card:nth-child(3n+2) .activity-icon {
  background: var(--yellow-pale);
}

.activity-card:nth-child(3n) .activity-icon {
  background: var(--coral-pale);
}

.activity-category {
  padding: 4px 9px;
  border-radius: 20px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-size: 9px;
  font-weight: 900;
}

.activity-duration {
  padding: 4px 9px;
  border-radius: 20px;
  color: var(--muted);
  background: var(--cream);
  font-size: 10px;
  font-weight: 850;
}

.activity-card h3 {
  margin-top: 23px;
  font-size: 22px;
}

.activity-card p {
  margin: 10px 0 23px;
  color: var(--muted);
  font-size: 13px;
}

.activity-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
}

.activity-open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 0;
  border: 0;
  color: var(--teal-dark);
  background: none;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.activity-open:hover {
  text-decoration: underline;
}

.activity-pdf-mark {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--white);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .07em;
}

.activity-empty {
  grid-column: 1 / -1;
  padding: 60px 25px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.activity-empty>span {
  display: block;
  color: var(--teal);
  font-size: 40px;
}

.activity-empty h3 {
  margin: 9px 0 4px;
  color: var(--ink);
  font-size: 23px;
}

.activity-empty p {
  margin: 0;
  font-size: 13px;
}

.teacher-note {
  padding-block: 80px;
  color: var(--paper);
  background: var(--ink);
}

.teacher-note-inner {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 55px;
}

.teacher-note .eyebrow {
  color: #7fd3c4;
}

.teacher-note h2 {
  font-size: clamp(35px, 4vw, 54px);
}

.teacher-note h2 em {
  color: var(--yellow);
}

.teacher-note p:not(.eyebrow) {
  max-width: 610px;
  margin: 18px 0 0;
  color: #b9c7c9;
}

.note-illustration {
  position: relative;
  height: 175px;
}

.note-clock {
  position: absolute !important;
  top: 5px;
  left: 10px;
  width: 150px !important;
  height: 150px !important;
  transform: rotate(-8deg);
}

.note-clock .clock-face {
  border-width: 6px;
  box-shadow: inset 0 0 0 4px var(--yellow);
}

.note-clock .clock-number {
  font-size: 10px;
}

.note-clock .clock-tick {
  display: none;
}

.note-clock .clock-hand.hour {
  width: 4px;
}

.note-clock .clock-hand.minute {
  width: 3px;
}

.note-clock .clock-center {
  width: 12px;
  height: 12px;
  border-width: 3px;
}

.note-pencil {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 13px;
  width: 24px;
  height: 115px;
  border: 3px solid var(--ink);
  border-radius: 6px 6px 0 0;
  background: var(--coral);
  transform: rotate(38deg);
}

.note-pencil::after {
  content: "";
  position: absolute;
  bottom: -27px;
  left: -3px;
  border-top: 27px solid var(--yellow-pale);
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
}

.site-footer {
  padding-block: 50px 22px;
  background: #10252d;
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  align-items: center;
  gap: 50px;
  padding-bottom: 37px;
}

.brand-footer {
  color: var(--white);
}

.brand-footer .brand-mark {
  border-color: var(--white);
}

.footer-main>p {
  margin: 0;
  color: #9fb2b7;
  font-size: 13px;
}

.footer-main nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.footer-main nav a {
  color: #c3d0d2;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #799097;
  font-size: 10px;
}

.activity-dialog {
  width: min(620px, calc(100% - 30px));
  max-height: min(780px, calc(100dvh - 30px));
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 25px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 10px 12px 0 var(--ink);
}

.activity-dialog::backdrop {
  background: rgba(11, 32, 40, .68);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 17px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
  font-size: 25px;
  cursor: pointer;
}

.dialog-body {
  padding: 43px;
}

.dialog-hero {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 28px;
  padding-right: 40px;
}

.dialog-hero .activity-icon {
  flex: 0 0 53px;
  background: var(--teal-pale);
}

.dialog-hero h2 {
  font-size: 33px;
}

.dialog-intro {
  color: var(--muted);
}

.dialog-info {
  display: flex;
  gap: 8px;
  margin: 24px 0;
}

.dialog-info span {
  padding: 6px 11px;
  border-radius: 20px;
  background: var(--cream);
  font-size: 11px;
  font-weight: 800;
}

.dialog-body h3 {
  margin: 28px 0 11px;
  font-size: 18px;
}

.dialog-body ol,
.dialog-body ul {
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
}

.dialog-body li+li {
  margin-top: 9px;
}

.activity-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.activity-dialog-actions .button {
  min-height: 43px;
  padding: 10px 14px;
  font-size: 11px;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 22px;
  bottom: 22px;
  max-width: 340px;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: var(--yellow-pale);
  box-shadow: 5px 6px 0 var(--ink);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity .2s, transform .2s;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .desktop-nav a {
    padding-inline: 10px;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .quick-paths {
    grid-template-columns: 1fr 1fr;
    margin-top: -30px;
  }

  .clock-tool {
    grid-template-columns: 1fr 1fr;
  }

  .tool-display {
    padding: 35px;
  }

  .tool-controls {
    padding: 40px 28px;
  }

  .materials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .teacher-note-inner {
    grid-template-columns: 170px 1fr;
  }

  .teacher-note-inner .button {
    grid-column: 2;
    width: max-content;
  }

  .footer-main {
    grid-template-columns: 1fr 1.5fr;
  }

  .footer-main nav {
    grid-column: 1 / -1;
    display: flex;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 620px);
  }

  .header-inner {
    height: 68px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .site-header.is-menu-open::after {
    content: "";
    position: fixed;
    z-index: 1;
    inset: 68px 0 0;
    background: rgba(16, 37, 45, .2);
    backdrop-filter: blur(2px);
  }

  .tool-toolbar {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .tool-toolbar .tool-tabs {
    width: 100%;
  }

  .tool-toolbar .sound-toggle {
    align-self: center;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-block: 61px 85px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .hero-skills {
    justify-content: center;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    min-height: 400px;
  }

  .hero-visual::before {
    right: 5%;
    width: 90%;
  }

  .float-card-top {
    right: 0;
  }

  .float-card-bottom {
    left: 0;
  }

  .quick-paths {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding-block: 82px;
  }

  .split-heading {
    display: block;
  }

  .split-heading>p {
    margin-top: 18px !important;
  }

  .clock-tool.is-active {
    display: block;
  }

  .tool-display {
    padding: 35px 25px;
  }

  .tool-controls {
    padding: 35px 25px 42px;
  }

  .tool-panel {
    min-height: 0;
  }

  .timeline-workspace,
  .timer-workspace {
    min-height: 570px;
    padding: 50px 25px;
  }

  .game-arena {
    padding: 25px;
  }

  .level-picker {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .level-picker>span {
    text-align: center;
  }

  .level-options {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 3px;
  }

  .game-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .game-clock {
    width: min(265px, 75vw);
  }

  .game-head {
    align-items: flex-start;
  }

  .material-generator {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .material-level-options {
    justify-content: flex-start;
  }

  .activity-controls {
    grid-template-columns: 1fr 1fr;
  }

  .activity-search {
    grid-column: 1 / -1;
  }

  .activities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .teacher-note-inner {
    grid-template-columns: 140px 1fr;
    gap: 30px;
  }

  .teacher-note-inner .button {
    grid-column: 1 / -1;
  }

  .note-clock {
    width: 120px !important;
    height: 120px !important;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 38px;
  }

  .brand {
    font-size: 17px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    gap: 9px 13px;
  }

  .hero-visual {
    min-height: 335px;
  }

  .hero-clock {
    width: 255px !important;
    height: 255px !important;
  }

  .orbit-two {
    inset: 18%;
    transform: none;
  }

  .float-card {
    width: 88px;
    height: 67px;
  }

  .float-card b {
    font-size: 20px;
  }

  .float-card small {
    font-size: 8px;
  }

  .quick-paths {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }

  .quick-card {
    min-height: 87px;
  }

  .tool-tabs {
    width: 100%;
  }

  .tool-tab {
    flex: 1;
    padding-inline: 10px;
  }

  .tool-stage {
    border-radius: 25px;
    box-shadow: 6px 7px 0 var(--ink);
  }

  .interactive-clock {
    width: 250px;
  }

  .time-stepper {
    gap: 4px;
  }

  .time-stepper button {
    width: 37px;
    flex-basis: 37px;
  }

  .timeline-times {
    gap: 8px;
  }

  .timeline-times input {
    padding-inline: 6px;
    font-size: 16px;
  }

  .game-picker {
    width: 100%;
  }

  .game-pick {
    flex: 1;
    padding-inline: 10px;
  }

  .game-arena {
    padding: 18px;
    border-radius: 25px;
    box-shadow: 6px 7px 0 var(--ink);
  }

  .game-head h3 {
    font-size: 21px;
  }

  .game-stat {
    min-width: 57px;
    padding-inline: 7px;
  }

  .answer-grid {
    grid-template-columns: 1fr;
  }

  .number-pile,
  .digit-pile {
    justify-content: center;
    padding: 12px;
  }

  .number-chip,
  .digit-chip {
    width: 48px;
    height: 48px;
  }

  .built-time span {
    width: 39px;
    height: 49px;
    font-size: 27px;
  }

  .sequence-board {
    min-height: 235px;
    padding: 20px 14px;
  }

  .sequence-board>div {
    gap: 6px;
  }

  .sequence-board strong {
    padding: 9px 8px;
  }

  .time-machine-board {
    min-height: 285px;
    padding: 17px;
  }

  .drag-clock-stage,
  .move-time-start {
    min-height: 285px;
    padding: 17px;
  }

  .time-choice {
    min-height: 130px;
    padding: 7px;
  }

  .move-time-choice-clock {
    width: 96px;
    height: 96px;
  }

  .connect-board {
    grid-template-columns: minmax(100px, 1fr) minmax(100px, 1fr);
    gap: 38px;
  }

  .time-connector {
    min-height: 116px;
  }

  .connector-clock {
    width: 104px;
    height: 104px;
  }

  .clock-order-list {
    display: flex;
    overflow-x: auto;
    padding: 3px 3px 10px;
    scroll-snap-type: x proximity;
  }

  .clock-order-card {
    min-width: 170px;
    flex: 0 0 170px;
    scroll-snap-align: start;
  }

  .timeline-arc b {
    top: -21px;
    padding-inline: 4px;
    font-size: 9px;
  }

  .timeline-point b {
    font-size: 9px;
  }

  .materials-grid,
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .material-generator {
    padding: 22px;
  }

  .material-level-options {
    justify-content: center;
  }

  .material-dialog-bar {
    align-items: flex-start;
  }

  .material-dialog-bar>div:first-child {
    display: none;
  }

  .material-dialog-actions {
    width: 100%;
    justify-content: space-between;
  }

  .material-content p {
    min-height: 0;
  }

  .activity-controls {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .activity-search {
    grid-column: auto;
  }

  .dialog-info {
    flex-wrap: wrap;
  }

  .activity-dialog-actions {
    flex-direction: column;
  }

  .activity-dialog-actions .button {
    width: 100%;
  }

  .teacher-note-inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .note-illustration {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-main nav {
    grid-column: auto;
    flex-wrap: wrap;
  }

  .footer-bottom {
    gap: 12px;
    flex-direction: column;
  }

  .dialog-body {
    padding: 35px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {

  .site-header,
  .hero,
  .quick-paths,
  .section-tools,
  .section-games,
  .section-materials,
  .teacher-note,
  .site-footer {
    display: none !important;
  }

  .section-activities {
    padding: 0;
    background: white;
  }

  .activities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .activity-card {
    break-inside: avoid;
    box-shadow: none;
  }
}