:root {
  --ink: #202d20;
  --black: #080908;
  --paper: #f6f5ee;
  --paper-strong: #fffdf7;
  --grid: rgba(32, 45, 32, 0.07);
  --line: #202d20;
  --lime: #d5ff9b;
  --acid: #eaff73;
  --pink: #f7b1df;
  --lavender: #e7cdfb;
  --blue: #c9f3fb;
  --yellow: #ffdc38;
  --orange: #ff6a2f;
  --shadow: 8px 8px 0 rgba(126, 70, 213, 0.42);
  --hard-shadow: 7px 7px 0 var(--black);
  --soft-shadow: 0 24px 60px rgba(32, 45, 32, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Courier New", Courier, monospace;
  --sans: 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:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.5;
}

body.nav-locked {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px 36px;
  border-bottom: 2px solid rgba(32, 45, 32, 0.1);
  background: rgba(246, 245, 238, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--sans);
  font-weight: 850;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 820;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-toggle,
.menu-toggle,
.button {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  cursor: pointer;
}

.language-toggle {
  min-width: 62px;
  min-height: 42px;
  padding: 0 14px;
  font-family: var(--sans);
  font-weight: 850;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-weight: 900;
  box-shadow: var(--hard-shadow);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible,
.language-toggle:hover,
.language-toggle:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--black);
}

.button.primary,
.button.cta-small {
  background: var(--lime);
}

.button.secondary {
  background: var(--paper-strong);
}

.button.cta-small {
  min-height: 44px;
  padding: 0 18px;
  box-shadow: 6px 6px 0 rgba(126, 70, 213, 0.42);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
  transition: transform 160ms ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 890px;
  padding: 48px 36px 86px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 76px;
  font-weight: 500;
  line-height: 1.08;
}

.hero h1 span,
.hero h1 mark {
  display: block;
}

.hero h1 mark {
  width: fit-content;
  margin: -4px auto 0;
  padding: 0 18px 4px;
  background: linear-gradient(to top, var(--pink) 0 42%, transparent 42% 100%);
  color: inherit;
}

.hero-subtitle {
  max-width: 720px;
  margin: 28px auto 0;
  font-size: 22px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}

.hero-board {
  position: relative;
  height: 430px;
  max-width: 1160px;
  margin: 68px auto 0;
}

.sticker {
  position: absolute;
  z-index: 4;
  max-width: 260px;
  margin: 0;
  border: 3px solid var(--black);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--black);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: var(--hard-shadow);
}

.sticker-yellow {
  top: 10px;
  left: 8%;
  background: var(--yellow);
  transform: rotate(-6deg);
}

.sticker-lime {
  right: 6%;
  top: 58px;
  background: var(--lime);
  transform: rotate(8deg);
}

.sticker-lavender {
  right: 20%;
  bottom: 8px;
  background: var(--lavender);
  transform: rotate(5deg);
}

.tilt-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--black);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--hard-shadow);
}

.tilt-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper-strong);
}

.card-a {
  left: 14%;
  bottom: 0;
  width: 270px;
  height: 376px;
  transform: rotate(-7deg);
}

.card-b {
  left: 34%;
  bottom: 44px;
  width: 400px;
  height: 146px;
  transform: rotate(4deg);
}

.card-c {
  right: 22%;
  bottom: 0;
  width: 268px;
  height: 382px;
  transform: rotate(-2deg);
}

.card-d {
  right: 4%;
  bottom: 38px;
  width: 330px;
  height: 126px;
  transform: rotate(7deg);
}

.coming-badge {
  position: absolute;
  right: 15%;
  top: 132px;
  z-index: 3;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 3px solid var(--black);
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 5px 5px 0 rgba(126, 70, 213, 0.42);
  transform: rotate(12deg);
}

.coming-badge span {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}

.coming-badge small {
  margin-top: -24px;
  font-size: 13px;
  font-weight: 900;
}

.section-frame {
  width: min(1760px, calc(100% - 72px));
  margin: 0 auto;
  border: 3px solid var(--black);
}

.white-frame {
  border-radius: 34px;
  background: var(--paper-strong);
}

.canvas-section {
  padding: 0 0 72px;
}

.canvas-section .section-frame {
  padding: 88px 108px;
}

.canvas-copy h2,
.section-heading h2,
.open-copy h2,
.guide-intro h2,
.publish-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 500;
  line-height: 1.1;
}

.canvas-copy h2 {
  max-width: 720px;
}

.canvas-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(440px, 1.1fr);
  gap: 84px;
  align-items: center;
  margin-top: 72px;
}

.prompt-stack {
  display: grid;
  gap: 22px;
}

.prompt-stack article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  border: 3px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--paper-strong);
}

.prompt-stack span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--acid);
  font-weight: 950;
}

.prompt-stack p {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}

.object-field {
  position: relative;
  min-height: 650px;
}

.object {
  position: absolute;
  border: 3px solid var(--black);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--hard-shadow);
  object-fit: contain;
}

.object-theme {
  left: 6%;
  top: 42px;
  width: 260px;
  height: 300px;
  transform: rotate(-8deg);
}

.object-cover {
  right: 0;
  top: 112px;
  width: 430px;
  height: 150px;
  transform: rotate(5deg);
}

.object-help {
  left: 22%;
  bottom: 0;
  width: 520px;
  height: 306px;
  transform: rotate(-1deg);
}

.scribble-card {
  position: absolute;
  right: 10%;
  bottom: 260px;
  border: 3px solid var(--black);
  border-radius: 8px;
  padding: 18px 22px;
  background: var(--blue);
  box-shadow: var(--hard-shadow);
  transform: rotate(-6deg);
}

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

.scribble-card span {
  font-weight: 900;
}

.scribble-card strong {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.green-section {
  padding: 0 0 72px;
}

.green-frame {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(460px, 1.25fr);
  gap: 72px;
  align-items: center;
  min-height: 720px;
  border-radius: 8px;
  padding: 96px 108px;
  background:
    linear-gradient(rgba(32, 45, 32, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 45, 32, 0.06) 1px, transparent 1px),
    var(--lime);
  background-size: 28px 28px;
}

.open-copy p {
  max-width: 470px;
  margin: 34px 0 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
}

.product-window {
  overflow: hidden;
  border: 3px solid var(--black);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.product-window img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #f7fbf2;
}

.systems-section {
  width: min(1760px, calc(100% - 72px));
  margin: 0 auto;
  padding: 0 0 72px;
}

.section-heading {
  max-width: 1040px;
  margin-bottom: 44px;
}

.systems-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.system-card {
  display: grid;
  min-height: 820px;
  border: 3px solid var(--black);
  border-radius: 8px;
  padding: 72px 78px;
  overflow: hidden;
}

.lavender-card {
  background: var(--lavender);
}

.blue-card {
  background: var(--blue);
}

.system-copy h3 {
  max-width: 620px;
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.12;
}

.system-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 22px;
  font-weight: 800;
}

.theme-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  margin-top: 54px;
}

.theme-wall figure {
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--black);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 5px 5px 0 rgba(32, 45, 32, 0.28);
}

.theme-wall figure:nth-child(2) {
  margin-top: 64px;
}

.theme-wall figure:nth-child(3) {
  margin-top: 24px;
}

.theme-wall figure:nth-child(4) {
  margin-top: 98px;
}

.theme-wall img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--paper-strong);
}

.cover-wall {
  display: grid;
  gap: 22px;
  margin-top: 58px;
}

.cover-wall img {
  width: 100%;
  aspect-ratio: 3.35 / 1;
  object-fit: contain;
  border: 3px solid var(--black);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 5px 5px 0 rgba(32, 45, 32, 0.28);
}

.cover-wall img:nth-child(2),
.cover-wall img:nth-child(4) {
  transform: translateX(28px);
}

.guide-section {
  padding: 0 0 72px;
}

.guide-section .section-frame {
  padding: 86px 108px 108px;
}

.guide-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  gap: 72px;
  align-items: end;
}

.guide-intro .eyebrow {
  align-self: start;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 70px;
}

.guide-grid article {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 16px;
  border: 3px solid var(--black);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper-strong);
  box-shadow: 5px 5px 0 rgba(32, 45, 32, 0.28);
}

.guide-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 2px solid rgba(32, 45, 32, 0.16);
  border-radius: 8px;
  object-fit: contain;
  background: #f7fbf2;
}

.guide-grid span {
  width: fit-content;
  border: 2px solid var(--black);
  border-radius: 8px;
  padding: 3px 9px;
  background: var(--yellow);
  font-weight: 950;
}

.guide-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
}

.guide-grid p {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.publish-section {
  padding: 0 0 72px;
}

.publish-panel {
  width: min(1760px, calc(100% - 72px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 3px solid var(--black);
  border-radius: 34px 34px 0 0;
  padding: 90px 36px;
  text-align: center;
  background:
    linear-gradient(rgba(32, 45, 32, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 45, 32, 0.06) 1px, transparent 1px),
    var(--acid);
  background-size: 28px 28px;
}

.publish-panel h2 {
  max-width: 940px;
}

.publish-panel p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 20px;
  font-weight: 850;
}

.publish-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 38px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 28px 36px 36px;
  border-top: 2px solid rgba(32, 45, 32, 0.12);
  font-family: var(--sans);
  font-weight: 800;
}

.footer-legal {
  justify-self: center;
  color: rgba(32, 45, 32, 0.7);
  font-size: 14px;
  /* text-decoration: underline; */
  text-underline-offset: 4px;
}

.footer-legal:hover,
.footer-legal:focus-visible {
  color: var(--ink);
}

.site-footer p {
  justify-self: end;
  margin: 0;
  color: rgba(32, 45, 32, 0.72);
  text-align: right;
}

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

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-open .nav-links {
    position: fixed;
    top: 76px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    justify-content: stretch;
    border: 3px solid var(--black);
    border-radius: 8px;
    background: var(--paper-strong);
    box-shadow: var(--hard-shadow);
  }

  .site-header.is-open .nav-links a {
    padding: 18px 20px;
    border-bottom: 2px solid rgba(32, 45, 32, 0.12);
  }

  .site-header.is-open .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-board {
    height: 610px;
  }

  .card-a {
    left: 5%;
  }

  .card-b {
    left: 30%;
  }

  .card-c {
    right: 5%;
  }

  .card-d {
    right: 12%;
    bottom: 210px;
  }

  .canvas-grid,
  .green-frame,
  .guide-intro,
  .systems-layout {
    grid-template-columns: 1fr;
  }

  .canvas-section .section-frame,
  .green-frame,
  .guide-section .section-frame,
  .system-card {
    padding: 64px;
  }

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

@media (max-width: 760px) {
  body {
    background-size: 24px 24px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 18px;
    gap: 12px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand span {
    max-width: 176px;
  }

  .button.cta-small {
    display: none;
  }

  .language-toggle {
    min-width: 54px;
    min-height: 40px;
    padding: 0 10px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .site-header.is-open .nav-links {
    top: 68px;
  }

  .hero {
    min-height: auto;
    padding: 36px 18px 58px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero h1 mark {
    padding: 0 8px 3px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-board {
    display: none;
  }

  .sticker {
    max-width: 220px;
    font-size: 13px;
  }

  .sticker-yellow {
    top: 0;
    left: 2%;
  }

  .sticker-lime {
    top: 80px;
    right: 0;
  }

  .sticker-lavender {
    right: 4%;
    bottom: 22px;
  }

  .card-a {
    left: 3%;
    top: 168px;
    width: 176px;
    height: 246px;
  }

  .card-b {
    left: 20%;
    top: 348px;
    width: 275px;
    height: 108px;
  }

  .card-c {
    right: 0;
    top: 204px;
    width: 176px;
    height: 252px;
  }

  .card-d {
    right: 6%;
    bottom: 114px;
    width: 270px;
    height: 102px;
  }

  .coming-badge {
    right: 10%;
    top: 486px;
    width: 82px;
    height: 82px;
  }

  .coming-badge span {
    font-size: 28px;
  }

  .coming-badge small {
    margin-top: -18px;
    font-size: 11px;
  }

  .section-frame,
  .systems-section,
  .publish-panel {
    width: calc(100% - 28px);
  }

  .canvas-section,
  .green-section,
  .systems-section,
  .guide-section,
  .publish-section {
    padding-bottom: 44px;
  }

  .canvas-section .section-frame,
  .green-frame,
  .guide-section .section-frame,
  .system-card {
    padding: 34px 18px;
  }

  .canvas-copy h2,
  .section-heading h2,
  .open-copy h2,
  .guide-intro h2,
  .publish-panel h2 {
    font-size: 36px;
  }

  .canvas-grid {
    gap: 34px;
    margin-top: 34px;
  }

  .prompt-stack article {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .prompt-stack p,
  .open-copy p,
  .system-copy p:not(.eyebrow),
  .publish-panel p:not(.eyebrow) {
    font-size: 17px;
  }

  .object-field {
    display: none;
  }

  .green-frame {
    gap: 34px;
    min-height: auto;
  }

  .system-card {
    min-height: auto;
  }

  .system-copy h3 {
    font-size: 32px;
  }

  .theme-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
  }

  .theme-wall figure:nth-child(n) {
    margin-top: 0;
  }

  .cover-wall img:nth-child(n) {
    transform: none;
  }

  .guide-intro,
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .guide-grid {
    margin-top: 34px;
  }

  .publish-panel {
    min-height: auto;
    padding: 58px 18px;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    padding: 24px 18px 30px;
  }

  .footer-legal {
    justify-self: start;
  }

  .site-footer p {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 410px) {
  .brand span {
    max-width: 150px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .card-b {
    left: 9%;
  }

  .card-d {
    width: 250px;
  }
}
