:root {
  --canvas-white: #ffffff;
  --pitch-black: #000000;
  --deep-space: #131313;
  --smoke-gray: #e0e0e0;
  --accent: #ffec25;
  --page-pad: clamp(20px, 2.1vw, 30px);
  --serif: "Stardom", "Times New Roman", Georgia, serif;
  --sans: Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas-white);
  color: var(--pitch-black);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.2;
}

body.dialog-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  padding: 30px var(--page-pad);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.brand,
.footer-brand,
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.brand {
  justify-self: start;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 27px;
  justify-self: center;
}

.site-header .pill-button {
  justify-self: end;
}

.pill-button {
  align-items: center;
  background: var(--smoke-gray);
  border: 1px solid var(--pitch-black);
  border-radius: 50px;
  color: var(--pitch-black);
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  min-width: 142px;
  padding: 0 20px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.pill-button:hover,
.pill-button:focus-visible {
  background: var(--pitch-black);
  color: var(--canvas-white);
  transform: translateY(-1px);
}

.hero {
  min-height: 900px;
  overflow: hidden;
  position: relative;
}

.hero-backdrop {
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url("https://static.scribble.design/workspaces/5aa50754-2f02-4599-9470-cbaca2c63db7/711208ed-cc0f-4002-9168-faef326fc3bd/0be27cab-b3b7-46a7-bdd2-939eaa050c40/_generated/ai-images/design_b1265ac0b5e09127.png")
      center / cover;
  inset: 0;
  position: absolute;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 900px;
  padding: 120px var(--page-pad) 30px;
  position: relative;
}

.hero h1 {
  font-size: clamp(88px, 14.6vw, 210px);
  letter-spacing: 0;
}

.hero-bottom {
  align-items: end;
  display: grid;
  gap: clamp(40px, 8vw, 178px);
  grid-template-columns: minmax(0, 812px) minmax(280px, 392px);
}

.hero-line {
  font-size: clamp(30px, 3.3vw, 40px);
  line-height: 1;
  margin: 0;
  max-width: 812px;
}

.hero-copy p,
.workspace-copy p,
.feature-caption p,
.benefits p,
.demo-copy p,
.site-footer a,
.demo-dialog p {
  margin: 0;
}

.hero-copy {
  align-items: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.command {
  display: grid;
  gap: clamp(48px, 4.7vw, 68px);
  grid-template-columns: minmax(280px, 542px) 1fr;
  padding: 180px var(--page-pad) 0;
}

.command h2,
.workspace-copy h2,
.benefits h2,
.feature-caption h2 {
  font-size: 42px;
}

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

.workflow-grid article,
.workspace-copy,
.feature-caption,
.benefits {
  border-top: 1px solid var(--pitch-black);
}

.workflow-grid article {
  min-height: 161px;
  padding-top: 21px;
}

.workflow-grid h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.workflow-grid p {
  margin: 0;
  max-width: 246px;
}

.workspace-section {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 870px) minmax(320px, 480px);
  padding: 180px var(--page-pad) 0;
}

.workspace-shell {
  background: var(--deep-space);
  color: var(--canvas-white);
  min-height: 680px;
  padding: 30px;
}

.workspace-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 58px;
}

.workspace-top h2,
.workspace-top span,
.notes-panel h3 {
  font-size: 20px;
}

.workspace-top span {
  border: 1px solid var(--canvas-white);
  border-radius: 50px;
  padding: 6px 20px;
}

.workspace-board {
  display: grid;
  gap: 20px;
  grid-template-columns: 200px minmax(260px, 340px) 230px;
  min-height: 526px;
}

.brief-panel,
.draft-panel,
.notes-panel {
  background: var(--canvas-white);
  color: var(--pitch-black);
  padding: 20px;
}

.brief-panel {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.brief-panel span,
.draft-lines span {
  display: block;
  height: 10px;
}

.brief-panel span:first-child {
  background: var(--pitch-black);
  height: 14px;
  width: 120px;
}

.brief-panel span:nth-child(2) {
  background: var(--smoke-gray);
  width: 150px;
}

.brief-panel span:nth-child(3) {
  background: var(--smoke-gray);
  width: 130px;
}

.brief-panel span:nth-child(4) {
  background: var(--smoke-gray);
  width: 160px;
}

.brief-panel span:nth-child(5) {
  background: var(--pitch-black);
  margin-top: 26px;
  width: 110px;
}

.brief-panel span:nth-child(6) {
  background: var(--smoke-gray);
  width: 145px;
}

.brief-panel span:nth-child(7) {
  background: var(--smoke-gray);
  width: 125px;
}

.draft-panel h3 {
  font-size: clamp(34px, 3vw, 42px);
  margin-bottom: 20px;
}

.draft-lines {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 10px 30px;
}

.draft-lines span {
  background: var(--pitch-black);
  height: 14px;
}

.draft-lines span:nth-child(1) {
  width: 92%;
}

.draft-lines span:nth-child(2) {
  width: 86%;
}

.draft-lines span:nth-child(3) {
  width: 95%;
}

.draft-lines span:nth-child(4) {
  width: 78%;
}

.draft-lines span:nth-child(5),
.draft-lines span:nth-child(6) {
  background: var(--smoke-gray);
}

.approved-card,
.notes-panel button {
  background: var(--canvas-white);
  border: 1px solid var(--pitch-black);
  color: var(--pitch-black);
  cursor: pointer;
  display: block;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
  width: 100%;
}

.approved-card {
  min-height: 122px;
  padding: 20px;
}

.approved-card.active,
.notes-panel button.active,
.approved-card:hover,
.notes-panel button:hover {
  background: var(--accent);
}

.draft-lines.short {
  margin-top: 20px;
}

.notes-panel {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.notes-panel button {
  min-height: 56px;
  padding: 10px 15px;
}

.notes-panel button:first-of-type {
  min-height: 80px;
}

.workspace-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 680px;
  padding-top: 21px;
}

.workspace-copy p {
  font-size: clamp(30px, 3.1vw, 40px);
  line-height: 1;
}

.feature-stack {
  display: grid;
  gap: 15px 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 180px var(--page-pad) 0;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card.offset {
  padding-top: 100px;
}

.feature-card img {
  aspect-ratio: 675 / 506;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.feature-caption {
  display: grid;
  gap: 18px;
  grid-template-columns: 162px 1fr;
  min-height: 69px;
  padding-top: 20px;
}

.feature-caption h2 {
  font-size: 20px;
}

.benefits {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 180px var(--page-pad) 0;
  padding-top: 21px;
}

.benefits article {
  min-width: 0;
}

.benefits h2 {
  margin-bottom: 20px;
}

.demo-band {
  background: var(--deep-space);
  color: var(--canvas-white);
  margin: 180px var(--page-pad) 0;
  min-height: 510px;
  padding: 60px 30px;
}

.demo-band > div {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 836px) minmax(300px, 422px);
  min-height: 390px;
}

.demo-band h2 {
  font-size: clamp(64px, 9.7vw, 140px);
  letter-spacing: 0;
}

.demo-copy {
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pill-button.light {
  border-color: var(--canvas-white);
  width: max-content;
}

.site-footer {
  border-top: 1px solid var(--pitch-black);
  display: grid;
  gap: 28px;
  grid-template-columns: 2.6fr repeat(3, minmax(150px, 1fr));
  margin: 180px var(--page-pad) 30px;
  padding-top: 20px;
}

.footer-brand {
  font-size: 42px;
}

.site-footer div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.demo-dialog {
  border: 1px solid var(--pitch-black);
  max-width: 520px;
  padding: 0;
  width: calc(100% - 40px);
}

.demo-dialog::backdrop {
  background: rgba(19, 19, 19, 0.55);
}

.demo-dialog form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
}

.demo-dialog h2 {
  font-size: 42px;
}

.demo-dialog label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-dialog input,
.demo-dialog select {
  border: 1px solid var(--pitch-black);
  border-radius: 0;
  height: 44px;
  padding: 8px 10px;
}

.dialog-close {
  align-self: flex-end;
  background: var(--canvas-white);
  border: 1px solid var(--pitch-black);
  border-radius: 50%;
  cursor: pointer;
  height: 36px;
  line-height: 1;
  width: 36px;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-bottom,
  .command,
  .workspace-section,
  .demo-band > div {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-copy {
    min-height: 360px;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 18px;
  }

  .site-header {
    padding-top: 20px;
  }

  .site-header .pill-button {
    min-width: 0;
  }

  .hero,
  .hero-content {
    min-height: 780px;
  }

  .command,
  .workspace-section,
  .feature-stack {
    padding-top: 120px;
  }

  .workflow-grid,
  .feature-stack,
  .benefits,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .workspace-shell {
    min-height: 0;
    padding: 20px;
  }

  .workspace-board {
    grid-template-columns: 1fr;
  }

  .brief-panel {
    display: none;
  }

  .feature-card.offset {
    padding-top: 50px;
  }

  .feature-caption {
    grid-template-columns: 1fr;
  }

  .benefits,
  .demo-band,
  .site-footer {
    margin-top: 120px;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 1fr;
    position: absolute;
  }

  .site-header .pill-button {
    justify-self: start;
  }

  .hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 150px;
  }

  .hero-copy {
    max-width: 360px;
  }

  .workflow-grid,
  .benefits {
    grid-template-columns: 1fr;
  }

  .demo-band {
    margin-left: 0;
    margin-right: 0;
  }
}
