/* RBTHelper site v2 — visual redesign shell (home-v2.html, all-tools.html).
   Loaded alongside assets/brand/metadata/RBTHelper_Palette.css for --rbth-* brand values.
   Existing pages (index, learner-tools, session-tools, owner-preview) do not load this file. */

:root {
  --v2-ink: #203040;
  --v2-teal: #66B2A6;
  --v2-teal-deep: #2F7D70;
  --v2-teal-deep-top: #35897B;
  --v2-ice: #DDF1F7;
  --v2-page-top: #EAF4F7;
  --v2-page: #F6FAFB;
  --v2-muted: #5E6E7E;
  --v2-teal-light: #8FD0C5;
  --v2-border: rgba(32, 48, 64, 0.07);
  --v2-border-strong: rgba(32, 48, 64, 0.12);
  --v2-font-display: Sora, "Segoe UI", system-ui, -apple-system, sans-serif;
  --v2-font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Per-tool accent triads — same codes as the production shell (shell.css). */
  --v2-tool-01-accent: #4bb8b2; --v2-tool-01-tint: #e6f8f6; --v2-tool-01-dark: #286a68; --v2-tool-01-light: #7fcec9;
  --v2-tool-02-accent: #f4c95d; --v2-tool-02-tint: #fff5cd; --v2-tool-02-dark: #765a00; --v2-tool-02-light: #f8da8e;
  --v2-tool-03-accent: #72b6e8; --v2-tool-03-tint: #eaf5ff; --v2-tool-03-dark: #285f87; --v2-tool-03-light: #9cccf0;
  --v2-tool-04-accent: #9c83d6; --v2-tool-04-tint: #f2edff; --v2-tool-04-dark: #57427e; --v2-tool-04-light: #b8a5e2;
  --v2-tool-05-accent: #7fbe91; --v2-tool-05-tint: #ecf8ef; --v2-tool-05-dark: #356b43; --v2-tool-05-light: #a5d2b1;
  --v2-tool-06-accent: #ee8b6b; --v2-tool-06-tint: #fff0ea; --v2-tool-06-dark: #934a33; --v2-tool-06-light: #f3ac94;
  --v2-tool-07-accent: #7f94de; --v2-tool-07-tint: #eef1ff; --v2-tool-07-dark: #465a9e; --v2-tool-07-light: #a5b3e8;
  --v2-tool-08-accent: #6dbe70; --v2-tool-08-tint: #edf8ee; --v2-tool-08-dark: #2f6c32; --v2-tool-08-light: #97d199;
  --v2-tool-09-accent: #d982a2; --v2-tool-09-tint: #fceef4; --v2-tool-09-dark: #8a3d5a; --v2-tool-09-light: #e4a7be;
  --v2-tool-10-accent: #a482b8; --v2-tool-10-tint: #f4edf8; --v2-tool-10-dark: #624874; --v2-tool-10-light: #bfa6cd;
  --v2-tool-11-accent: #7f9bb8; --v2-tool-11-tint: #eef3f9; --v2-tool-11-dark: #3e5670; --v2-tool-11-light: #a4b8cd;
  --v2-tool-12-accent: #f2a35f; --v2-tool-12-tint: #fff2e6; --v2-tool-12-dark: #8b4a12; --v2-tool-12-light: #f6bf8a;
  /* Roadmap accents (Wave 8): Sound Identification reuses component 04's violet;
     SOAP Note Taker and Sketch Pad get their own triads, chosen to fill the
     palette's slate and warm-orange gaps. */
  --v2-roadmap-soap-accent: #7f9bb8; --v2-roadmap-soap-tint: #eef3f9; --v2-roadmap-soap-dark: #3e5670; --v2-roadmap-soap-light: #a4b8cd;
  --v2-roadmap-sketch-accent: #f2a35f; --v2-roadmap-sketch-tint: #fff2e6; --v2-roadmap-sketch-dark: #8b4a12; --v2-roadmap-sketch-light: #f6bf8a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.v2 {
  margin: 0;
  font-family: var(--v2-font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--v2-ink);
  background: linear-gradient(180deg, var(--v2-page-top) 0%, var(--v2-page) 300px, var(--v2-page) 100%);
  min-height: 100vh;
}

.v2 a { color: var(--v2-teal-deep); text-decoration: none; }
.v2 a:hover { color: var(--v2-ink); }
.v2 a.v2-cta, .v2 a.v2-cta:hover,
.v2 a.v2-button-primary, .v2 a.v2-button-primary:hover { color: #fff; }
.v2 a.v2-button-secondary, .v2 a.v2-button-secondary:hover { color: var(--v2-ink); }
.v2 a:focus-visible,
.v2 button:focus-visible {
  outline: 3px solid var(--v2-teal);
  outline-offset: 2px;
  border-radius: 6px;
}

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

.v2 .skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--v2-ink);
  color: #fff;
  font-weight: 700;
  transition: top 0.15s ease;
}
.v2 .skip-link:focus { top: 0; color: #fff; }

.v2-container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: clamp(20px, 4.4vw, 64px);
  padding-right: clamp(20px, 4.4vw, 64px);
}

/* ---------- Header ---------- */

.v2-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--v2-border);
}

.v2-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.v2-brand { display: inline-flex; align-items: center; }
.v2-brand img { display: block; height: 36px; width: auto; }

.v2-header__right { display: flex; align-items: center; gap: 26px; }

.v2-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 600;
}

.v2-nav__list a {
  color: var(--v2-muted);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
}
.v2-nav__list a::after {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: transparent;
}
.v2-nav__list a:hover { color: var(--v2-ink); }
.v2-nav__list a[aria-current="page"] { color: var(--v2-teal-deep); }
.v2-nav__list a[aria-current="page"]::after { background: var(--v2-teal); }

.v2-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--v2-teal-deep-top) 0%, var(--v2-teal-deep) 100%);
  color: #fff;
  font-family: var(--v2-font-body);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(47, 125, 112, 0.25);
}
.v2-cta:hover { color: #fff; filter: brightness(1.06); }

.v2-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--v2-border-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--v2-ink);
  font-family: var(--v2-font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.v2-menu-toggle__icon {
  display: inline-block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--v2-ink);
  box-shadow: 0 -5px 0 var(--v2-ink), 0 5px 0 var(--v2-ink);
}

/* ---------- Decorative ground ---------- */

.v2-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.v2-glow--teal {
  top: -280px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(102, 178, 166, 0.14) 0%, rgba(102, 178, 166, 0) 65%);
}
.v2-glow--coral {
  bottom: -200px;
  left: -220px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(238, 139, 107, 0.07) 0%, rgba(238, 139, 107, 0) 62%);
}

/* ---------- Hero ---------- */

.v2-hero-wrap { position: relative; overflow: hidden; }

.v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(36px, 5.5vh, 64px);
  padding-bottom: clamp(36px, 5.5vh, 64px);
  min-height: min(640px, calc(100vh - 320px));
}

.v2-hero__copy { display: flex; flex-direction: column; align-items: flex-start; }

.v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(47, 125, 112, 0.28);
  background: rgba(102, 178, 166, 0.09);
}
.v2-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--v2-teal); }
.v2-eyebrow__text {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v2-teal-deep);
}

.v2-hero h1 {
  margin: 22px 0 0;
  font-family: var(--v2-font-display);
  font-size: clamp(34px, 4.2vw, 59px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--v2-ink);
  text-wrap: balance;
}
.v2-hero h1 .v2-highlight { color: var(--v2-teal-deep); }

.v2-hero__support {
  margin: 20px 0 0;
  max-width: 470px;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.6;
  color: var(--v2-muted);
}

.v2-hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.v2-button-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--v2-teal-deep-top) 0%, var(--v2-teal-deep) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(47, 125, 112, 0.28);
}
.v2-button-primary:hover { color: #fff; filter: brightness(1.06); }

.v2-button-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1.5px solid rgba(32, 48, 64, 0.16);
  background: #fff;
  color: var(--v2-ink);
  font-size: 15.5px;
  font-weight: 600;
}

.v2-trust {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}
.v2-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--v2-muted);
}
.v2-trust svg { flex: 0 0 auto; }

/* ---------- Hero visual (decorative) ---------- */

.v2-hero__visual { position: relative; min-height: 460px; }

.v2-hero__ring {
  position: absolute;
  top: 6%;
  right: 2%;
  width: min(500px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(102, 178, 166, 0.14);
  pointer-events: none;
}

.v2-window {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: min(500px, 100%);
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(32, 48, 64, 0.08);
  box-shadow: 0 24px 60px rgba(32, 48, 64, 0.14);
  overflow: hidden;
}

.v2-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--v2-border);
}
.v2-window__dots { display: flex; gap: 6px; }
.v2-window__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(32, 48, 64, 0.13);
}
.v2-window__bar img { height: 16px; width: auto; display: block; }
.v2-window__spacer { width: 39px; }

.v2-window__body {
  padding: 14px;
  background: var(--v2-page);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v2-skeleton-heading { display: flex; flex-direction: column; gap: 6px; }
.v2-skeleton-heading span { border-radius: 4px; }
.v2-skeleton-heading span:first-child { width: 42%; height: 9px; background: rgba(32, 48, 64, 0.2); }
.v2-skeleton-heading span:last-child { width: 62%; height: 6px; background: rgba(32, 48, 64, 0.08); }

.v2-minigrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.v2-minitile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px 9px 9px;
  background: #fff;
  border: 1px solid rgba(32, 48, 64, 0.06);
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(32, 48, 64, 0.05);
}
.v2-minitile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tile-accent, var(--v2-teal));
}
.v2-minitile__chip {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--tile-light, var(--v2-teal-light)) 0%, var(--tile-accent, var(--v2-teal)) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.v2-minitile__bar { width: 68%; height: 6px; border-radius: 3px; background: rgba(32, 48, 64, 0.15); }

.v2-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(32, 48, 64, 0.06);
  box-shadow: 0 16px 38px rgba(32, 48, 64, 0.16);
}
.v2-float--token { left: 0; top: 16%; }
.v2-float--emotion { right: -6px; bottom: 4%; }
.v2-float__name {
  font-family: var(--v2-font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--v2-ink);
}
.v2-float__sub { font-size: 11.5px; color: var(--v2-muted); }
.v2-float__dots { display: flex; gap: 5px; margin-top: 6px; }
.v2-float__dots span { width: 8px; height: 8px; border-radius: 50%; }
.v2-float__dots .is-filled { background: var(--v2-tool-02-accent); }
.v2-float__dots .is-empty { border: 1.5px solid rgba(32, 48, 64, 0.22); }

.v2-badge {
  position: absolute;
  left: 24%;
  bottom: 12%;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(32, 48, 64, 0.1);
  box-shadow: 0 8px 20px rgba(32, 48, 64, 0.08);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--v2-teal-deep);
  white-space: nowrap;
}

/* ---------- Shiny tool icon ---------- */

.v2-appicon {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--icon-light, var(--v2-teal-light)) 0%, var(--icon-accent, var(--v2-teal)) 100%);
  box-shadow: 0 6px 14px var(--icon-shadow, rgba(102, 178, 166, 0.38)), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.v2-appicon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.06) 100%);
}
.v2-appicon svg {
  position: relative;
  filter: drop-shadow(0 1px 1.5px rgba(32, 48, 64, 0.25));
}
.v2-appicon--sm { width: 40px; height: 40px; border-radius: 12px; }
/* Tool-grid tiles run smaller than the home strip so twelve fit above the fold. */
.v2-card .v2-appicon { width: 40px; height: 40px; border-radius: 12px; }
.v2-card .v2-appicon svg { width: 21px; height: 21px; }
.v2-appicon--xs { width: 36px; height: 36px; border-radius: 10px; }

/* ---------- Owner disclosure banner ---------- */

.v2-owner-note-wrap {
  border-top: 1px solid var(--v2-border);
  background: var(--v2-tool-01-tint);
}
.v2-owner-note {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}
.v2-owner-note__copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v2-owner-note__status {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--v2-tool-01-dark);
}
.v2-owner-note__name {
  font-family: var(--v2-font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--v2-ink);
}
.v2 a.v2-owner-note__button {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1.5px solid rgba(75, 184, 178, 0.6);
  background: #fff;
  color: var(--v2-ink);
  font-size: 13.5px;
  font-weight: 600;
}

/* ---------- Toolkit strip ---------- */

.v2-strip-wrap {
  border-top: 1px solid var(--v2-border);
  background: rgba(255, 255, 255, 0.65);
}
.v2-strip {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 26px;
  padding-bottom: 26px;
  min-height: 168px;
}
.v2-strip__intro { flex: 0 0 218px; display: flex; flex-direction: column; gap: 7px; }
.v2-strip__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--v2-teal-deep);
}
.v2-strip__title {
  font-family: var(--v2-font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--v2-ink);
}
.v2-strip__link { font-size: 13px; font-weight: 700; }
.v2-strip__divider { width: 1px; align-self: stretch; background: rgba(32, 48, 64, 0.08); }
.v2-strip__items {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.v2-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 92px;
}
.v2-strip__label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--v2-muted);
  text-align: center;
}

/* ---------- Spotlight ---------- */

.v2-spotlight {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 52px;
  padding-bottom: 56px;
}
.v2-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.v2-section-head h2 {
  margin: 8px 0 0;
  font-family: var(--v2-font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--v2-ink);
}
.v2-section-head__link { font-size: 14px; font-weight: 700; padding-bottom: 6px; }

.v2-spotlight__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.v2-shot {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(32, 48, 64, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(32, 48, 64, 0.1);
  overflow: hidden;
}
.v2-shot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--v2-border);
}
.v2-shot__pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(32, 48, 64, 0.05);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--v2-muted);
}
.v2-shot__frame { aspect-ratio: 8 / 5; overflow: hidden; background: var(--v2-page); }
.v2-shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.v2-shot__caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 4px solid var(--shot-accent, var(--v2-teal));
}
.v2-shot__caption-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-shot__name {
  font-family: var(--v2-font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--v2-ink);
}
.v2-shot__desc { font-size: 12.5px; color: var(--v2-muted); }
.v2-arrow-chip {
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--chip-border, rgba(47, 125, 112, 0.3));
  background: #fff;
}

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

.v2-footer {
  margin-top: auto;
  border-top: 1px solid var(--v2-border);
  background: rgba(255, 255, 255, 0.8);
}
.v2-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  min-height: 90px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.v2-footer__brand { display: flex; align-items: center; gap: 14px; }
.v2-footer__brand img { height: 28px; width: auto; display: block; }
.v2-footer p { margin: 0; font-size: 12.5px; color: var(--v2-muted); }

/* ---------- All Tools page ---------- */

.v2-tools-main { position: relative; overflow: hidden; }

.v2-tools-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
}
.v2-tools-head__copy { display: flex; flex-direction: column; gap: 6px; }
.v2-tools-head h1 {
  margin: 0;
  font-family: var(--v2-font-display);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--v2-ink);
}
.v2-tools-head p { margin: 0; max-width: 620px; font-size: 14px; color: var(--v2-muted); }

.v2-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}
.v2-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--v2-border-strong);
  background: #fff;
  color: var(--v2-ink);
  font-family: var(--v2-font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.v2-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chip-dot, var(--v2-teal)); }
.v2-chip__count { font-weight: 700; color: var(--v2-muted); }
.v2-chip[aria-pressed="true"] {
  background: var(--v2-ink);
  border-color: var(--v2-ink);
  color: #fff;
}
.v2-chip[aria-pressed="true"] .v2-chip__count { color: var(--v2-teal-light); }

/* Twelve slots: four rows of three. Sized so the full grid clears the fold at
   1440x900 with the page header and title block above it. */
.v2-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding: 0 0 32px;
  list-style: none;
}

.v2-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 142px;
  padding: 15px 16px 12px;
  background: linear-gradient(180deg, var(--card-tint, var(--v2-ice)) 0%, #ffffff 78px);
  border: 1px solid var(--v2-border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(32, 48, 64, 0.05);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.v2-card:hover,
.v2-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(32, 48, 64, 0.1);
}
.v2-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--card-accent, var(--v2-teal));
}
.v2-card[hidden] { display: none; }

.v2-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.v2-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(32, 48, 64, 0.05);
  color: var(--v2-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.v2-card__tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tag-dot, var(--v2-teal)); }

.v2-card__title {
  margin: 10px 0 0;
  font-family: var(--v2-font-display);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--v2-ink);
}
.v2-card__title a { color: inherit; }
.v2-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.v2-card__desc {
  margin: 4px 0 26px;
  max-width: 320px;
  font-size: 12.4px;
  line-height: 1.45;
  color: var(--v2-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.v2-card__arrow {
  position: absolute;
  bottom: 12px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--chip-border, rgba(47, 125, 112, 0.3));
  background: #fff;
}
.v2-card__hint {
  position: absolute;
  bottom: 17px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(32, 48, 64, 0.45);
}

/* Disclosure chip: honest, subdued status carried from the deployment
   registry (for example a component whose content review is still open). */
.v2-card__disclosure {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(244, 201, 93, 0.18);
  color: #7a5a06;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Roadmap placeholders: announced, inert, visibly not yet available.
   Each tile carries its own accent so the family reads complete; the dashed
   edge, the "Coming soon" chip, and the missing arrow keep it clearly inert. */
.v2-card--soon {
  border-style: dashed;
  border-color: rgba(32, 48, 64, 0.2);
  box-shadow: none;
}
.v2-card--soon:hover,
.v2-card--soon:focus-within {
  transform: none;
  box-shadow: none;
}
.v2-card--soon .v2-card__tag--soon {
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(32, 48, 64, 0.22);
  color: var(--card-dark, var(--v2-muted));
}
.v2-card__title--soon { color: #4a5b6b; }

.v2-card__preview {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.v2-card:hover .v2-card__preview,
.v2-card:focus-within .v2-card__preview { opacity: 1; }
.v2-card__preview-frame { flex: 1 1 auto; overflow: hidden; }
.v2-card__preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.v2-card__preview-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border-top: 3px solid var(--card-accent, var(--v2-teal));
  background: #fff;
}
.v2-card__preview-name {
  font-family: var(--v2-font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--v2-ink);
}
.v2-card__preview-open { font-size: 11px; font-weight: 700; color: var(--card-dark, var(--v2-teal-deep)); }

.v2-status-note {
  margin: 26px 0 56px;
  padding: 14px 18px;
  border: 1px solid var(--v2-border-strong);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  color: var(--v2-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .v2-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .v2-hero__visual {
    min-height: 0;
    margin-top: 8px;
    display: flex;
    justify-content: center;
  }
  .v2-hero__ring { display: none; }
  .v2-window { position: relative; top: auto; right: auto; transform: none; width: min(560px, 100%); }
  .v2-float, .v2-badge { display: none; }
  .v2-strip { flex-direction: column; align-items: flex-start; gap: 18px; min-height: 0; }
  .v2-strip__divider { display: none; }
  .v2-strip__items { justify-content: flex-start; gap: 4px 8px; width: 100%; }
}

@media (max-width: 999px) {
  .v2-spotlight__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 719px) {
  .v2-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--v2-border);
    box-shadow: 0 18px 34px rgba(32, 48, 64, 0.12);
  }
  .v2-nav[data-open="true"] { display: block; }
  .v2-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px clamp(20px, 4.4vw, 64px) 16px;
  }
  .v2-nav__list a {
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--v2-border);
  }
  .v2-nav__list li:last-child a { border-bottom: 0; }
  .v2-nav__list a::after { width: 8px; height: 8px; border-radius: 50%; }
  .v2-menu-toggle { display: inline-flex; }
  .v2-header .v2-cta { display: none; }
  .v2-strip__item { width: 84px; }
}

@media (max-width: 479px) {
  .v2-tool-grid { grid-template-columns: minmax(0, 1fr); }
  .v2-card { min-height: 0; }
  .v2-hero__actions .v2-button-primary,
  .v2-hero__actions .v2-button-secondary { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v2-card, .v2-card__preview, .skip-link { transition: none; }
}
