/* Iqraa - Main Stylesheet */
/* Design tokens and shared components */

@font-face {
  font-family: "Lama Sans";
  src: url("/static/fonts/LamaSans-ExtraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lama Sans";
  src: url("/static/fonts/LamaSans-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lama Sans";
  src: url("/static/fonts/LamaSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lama Sans";
  src: url("/static/fonts/LamaSans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lama Sans";
  src: url("/static/fonts/LamaSans-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lama Sans";
  src: url("/static/fonts/LamaSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lama Sans";
  src: url("/static/fonts/LamaSans-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lama Sans";
  src: url("/static/fonts/LamaSans-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Every colour below points at a theme token from theme.css, so it follows light/dark. */

  /* Surfaces */
  --iq-bg: rgb(var(--c-canvas));
  --iq-bg-alt: rgb(var(--c-mist));
  --iq-surface: rgb(var(--c-surface));
  --iq-hairline: rgb(var(--c-ink) / 0.08);
  --iq-hairline-strong: rgb(var(--c-ink) / 0.14);

  /* Text (all pass 4.5:1 on --iq-surface and --iq-bg-alt, in both themes) */
  --iq-ink: rgb(var(--c-ink));
  --iq-ink-2: rgb(var(--c-slate-700));
  --iq-muted: rgb(var(--c-slate-500));

  /* Brand: derived from the logo (deep teal + signal cyan) */
  --iq-accent: rgb(var(--c-teal-700));      /* accent text/links */
  --iq-accent-solid: rgb(var(--c-brand));   /* filled buttons carrying white text */
  --iq-accent-hover: rgb(var(--c-brand-strong));
  --iq-accent-soft: rgb(var(--c-teal-50));
  --iq-accent-deep: rgb(var(--c-teal-950));
  --iq-signal: rgb(var(--c-signal));

  /* Legacy teal scale kept for existing references */
  --teal-50: rgb(var(--c-teal-50));
  --teal-100: rgb(var(--c-teal-100));
  --teal-200: rgb(var(--c-teal-200));
  --teal-300: rgb(var(--c-teal-300));
  --teal-400: rgb(var(--c-teal-400));
  --teal-500: rgb(var(--c-teal-500));
  --teal-600: rgb(var(--c-teal-600));
  --teal-700: rgb(var(--c-teal-700));
  --teal-800: rgb(var(--c-teal-800));
  --teal-900: rgb(var(--c-teal-900));
  --cyan-500: rgb(var(--c-cyan-500));
  --cyan-600: rgb(var(--c-cyan-600));

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-card: 1.75rem;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.06), 0 2px 4px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 18px 40px -18px rgb(0 0 0 / 0.18);
  --shadow-xl: 0 40px 80px -32px rgb(0 0 0 / 0.28), 0 12px 24px -12px rgb(0 0 0 / 0.08);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  background: var(--iq-bg);
}

/* Dark surfaces hide soft shadows; give elevated things a faint edge instead. */
:root[data-theme="dark"] {
  --shadow-lg: 0 18px 40px -18px rgb(0 0 0 / 0.6);
  --shadow-xl: 0 40px 80px -32px rgb(0 0 0 / 0.7), 0 12px 24px -12px rgb(0 0 0 / 0.4);
}

body {
  font-family: "Lama Sans", "Tajawal", -apple-system, BlinkMacSystemFont, "SF Arabic", "Segoe UI", sans-serif;
  color: var(--iq-ink);
  background: var(--iq-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern";
}

button,
input,
select,
textarea {
  font: inherit;
}

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

::selection {
  background: rgb(var(--c-teal-100));
  color: var(--iq-accent-deep);
}

:focus-visible {
  outline: 3px solid rgb(var(--c-teal-500) / 0.5);
  outline-offset: 2px;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* ---------- Navigation ---------- */

.iq-nav {
  position: sticky;
  background: rgb(var(--c-canvas) / 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

/* Brand hairline along the top edge */
.iq-nav::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: var(--iq-accent-solid);
}

.iq-nav.is-scrolled {
  background: rgb(var(--c-canvas) / 0.88);
  border-bottom-color: var(--iq-hairline);
  box-shadow: 0 10px 30px -18px rgb(0 0 0 / 0.22);
}

.iq-nav.is-menu-open {
  background: var(--iq-surface);
  border-bottom-color: var(--iq-hairline);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .iq-nav,
  .iq-nav.is-scrolled {
    background: var(--iq-bg);
  }
}

.iq-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  padding-block: 0.25rem;
  padding-inline-end: 0.5rem;
}

.iq-brand__mark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.875rem;
  background: var(--iq-surface);
  box-shadow: inset 0 0 0 1px var(--iq-hairline-strong), 0 1px 2px rgb(0 0 0 / 0.05);
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
}

.iq-brand:hover .iq-brand__mark {
  transform: rotate(-8deg);
  box-shadow: inset 0 0 0 1px rgb(var(--c-teal-500) / 0.35), 0 6px 16px -8px rgb(var(--c-teal-700) / 0.45);
}

.iq-brand__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.iq-brand__name {
  overflow: hidden;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--iq-ink);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.iq-brand__tag {
  margin-top: 0.1875rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--iq-muted);
  white-space: nowrap;
}

@media (max-width: 639px) {
  .iq-brand {
    gap: 0.5rem;
    padding-inline-end: 0;
  }

  .iq-brand__mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
  }

  .iq-brand__name {
    font-size: 1rem;
  }

  .iq-brand__tag {
    display: none;
  }
}

.iq-nav-group {
  align-items: center;
  gap: 0.125rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgb(var(--c-ink) / 0.035);
  box-shadow: inset 0 0 0 1px var(--iq-hairline);
}

.iq-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.875rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--iq-ink-2);
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.iq-nav-link:hover {
  color: var(--iq-ink);
  background: rgb(var(--c-ink) / 0.05);
}

.iq-nav-link[aria-current="page"] {
  color: var(--iq-ink);
  font-weight: 600;
}

.iq-nav-group .iq-nav-link[aria-current="page"] {
  background: var(--iq-surface);
  box-shadow: 0 0 0 1px var(--iq-hairline), 0 1px 3px rgb(0 0 0 / 0.08);
}

.iq-icon-btn {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgb(var(--c-slate-600));
  transition: color 160ms ease, background-color 160ms ease;
}

.iq-icon-btn:hover {
  color: var(--iq-ink);
  background: rgb(var(--c-ink) / 0.05);
}

.iq-avatar-btn {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.iq-avatar-btn > span {
  box-shadow: 0 0 0 2px var(--iq-bg), 0 0 0 3.5px rgb(var(--c-teal-500) / 0.45);
  transition: box-shadow 180ms ease;
}

.iq-avatar-btn:hover > span,
.site-menu:focus-within .iq-avatar-btn > span {
  box-shadow: 0 0 0 2px var(--iq-bg), 0 0 0 3.5px rgb(var(--c-teal-500) / 0.9);
}

.iq-nav-cta {
  box-shadow: 0 6px 16px -8px rgb(var(--c-teal-700) / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.14);
}

.iq-nav-cta:hover {
  box-shadow: 0 10px 22px -10px rgb(var(--c-teal-700) / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.14);
}

/* ---------- Tutor avatars ---------- */

.tutor-avatar {
  display: inline-block;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 0 0 2px var(--iq-surface), 0 0 0 3px color-mix(in srgb, var(--tutor-tone) 35%, transparent);
}

.tutor-avatar > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tutor-avatar__bg {
  fill: color-mix(in srgb, var(--tutor-tone) 16%, rgb(var(--c-surface)));
}

.tutor-stack {
  display: flex;
  align-items: center;
}

.tutor-stack > li + li {
  margin-inline-start: -0.625rem;
}

.tutor-stack .tutor-avatar {
  box-shadow: 0 0 0 3px var(--iq-bg);
  transition: transform 200ms var(--ease-out);
}

.tutor-stack > li:hover .tutor-avatar {
  transform: translateY(-3px);
}

.tutor-card-home {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: var(--iq-surface);
  box-shadow: 0 0 0 1px var(--iq-hairline);
  transition: box-shadow 200ms ease, transform 200ms var(--ease-out);
}

.tutor-card-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tutor-tone) 45%, transparent), 0 18px 36px -24px color-mix(in srgb, var(--tutor-tone) 60%, transparent);
}

.tutor-card-home__role,
.tutor-card-home__link {
  color: color-mix(in srgb, var(--tutor-tone) 85%, rgb(var(--c-ink)));
}

:root[data-theme="dark"] .tutor-card-home__role,
:root[data-theme="dark"] .tutor-card-home__link {
  color: color-mix(in srgb, var(--tutor-tone) 55%, white);
}

.tutor-card-home__role {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.tutor-card-home__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  min-height: 2.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.tutor-card-home__link:hover > span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.world-card__tutor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--iq-ink-2);
}

.world-card__tutor .tutor-avatar {
  box-shadow: none;
}

/* ---------- Mobile menu ---------- */

.iq-mobile-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  max-height: calc(100dvh - 4rem);
  overflow-y: auto;
  background: var(--iq-surface);
  border-bottom: 1px solid var(--iq-hairline);
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.3);
  animation: iq-menu-in 220ms var(--ease-out);
}

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

@keyframes iq-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.iq-menu-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 3rem;
  padding: 0 0.875rem;
  border-radius: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--iq-ink-2);
  transition: background-color 160ms ease, color 160ms ease;
}

.iq-menu-link > i {
  width: 1.125rem;
  text-align: center;
  color: rgb(var(--c-slate-400));
}

.iq-menu-link:hover {
  background: var(--iq-bg-alt);
  color: var(--iq-ink);
}

.iq-menu-link[aria-current="page"] {
  background: var(--iq-accent-soft);
  color: var(--iq-accent);
}

.iq-menu-link[aria-current="page"] > i {
  color: var(--iq-accent);
}

.iq-seg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--iq-muted);
  transition: background-color 160ms ease, color 160ms ease;
}

.iq-seg-btn[aria-pressed="true"] {
  background: var(--iq-surface);
  color: var(--iq-ink);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}

/* ---------- Footer ---------- */

/* Stays a deep brand panel in both themes, so it uses fixed white-alpha text. */
.iq-footer {
  background: rgb(var(--c-brand-deep));
  color: rgb(255 255 255 / 0.65);
  border-top: 2px solid var(--iq-accent-solid);
}

.iq-footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}

.iq-footer__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.8);
}

.iq-footer__chip > i {
  font-size: 0.6875rem;
  color: rgb(var(--c-signal));
}

.iq-footer__heading {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
}

.iq-footer__links {
  display: grid;
  gap: 0.25rem;
}

.iq-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  font-size: 0.9375rem;
  color: rgb(255 255 255 / 0.65);
  transition: color 160ms ease;
}

.iq-footer__links a:hover {
  color: #fff;
}

.iq-footer :focus-visible {
  outline-color: rgb(var(--c-signal) / 0.7);
}

.iq-powered {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  color: rgb(255 255 255 / 0.7);
  transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.iq-powered:hover {
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(var(--c-signal) / 0.5);
  color: #fff;
}

.iq-powered__name {
  font-weight: 700;
  color: #fff;
}

.iq-powered__sep {
  width: 1px;
  height: 0.875rem;
  background: rgb(255 255 255 / 0.2);
}

.iq-powered__domain {
  font-weight: 500;
  color: rgb(var(--c-signal));
}

@media (min-width: 640px) {
  .iq-powered {
    align-self: auto;
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 1.25rem;
  background: var(--iq-surface);
  box-shadow: 0 0 0 1px var(--iq-hairline);
  transition: box-shadow 200ms ease;
}

.faq-item[open] {
  box-shadow: 0 0 0 1px rgb(var(--c-teal-500) / 0.35), 0 12px 30px -18px rgb(0 0 0 / 0.25);
}

.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  border-radius: 1.25rem;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item__num {
  flex-shrink: 0;
  width: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--iq-accent);
}

.faq-item__q {
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--iq-ink);
}

.faq-item__icon {
  display: flex;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--iq-bg-alt);
  font-size: 0.75rem;
  color: var(--iq-ink-2);
  transition: transform 220ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--iq-accent-soft);
  color: var(--iq-accent);
}

.faq-item__a {
  padding: 0 1.25rem 1.25rem;
  padding-inline-start: 3.75rem;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--iq-muted);
}

@media (min-width: 640px) {
  .faq-item > summary {
    padding: 1.125rem 1.5rem;
  }

  .faq-item__a {
    padding-inline-start: 4rem;
    padding-inline-end: 4.5rem;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  min-height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  min-height: 3.25rem;
  padding: 0 1.75rem;
  font-size: 1.0625rem;
}

.btn-primary {
  background: var(--iq-accent-solid);
  color: #fff;
}

.btn-primary:hover {
  background: var(--iq-accent-hover);
}

.btn-secondary {
  background: var(--iq-surface);
  color: var(--iq-ink);
  box-shadow: inset 0 0 0 1px var(--iq-hairline-strong);
}

.btn-secondary:hover {
  background: var(--iq-bg-alt);
}

/* Sits on dark brand panels in both themes, so it keeps fixed colours. */
.btn-light {
  background: #fff;
  color: #042b29;
}

.btn-light:hover {
  background: #eefaf8;
}

/* Text link with trailing chevron, Apple "Learn more ›" style */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  font-weight: 500;
  color: var(--iq-accent);
}

.link-more:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-more i {
  font-size: 0.7em;
  transition: transform 180ms var(--ease-out);
}

.link-more:hover i {
  transform: translateX(-3px);
}

/* ---------- Type ---------- */

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--iq-accent);
}

.display {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--iq-ink);
}

.headline {
  font-weight: 700;
  line-height: 1.25;
  color: var(--iq-ink);
}

.lede {
  color: var(--iq-muted);
  line-height: 1.8;
}

/* ---------- Surfaces ---------- */

.iq-card {
  background: var(--iq-surface);
  border-radius: var(--radius-card);
  box-shadow: 0 0 0 1px var(--iq-hairline);
}

.iq-card-hover {
  transition: box-shadow 240ms var(--ease-out), transform 240ms var(--ease-out);
}

.iq-card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--iq-hairline), var(--shadow-lg);
}

/* ---------- Forms ---------- */

.iq-input {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgb(var(--c-slate-300));
  border-radius: 0.875rem;
  background: var(--iq-surface);
  color: var(--iq-ink);
  font-size: 1rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.iq-input::placeholder {
  color: rgb(var(--c-slate-400));
}

.iq-input:hover {
  border-color: rgb(var(--c-slate-400));
}

.iq-input:focus {
  border-color: var(--iq-accent);
  box-shadow: 0 0 0 4px rgb(var(--c-teal-500) / 0.18);
}

.iq-input:disabled {
  background: var(--iq-bg-alt);
  color: var(--iq-muted);
  cursor: not-allowed;
}

select.iq-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-inline-end: 2.75rem;
}

.iq-field-error .iq-input,
.iq-input[aria-invalid="true"] {
  border-color: rgb(var(--c-red-600));
}

.iq-field-error .iq-input:focus {
  box-shadow: 0 0 0 4px rgb(var(--c-red-600) / 0.15);
}

/* ---------- Message alerts (Django messages) ---------- */

.alert-success,
.alert-error,
.alert-warning,
.alert-info {
  background: var(--iq-surface);
  border: 1px solid var(--iq-hairline);
  box-shadow: var(--shadow-md);
  color: var(--iq-ink);
}

.alert-success i { color: rgb(var(--c-green-600)); }
.alert-error i { color: rgb(var(--c-red-600)); }
.alert-warning i { color: rgb(var(--c-amber-600)); }
.alert-info i { color: rgb(var(--c-sky-600)); }

/* ---------- Motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

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

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Legacy utilities ---------- */

.gradient-teal {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-500) 100%);
}

.gradient-teal-text {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgb(var(--c-teal-500) / 0.35);
}

.transition-smooth {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
