/* -------------------------------------------------------------
         DayMug landing — re-skinned in WebYoke design language
         Palette: cool paper white, deep cool ink, indigo accent
      ------------------------------------------------------------- */
:root {
  --paper: #ffffff;
  --paper-alt: #f4f5f8;
  --paper-deep: #edeff4;
  --card: #ffffff;
  --ink: #0f1115;
  --ink-2: #262a33;
  --ink-3: #5c6273;
  --ink-4: #8b92a3;
  --ink-5: #b6bbc8;
  --edge: #e4e6ec;
  --edge-soft: #eef0f4;
  --rule: #d5d8e0;

  --accent: oklch(0.55 0.22 270);
  --accent-ink: #ffffff;
  --accent-soft: oklch(0.96 0.05 270);
  --accent-rule: oklch(0.8 0.14 270);
  --accent-tint: oklch(0.55 0.22 270 / 0.1);
  --accent-warm: oklch(0.66 0.2 25);

  --ok: oklch(0.62 0.18 150);

  --sans:
    "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --r1: 4px;
  --r2: 6px;
  --r3: 10px;
  --r4: 14px;

  --sh-1: 0 1px 0 rgba(15, 17, 21, 0.04), 0 1px 2px rgba(15, 17, 21, 0.04);
  --sh-2: 0 1px 0 rgba(15, 17, 21, 0.04), 0 8px 24px rgba(15, 17, 21, 0.08);
  --sh-3: 0 24px 64px rgba(15, 17, 21, 0.14), 0 2px 8px rgba(15, 17, 21, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--accent);
  color: #fff;
}
img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Reusable type ---------- */
.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-4);
}
.label--accent {
  color: var(--accent);
}

/* ============================================================
         NAV
      ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--edge);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1240px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--ink);
}
.brand__name em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  color: var(--ink-3);
  transition: color 0.18s;
  position: relative;
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:not(.nav__cta):hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: var(--r1);
  background: var(--ink);
  color: #fff !important;
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
  font-size: 13px;
  box-shadow: var(--sh-1);
}
.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
}

/* ============================================================
         HERO
      ============================================================ */
.hero {
  position: relative;
  padding: 96px 0 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    800px 400px at 88% 12%,
    var(--accent-tint),
    transparent 60%
  );
  z-index: 0;
}
.hero > * {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__pre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 6px 12px;
  background: var(--paper-alt);
  border: 1px solid var(--edge);
  border-radius: 999px;
}
.hero__pre .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px oklch(0.62 0.18 150 / 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px oklch(0.62 0.18 150 / 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px oklch(0.62 0.18 150 / 0.04);
  }
}

.hero__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  position: relative;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 6%;
  height: 14%;
  background: var(--accent-tint);
  z-index: -1;
  border-radius: 2px;
}

.hero__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 540px;
  margin: 0 0 36px;
  font-weight: 400;
}
.hero__sub strong {
  font-weight: 500;
  color: var(--ink);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border-radius: var(--r2);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  border: 1px solid transparent;
}
.btn__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-2);
}
.btn--primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px oklch(0.55 0.22 270 / 0.32);
}
.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--edge);
}
.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--sh-1);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--edge);
  padding-top: 22px;
  max-width: 560px;
}
.hero__meta-item .label {
  display: block;
  margin-bottom: 6px;
}
.hero__meta-value {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- Hero visual ---------- */
.hero__visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.mug-stage {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1.15;
}

/* concentric rings — replaces the warm "coffee stain" with a clean tech feel */
.stain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}
.stain::before,
.stain::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  border-radius: 50%;
  border: 1px dashed var(--accent-rule);
  transform: translate(-50%, -50%);
}
.stain::before {
  width: 110%;
  height: 90%;
  opacity: 0.55;
}
.stain::after {
  width: 130%;
  height: 108%;
  opacity: 0.28;
}

.mug-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Steam labels */
.steam {
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translateX(-50%);
  width: 280px;
  height: 220px;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  z-index: 3;
}
.steam span {
  position: absolute;
  opacity: 0;
  animation: rise 6s ease-in-out infinite;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.steam span:nth-child(1) {
  left: 30%;
  animation-delay: 0s;
}
.steam span:nth-child(2) {
  left: 56%;
  animation-delay: 1.3s;
}
.steam span:nth-child(3) {
  left: 18%;
  animation-delay: 2.6s;
}
.steam span:nth-child(4) {
  left: 68%;
  animation-delay: 3.9s;
}
.steam span:nth-child(5) {
  left: 42%;
  animation-delay: 4.7s;
}
@keyframes rise {
  0% {
    transform: translate(-50%, 90px);
    opacity: 0;
  }
  20% {
    opacity: 0.75;
  }
  60% {
    opacity: 0.35;
  }
  100% {
    transform: translate(-50%, -40px);
    opacity: 0;
  }
}

/* Annotation labels */
.annot {
  position: absolute;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
.annot::before,
.annot::after {
  content: "";
  display: inline-block;
  height: 1px;
  background: var(--ink-5);
}
.annot--right {
  right: -28px;
  top: 28%;
}
.annot--right::before {
  width: 28px;
}
.annot--right .annot__num {
  color: var(--accent);
  font-weight: 600;
}
.annot--left {
  right: 100%;
  left: auto;
  top: 56%;
  padding-right: 8px;
}
.annot--left::after {
  width: 28px;
}
.annot--left .annot__num {
  color: var(--accent);
  font-weight: 600;
}
.annot--bottom {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  gap: 4px;
}
.annot--bottom::before,
.annot--bottom::after {
  display: none;
}
.annot--bottom .annot__num {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: none;
}
.annot--bottom .annot__txt {
  font-size: 10px;
}

/* ============================================================
         MARQUEE / STATS STRIP
      ============================================================ */
.strip {
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  background: var(--paper-alt);
  overflow: hidden;
  position: relative;
}
.strip__track {
  display: flex;
  gap: 56px;
  padding: 18px 0;
  white-space: nowrap;
  animation: scroll 36s linear infinite;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.strip__track span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.strip__track .sep {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
         SECTION SHARED
      ============================================================ */
section.bay {
  padding: 120px 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head__id {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-head__id::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.section-head__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.section-head__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.section-head__lede {
  font-size: 16.5px;
  color: var(--ink-3);
  max-width: 540px;
  margin: 18px 0 0;
  line-height: 1.6;
}

/* ============================================================
         VALUE CARDS
      ============================================================ */
.values {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  grid-column: span 6;
  padding: 36px 32px 32px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r3);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s;
  box-shadow: var(--sh-1);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--ink-5);
  box-shadow: var(--sh-2);
}
.card__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.12em;
}
.card__tag {
  display: inline-block;
  margin-bottom: 18px;
}
.card__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--ink);
}
.card__body {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 5px 9px;
  border: 1px solid var(--edge);
  border-radius: var(--r1);
  background: var(--paper-alt);
}

/* ============================================================
         APP MOCKUP
      ============================================================ */
.preview {
  background: var(--paper-alt);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}
.preview__wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: center;
}
.preview__copy .section-head__id {
  margin-bottom: 20px;
}
.preview__copy h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  color: var(--ink);
}
.preview__copy p {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.preview__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
}
.preview__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--edge);
}
.preview__list li:last-child {
  border-bottom: 1px solid var(--edge);
}
.preview__list li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  flex-shrink: 0;
}

/* The mock window — light theme, WebYoke-style workspace */
.window {
  position: relative;
  background: var(--paper);
  border-radius: var(--r3);
  overflow: hidden;
  box-shadow: var(--sh-3);
  border: 1px solid var(--edge);
  transform: perspective(1600px) rotateX(1.5deg);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--edge);
}
.window__bar i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-5);
}
.window__bar i:nth-child(1) {
  background: #ff5f57;
}
.window__bar i:nth-child(2) {
  background: #ffbd2e;
}
.window__bar i:nth-child(3) {
  background: #28c840;
}
.window__bar .url {
  margin-left: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.02em;
}
.window__body {
  display: grid;
  grid-template-columns: 44px 168px 1fr 168px;
  height: 420px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-2);
}

.ws-rail {
  background: var(--paper);
  border-right: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 14px;
  gap: 10px;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: var(--r2);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.avatar.active {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.avatar.a1 {
  background: var(--accent);
}
.avatar.a2 {
  background: var(--accent-warm);
}
.avatar.a3 {
  background: var(--ink);
}
.avatar.a4 {
  background: var(--paper);
  color: var(--ink-4);
  border: 1px dashed var(--ink-5);
}

.ws-sessions {
  background: var(--paper-alt);
  border-right: 1px solid var(--edge);
  padding: 14px 10px;
}
.ws-sessions .head {
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-family: var(--mono);
  font-weight: 500;
  margin-bottom: 10px;
  padding: 0 6px;
}
.ws-sessions ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ws-sessions li {
  padding: 8px 10px;
  border-radius: var(--r1);
  color: var(--ink-3);
  margin-bottom: 2px;
  font-size: 12px;
  line-height: 1.3;
  cursor: default;
}
.ws-sessions li.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--sh-1);
  border: 1px solid var(--edge);
  font-weight: 500;
}
.ws-sessions li small {
  display: block;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.ws-chat {
  background: var(--paper);
  padding: 16px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg.you {
  align-self: flex-end;
  max-width: 78%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.msg.you .msg-label {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}
.msg.you .msg-bubble {
  background: var(--accent);
  color: #fff;
  padding: 9px 13px;
  border-radius: 12px 12px 4px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  font-family: var(--sans);
  letter-spacing: -0.005em;
}
.msg.bot {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.msg.bot .msg-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0;
  font-family: var(--sans);
}
.msg.bot .msg-body {
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.55;
  font-family: var(--sans);
}
.msg.bot .msg-body code {
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 11px;
}
.tool {
  background: var(--paper-alt);
  border: 1px solid var(--edge);
  border-radius: var(--r2);
  padding: 8px 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tool-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-family: var(--sans);
}
.tool-head .tool-icon {
  color: var(--accent);
  font-size: 10px;
  line-height: 1;
}
.tool-head .tool-name {
  color: var(--ink);
  font-weight: 600;
}
.tool-head .tool-spacer {
  flex: 1;
}
.tool-head .tool-check {
  color: var(--ok);
  font-size: 11px;
  line-height: 1;
}
.tool-detail {
  color: var(--ink-4);
  font-size: 10.5px;
  padding-left: 17px;
  font-family: var(--mono);
  letter-spacing: 0;
}

.ws-input {
  margin-top: auto;
  background: var(--paper);
  border: 1px solid var(--edge);
  border-radius: var(--r2);
  padding: 9px 12px;
  color: var(--ink-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 12px;
  box-shadow: var(--sh-1);
}
.ws-input .cursor {
  width: 1.5px;
  height: 12px;
  background: var(--accent);
  display: inline-block;
  animation: blink 1s steps(2) infinite;
  margin-left: 2px;
  vertical-align: text-bottom;
}
.ws-input .kbd {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
  padding: 2px 6px;
  background: var(--paper-alt);
  border: 1px solid var(--edge);
  border-radius: 3px;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.ws-workspace {
  background: var(--paper-alt);
  border-left: 1px solid var(--edge);
  padding: 14px 10px;
  overflow: hidden;
}
.ws-workspace .head {
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-family: var(--mono);
  font-weight: 500;
  margin-bottom: 10px;
  padding: 0 6px;
}
.folder-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.folder-list li {
  padding: 7px 8px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  border-radius: var(--r1);
  margin-bottom: 1px;
}
.folder-list li .folder-icon {
  width: 14px;
  height: 11px;
  flex-shrink: 0;
  color: var(--ink-4);
}
.folder-list li.active {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--edge);
  font-weight: 500;
  box-shadow: var(--sh-1);
}
.folder-list li.active .folder-icon {
  color: var(--accent);
}
.folder-list li.active::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: auto;
}

/* ============================================================
         INSTALL
      ============================================================ */
.install__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 780px;
  margin: 0 auto;
}

.codeblock {
  background: var(--ink);
  color: #e4e6ec;
  border-radius: var(--r3);
  overflow: hidden;
  font-family: var(--mono);
  box-shadow: var(--sh-3);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink);
}
.codeblock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #181b22;
  border-bottom: 1px solid #262a33;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.codeblock__head .tag {
  color: oklch(0.78 0.16 270);
  font-weight: 500;
}
.codeblock__copy {
  cursor: pointer;
  background: transparent;
  border: 1px solid #2a2f39;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: var(--r1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.codeblock__copy:hover {
  border-color: oklch(0.78 0.16 270);
  color: oklch(0.78 0.16 270);
}
.codeblock__copy.copied {
  color: oklch(0.78 0.18 150);
  border-color: oklch(0.78 0.18 150);
}

.codeblock__body {
  padding: 18px 20px;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre;
  overflow-x: auto;
  flex: 1;
  margin: 0;
}
.codeblock__body .cmt {
  color: #6b7383;
  font-style: italic;
}
.codeblock__body .key {
  color: oklch(0.78 0.16 270);
}
.codeblock__body .str {
  color: oklch(0.8 0.14 150);
}
.codeblock__body .fn {
  color: oklch(0.82 0.14 60);
}
.codeblock__body .pmt {
  color: oklch(0.75 0.2 270);
}

.reqs {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r3);
  padding: 28px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 32px;
  align-items: start;
  box-shadow: var(--sh-1);
}
.reqs__head {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.reqs__head em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  display: block;
  font-size: 15px;
  margin-top: 4px;
  letter-spacing: -0.015em;
}
.reqs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 28px;
  font-family: var(--sans);
  font-size: 13.5px;
}
.reqs__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-tint);
}
.reqs__list .k {
  color: var(--ink-4);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 500;
}
.reqs__list .v {
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.4;
}

/* --- Expose: three deployment paths --------------------- */
.expose {
  margin-top: 56px;
}
.expose__head {
  max-width: 780px;
  margin: 0 auto 24px;
  text-align: left;
}
.expose__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.expose__title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.expose__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.expose__lede {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.55;
}
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.path {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r3);
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-1);
  transition:
    transform 0.25s ease,
    border-color 0.25s,
    box-shadow 0.25s;
}
.path:hover {
  border-color: var(--ink-5);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}
.path--recommended {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent-tint),
    var(--sh-1);
}
.path__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.path__title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.path__sub {
  font-size: 12.5px;
  color: var(--ink-4);
  margin-bottom: 16px;
  line-height: 1.45;
}
.path__when {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.55;
  margin-bottom: 14px;
}
.path__when strong {
  color: var(--ink);
  font-weight: 600;
}
.path__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  counter-reset: pstep;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
.path__steps li {
  counter-increment: pstep;
  position: relative;
  padding-left: 26px;
}
.path__steps li::before {
  content: counter(pstep);
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.path__steps code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--paper);
  border: 1px solid var(--edge);
  border-radius: var(--r1);
  padding: 1px 6px;
  color: var(--ink);
  white-space: nowrap;
}
.path__steps pre {
  margin: 6px 0 0;
  padding: 10px 12px;
  background: var(--ink);
  color: #e4e6ec;
  border-radius: var(--r2);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
  white-space: pre;
  overflow-x: auto;
}
.path__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--edge);
  font-size: 12px;
  color: var(--ink-4);
  line-height: 1.5;
}
.path__foot a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
}

/* ============================================================
               CONFIG
            ============================================================ */
.config {
  background: var(--paper-alt);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}
.config__intro {
  max-width: 940px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.config-note {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r3);
  padding: 20px;
  box-shadow: var(--sh-1);
}
.config-note__label {
  display: block;
  margin-bottom: 8px;
}
.config-note p {
  margin: 0;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.55;
}
.config-note code,
.config-field code,
.config-fixed code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: 3px;
  padding: 1px 5px;
  letter-spacing: 0;
}
.config a {
  color: var(--accent);
  border-bottom: 1px dotted currentColor;
}
.config-list {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.config-group {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r3);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.config-group__head {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--edge);
  background: var(--paper);
}
.config-group__name {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.config-group__summary {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.config-fields {
  display: grid;
}
.config-field {
  display: grid;
  grid-template-columns: 190px 118px 1fr;
  gap: 24px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--edge-soft);
  align-items: start;
}
.config-field:last-child {
  border-bottom: 0;
}
.config-field__key {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}
.config-field__default {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-4);
  line-height: 1.45;
  word-break: break-word;
}
.config-field__desc {
  margin: 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
}
.config-field__desc strong {
  color: var(--ink);
  font-weight: 600;
}
.config-fixed {
  max-width: 1040px;
  margin: 24px auto 0;
  padding: 20px 24px;
  border: 1px dashed var(--rule);
  border-radius: var(--r3);
  background: var(--paper);
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
               USAGE
            ============================================================ */
.usage {
  background: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r3);
  transition:
    transform 0.25s ease,
    border-color 0.25s,
    box-shadow 0.25s;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
}
.step:hover {
  border-color: var(--ink-5);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}
.step__num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 9px;
  background: var(--accent-soft);
  border-radius: var(--r1);
  width: fit-content;
}
.step__title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--ink);
}
.step__body {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}
.step__code {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.65;
  background: var(--ink);
  color: #e4e6ec;
  padding: 12px 14px;
  border-radius: var(--r2);
  white-space: pre-wrap;
  word-break: break-word;
}
.step__code .pmt {
  color: oklch(0.75 0.2 270);
}
.step__code .cmt {
  color: #6b7383;
  font-style: italic;
}

/* ============================================================
         Q & A
      ============================================================ */
.qa {
  background: var(--paper-alt);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.qa-list {
  max-width: 940px;
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.qa-item {
  border-bottom: 1px solid var(--edge);
}
.qa-item:last-child {
  border-bottom: 1px solid var(--ink);
}

.qa-item summary {
  display: grid;
  grid-template-columns: 96px 1fr 40px;
  gap: 28px;
  align-items: center;
  padding: 22px 8px;
  cursor: pointer;
  list-style: none;
  transition:
    padding-left 0.25s ease,
    background 0.25s ease;
}
.qa-item summary::-webkit-details-marker {
  display: none;
}
.qa-item summary::marker {
  display: none;
  content: "";
}
.qa-item summary:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, var(--accent-tint), transparent 70%);
}
.qa-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r1);
}

.qa-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  align-self: center;
}

.qa-q {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.3;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.qa-q code {
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0;
}

.qa-toggle {
  justify-self: end;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--edge);
  background: var(--paper);
  position: relative;
  transition:
    transform 0.35s ease,
    border-color 0.25s,
    background 0.25s;
  flex-shrink: 0;
}
.qa-toggle::before,
.qa-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition:
    background 0.25s,
    opacity 0.25s;
}
.qa-toggle::before {
  width: 12px;
  height: 1.2px;
}
.qa-toggle::after {
  width: 1.2px;
  height: 12px;
}

.qa-item[open] .qa-toggle {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(135deg);
}
.qa-item[open] .qa-toggle::before,
.qa-item[open] .qa-toggle::after {
  background: #fff;
}

.qa-a {
  padding: 4px 8px 28px 132px;
  max-width: 780px;
  animation: qaIn 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.qa-a p {
  margin: 0 0 12px;
  color: var(--ink-3);
  font-size: 15.5px;
  line-height: 1.65;
}
.qa-a p:last-child {
  margin-bottom: 0;
}
.qa-a code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 1px 5px;
  border-radius: 3px;
}
.qa-a a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}
@keyframes qaIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qa-foot {
  max-width: 940px;
  margin: 32px auto 0;
  padding: 20px 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  border-top: 1px dashed var(--edge);
}
.qa-foot a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.qa-foot a:hover {
  color: var(--accent);
}

/* ============================================================
         FINAL CTA
      ============================================================ */
.closing {
  padding: 120px 0;
  text-align: center;
  position: relative;
  background:
    radial-gradient(800px 380px at 50% 0%, var(--accent-tint), transparent 60%),
    var(--paper);
  border-top: 1px solid var(--edge);
}
.closing__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  color: var(--ink);
}
.closing__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.closing__sub {
  font-size: 17px;
  color: var(--ink-3);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

/* ============================================================
         FOOTER
      ============================================================ */
footer.foot {
  background: var(--ink);
  color: var(--ink-5);
  padding: 56px 0 28px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 36px;
}
.foot__brand .brand__name {
  color: #fff;
  font-size: 22px;
}
.foot__brand .brand__name em {
  color: oklch(0.78 0.16 270);
}
.foot__brand p {
  color: var(--ink-4);
  font-size: 14px;
  line-height: 1.55;
  margin: 14px 0 0;
  max-width: 320px;
}
.foot__col h6 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.78 0.16 270);
  margin: 4px 0 14px;
  font-weight: 500;
}
.foot__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}
.foot__col a {
  color: var(--ink-5);
  transition: color 0.2s;
}
.foot__col a:hover {
  color: #fff;
}

.foot__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
}

/* ============================================================
         ENTRANCE ANIMATION
      ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-d="1"] {
  transition-delay: 0.06s;
}
.reveal[data-d="2"] {
  transition-delay: 0.12s;
}
.reveal[data-d="3"] {
  transition-delay: 0.18s;
}
.reveal[data-d="4"] {
  transition-delay: 0.24s;
}
.reveal[data-d="5"] {
  transition-delay: 0.3s;
}

/* ============================================================
         RESPONSIVE
      ============================================================ */
@media (max-width: 980px) {
  .container {
    padding: 0 22px;
  }
  .qa-item summary {
    grid-template-columns: 1fr 28px;
    grid-template-areas:
      "num tog"
      "q   tog";
    gap: 6px 14px;
    padding: 20px 0;
    align-items: start;
  }
  .qa-item summary:hover {
    padding-left: 0;
  }
  .qa-num {
    grid-area: num;
    align-self: start;
  }
  .qa-q {
    grid-area: q;
    font-size: 17px;
    line-height: 1.3;
  }
  .qa-toggle {
    grid-area: tog;
    align-self: center;
    width: 28px;
    height: 28px;
  }
  .qa-a {
    padding: 0 0 24px 0;
  }

  .nav__inner {
    padding: 14px 22px;
  }
  .nav__links {
    gap: 16px;
    font-size: 13px;
  }
  .nav__links a:not(.nav__cta) {
    display: none;
  }

  .hero {
    padding: 56px 0 40px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero__visual {
    order: -1;
    min-height: 320px;
  }
  .mug-stage {
    max-width: 260px;
  }
  .hero__meta {
    grid-template-columns: repeat(2, 1fr);
  }

  section.bay {
    padding: 72px 0;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 40px;
  }

  .values {
    grid-template-columns: 1fr;
  }
  .card {
    grid-column: span 1;
  }

  .preview__wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .window__body {
    grid-template-columns: 40px 1fr;
    height: auto;
  }
  .ws-sessions {
    display: none;
  }
  .ws-workspace {
    display: none;
  }

  .install__grid {
    grid-template-columns: 1fr;
  }
  .reqs {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }
  .reqs__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .paths {
    grid-template-columns: 1fr;
  }
  .config__intro {
    grid-template-columns: 1fr;
  }
  .config-group__head,
  .config-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .foot__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .foot__brand {
    grid-column: 1 / -1;
  }
  .foot__bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   MULTI-PAGE ADDITIONS
============================================================ */
.nav__links a.active {
  color: var(--ink);
}
.nav__links a.active::after {
  transform: scaleX(1);
}
.config-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
.config-layout .config-list {
  margin: 0;
  max-width: none;
}
.config-tree {
  position: sticky;
  top: 82px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--r3);
  box-shadow: var(--sh-1);
  padding: 18px 18px 16px;
}
.config-tree__title {
  display: block;
  margin-bottom: 12px;
}
.config-tree ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 5px;
}
.config-tree li ul {
  margin: 5px 0 3px 12px;
  padding-left: 12px;
  border-left: 1px solid var(--edge);
}
.config-tree a {
  display: block;
  padding: 5px 0;
  border-bottom: 0;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.35;
}
.config-tree a:hover {
  color: var(--accent);
}
.config-tree code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
}
.config-group {
  scroll-margin-top: 96px;
}
@media (max-width: 980px) {
  .config-layout {
    grid-template-columns: 1fr;
  }
  .config-tree {
    position: static;
  }
}
