/* Direction: Nestwell — frosted glass society office, sky-to-lilac air, one deep teal accent */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f1f4fc;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --border: #1c2436;
  --border-strong: #a9afb5;
  --ink: #1b2334;
  --muted: #576078;
  --accent: #0d6e66;
  --accent-hover: #0b5e57;
  --accent-ink: #ffffff;
  --accent-text: #0a615a;
  --accent-strong: #074d47;
  --accent-soft: #d8efeb;
  --accent-border: #8ab8b9;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #d7e6e5;
  --success-strong: #116d34;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #eae1df;
  --warning-strong: #994607;
  --danger: #be123c;
  --danger-ink: #ffffff;
  --danger-soft: #ebd9e5;
  --danger-strong: #be123c;
  --chart-1: #0d6e66;
  --chart-2: #267fc1;
  --chart-3: #5f3584;
  --chart-4: #b04e68;
  --chart-5: #6f4101;
  --chart-6: #63831e;

  --font-display: "Outfit", "Trebuchet MS", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.03em;
  --radius-card: 24px;
  --radius-btn: 14px;
  --radius-input: 12px;
  --card-pad: 1.5rem;
  --shadow-card: 0 24px 50px -30px rgba(28, 36, 54, 0.45);
  --gradient-sky: linear-gradient(165deg, #e5edff 0%, #edefff 38%, #f5f0fb 68%, #fdf6f8 100%);
  --x-glass-edge: rgba(255, 255, 255, 0.65);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #020f0e;
  --surface: #1b2726;
  --surface-2: #0f1b1a;
  --border: #253130;
  --border-strong: #4e5756;
  --ink: #f1f4fc;
  --muted: #91989d;
  --accent: #0d6e66;
  --accent-hover: #31847d;
  --accent-ink: #ffffff;
  --accent-text: #519891;
  --accent-strong: #519891;
  --accent-soft: #042421;
  --accent-border: #073a36;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #062818;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #291e0d;
  --warning-strong: #c57a40;
  --danger: #be123c;
  --danger-ink: #ffffff;
  --danger-soft: #2b1018;
  --danger-strong: #d4637e;
  --chart-1: #298077;
  --chart-2: #3b91d4;
  --chart-3: #936abe;
  --chart-4: #c4607a;
  --chart-5: #b46d0f;
  --chart-6: #769533;
}

/* Nestwell — the sky-to-lilac air, the frosted panels, the one entrance that moves */

body {
  background-image: var(--gradient-sky);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

html[data-theme="dark"] body {
  background-image: none;
}

.glass {
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-top-color: var(--x-glass-edge);
}

.lift {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px -30px rgba(28, 36, 54, 0.42);
}

@keyframes nw-in {
  from {
    opacity: 0.35;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nw-fade {
  animation: nw-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nw-fade-2 {
  animation: nw-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.09s both;
}

html.reduced-motion .nw-fade,
html.reduced-motion .nw-fade-2 {
  animation: none;
}

html.reduced-motion .lift:hover {
  transform: none;
}

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

.scroll-pane {
  max-height: 24rem;
  overflow-y: auto;
  scrollbar-width: thin;
}
