:root {
  color-scheme: light;
  --ink: #12110f;
  --muted: #69645c;
  --paper: #f6efe2;
  --paper-strong: #fffaf0;
  --line: rgba(18, 17, 15, 0.13);
  --green: #315b48;
  --blue: #234e70;
  --red: #a94438;
  --gold: #c78328;
  --white: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 239, 226, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.header-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.header-cta,
.secondary-action {
  border: 1px solid var(--line);
  padding: 0.7rem 1rem;
  background: rgba(255, 250, 240, 0.72);
}

.primary-action {
  padding: 0.8rem 1.15rem;
  background: var(--ink);
  color: var(--paper-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(38rem, 1.14fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(2.2rem, 5vw, 5.5rem) clamp(1rem, 4vw, 3rem) 2rem;
}

.hero-copy {
  max-width: 45rem;
}

.hero-logo {
  width: min(22rem, 78vw);
  height: auto;
  margin-bottom: 1.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(3.3rem, 7vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  line-height: 1.15;
}

.hero-text,
.problem-band p,
.section-heading p,
.collab-copy > p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.format-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.format-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  padding: 0.5rem 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.hero-visual {
  min-width: 0;
}

.crate-window,
.drop-zone-visual {
  border: 2px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--paper-strong);
  box-shadow: 18px 18px 0 rgba(18, 17, 15, 0.12);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 2px solid var(--ink);
  padding: 0.85rem 1rem;
}

.window-top span {
  width: 0.75rem;
  height: 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
}

.window-top span:nth-child(2) {
  background: var(--gold);
}

.window-top span:nth-child(3) {
  background: var(--green);
}

.window-top strong {
  margin-left: 0.6rem;
  font-size: 0.9rem;
}

.crate-layout {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr) 12rem;
  min-height: 34rem;
}

.agenda-rail,
.notes-rail {
  padding: 1rem;
  background: #efe4cf;
}

.agenda-rail {
  border-right: 2px solid var(--ink);
}

.notes-rail {
  border-left: 2px solid var(--ink);
}

.agenda-rail p,
.notes-rail p,
.lane p {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agenda-rail button {
  width: 100%;
  margin-bottom: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0.65rem;
  background: var(--paper-strong);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.agenda-rail button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-strong);
}

.document-stage {
  min-width: 0;
  padding: 1rem;
  background:
    linear-gradient(rgba(18, 17, 15, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 17, 15, 0.05) 1px, transparent 1px),
    #fff9ec;
  background-size: 1.2rem 1.2rem;
}

.resource-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: var(--white);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.tab.active {
  border-color: var(--ink);
  color: var(--ink);
}

.preview-card {
  min-height: 26rem;
  border: 2px solid var(--ink);
  border-radius: 0.65rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.preview-card[data-kind="pdf"] {
  background: #fff3ef;
}

.preview-card[data-kind="slides"] {
  background: #eef5f1;
}

.preview-card[data-kind="table"] {
  background: #eef4fb;
}

.preview-card[data-kind="notes"] {
  background: #fff7df;
}

.preview-kicker {
  margin-bottom: 0.8rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-card h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.preview-card p {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 2rem;
}

.mini-grid span,
.note-card,
.private-note,
.notion-pill {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper-strong);
  padding: 0.75rem;
  font-weight: 800;
}

.note-card {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.note-card strong,
.note-card span {
  display: block;
}

.note-card span {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.45;
}

.problem-band,
.formats-section,
.feature-section,
.split-section,
.export-section,
.deploy-section {
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.problem-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  border-block: 2px solid var(--ink);
  background: var(--green);
  color: var(--paper-strong);
}

.problem-band .eyebrow,
.problem-band p {
  color: rgba(255, 250, 240, 0.78);
}

.section-heading {
  max-width: 57rem;
  margin-bottom: 2rem;
}

.formats-section {
  background: var(--paper);
}

.format-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.format-card {
  min-height: 18rem;
  border: 2px solid var(--ink);
  border-radius: 0.65rem;
  padding: 1rem;
  background: var(--paper-strong);
  box-shadow: 8px 8px 0 rgba(18, 17, 15, 0.09);
}

.format-card span {
  display: inline-flex;
  margin-bottom: 3.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-strong);
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 950;
}

.format-card p {
  color: var(--muted);
  line-height: 1.55;
}

.pdf-card {
  background: #fff0eb;
}

.html-card {
  background: #eef4fb;
  transform: translateY(1.2rem);
}

.ppt-card {
  background: #fff4dc;
}

.canva-card {
  background: #edf5ef;
  transform: translateY(1.2rem);
}

.csv-card {
  background: #edf2f8;
}

.note-card-format {
  background: #fbefe5;
  transform: translateY(1.2rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid article,
.export-card {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 1.2rem;
  background: var(--paper-strong);
}

.feature-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  margin-bottom: 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
}

.feature-grid p,
.export-card p {
  color: var(--muted);
  line-height: 1.6;
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background: #efe4cf;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.1rem;
  content: "✓";
  color: var(--green);
  font-weight: 950;
}

.drop-zone-visual {
  overflow: hidden;
}

.drop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding: 1rem;
}

.drop-header span {
  color: var(--muted);
  font-weight: 800;
}

.drop-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 24rem;
}

.lane {
  padding: 1rem;
}

.lane + .lane {
  border-left: 2px solid var(--ink);
}

.floating-file {
  margin-bottom: 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 0.5rem;
  padding: 1.1rem 0.85rem;
  background: var(--white);
  font-weight: 950;
  box-shadow: 7px 7px 0 rgba(18, 17, 15, 0.1);
}

.floating-file.pdf {
  color: var(--red);
}

.floating-file.ppt {
  color: var(--gold);
  transform: translateX(1rem) rotate(2deg);
}

.floating-file.html {
  color: var(--blue);
  transform: translateX(0.4rem) rotate(-2deg);
}

.lane ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-weight: 800;
  line-height: 2.1;
}

.private-note {
  color: var(--muted);
  line-height: 1.45;
}

.notion-pill {
  display: inline-flex;
  margin-top: 0.9rem;
  background: var(--ink);
  color: var(--paper-strong);
}

.export-section {
  background: var(--blue);
  color: var(--paper-strong);
}

.export-section .eyebrow,
.export-section .section-heading p {
  color: rgba(255, 250, 240, 0.78);
}

.export-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.export-card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 250, 240, 0.09);
}

.export-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--blue);
  padding: 0.4rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 950;
}

.export-card strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.export-card p {
  color: rgba(255, 250, 240, 0.78);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--paper-strong);
}

.deploy-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  border-top: 2px solid var(--ink);
  background: var(--paper-strong);
}

.deploy-section p:last-child {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.28rem);
  line-height: 1.7;
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: rgba(255, 250, 240, 0.62);
}

.site-footer a {
  color: rgba(255, 250, 240, 0.78);
  font-weight: 800;
}

.tally-side-tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 20;
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-right: 0;
  border-radius: 0.55rem 0 0 0.55rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.85rem 0.75rem;
  box-shadow: -8px 8px 0 rgba(18, 17, 15, 0.13);
  cursor: pointer;
  transform: translateY(-50%);
}

.tally-side-tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tally-side-tab:hover {
  background: var(--paper-strong);
}

@media (max-width: 1080px) {
  .hero,
  .problem-band,
  .split-section,
  .deploy-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .feature-grid,
  .export-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .nav,
  .header-cta {
    display: none;
  }

  h1 {
    font-size: 3.35rem;
  }

  .crate-layout,
  .drop-lanes,
  .format-board,
  .feature-grid,
  .export-row {
    grid-template-columns: 1fr;
  }

  .html-card,
  .canva-card,
  .note-card-format {
    transform: none;
  }

  .agenda-rail,
  .notes-rail,
  .lane + .lane {
    border-left: 0;
    border-right: 0;
    border-top: 2px solid var(--ink);
  }

  .agenda-rail {
    border-top: 0;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .tally-side-tab {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    border-right: 2px solid var(--ink);
    border-radius: 999px;
    padding: 0.8rem 1rem;
    transform: none;
  }

  .tally-side-tab span {
    writing-mode: horizontal-tb;
    transform: none;
  }
}
