@font-face {
  font-family: Bricolage;
  src: url("assets/bricolage-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Bricolage, Georgia, serif;
  color: #20342a;
  background: #f8f7f0;
  --forest: #133e2c;
  --acid: #e4edaa;
  --paper: #f8f7f0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #407a55;
  outline-offset: 4px;
}
p { line-height: 1.52; }
.shell { width: min(100% - 4rem, 76rem); margin-inline: auto; }
.masthead, .hero { color: var(--paper); background: var(--forest); }
.nav { border-bottom: 1px solid #5e7a6b; min-height: 4.5rem; }
.nav, .footer, .nav nav, .brand { display: flex; align-items: center; }
.nav, .footer { justify-content: space-between; }
.nav nav { gap: clamp(0.85rem, 3vw, 2.5rem); }
.nav a, .footer a { text-decoration: none; }
.nav nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.brand { font-size: 1.55rem; font-weight: 760; letter-spacing: -.06em; gap: .36rem; }
.brand img { width: 2.5rem; height: 2.5rem; margin-left: -.26rem; }
.masthead a:focus-visible, .hero a:focus-visible { outline-color: var(--acid); }

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1rem, 5vw, 5rem);
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.platform {
  color: #cfe0cb;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .11em;
  margin: 0 0 1.12rem;
}

h1, h2, h3 { margin: 0; font-weight: 740; letter-spacing: -.058em; }
h1 { font-size: clamp(3rem, 7.1vw, 7.1rem); line-height: .87; }
h2 { font-size: clamp(2.45rem, 5.2vw, 4.35rem); line-height: .99; }
h3 { font-size: 1.52rem; }
.pitch > p:not(.platform, .availability) { font-size: clamp(1.15rem, 2.8vw, 1.43rem); max-width: 30rem; margin: 1.65rem 0; }
.button {
  display: inline-block;
  border-radius: .36rem;
  padding: .81rem 1.18rem;
  background: var(--acid);
  color: #23362a;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #f2f7ce; }
.availability { color: #d2dfd0; font-size: .93rem; margin-bottom: 0; }

.desk {
  display: flex;
  flex-direction: column;
  border: 1px solid #7e9a7c;
  border-radius: .95rem;
  aspect-ratio: 1.22;
  background: #9aaf87;
  background-image: repeating-linear-gradient(138deg, transparent 0 3px, #516b4742 4px 5px, transparent 6px 9px);
  padding: .62rem;
}

.desk-menu {
  display: flex;
  align-items: center;
  gap: .85rem;
  border-radius: .36rem;
  background: #244737;
  padding: .5rem .65rem;
  font-size: .77rem;
  color: #e9f1df;
}
.desk-menu span:first-child { font-weight: 750; }
.desk-work { flex: 1; display: grid; grid-template-columns: 1fr 1.13fr; padding: clamp(.5rem, 2.3vw, 2.2rem); gap: 2.5%; }
.sample-window, .demo-window {
  border-radius: .48rem;
  overflow: hidden;
  min-width: 0;
  color: #2f4034;
  border: 1px solid #213b2b55;
  background: #f8f2e4;
}
.notes { background: #e6efdc; }
.titlebar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .55rem;
  border-bottom: 1px solid #34443826;
  font-size: clamp(.67rem, 1.25vw, .85rem);
  font-weight: 675;
  white-space: nowrap;
}
.lights { display: flex; gap: .2rem; flex: none; }
.lights i { border-radius: 100%; width: .41rem; height: .41rem; background: #e86149; }
.lights i:nth-child(2) { background: #e2ab36; }
.lights i:nth-child(3) { background: #5b9a5b; }
.sample-content { padding: clamp(.55rem, 1.55vw, 1.2rem); }
.sample-art {
  min-height: 3rem;
  aspect-ratio: 1.22;
  border-radius: .22rem;
  background: linear-gradient(147deg, #d4dbac 0 44%, #a4bba0 44% 66%, #5f866e 66%);
}
.sample-heading { font-weight: 730; font-size: clamp(.9rem, 2vw, 1.66rem); letter-spacing: -.045em; display: block; margin-bottom: 1.18rem; }
.ink { background: #304f3e4a; height: 3px; border-radius: 3px; margin-block: .64rem; }
.line-lg { width: 93%; }
.line-md { width: 75%; }
.line-sm { width: 56%; }

.demo-section { padding-block: clamp(3.6rem, 7.8vw, 7rem); }
.section-copy { display: grid; grid-template-columns: 1fr .7fr; gap: 1.65rem; align-items: end; margin-bottom: 1.85rem; }
.section-copy p { margin: 0; max-width: 31rem; font-size: 1.125rem; }
.demo { display: grid; grid-template-columns: minmax(15rem, 1fr) 2fr; border: 1px solid #bfc8b5; border-radius: .7rem; }
.demo-tools { display: flex; flex-direction: column; justify-content: center; padding: clamp(.9rem, 2.5vw, 2.3rem); gap: .8rem; }
.tool-heading { font-weight: 730; margin: 0; font-size: 1.14rem; }
.grid {
  --x: 0; --y: 0; --w: .5; --h: 1;
  background-color: #eff0e5;
  background-image: linear-gradient(to right, #bcc5b7 1px, transparent 1px), linear-gradient(to bottom, #bcc5b7 1px, transparent 1px);
  background-size: calc(100% / 6) 25%;
  border: 1px solid #aebba9;
  border-radius: .27rem;
  aspect-ratio: 3 / 2;
  touch-action: none;
  position: relative;
  cursor: crosshair;
}
.grid-selection, .demo-window {
  position: absolute;
  left: calc(var(--x) * 100% + .2rem);
  top: calc(var(--y) * 100% + .2rem);
  width: calc(var(--w) * 100% - .4rem);
  height: calc(var(--h) * 100% - .4rem);
}
.grid-selection { border: 2px solid #437856; border-radius: .25rem; background: #7daf7c55; pointer-events: none; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: .32rem; }
.presets button {
  cursor: pointer;
  border-radius: .25rem;
  border: 1px solid #aebba9;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .95rem;
  padding: .35rem .24rem;
}
.presets button:hover { background: #e5ebdd; }
.presets button[aria-pressed="true"] { background: #dce9d2; border-color: #739374; }
.demo-screen {
  --x: 0; --y: 0; --w: .5; --h: 1;
  position: relative;
  min-height: 16rem;
  aspect-ratio: 2.08;
  margin: .62rem;
  border-radius: .38rem;
  background-color: #cbd9bf;
  background-image: linear-gradient(147deg, #e1e8cd 30%, #bccfaf 30% 62%, #a1ba9f 62%);
}
.demo-window {
  left: calc(var(--x) * 100% + .55rem);
  top: calc(var(--y) * 100% + .55rem);
  width: calc(var(--w) * 100% - 1.1rem);
  height: calc(var(--h) * 100% - 1.1rem);
  transition: left .14s ease-out, top .14s ease-out, width .14s ease-out, height .14s ease-out;
}

.controls { background: #e5ebdb; border-block: 1px solid #c8d2be; }
.controls-inner { display: grid; grid-template-columns: 1fr 1.03fr; gap: 2.5rem; padding-block: clamp(3.4rem, 7vw, 6rem); }
.control-rows > div { border-top: 1px solid #a4b39e; padding-block: 1rem; }
.control-rows p { max-width: 32rem; margin: .47rem 0 0; }
kbd { background: #fbfaf3; border: 1px solid #b6c2ad; border-radius: .25rem; padding: .04rem .26rem; font-size: .91em; white-space: nowrap; }
.footer { min-height: 5.7rem; gap: 1rem; }
.footer > span { font-size: .93rem; color: #45604e; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 780px) {
  .shell { width: min(100% - 2rem, 36rem); }
  .intro, .section-copy, .controls-inner { grid-template-columns: 1fr; }
  .intro { gap: 2.2rem; }
  h1 { font-size: clamp(3.3rem, 11vw, 5.55rem); }
  .desk { aspect-ratio: 1.43; }
  .desk-work { padding: 4%; }
  .sample-art { aspect-ratio: 1.9; }
  .demo { grid-template-columns: 1fr; }
  .demo-screen { min-height: 10rem; margin-top: 0; }
  .grid { aspect-ratio: 2.3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-window { transition: none; }
}
