:root {
  --bg: #0a0a0a;
  --panel: #121212;
  --panel-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f3f3;
  --muted: #b0b0b0;
  --accent: #10b981;
  --danger: #f0b4b4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --shell: min(1200px, calc(100vw - 40px));
}

body[data-theme="light"] {
  --bg: #f3efe8;
  --panel: #fcfaf6;
  --panel-soft: rgba(0, 0, 0, 0.03);
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --text: #131313;
  --muted: #595959;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img,
video {
  display: block;
  width: 100%;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.top-accent {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.6), rgba(14, 165, 233, 0.6), transparent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner,
.brand-lockup,
.site-nav,
.hero-actions,
.board-actions,
.footer-inner,
.signal-row,
.header-actions,
.modal-header,
.modal-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-inner {
  min-height: 72px;
  justify-content: space-between;
}

.brand-lockup {
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--panel-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-mark-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark.secondary {
  width: 34px;
  height: 34px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy,
.hero-panel-copy,
.pillar-card,
.ready-card,
.quick-entry,
.footer-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy {
  gap: 2px;
}

.brand-copy strong,
.footer-copy strong {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.96rem;
}

.brand-copy span,
.site-nav a,
.header-button,
.footer-link,
.hero-copy p,
.hero-panel-copy p,
.section-heading p,
.pillar-card p,
.ready-card p,
.footer-copy p,
.signal-chip,
.quick-entry label span,
.wide-field span,
.board-table th {
  color: var(--muted);
}

.brand-copy span {
  font-size: 0.83rem;
}

.site-nav a,
.header-button,
.footer-link {
  font-size: 0.9rem;
}

.site-nav a:hover {
  color: #ffffff;
}

body[data-theme="light"] .site-nav a:hover,
body[data-theme="light"] .brand-copy strong,
body[data-theme="light"] .footer-copy strong,
body[data-theme="light"] .hero-copy h1,
body[data-theme="light"] .hero-panel-copy h2,
body[data-theme="light"] .section-heading h2,
body[data-theme="light"] .pillar-card h3,
body[data-theme="light"] .ready-card h3 {
  color: #111111;
}

.header-button,
.footer-link,
.primary-link,
.secondary-link,
.board-actions button,
.row-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.82rem 1rem;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.header-button,
.footer-link,
.secondary-link,
.board-actions button,
.row-delete {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #f2f2f2;
}

.primary-link {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #0a0a0a;
  font-weight: 500;
}

.header-button:hover,
.footer-link:hover,
.secondary-link:hover,
.board-actions button:hover,
.primary-link:hover,
.row-delete:hover {
  transform: translateY(-1px);
}

.site-main {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: 0 auto auto;
  width: 100%;
  height: 720px;
  background: radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.13), rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
}

.main-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 88px 0 96px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.pillar-card,
.ready-card,
.quick-entry,
.board-shell {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 30px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge,
.panel-tag,
.section-label,
.pill-label,
.ready-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border-radius: 999px;
  padding: 0.48rem 0.82rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-badge {
  border: 1px solid rgba(16, 185, 129, 0.22);
  background: rgba(16, 185, 129, 0.08);
  color: #50ddb0;
}

.hero-copy h1,
.hero-panel-copy h2,
.section-heading h2 {
  margin: 0;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(3.4rem, 8vw, 5.8rem);
  line-height: 1;
  max-width: 11ch;
}

.hero-copy p {
  margin: 18px 0 0;
  max-width: 56ch;
  line-height: 1.72;
}

.hero-actions {
  margin-top: 28px;
  flex-wrap: wrap;
}

.signal-row {
  margin-top: 30px;
  flex-wrap: wrap;
}

.signal-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  font-size: 0.84rem;
}

.hero-panel {
  border-radius: 30px;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.hero-panel-copy {
  gap: 12px;
}

.panel-tag {
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: rgba(14, 165, 233, 0.08);
  color: #88d8ff;
}

.hero-panel-copy h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.hero-panel-copy p {
  margin: 0;
  line-height: 1.7;
}

.hero-stage {
  min-height: 460px;
  border-radius: 22px;
  overflow: hidden;
  background: #070707;
}

.hero-stage img,
.hero-stage video,
.ready-thumb img,
.ready-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-label {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #d2d2d2;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.08;
  max-width: 18ch;
}

.section-heading p {
  margin: 0;
  max-width: 42ch;
  line-height: 1.7;
}

.pillar-grid,
.ready-grid {
  display: grid;
  gap: 16px;
}

.pillar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-card {
  border-radius: 22px;
  padding: 22px;
  gap: 12px;
}

.pill-label,
.ready-tag {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #d0d0d0;
}

.pillar-card h3,
.ready-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.14rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.ready-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ready-card {
  border-radius: 22px;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.ready-thumb {
  overflow: hidden;
  border-radius: 18px;
  background: #050505;
  aspect-ratio: 9 / 16;
}

.ready-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ready-card p {
  margin: 0;
  line-height: 1.68;
}

.board-heading {
  align-items: center;
}

.board-actions {
  flex-wrap: wrap;
}

.board-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.board-stat {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 18px 20px;
}

.board-stat span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.board-stat strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.board-stat p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.quick-entry {
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.quick-entry.is-collapsed {
  gap: 0;
}

.quick-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quick-entry-header strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.quick-entry-header p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 64ch;
}

.quick-entry-fields {
  display: grid;
  gap: 18px;
}

.quick-entry-footer {
  display: flex;
  justify-content: flex-end;
}

.quick-entry-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.82rem 1rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.quick-entry-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.quick-entry-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.quick-entry-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
}

.quick-entry label,
.wide-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-entry label span,
.wide-field span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-entry input,
.quick-entry textarea,
.quick-entry select,
.board-table input,
.board-table textarea,
.board-table select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 14px;
  padding: 0.84rem 0.92rem;
  outline: none;
}

.quick-entry input::placeholder,
.quick-entry textarea::placeholder,
.board-table input::placeholder,
.board-table textarea::placeholder {
  color: #818181;
}

.quick-entry input:focus,
.quick-entry textarea:focus,
.quick-entry select:focus,
.board-table input:focus,
.board-table textarea:focus,
.board-table select:focus {
  border-color: rgba(16, 185, 129, 0.36);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

.board-shell {
  border-radius: 22px;
  padding: 14px;
  overflow: hidden;
}

.board-table-wrap {
  max-height: 980px;
  overflow: auto;
  padding-right: 4px;
}

.board-table {
  width: max(100%, 1120px);
  min-width: 1120px;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.board-table th {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 0 14px 12px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  text-align: left;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.board-table td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.board-row td:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.board-row td:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.board-row:hover td {
  background: rgba(255, 255, 255, 0.038);
}

.board-row.is-editing td {
  background: rgba(16, 185, 129, 0.045);
  border-top-color: rgba(16, 185, 129, 0.18);
  border-bottom-color: rgba(16, 185, 129, 0.18);
}

.board-row.is-editing td:first-child {
  border-left-color: rgba(16, 185, 129, 0.18);
}

.board-row.is-editing td:last-child {
  border-right-color: rgba(16, 185, 129, 0.18);
}

.board-table td {
  color: var(--text);
}

.board-table th:nth-child(1),
.board-table td:nth-child(1) {
  width: 1%;
  min-width: 148px;
  white-space: nowrap;
}

.board-table th:nth-child(2),
.board-table td:nth-child(2) {
  min-width: 230px;
}

.board-table th:nth-child(3),
.board-table td:nth-child(3) {
  min-width: 290px;
}

.board-table th:nth-child(4),
.board-table td:nth-child(4) {
  min-width: 280px;
}

.board-table th:nth-child(5),
.board-table td:nth-child(5) {
  min-width: 250px;
}

.board-table th:nth-child(6),
.board-table td:nth-child(6) {
  width: 1%;
  min-width: 204px;
  white-space: nowrap;
}

.suggestion-cell {
  min-width: 260px;
}

.status-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border-radius: 999px;
  padding: 0.58rem 0.84rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.status-pill.tone-planning {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.18);
  color: #d9e1ea;
}

.status-pill.tone-active {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.18);
  color: #76e3bf;
}

.status-pill.tone-review {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.18);
  color: #f7c970;
}

.status-pill.tone-ready {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.18);
  color: #8dd8ff;
}

.status-pill.tone-posted {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.cell-card {
  min-height: 128px;
  max-height: 128px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  overflow: auto;
}

.cell-card.compact {
  min-height: 76px;
  max-height: 76px;
}

.cell-title {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.cell-copy {
  color: var(--muted);
  line-height: 1.7;
  white-space: normal;
}

.empty-copy {
  color: var(--muted);
  font-style: italic;
}

.editor-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.board-editor {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 14px;
  padding: 0.84rem 0.92rem;
  outline: none;
}

input.board-editor {
  min-height: 54px;
}

textarea.board-editor {
  min-height: 128px;
  max-height: 128px;
  resize: none;
}

select.board-editor {
  min-height: 54px;
}

.board-editor.compact {
  min-height: 54px;
}

.suggestion-inline {
  display: grid;
  gap: 10px;
}

.suggestion-inline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.actions-cell {
  min-width: 204px;
}

.action-cluster {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border-radius: 14px;
  min-height: 46px;
  padding: 0.82rem 1rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.action-button:hover {
  transform: translateY(-1px);
}

.action-button svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.action-button.primary {
  background: #ffffff;
  border-color: #ffffff;
  color: #0a0a0a;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.12);
}

.action-button.subtle {
  background: rgba(255, 255, 255, 0.08);
}

.action-button.danger,
.row-delete {
  color: var(--danger);
  background: rgba(165, 33, 33, 0.14);
  border-color: rgba(240, 180, 180, 0.18);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 70;
}

.modal-card {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 80;
  width: min(760px, calc(100vw - 32px));
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.modal-card.small {
  width: min(420px, calc(100vw - 32px));
}

.modal-header {
  justify-content: space-between;
  margin-bottom: 16px;
}

.modal-header strong {
  color: var(--text);
}

.modal-card textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 14px;
  padding: 0.84rem 0.92rem;
  outline: none;
}

.confirm-copy {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

body[data-theme="light"] .site-header {
  background: rgba(243, 239, 232, 0.85);
}

body[data-theme="light"] .hero-copy,
body[data-theme="light"] .hero-panel,
body[data-theme="light"] .pillar-card,
body[data-theme="light"] .ready-card,
body[data-theme="light"] .board-stat,
body[data-theme="light"] .quick-entry,
body[data-theme="light"] .board-shell,
body[data-theme="light"] .modal-card {
  background: linear-gradient(180deg, rgba(252, 250, 246, 0.98), rgba(246, 242, 235, 0.98));
}

body[data-theme="light"] .primary-link {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

body[data-theme="light"] .header-button,
body[data-theme="light"] .footer-link,
body[data-theme="light"] .secondary-link,
body[data-theme="light"] .board-actions button,
body[data-theme="light"] .quick-entry-toggle {
  background: rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.14);
  color: #111111;
}

body[data-theme="light"] .row-delete {
  background: rgba(180, 34, 34, 0.08);
  border-color: rgba(180, 34, 34, 0.16);
  color: #8d1f1f;
}

body[data-theme="light"] .quick-entry input,
body[data-theme="light"] .quick-entry textarea,
body[data-theme="light"] .quick-entry select,
body[data-theme="light"] .board-table input,
body[data-theme="light"] .board-table textarea,
body[data-theme="light"] .board-table select,
body[data-theme="light"] .board-editor,
body[data-theme="light"] .modal-card textarea {
  background: rgba(17, 17, 17, 0.03);
  border-color: rgba(17, 17, 17, 0.12);
  color: #111111;
}

body[data-theme="light"] .quick-entry input::placeholder,
body[data-theme="light"] .quick-entry textarea::placeholder,
body[data-theme="light"] .board-table input::placeholder,
body[data-theme="light"] .board-table textarea::placeholder,
body[data-theme="light"] .modal-card textarea::placeholder {
  color: #6f6f6f;
}

body[data-theme="light"] .hero-glow {
  background: radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.12), rgba(255, 255, 255, 0) 60%);
}

body[data-theme="light"] .board-table th {
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

body[data-theme="light"] .board-row td {
  background: rgba(17, 17, 17, 0.02);
  border-top-color: rgba(17, 17, 17, 0.08);
  border-bottom-color: rgba(17, 17, 17, 0.08);
}

body[data-theme="light"] .board-row td:first-child {
  border-left-color: rgba(17, 17, 17, 0.08);
}

body[data-theme="light"] .board-row td:last-child {
  border-right-color: rgba(17, 17, 17, 0.08);
}

body[data-theme="light"] .board-row:hover td {
  background: rgba(17, 17, 17, 0.035);
}

body[data-theme="light"] .board-row.is-editing td {
  background: rgba(16, 185, 129, 0.06);
  border-top-color: rgba(16, 185, 129, 0.2);
  border-bottom-color: rgba(16, 185, 129, 0.2);
}

body[data-theme="light"] .board-row.is-editing td:first-child {
  border-left-color: rgba(16, 185, 129, 0.2);
}

body[data-theme="light"] .board-row.is-editing td:last-child {
  border-right-color: rgba(16, 185, 129, 0.2);
}

body[data-theme="light"] .cell-card {
  background: rgba(17, 17, 17, 0.025);
  border-color: rgba(17, 17, 17, 0.08);
}

body[data-theme="light"] .action-button.subtle {
  background: rgba(17, 17, 17, 0.06);
  border-color: rgba(17, 17, 17, 0.12);
  color: #111111;
}

body[data-theme="light"] .action-button.primary {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

body[data-theme="light"] .status-pill.tone-planning {
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.15);
  color: #465569;
}

body[data-theme="light"] .status-pill.tone-active {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.14);
  color: #0f8b63;
}

body[data-theme="light"] .status-pill.tone-review {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.16);
  color: #9a6400;
}

body[data-theme="light"] .status-pill.tone-ready {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.16);
  color: #006d97;
}

body[data-theme="light"] .status-pill.tone-posted {
  background: rgba(17, 17, 17, 0.08);
  border-color: rgba(17, 17, 17, 0.12);
  color: #111111;
}

.footer-inner {
  min-height: 104px;
  justify-content: space-between;
}

.footer-copy p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .board-summary,
  .hero,
  .pillar-grid,
  .ready-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner,
  .hero-actions,
  .section-heading,
  .board-heading,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    display: none;
  }

  .board-summary,
  .hero,
  .pillar-grid,
  .ready-grid,
  .quick-entry-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .quick-entry,
  .board-stat {
    padding: 20px;
  }

  .hero-copy h1,
  .section-heading h2 {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .board-table {
    min-width: 980px;
  }
}
