@font-face {
  font-family: 'Workshop Notes';
  src: url('./assets/fonts/caveat.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #eeefed;
  --ink: #193450;
  --red: #c54d35;
}

body {
  background: radial-gradient(ellipse at 70% 22%, #fafaf8 0, #eff0ee 45%, #e8eae9 100%);
}

.site-shell {
  max-width: 1600px;
  padding: 0 46px;
}
.site-header {
  height: 82px;
}
.hero {
  padding-top: 30px;
}
.hero-heading > .eyebrow {
  display: none;
}
.hero h1 {
  margin-top: 0;
  font-size: clamp(34px, 3.1vw, 48px);
  letter-spacing: -1.4px;
}
.edition {
  bottom: 5px;
}
.workbench {
  margin-top: 30px;
  min-height: 510px;
  grid-template-columns: 32% 32% 36%;
}

.brief {
  min-height: 490px;
  padding: 37px 33px 30px;
  background: none;
  border: 0;
  clip-path: none;
  box-shadow: none;
  transform: rotate(-0.6deg);
  isolation: isolate;
}

.brief::before {
  inset: -13px -14px -14px -18px;
  z-index: -1;
  opacity: 0.94;
  background: url('./assets/brief-paper.webp') center / 100% 100% no-repeat;
  filter: saturate(0.55) brightness(1.035) drop-shadow(2px 9px 8px #2538461f);
}

.brief-meta {
  font-size: 10px;
  padding-left: 0;
  margin-bottom: 31px;
  color: #718093;
}
.paperclip {
  top: -5px;
  left: 29px;
  width: 13px;
  height: 48px;
  border-color: #777e7d;
  transform: rotate(-9deg);
}
.paperclip::after {
  content: '';
  position: absolute;
  inset: 3px 3px 3px 2px;
  border: 1px solid #abb1ac;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.brief blockquote {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.13;
  letter-spacing: -0.9px;
  min-height: 160px;
  padding-right: 4px;
}

.brief blockquote::before {
  left: -19px;
  color: var(--ink);
}
.brief mark {
  position: relative;
  color: inherit;
  background: transparent;
  white-space: nowrap;
}
.brief mark::after {
  content: '';
  position: absolute;
  left: -1px;
  right: -4px;
  bottom: -3px;
  height: 5px;
  border-top: 1.6px solid var(--red);
  border-radius: 45%;
  transform: rotate(-1deg);
}
.handwritten {
  font-family: 'Workshop Notes', cursive;
  font-style: normal;
  font-weight: 450;
}
.brief-note {
  font-size: 22px;
  line-height: 1.05;
  color: #3e638f;
  margin-top: 18px;
  margin-left: 10px;
  min-height: 40px;
  max-width: 245px;
  transform: rotate(-6deg);
}
.brief-note::before {
  font-family: 'Workshop Notes';
  font-size: 25px;
}
.scenario-tabs {
  margin-top: 27px;
  gap: 9px 20px;
}
.scenario-tabs button {
  font-size: 12px;
}
.brief-outcome {
  font:
    21px/1.1 'Workshop Notes',
    cursive;
  color: #3e638f;
  margin: 29px 0 0 16px;
  max-width: 240px;
  transform: rotate(-6deg);
}

.blueprint {
  min-height: 510px;
  margin-left: -16px;
  margin-right: -25px;
}
.tracing-back {
  inset: -9px -18px -16px -24px;
  transform: rotate(-1deg);
  background: url('./assets/tracing-stack.webp') center / 100% 100% no-repeat;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(3px 9px 6px #243b4c10);
  opacity: 0.57;
}
.tracing-mid,
.tracing-front {
  display: none;
}
.blueprint-label {
  top: 61px;
  left: 35px;
  font-size: 22px;
  letter-spacing: 0.1px;
  transform: rotate(-6deg);
}
.diagram-nodes {
  inset: 38% 31px auto;
  gap: 15px;
}
.node-icon {
  width: 71px;
  height: 71px;
  background: #f9fbfa9c;
  border-color: #8195ab;
  box-shadow: 2px 6px 11px #263f5612;
}
.node-icon svg {
  width: 30px;
  height: 30px;
}
.node-text {
  font-size: 12px;
  margin-top: 12px;
}
.connector-lines {
  inset: 0;
  height: 100%;
  width: 100%;
}
.wire {
  stroke-width: 1.15;
}
.return-wire {
  opacity: 0.65;
}
.diagram-detail {
  position: absolute;
  left: 24%;
  right: 16%;
  bottom: 95px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  z-index: 3;
}
.detail-node {
  padding: 10px 11px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px dashed #8b9fb277;
  background: #f3f6f53b;
  border-radius: 3px;
  color: #68819b;
  font-size: 10px;
  width: 80%;
}
.detail-node:last-child {
  margin-left: 25%;
}
.detail-node > span:first-child {
  font:
    20px 'Workshop Notes',
    cursive;
  color: #557aa3;
}
.diagram-margin {
  position: absolute;
  left: 24px;
  bottom: 43px;
  max-width: 145px;
  font-size: 21px;
  line-height: 1;
  color: #5377a0;
  transform: rotate(-9deg);
  z-index: 3;
}
.result-label {
  right: 11px;
  bottom: 48px;
  max-width: 145px;
  font-size: 21px;
  line-height: 1;
  transform: rotate(-6deg);
}

.preview-area {
  padding-left: 14px;
}
.browser-window {
  box-shadow:
    0 17px 22px #1c304625,
    0 3px 6px #18394c0a;
  border-color: #c6cdd2;
  background: linear-gradient(120deg, #fafbf9, #f2f4f3);
}
.window-bar {
  height: 36px;
}
.window-label {
  font-size: 9px;
  letter-spacing: 0.5px;
}
.window-demo {
  font-size: 9px;
}
.window-dot {
  width: 7px;
  height: 7px;
}
.website-preview {
  padding: 20px;
}
.mini-site-body h3 {
  font-size: 28px;
}
.mini-site-body p {
  font-size: 10px;
}
.mini-site-body img {
  height: 215px;
}
.mini-button {
  font-size: 10px;
}
.preview-body {
  padding: 24px;
}
.preview-body h3 {
  font-size: 28px;
}
.preview-caption {
  font-size: 10px;
  color: #738392;
}
.calendar-day {
  font-size: 10px;
}
.times > span {
  font-size: 10px;
}
.time-slot {
  font-size: 11px;
}
.booking-message {
  font-size: 11px;
}
.api-preview {
  grid-template-columns: 1fr;
  gap: 16px;
}
.api-preview .preview-body {
  padding: 21px 24px;
}
.api-preview h3 {
  font-size: 28px;
  margin-bottom: 18px;
}
.demo-form {
  gap: 12px;
}
.demo-form label {
  font-size: 11px;
}
.demo-form input,
.demo-form textarea {
  font-size: 11px;
  padding: 9px;
}
.demo-form textarea {
  min-height: 65px;
}
.demo-form .mini-button {
  padding: 11px;
}
.crm-window {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 17px;
}
.crm-window::before {
  content: '↓';
  top: -20px;
  left: 50%;
}
.crm-window h4 {
  font-size: 20px;
  margin: 0;
}
.crm-record {
  font-size: 10px;
  padding: 9px;
}
.crm-status {
  font-size: 9px;
  padding: 9px;
  margin-top: 0;
}
.crm-arrow {
  display: none;
}

.hero-controls {
  margin-top: 27px;
  grid-template-columns: 1fr auto;
  gap: 70px;
}
.progress-track button {
  background: transparent;
}
.progress-track button:not([aria-pressed='true']) {
  color: #60778b;
}
.progress-track button:not([aria-pressed='true']) i {
  background: var(--paper);
  border-color: #8c9caa;
}
.progress-track button {
  font-size: 13px;
}
.progress-group > p {
  color: #738493;
  font-size: 11px;
}
.hero-baseline {
  margin-top: 20px;
  padding-bottom: 28px;
}
.hero-baseline > p:first-child {
  font-size: 13px;
  max-width: 410px;
}
.hero-baseline > p:last-child {
  font-family: 'Workshop Notes', cursive;
  font-size: 18px;
  color: #6e8194;
}
.closing .handwritten {
  font-size: 24px;
}

@media (min-width: 1450px) {
  .site-shell {
    padding: 0 62px;
  }
  .workbench {
    min-height: 570px;
  }
  .brief {
    min-height: 548px;
    padding: 42px 38px 32px;
  }
  .brief blockquote {
    min-height: 185px;
  }
  .blueprint {
    min-height: 570px;
  }
  .diagram-nodes {
    top: 39%;
  }
  .blueprint-label {
    top: 75px;
    font-size: 24px;
  }
  .diagram-detail {
    bottom: 105px;
  }
  .node-icon {
    width: 80px;
    height: 80px;
  }
  .node-text {
    font-size: 13px;
  }
  .mini-site-body h3 {
    font-size: 34px;
  }
  .mini-site-body img {
    height: 250px;
  }
  .preview-body h3 {
    font-size: 32px;
  }
  .calendar-day {
    font-size: 12px;
  }
  .mini-button {
    font-size: 12px;
  }
}

@media (min-width: 901px) and (max-width: 1150px) {
  .site-shell {
    padding: 0 30px;
  }
  .workbench {
    min-height: 470px;
    grid-template-columns: 33% 31% 36%;
  }
  .brief {
    padding: 32px 24px 24px;
    min-height: 455px;
  }
  .brief blockquote {
    font-size: 34px;
    min-height: 154px;
  }
  .brief-meta {
    font-size: 9px;
    margin-bottom: 26px;
  }
  .brief-note {
    font-size: 21px;
  }
  .scenario-tabs {
    gap: 8px 15px;
    margin-top: 22px;
  }
  .scenario-tabs button {
    font-size: 11px;
  }
  .brief-outcome {
    font-size: 19px;
    margin-top: 24px;
  }
  .blueprint {
    min-height: 470px;
  }
  .blueprint-label {
    font-size: 19px;
    top: 55px;
    left: 25px;
  }
  .diagram-nodes {
    left: 21px;
    right: 21px;
    gap: 10px;
  }
  .node-icon {
    width: 58px;
    height: 58px;
  }
  .node-text {
    font-size: 10px;
  }
  .diagram-detail {
    bottom: 88px;
    left: 21%;
    right: 10%;
  }
  .detail-node {
    font-size: 9px;
    padding: 7px 9px;
  }
  .diagram-margin {
    font-size: 18px;
    left: 18px;
    max-width: 110px;
  }
  .result-label {
    font-size: 18px;
    right: 5px;
    max-width: 105px;
  }
  .preview-area {
    padding-left: 11px;
  }
  .website-preview {
    padding: 17px;
  }
  .mini-site-body {
    gap: 12px;
  }
  .mini-site-body h3 {
    font-size: 25px;
  }
  .mini-site-body img {
    height: 200px;
  }
  .mini-button {
    font-size: 9px;
  }
  .preview-body {
    padding: 19px;
  }
  .preview-body h3 {
    font-size: 25px;
  }
  .api-preview .preview-body {
    padding: 18px;
  }
  .crm-window {
    gap: 8px;
    padding: 13px;
  }
  .crm-window h4 {
    font-size: 18px;
  }
  .crm-record,
  .crm-status {
    font-size: 8px;
    padding: 8px 5px;
  }
}

@media (max-width: 900px) {
  .site-shell {
    padding: 0 25px;
  }
  .site-header {
    height: 80px;
  }
  .hero h1 {
    font-size: 39px;
  }
  .workbench {
    grid-template-columns: 43% 57%;
    min-height: 0;
    margin-top: 27px;
    gap: 14px 0;
  }
  .brief {
    min-height: 365px;
    padding: 30px 26px 25px;
    margin-right: 8px;
  }
  .brief::before {
    inset: -10px -12px;
  }
  .brief blockquote {
    font-size: 35px;
    min-height: 115px;
  }
  .brief-meta {
    font-size: 9px;
    margin-bottom: 24px;
  }
  .brief-note {
    font-size: 20px;
    max-width: 230px;
    min-height: 0;
  }
  .scenario-tabs {
    margin-top: 22px;
    gap: 8px 15px;
  }
  .scenario-tabs button {
    font-size: 11px;
  }
  .brief-outcome {
    font-size: 19px;
    margin-top: 22px;
    max-width: 220px;
  }
  .blueprint {
    min-height: 240px;
    margin: 0;
  }
  .tracing-back {
    inset: -12px -6px;
    background-size: 100% 100%;
  }
  .blueprint-label {
    top: 11px;
    left: 20px;
    font-size: 19px;
  }
  .diagram-nodes {
    top: 29%;
    left: 20px;
    right: 20px;
  }
  .node-icon {
    width: 52px;
    height: 52px;
  }
  .node-text {
    font-size: 10px;
    margin-top: 8px;
  }
  .return-wire {
    display: none;
  }
  .diagram-detail {
    display: none;
  }
  .diagram-margin {
    bottom: 23px;
    left: 17px;
    font-size: 18px;
    max-width: 120px;
  }
  .result-label {
    bottom: 24px;
    right: 13px;
    font-size: 18px;
    max-width: 100px;
  }
  .preview-area {
    padding-left: 27px;
  }
  .mini-site-body img {
    height: 230px;
  }
  .preview-body {
    padding: 22px;
  }
  .api-preview .preview-body {
    padding: 22px;
  }
  .crm-window {
    padding: 16px 12px;
    gap: 9px;
  }
  .crm-window h4 {
    font-size: 19px;
  }
  .crm-record,
  .crm-status {
    font-size: 9px;
    padding: 9px 5px;
  }
  .hero-controls {
    gap: 30px;
    margin-top: 30px;
  }
}

@media (max-width: 600px) {
  .site-shell {
    padding: 0 23px;
  }
  .site-header {
    height: 73px;
  }
  .hero {
    padding-top: 26px;
  }
  .hero h1 {
    font-size: 34px;
    max-width: 330px;
  }
  .workbench {
    display: flex;
    gap: 0;
    margin-top: 28px;
  }
  .brief {
    margin: 0 5px;
    min-height: 0;
    padding: 31px 24px 29px;
  }
  .brief::before {
    inset: -12px -12px;
  }
  .brief blockquote {
    min-height: 0;
    font-size: 35px;
    line-height: 1.13;
  }
  .brief-meta {
    font-size: 8px;
    margin-bottom: 24px;
  }
  .brief-note {
    font-size: 22px;
    margin-top: 18px;
    max-width: 230px;
  }
  .scenario-tabs {
    margin-top: 24px;
    gap: 8px 15px;
  }
  .scenario-tabs button {
    font-size: 11px;
  }
  .brief-outcome {
    font-size: 20px;
    margin-top: 22px;
    max-width: 230px;
  }
  .paperclip {
    top: -5px;
    left: 18px;
  }
  .blueprint {
    width: 100%;
    min-height: 255px;
    margin: 20px 0 19px;
  }
  .tracing-back {
    inset: -9px -3px;
  }
  .blueprint-label {
    font-size: 21px;
    left: 25px;
    top: 16px;
  }
  .diagram-nodes {
    top: 30%;
    left: 22px;
    right: 22px;
  }
  .node-icon {
    width: 58px;
    height: 58px;
  }
  .node-text {
    font-size: 11px;
  }
  .diagram-margin {
    left: 24px;
    bottom: 24px;
    font-size: 20px;
  }
  .result-label {
    right: 21px;
    bottom: 25px;
    font-size: 20px;
    max-width: 115px;
  }
  .preview-area {
    padding: 0;
  }
  .mini-site-body h3 {
    font-size: 28px;
  }
  .mini-site-body img {
    height: 210px;
  }
  .preview-body h3 {
    font-size: 28px;
  }
  .preview-caption {
    font-size: 10px;
    margin-top: 16px;
  }
  .api-preview {
    grid-template-columns: 1fr;
  }
  .api-preview .preview-body {
    padding: 24px;
  }
  .crm-window {
    display: grid;
    padding: 17px 14px;
    gap: 10px;
  }
  .crm-window h4 {
    font-size: 21px;
    margin: 0;
  }
  .crm-window::before {
    content: '↓';
    left: 50%;
    top: -20px;
  }
  .crm-status {
    margin: 0;
    font-size: 9px;
  }
  .crm-record {
    font-size: 10px;
  }
  .crm-arrow {
    display: none;
  }
  .hero-controls {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 29px;
  }
  .progress-track button {
    font-size: 12px;
  }
  .hero-baseline > p:first-child {
    font-size: 12px;
  }
  .hero-baseline {
    padding-bottom: 30px;
  }
}
