:root {
  --font-sans: Inter, system-ui, sans-serif;
  --font-display: Outfit, system-ui, sans-serif;
  --brand-green: #9fff00;
  --bg-base: #edeef5;
  --ink: #1a1a1a;
  --muted: #8e8e8e;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-base);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-base);
  color: #18181b;
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  padding: 40px 32px;
  background: linear-gradient(
    180deg,
    rgba(241, 241, 241, 0.94) 0%,
    rgba(241, 241, 241, 0.7) 48%,
    rgba(241, 241, 241, 0) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  max-width: 1280px;
  min-height: 44px;
  margin: 0 auto;
  column-gap: 18px;
}

.brand {
  grid-column: 1 / span 3;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 27px;
  height: 27px;
  overflow: visible;
  fill: var(--ink);
}

.desktop-nav {
  grid-column: 4 / span 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 36px);
  font-size: 11px;
  white-space: nowrap;
}

.desktop-nav a,
.find-help {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.desktop-nav a::after,
.find-help::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-actions {
  grid-column: 10 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  font-size: 11px;
  white-space: nowrap;
}

.get-started {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.get-started span {
  font-size: 16px;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1px;
  background: #fff;
  transition:
    transform 240ms ease,
    top 240ms ease;
}

.menu-toggle span:first-child {
  top: 18px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  padding: 128px 32px 32px;
  background: var(--brand-green);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mobile-menu nav a {
  min-height: 54px;
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.mobile-menu p {
  position: absolute;
  bottom: 28px;
  left: 32px;
  margin: 0;
  font-size: 11px;
}

.hero {
  position: relative;
  min-height: 110vh;
  min-height: 110svh;
  overflow: hidden;
  isolation: isolate;
}

.video-field {
  position: absolute;
  z-index: -2;
  top: 15vh;
  right: 0;
  left: 0;
  height: 95vh;
}

.video-field video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--bg-base) 0%,
    rgba(237, 238, 245, 0.78) 9%,
    rgba(237, 238, 245, 0) 28%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  max-width: 1280px;
  margin: 0 auto;
  padding: 178px 32px 0;
}

.hero-copy {
  grid-column: 1 / -1;
}

.hero h1 {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(42px, 6.25vw, 82px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.055em;
  opacity: 0;
  transform: translateY(38px);
  animation: rise-in 760ms cubic-bezier(0.2, 0.75, 0.25, 1) 100ms forwards;
}

.heading-line {
  display: block;
}

.heading-dark {
  color: var(--ink);
}

.heading-muted {
  color: var(--muted);
}

.eye-pill {
  display: inline-flex;
  width: clamp(64px, 7.8vw, 124px);
  height: 0.66em;
  align-items: center;
  justify-content: center;
  margin: 0 0.04em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  vertical-align: 0.03em;
}

.eye-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.search-pill {
  display: flex;
  width: min(440px, 100%);
  min-height: 46px;
  align-items: center;
  margin-top: 42px;
  padding: 4px 5px 4px 18px;
  border: 1px solid rgba(24, 24, 27, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(24, 24, 27, 0.08);
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 680ms cubic-bezier(0.2, 0.75, 0.25, 1) 250ms forwards;
}

.search-pill input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

.search-pill:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.search-pill input::placeholder {
  color: #757575;
  opacity: 1;
}

.search-pill button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.search-pill svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.demo-notice {
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 4px 8px;
  background: var(--bg-base);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}

.language-pill {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 32px;
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  font-size: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.edge-label {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  font-size: 10px;
}

.edge-year {
  left: 32px;
}

.edge-tools {
  right: 32px;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .hero {
    min-height: 140vh;
    min-height: 140svh;
  }

  .video-field {
    top: 20vh;
    height: 120vh;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    padding-right: 64px;
    padding-left: 64px;
  }

  .hero-copy {
    grid-column: 2 / span 10;
  }

  .language-pill,
  .edge-tools {
    right: 64px;
  }

  .edge-year {
    left: 64px;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    padding-right: 80px;
    padding-left: 80px;
  }

  .language-pill,
  .edge-tools {
    right: 80px;
  }

  .edge-year {
    left: 80px;
  }
}

@media (width < 900px) {
  .site-header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .nav-grid {
    column-gap: 10px;
  }

  .brand {
    grid-column: 1 / span 2;
  }

  .desktop-nav {
    grid-column: 3 / span 7;
    gap: 13px;
  }

  .nav-actions {
    grid-column: 10 / -1;
  }

  .find-help {
    display: none;
  }
}

@media (width < 768px) {
  .site-header {
    padding: 24px 20px;
  }

  .brand {
    grid-column: 1 / span 7;
  }

  .desktop-nav,
  .find-help,
  .get-started {
    display: none;
  }

  .nav-actions {
    grid-column: 8 / -1;
  }

  .menu-toggle {
    position: relative;
    display: block;
  }

  .hero-grid {
    padding-top: 142px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.4vw, 60px);
    line-height: 1.02;
  }

  .heading-line:nth-child(3) {
    max-width: 9.5em;
  }

  .eye-pill {
    width: 64px;
  }

  .search-pill {
    margin-top: 28px;
  }

  .language-pill {
    top: auto;
    right: 20px;
    bottom: 62px;
  }

  .edge-label {
    bottom: 22px;
  }

  .edge-year {
    left: 20px;
  }

  .edge-tools {
    right: 20px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover::after,
  .desktop-nav a:focus-visible::after,
  .find-help:hover::after,
  .find-help:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .get-started:hover,
  .get-started:focus-visible {
    background: var(--brand-green);
    color: var(--ink);
  }
}

@media (pointer: coarse) {
  .search-pill input,
  .search-pill button {
    min-height: 44px;
  }

  .search-pill button {
    min-width: 44px;
    flex-basis: 44px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }

  .hero h1,
  .search-pill {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Extended landing page ---------- */

[hidden] {
  display: none !important;
}

[data-reveal] {
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.75, 0.25, 1) var(--d, 0s),
    transform 0.9s cubic-bezier(0.2, 0.75, 0.25, 1) var(--d, 0s);
}

.motion-ready [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(28px);
}

.eye-pill span {
  transform: translate(var(--ex, 0px), var(--ey, 0px));
  transition: transform 260ms ease-out;
}

/* Conversational demo */
.answer {
  width: min(440px, 100%);
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(24, 24, 27, 0.08);
  animation: rise-in 520ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  opacity: 0;
  transform: translateY(16px);
}

.answer-q {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}

.typing {
  display: flex;
  gap: 5px;
  padding: 6px 0;
}

.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  animation: dot 1s ease-in-out infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes dot {
  50% {
    opacity: 0.25;
    transform: translateY(-4px);
  }
}

.answer-body p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.answer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.answer-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--bg-base);
  font-size: 12px;
  animation: rise-in 500ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  opacity: 0;
  transform: translateY(10px);
}

.answer-links a:nth-child(2) {
  animation-delay: 90ms;
}

.answer-links a:nth-child(3) {
  animation-delay: 180ms;
}

/* Shared block layout */
.block,
.manifesto-sticky,
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

.block {
  padding-top: 120px;
  padding-bottom: 40px;
}

.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.block-head h2 {
  max-width: 14em;
  margin: 14px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
}

.block-head h2 span {
  color: var(--muted);
}

/* Services: rows with a lime sweep on hover/focus */
.service-list {
  margin: 56px 0 0;
  padding: 0;
  border-top: 1px solid rgba(24, 24, 27, 0.14);
  list-style: none;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1.2fr 1fr 40px;
  align-items: center;
  gap: 24px;
  min-height: 112px;
  padding: 20px 16px;
  border-bottom: 1px solid rgba(24, 24, 27, 0.14);
  isolation: isolate;
}

.service-row::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--brand-green);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.service-num,
.service-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  transition: color 300ms ease;
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 46px);
  letter-spacing: -0.05em;
}

.service-arrow {
  justify-self: end;
  font-size: 24px;
  transition: transform 300ms ease;
}

.service-row:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.service-row:focus-visible::before {
  transform: scaleY(1);
}

/* Manifesto: words fill from muted to ink as the pinned section scrolls. */
.manifesto {
  height: 220vh;
  height: 220svh;
  margin-top: 80px;
}

.manifesto-sticky {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.manifesto-text {
  max-width: 20em;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.manifesto-text .w {
  opacity: clamp(0.16, calc(var(--p, 1) * 1.25 * var(--n) - var(--i)), 1);
}

/* Tools */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}

.tool {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 28px;
  border-radius: 6px;
  background: #fff;
}

.tool-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.tool h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.tool-meta {
  color: var(--muted);
  font-size: 12px;
}

.breathe-stage {
  position: relative;
  display: grid;
  flex: 1;
  place-items: center;
  margin: 24px 0;
}

.breathe-ring,
.breathe-orb {
  grid-area: 1 / 1;
  width: min(240px, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
}

.breathe-ring {
  border: 1px dashed rgba(24, 24, 27, 0.25);
}

.breathe-orb {
  background: var(--brand-green);
  transform: scale(0.42);
  transition: transform 4s cubic-bezier(0.45, 0, 0.55, 1);
}

.breathe[data-phase="in"] .breathe-orb,
.breathe[data-phase="hold"] .breathe-orb {
  transform: scale(1);
}

.breathe-cue {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.03em;
  text-align: center;
}

.tool-button {
  min-height: 48px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.mood-face {
  width: min(220px, 56vw);
  margin: 32px auto;
}

.mood-blob {
  fill: hsl(var(--mood-h, 230) 60% 86%);
  transition: fill 500ms ease;
}

.mood-eye {
  fill: var(--ink);
}

.mood-mouth {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 4;
  transition: d 400ms ease;
}

.mood-label {
  color: var(--muted);
  font-size: 12px;
}

.mood-range {
  width: 100%;
  min-height: 44px;
  margin: 6px 0 12px;
  accent-color: var(--ink);
}

.mood-tip {
  min-height: 3em;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* Resources */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.filters button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(24, 24, 27, 0.18);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    border-color 200ms ease;
}

.filters button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.resource {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 20px;
  border-radius: 6px;
  background: #fff;
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.resource.is-out {
  opacity: 0;
  transform: scale(0.94);
}

.resource-type {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-green);
  font-size: 11px;
}

.resource h3 {
  margin: 18px 0 auto;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.resource-time {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

/* Education: list with a cover that follows the pointer */
.course-list {
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid rgba(24, 24, 27, 0.14);
  list-style: none;
}

.course {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  border-bottom: 1px solid rgba(24, 24, 27, 0.14);
}

.course span,
.course em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.course strong {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.05em;
  transition: transform 300ms ease;
}

.course-cover {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  display: grid;
  width: 220px;
  height: 160px;
  place-items: center;
  border-radius: 6px;
  background: var(--cover, var(--brand-green));
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--cx, 0px), var(--cy, 0px)) scale(0.6);
  transition:
    opacity 220ms ease,
    transform 220ms ease-out,
    background-color 300ms ease;
}

.course-cover.is-on {
  opacity: 1;
  transform: translate(var(--cx, 0px), var(--cy, 0px)) scale(1);
}

.course-cover span {
  width: 64px;
  height: 64px;
  border: 2px solid var(--ink);
  border-radius: 999px 999px 999px 0;
  transform: rotate(var(--cr, 0deg));
  transition: transform 400ms ease;
}

/* Footer */
.site-footer {
  padding-top: 120px;
  padding-bottom: 32px;
}

.urgent {
  padding: 40px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

.urgent .kicker {
  color: var(--brand-green);
}

.urgent-text {
  max-width: 24em;
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: 12px;
}

.footer-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.brand-mark.spin {
  animation: spin 24s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .block,
  .manifesto-sticky,
  .site-footer {
    padding-right: 64px;
    padding-left: 64px;
  }
}

@media (min-width: 1024px) {
  .block,
  .manifesto-sticky,
  .site-footer {
    padding-right: 80px;
    padding-left: 80px;
  }
}

@media (width < 1024px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width < 768px) {
  .block {
    padding-top: 88px;
  }

  .service-row {
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
  }

  .service-num {
    grid-column: 1 / -1;
  }

  .service-copy {
    grid-column: 1;
  }

  .service-arrow {
    grid-row: 2;
    grid-column: 2;
  }

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

  .tool {
    min-height: 0;
    padding: 22px;
  }

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

  .resource {
    min-height: 160px;
  }

  .course {
    grid-template-columns: 36px 1fr;
  }

  .course em {
    display: none;
  }

  .urgent {
    padding: 28px 22px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .service-row:hover::before {
    transform: scaleY(1);
  }

  .service-row:hover .service-num,
  .service-row:hover .service-copy {
    color: var(--ink);
  }

  .service-row:hover .service-arrow {
    transform: translateX(8px);
  }

  .course:hover strong {
    transform: translateX(12px);
  }

  .filters button:hover,
  .tool-button:hover {
    border-color: var(--ink);
  }

  .tool-button:hover {
    background: var(--brand-green);
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .answer,
  .answer-links a {
    opacity: 1;
    transform: none;
  }
}
