/* CreatStrat product walkthrough
   A code-native product tour based on the current portal UI. */

.product-page {
  --product-max: 1240px;
  --app-bg: #0a0a12;
  --app-surface: #10101a;
  --app-raised: #171722;
  --app-line: #2a2937;
  --app-muted: #9995a9;
  background-color: #f7f6f2;
}

.product-page main {
  overflow: hidden;
}

.product-page .nav-links a[aria-current="page"] {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--violet);
  color: var(--ink);
}

.product-page .nav-mobile a[aria-current="page"] {
  color: var(--violet);
  font-weight: 700;
}

.product-page .nav-links .nav-destination,
.product-page .nav-links .nav-account {
  display: inline-flex;
  min-height: 34px;
  padding: 0 10px;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  letter-spacing: 0.1em;
}

.product-page .nav-links .nav-destination {
  border-color: rgba(100, 55, 255, 0.24);
  color: var(--violet);
  background: rgba(100, 55, 255, 0.06);
}

.product-page .nav-links .nav-account {
  color: var(--ink);
  background: #fff;
}

.product-page .nav-destination > span,
.product-page .nav-account > span {
  font-size: 13px;
  line-height: 1;
}

.product-page .nav-links .nav-destination:hover {
  border-color: var(--violet);
  color: #fff;
  background: var(--violet);
}

.product-page .nav-links .nav-account:hover {
  border-color: var(--ink);
}

@media (max-width: 760px) {
  .product-page .nav-mobile .nav-destination,
  .product-page .nav-mobile .nav-account {
    display: flex;
    padding: 13px 14px;
    margin: 8px 0 0;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 7px;
  }

  .product-page .nav-mobile .nav-destination {
    border-color: rgba(100, 55, 255, 0.25);
    color: var(--violet);
    background: rgba(100, 55, 255, 0.06);
  }

  .product-page .nav-mobile .nav-account {
    color: var(--ink);
    background: #fff;
  }
}

.product-page h1,
.product-page h2,
.product-page h3,
.product-page h4,
.product-page p {
  margin-top: 0;
}

.product-container {
  width: min(var(--product-max), calc(100% - 48px));
  margin-inline: auto;
}

.product-eyebrow {
  margin-bottom: 18px;
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-hero {
  padding: 154px 0 88px;
  background:
    radial-gradient(circle at 82% 15%, rgba(200, 255, 61, 0.22), transparent 25%),
    linear-gradient(135deg, rgba(91, 43, 255, 0.08), transparent 42%);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(620px, 1.28fr);
  gap: clamp(48px, 6vw, 86px);
  align-items: center;
}

.product-hero-copy h1 {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 6.8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.product-hero-copy h1 span {
  color: var(--violet);
}

.product-hero-copy > p:not(.product-eyebrow) {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--slate);
  font-size: 1.13rem;
  line-height: 1.65;
}

.product-hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
}

.product-text-link {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-underline-offset: 5px;
}

.product-hero-copy > small {
  display: block;
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Product shell */
.app-window,
.calendar-ui,
.library-ui,
.brief-ui,
.workspace-ui {
  min-width: 0;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: var(--app-bg);
  box-shadow: 18px 18px 0 var(--violet), 30px 30px 0 rgba(200, 255, 61, 0.88);
}

.app-window {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 570px;
  overflow: hidden;
  color: #fff;
}

.app-sidebar {
  display: flex;
  padding: 16px 10px;
  gap: 16px;
  align-items: center;
  flex-direction: column;
  border-right: 1px solid var(--app-line);
  background: #0d0d16;
}

.app-logo {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #08080f;
  font-size: 0.9rem;
  font-weight: 900;
}

.app-logo span { color: var(--lime); }

.app-nav-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  color: #777487;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-style: normal;
}

.app-nav-icon.active {
  border: 1px solid rgba(138, 102, 255, 0.55);
  color: var(--violet-bright);
  background: rgba(91, 43, 255, 0.18);
}

.app-surface { min-width: 0; }

.app-topbar {
  display: flex;
  min-height: 62px;
  padding: 0 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--app-line);
  color: #aaa6b7;
  font-size: 0.75rem;
}

.app-topbar span { display: flex; gap: 8px; align-items: center; }
.app-topbar span i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.app-topbar strong { color: #fff; font-weight: 650; }

.app-page-heading {
  display: flex;
  padding: 28px 28px 24px;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

.app-page-heading small,
.app-panel > span,
.app-panel header span {
  color: var(--violet-bright);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
}

.app-page-heading h2 {
  margin: 9px 0 0;
  font-size: clamp(2rem, 3vw, 3.15rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.app-delivery {
  display: flex;
  padding-left: 18px;
  gap: 4px;
  flex-direction: column;
  border-left: 2px solid var(--lime);
  text-align: right;
}

.app-delivery span { color: var(--app-muted); font-size: 0.68rem; }
.app-delivery strong { font-size: 0.82rem; }

.app-week-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(170px, 0.7fr);
  gap: 14px;
  padding: 0 28px 28px;
}

.app-panel {
  border: 1px solid var(--app-line);
  border-radius: 9px;
  background: var(--app-surface);
}

.app-briefs-panel { padding: 18px; }
.app-briefs-panel header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.app-briefs-panel header strong { color: var(--lime); font-family: var(--font-mono); font-size: 1.45rem; }

.mini-brief {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px 8px;
  border-top: 1px solid var(--app-line);
}

.mini-brief.featured {
  margin-bottom: 5px;
  border: 1px solid rgba(138, 102, 255, 0.52);
  border-radius: 7px;
  background: rgba(91, 43, 255, 0.13);
}

.mini-brief b { color: #726e80; font-family: var(--font-mono); font-size: 0.64rem; }
.mini-brief div { display: flex; min-width: 0; gap: 4px; flex-direction: column; }
.mini-brief div strong { overflow: hidden; font-size: 0.76rem; text-overflow: ellipsis; white-space: nowrap; }
.mini-brief div small { overflow: hidden; color: var(--app-muted); font-size: 0.62rem; text-overflow: ellipsis; white-space: nowrap; }
.mini-brief > i { color: var(--lime); font-family: var(--font-mono); font-size: 0.52rem; font-style: normal; letter-spacing: 0.08em; }

.app-side-stack { display: grid; gap: 14px; }
.coming-panel,
.steering-mini { display: flex; padding: 18px; gap: 8px; flex-direction: column; }
.coming-panel strong,
.steering-mini strong { font-size: 0.88rem; }
.coming-panel small,
.steering-mini p { margin: 0; color: var(--app-muted); font-size: 0.66rem; line-height: 1.55; }
.steering-mini button { padding: 9px; margin-top: auto; border: 1px solid #403b4d; border-radius: 6px; color: var(--lime); background: #12121c; font-size: 0.62rem; }

/* Sticky product navigation */
.product-jump {
  position: sticky;
  top: 65px;
  z-index: 20;
  border-block: 1px solid var(--line);
  background: rgba(250, 250, 252, 0.94);
  backdrop-filter: blur(16px);
}

.product-jump > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.product-jump a {
  display: flex;
  min-height: 62px;
  padding: 12px 16px;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.product-jump a:last-child { border-right: 0; }
.product-jump a:hover { color: var(--violet); background: var(--violet-soft); }
.product-jump span { color: var(--violet); font-family: var(--font-mono); font-size: 0.62rem; }

.product-section {
  padding: clamp(92px, 11vw, 150px) 0;
  scroll-margin-top: 120px;
}

.feature-grid,
.strategist-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: center;
}

.feature-grid.reverse { grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr); }

.feature-copy h2,
.feature-head h2,
.product-cta h2 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.4vw, 5.8rem);
  letter-spacing: -0.07em;
  line-height: 0.96;
}

.feature-copy > p:not(.product-eyebrow),
.feature-head > p {
  color: var(--slate);
  font-size: 1.03rem;
  line-height: 1.7;
}

.feature-checks {
  display: grid;
  padding: 0;
  margin: 30px 0 0;
  gap: 15px;
  list-style: none;
}

.feature-checks li {
  position: relative;
  padding-left: 29px;
  color: var(--slate);
  font-size: 0.93rem;
  line-height: 1.5;
}

.feature-checks li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  content: '\2713';
  font-size: 0.7rem;
  font-weight: 900;
}

/* Calendar */
.calendar-ui {
  overflow-x: auto;
  color: #fff;
  box-shadow: 18px 18px 0 var(--violet-soft), 28px 28px 0 rgba(91, 43, 255, 0.13);
}

.calendar-ui > header,
.library-ui > header {
  display: flex;
  min-width: 720px;
  min-height: 82px;
  padding: 20px 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--app-line);
}

.calendar-ui header div:first-child,
.library-ui header div:first-child { display: flex; gap: 5px; flex-direction: column; }
.calendar-ui header small,
.library-ui header small { color: var(--violet-bright); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.13em; }
.calendar-ui header strong,
.library-ui header strong { font-size: 1rem; }
.calendar-ui header div:last-child { display: flex; gap: 7px; }
.calendar-ui header button,
.calendar-ui footer button { border: 1px solid var(--app-line); border-radius: 6px; color: #fff; background: var(--app-raised); }
.calendar-ui header button { width: 32px; height: 32px; }

.calendar-legend {
  display: flex;
  min-width: 720px;
  padding: 13px 24px;
  gap: 22px;
  border-bottom: 1px solid var(--app-line);
}

.calendar-legend span { display: flex; gap: 7px; align-items: center; color: var(--app-muted); font-size: 0.65rem; }
.calendar-legend i { width: 8px; height: 8px; border-radius: 50%; }
.calendar-legend .launch { background: var(--violet-bright); }
.calendar-legend .promotion { background: var(--lime); }
.calendar-legend .seasonal { background: #ff9a73; }
.calendar-legend .delivery { background: #65c8ff; }

.calendar-grid {
  display: grid;
  min-width: 720px;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-grid > b {
  padding: 10px;
  border-right: 1px solid var(--app-line);
  border-bottom: 1px solid var(--app-line);
  color: #777487;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
}

.calendar-grid > div {
  position: relative;
  min-height: 78px;
  padding: 9px;
  border-right: 1px solid var(--app-line);
  border-bottom: 1px solid var(--app-line);
}

.calendar-grid > div:nth-child(7n) { border-right: 0; }
.calendar-grid > div > span { color: #aaa6b8; font-family: var(--font-mono); font-size: 0.62rem; }
.calendar-grid .muted-day span { color: #4a4757; }

.calendar-pill {
  position: absolute;
  right: 6px;
  bottom: 8px;
  left: 6px;
  overflow: hidden;
  padding: 6px 7px;
  border-radius: 4px;
  font-size: 0.53rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-pill { color: #cdeeff; background: rgba(101, 200, 255, 0.17); }
.launch-pill { color: #ddd0ff; background: rgba(138, 102, 255, 0.24); }
.promotion-pill { color: var(--ink); background: var(--lime); }

.calendar-ui > footer {
  display: flex;
  min-width: 720px;
  min-height: 64px;
  padding: 14px 24px;
  gap: 20px;
  align-items: center;
}

.calendar-ui footer span { color: var(--app-muted); font-size: 0.65rem; }
.calendar-ui footer span strong { color: #fff; }
.calendar-ui footer button { padding: 9px 14px; margin-left: auto; font-size: 0.65rem; }

/* Weekly batch */
.ink-section,
.steering-feature {
  color: #fff;
  background: var(--ink);
}

.feature-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: end;
  margin-bottom: 52px;
}

.ink-section .feature-head h2,
.steering-feature .feature-head h2 { color: #fff; }
.ink-section .feature-head > p,
.steering-feature .feature-head > p { color: #aaa6b8; }
.ink-section .product-eyebrow,
.steering-feature .product-eyebrow { color: var(--lime); }

.batch-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--app-line);
  border-radius: 13px;
  overflow: hidden;
  background: #11111b;
}

.batch-card {
  display: flex;
  min-height: 310px;
  padding: 30px;
  flex-direction: column;
  border-right: 1px solid var(--app-line);
}

.batch-card:last-child { border-right: 0; }
.batch-card.focus { background: linear-gradient(145deg, rgba(91, 43, 255, 0.22), transparent 70%); }
.batch-card > span { color: var(--violet-bright); font-family: var(--font-mono); font-size: 0.63rem; letter-spacing: 0.12em; }
.batch-card h3 { margin: 32px 0 16px; font-size: clamp(1.45rem, 2.3vw, 2.25rem); letter-spacing: -0.045em; line-height: 1.08; }
.batch-card p { color: #aaa6b8; font-size: 0.84rem; line-height: 1.6; }
.batch-card > div { display: flex; margin-top: auto; gap: 7px; flex-wrap: wrap; }
.batch-card i { padding: 6px 8px; border: 1px solid #373444; border-radius: 999px; color: #c8c4d2; font-family: var(--font-mono); font-size: 0.52rem; font-style: normal; letter-spacing: 0.07em; }

/* Library */
.library-feature { background: var(--violet-soft); }
.library-ui { overflow: hidden; color: #fff; box-shadow: 18px 18px 0 var(--violet), 28px 28px 0 rgba(10, 10, 18, 0.12); }
.library-ui > header { min-width: 0; }
.library-ui header label { display: flex; min-width: 230px; padding: 10px 12px; gap: 8px; border: 1px solid var(--app-line); border-radius: 7px; color: #777487; background: var(--app-surface); font-size: 0.66rem; }
.library-filter-row { display: flex; padding: 15px 20px; gap: 8px; align-items: center; border-bottom: 1px solid var(--app-line); }
.library-filter-row b { margin-right: 5px; color: #777487; font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.1em; }
.library-filter-row button { padding: 7px 10px; border: 1px solid #34313f; border-radius: 999px; color: #a9a5b5; background: transparent; font-size: 0.58rem; }
.library-filter-row button.active { border-color: rgba(138, 102, 255, 0.58); color: #fff; background: rgba(91, 43, 255, 0.2); }
.library-list article { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--app-line); }
.library-list article:last-child { border-bottom: 0; }
.library-list article > span { color: var(--violet-bright); font-family: var(--font-mono); font-size: 0.65rem; }
.library-list article div { display: flex; min-width: 0; gap: 3px; flex-direction: column; }
.library-list article strong { font-size: 0.82rem; }
.library-list article small { color: var(--app-muted); font-size: 0.64rem; }
.library-list article i { color: var(--lime); font-family: var(--font-mono); font-size: 0.56rem; font-style: normal; }

/* Full brief */
.brief-feature { background: #fff; }
.feature-head.light .product-eyebrow { color: var(--violet); }
.feature-head.light h2 { color: var(--ink); }
.feature-head.light > p { color: var(--slate); }
.brief-ui { overflow: hidden; color: #fff; box-shadow: 18px 18px 0 var(--violet-soft), 28px 28px 0 rgba(91, 43, 255, 0.13); }
.brief-ui > header { display: flex; padding: 25px 28px; gap: 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--app-line); }
.brief-ui > header div { display: flex; gap: 6px; flex-direction: column; }
.brief-ui small { color: var(--violet-bright); font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; }
.brief-ui > header h3 { margin: 0; font-size: 1.3rem; letter-spacing: -0.025em; }
.brief-ui > header > span { padding: 7px 10px; border: 1px solid rgba(200, 255, 61, 0.4); border-radius: 999px; color: var(--lime); font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.08em; }
.brief-ui-meta { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--app-line); }
.brief-ui-meta div { display: flex; padding: 18px 22px; gap: 5px; flex-direction: column; border-right: 1px solid var(--app-line); }
.brief-ui-meta div:last-child { border-right: 0; }
.brief-ui-meta strong { font-size: 0.78rem; }
.brief-ui-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr); }
.brief-main-column { padding: 32px; }
.brief-main-column section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--app-line); }
.brief-main-column section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.brief-main-column h4 { margin: 12px 0 10px; font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1.25; }
.brief-main-column p,
.brief-copy-column dd,
.brief-test p { margin: 0; color: #b5b1c0; font-size: 0.8rem; line-height: 1.65; }
.script-section { padding: 23px !important; border: 1px solid rgba(138, 102, 255, 0.45) !important; border-radius: 9px; background: rgba(91, 43, 255, 0.13); }
.brief-copy-column { padding: 32px; border-left: 1px solid var(--app-line); background: #0e0e17; }
.brief-copy-column dl { margin: 18px 0 30px; }
.brief-copy-column dl div { padding: 14px 0; border-bottom: 1px solid var(--app-line); }
.brief-copy-column dt { margin-bottom: 5px; color: #fff; font-size: 0.7rem; font-weight: 750; }
.brief-copy-column dd { margin: 0; }
.brief-test { padding: 18px; border: 1px solid #383442; border-radius: 8px; background: var(--app-raised); }
.brief-test p { margin-top: 9px; }
.brief-ui > footer { display: flex; padding: 18px 28px; align-items: center; justify-content: space-between; border-top: 1px solid var(--app-line); color: var(--app-muted); font-size: 0.67rem; }
.brief-ui > footer button { padding: 10px 13px; border: 1px solid #3b3745; border-radius: 6px; color: #fff; background: var(--app-raised); font-size: 0.65rem; }

/* Steering and learning */
.steering-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.steering-card,
.learning-card { padding: 28px; border: 1px solid var(--app-line); border-radius: 12px; background: var(--app-surface); }
.steering-card header { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; }
.steering-card header div,
.learning-card header { display: flex; gap: 6px; flex-direction: column; }
.steering-card small,
.learning-card small { color: var(--violet-bright); font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; }
.steering-card h3,
.learning-card h3 { margin: 0; font-size: 1.3rem; }
.steering-card header > span { padding: 6px 9px; border: 1px solid #454151; border-radius: 999px; color: #aaa6b7; font-family: var(--font-mono); font-size: 0.54rem; }
.steering-card > p { margin: 25px 0 10px; color: var(--app-muted); font-size: 0.72rem; }
.steering-card textarea { width: 100%; min-height: 132px; resize: none; padding: 16px; border: 1px solid #3b3747; border-radius: 8px; color: #e9e6ee; background: #0c0c14; font-size: 0.78rem; line-height: 1.6; }
.steering-card footer { display: flex; margin-top: 12px; align-items: center; justify-content: space-between; }
.steering-card footer small { color: #777487; }
.steering-card footer button { padding: 9px 16px; border: 0; border-radius: 6px; color: var(--ink); background: var(--lime); font-size: 0.7rem; font-weight: 750; }
.learning-card ul { padding: 0; margin: 24px 0 0; list-style: none; }
.learning-card li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--app-line); }
.learning-card li > i { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.1); }
.learning-card li div { display: flex; gap: 3px; flex-direction: column; }
.learning-card li strong { font-size: 0.78rem; }
.learning-card li span { color: var(--app-muted); font-size: 0.69rem; line-height: 1.5; }

/* Multiple brand use */
.strategist-feature { background: var(--violet-soft); }
.strategist-grid { grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr); }
.strategist-feature .feature-checks { margin-bottom: 34px; }
.workspace-ui { overflow: hidden; color: #fff; box-shadow: 18px 18px 0 var(--violet), 28px 28px 0 rgba(10, 10, 18, 0.12); }
.workspace-ui > header { display: flex; padding: 22px 24px; gap: 14px; align-items: center; border-bottom: 1px solid var(--app-line); }
.workspace-ui > header div { display: flex; gap: 4px; flex-direction: column; }
.workspace-ui small { color: var(--violet-bright); font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; }
.workspace-ui > header strong { font-size: 0.88rem; }
.workspace-list { padding: 12px; }
.workspace-list article { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; padding: 14px; gap: 13px; align-items: center; border: 1px solid transparent; border-radius: 8px; }
.workspace-list article.active { border-color: rgba(138, 102, 255, 0.45); background: rgba(91, 43, 255, 0.14); }
.workspace-list article > b { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 7px; color: var(--violet-bright); background: var(--app-raised); font-size: 0.72rem; }
.workspace-list article div { display: flex; min-width: 0; gap: 3px; flex-direction: column; }
.workspace-list article strong { font-size: 0.78rem; }
.workspace-list article span { color: var(--app-muted); font-size: 0.65rem; }
.workspace-list article > i { color: var(--lime); font-family: var(--font-mono); font-size: 0.55rem; font-style: normal; }
.workspace-ui > footer { display: flex; padding: 20px 24px; gap: 22px; align-items: center; justify-content: space-between; border-top: 1px solid var(--app-line); background: var(--app-surface); }
.workspace-ui footer div { display: flex; gap: 4px; flex-direction: column; }
.workspace-ui footer strong { font-size: 0.8rem; }
.workspace-ui footer > span { max-width: 230px; color: var(--app-muted); font-size: 0.65rem; line-height: 1.5; text-align: right; }

.product-cta {
  padding: clamp(90px, 12vw, 160px) 0;
  color: #fff;
  text-align: center;
  background: var(--violet);
}

.product-cta .product-eyebrow { color: var(--lime); }
.product-cta h2 { max-width: 920px; margin-inline: auto; }
.product-cta > div > p:not(.product-eyebrow) { max-width: 690px; margin: 0 auto 30px; color: #ddd4ff; font-size: 1.05rem; line-height: 1.65; }
.product-cta > div > div { display: flex; gap: 24px; align-items: center; justify-content: center; }
.product-cta > div > div > a:last-child { color: #fff; font-size: 0.9rem; font-weight: 700; text-underline-offset: 5px; }

.product-page .footer-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1120px) {
  .product-hero-grid { grid-template-columns: 1fr; }
  .product-hero-copy { max-width: 820px; }
  .app-window-hero { max-width: 900px; }
  .feature-grid,
  .feature-grid.reverse,
  .strategist-grid { grid-template-columns: 1fr; }
  .feature-copy { max-width: 720px; }
  .feature-grid.reverse .feature-copy { grid-row: 1; }
}

@media (max-width: 820px) {
  .product-jump > div { overflow-x: auto; grid-template-columns: repeat(5, minmax(148px, 1fr)); }
  .feature-head { grid-template-columns: 1fr; gap: 12px; }
  .batch-board { grid-template-columns: 1fr; }
  .batch-card { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--app-line); }
  .batch-card:last-child { border-bottom: 0; }
  .brief-ui-meta { grid-template-columns: 1fr 1fr; }
  .brief-ui-meta div:nth-child(2) { border-right: 0; }
  .brief-ui-meta div:nth-child(-n+2) { border-bottom: 1px solid var(--app-line); }
  .brief-ui-body { grid-template-columns: 1fr; }
  .brief-copy-column { border-top: 1px solid var(--app-line); border-left: 0; }
  .steering-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .product-container { width: min(var(--product-max), calc(100% - 30px)); }
  .product-hero { padding: 114px 0 64px; }
  .product-hero-copy h1 { font-size: clamp(3.15rem, 14vw, 5rem); }
  .product-hero-copy > p:not(.product-eyebrow) { font-size: 1rem; }
  .product-hero-actions { align-items: stretch; flex-direction: column; }
  .product-text-link { text-align: center; }
  .app-window { grid-template-columns: 46px minmax(0, 1fr); min-height: auto; box-shadow: 8px 8px 0 var(--violet), 15px 15px 0 rgba(200, 255, 61, 0.88); }
  .app-sidebar { padding: 12px 6px; gap: 13px; }
  .app-logo,
  .app-nav-icon { width: 30px; height: 30px; }
  .app-topbar { min-height: 52px; padding: 0 14px; }
  .app-page-heading { padding: 22px 15px 18px; align-items: flex-start; flex-direction: column; }
  .app-page-heading h2 { font-size: 2rem; }
  .app-delivery { text-align: left; }
  .app-week-grid { grid-template-columns: 1fr; padding: 0 14px 16px; }
  .app-side-stack { grid-template-columns: 1fr 1fr; }
  .steering-mini { display: none; }
  .coming-panel { min-height: 105px; }
  .product-jump { top: 64px; }
  .product-section { padding: 82px 0; }
  .feature-copy h2,
  .feature-head h2,
  .product-cta h2 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .calendar-ui,
  .library-ui,
  .brief-ui,
  .workspace-ui { box-shadow: 8px 8px 0 var(--violet), 15px 15px 0 rgba(10, 10, 18, 0.1); }
  .library-ui > header { align-items: flex-start; flex-direction: column; }
  .library-ui header label { width: 100%; min-width: 0; }
  .library-filter-row { overflow-x: auto; }
  .library-filter-row > * { flex: 0 0 auto; }
  .library-list article { grid-template-columns: 65px minmax(0, 1fr); padding: 16px; }
  .library-list article > i { grid-column: 2; }
  .brief-ui > header { align-items: flex-start; flex-direction: column; }
  .brief-main-column,
  .brief-copy-column { padding: 22px; }
  .brief-ui > footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .workspace-ui > footer { align-items: flex-start; flex-direction: column; }
  .workspace-ui footer > span { max-width: none; text-align: left; }
  .product-cta > div > div { align-items: stretch; flex-direction: column; }
  .product-page .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .product-hero-copy h1 { font-size: 3.25rem; }
  .product-jump a { min-height: 54px; }
  .mini-brief { grid-template-columns: 22px minmax(0, 1fr); }
  .mini-brief > i { grid-column: 2; }
  .app-side-stack { grid-template-columns: 1fr; }
  .calendar-ui > header,
  .calendar-legend,
  .calendar-grid,
  .calendar-ui > footer { min-width: 650px; }
  .brief-ui-meta { grid-template-columns: 1fr; }
  .brief-ui-meta div,
  .brief-ui-meta div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--app-line); }
  .brief-ui-meta div:last-child { border-bottom: 0; }
  .workspace-list article { grid-template-columns: 42px minmax(0, 1fr); }
  .workspace-list article > i { grid-column: 2; }
  .product-page .footer-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .product-page * { scroll-behavior: auto; }
}
