:root {
  --ink: #0a0a0a;
  --paper: #f5f5f1;
  --paper-2: #ecece7;
  --muted: #73736d;
  --line: 2px solid var(--ink);
  --radius: 28px;
  --shadow: 6px 6px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    url("assets/liquid-bg.svg") 50% 4rem / 760px 520px repeat,
    radial-gradient(circle at 15% 10%, rgba(0,0,0,.035), transparent 24rem),
    radial-gradient(circle at 85% 42%, rgba(0,0,0,.03), transparent 26rem),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.shell { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -.035em;
  text-decoration: none;
  font-size: 18px;
}
.brand-dot {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: var(--ink);
  border-radius: 55% 45% 58% 42% / 45% 57% 43% 55%;
  transform: rotate(16deg);
}

.mini-nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.mini-nav a {
  text-decoration: none;
  font: 700 12px/1 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  border-bottom: 1px solid transparent;
}
.mini-nav a:hover { border-bottom-color: var(--ink); }

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1.4fr);
  grid-template-areas:
    "copy art"
    "ca art"
    "actions art"
    "note art";
  align-items: center;
  column-gap: 30px;
  padding: 70px 0 64px;
  position: relative;
}

.hero-copy { grid-area: copy; align-self: end; position: relative; z-index: 2; margin-bottom: 6px; }
.eyebrow, .section-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(64px, 8vw, 124px);
  line-height: .82;
  letter-spacing: -.085em;
  font-weight: 900;
  text-transform: lowercase;
}
.lede {
  margin: 24px 0 0;
  max-width: 470px;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 700;
}

.hero-art-wrap {
  grid-area: art;
  margin: 0;
  align-self: stretch;
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-art-wrap::before,
.hero-art-wrap::after { content: none; }
.hero-art {
  width: min(92%, 670px);
  max-height: 760px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 0 rgba(10,10,10,.04));
  animation: float 6s ease-in-out infinite;
}

.scribble {
  position: absolute;
  border: 3px solid var(--ink);
  border-color: var(--ink) transparent transparent transparent;
  width: 120px;
  height: 60px;
  border-radius: 50%;
  opacity: .7;
}
.scribble-one { top: 12%; right: 2%; transform: rotate(16deg); }
.scribble-two { bottom: 13%; left: 7%; transform: rotate(205deg) scale(.7); }

.ca-card {
  grid-area: ca;
  align-self: center;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-top: 34px;
  min-height: 60px;
  border: var(--line);
  border-radius: 18px 14px 19px 13px;
  background: rgba(245,245,241,.82);
  backdrop-filter: blur(8px);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
}
.ca-label {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0 17px;
  border-right: var(--line);
  font-weight: 900;
  font-size: 12px;
}
.ca-card code {
  padding: 0 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font: 700 12px/1.2 "Courier New", monospace;
}
.copy-btn {
  align-self: stretch;
  min-width: 74px;
  border: 0;
  border-left: var(--line);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-weight: 900;
  font-size: 11px;
}
.copy-btn:hover { background: #2c2c2c; }
.copy-check { display: none; }
.copy-btn.copied .copy-text { display: none; }
.copy-btn.copied .copy-check { display: inline; font-size: 18px; }

.actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin-top: 18px;
}
.action-btn {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: var(--line);
  border-radius: 14px 18px 12px 16px;
  background: var(--paper);
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.action-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.action-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.25);
}
.action-arrow {
  flex: 0 0 auto;
  margin-left: 10px;
}
.action-btn:hover .action-icon {
  filter: grayscale(1) invert(1) contrast(1.2);
}

.action-btn:nth-child(even) { border-radius: 18px 12px 16px 13px; }
.action-btn:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); background: var(--ink); color: var(--paper); }

.melt-note {
  grid-area: note;
  align-self: start;
  margin-top: 28px;
  width: max-content;
  transform: rotate(-4deg);
  font: 700 13px/1.2 "Courier New", monospace;
  color: var(--muted);
}

.manifesto {
  border-top: var(--line);
  border-bottom: var(--line);
  padding: 42px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.manifesto p {
  margin: 0;
  font-size: clamp(28px,4vw,55px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.065em;
}
.manifesto p:nth-child(2) { text-align: center; }
.manifesto p:nth-child(3) { text-align: right; }

.faq { padding: 110px 0 90px; }
.faq h2 {
  margin: 0 0 42px;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .91;
  letter-spacing: -.065em;
}
.faq-list { border-top: var(--line); }
.faq details { border-bottom: var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 900;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: -.03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-size: 28px; transition: transform .2s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p {
  margin: -4px 0 30px;
  max-width: 760px;
  color: #363632;
  font-size: 16px;
  line-height: 1.55;
}

.disclaimer {
  margin-bottom: 80px;
  padding: 26px;
  border: var(--line);
  border-radius: 26px 18px 32px 20px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.warning-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: var(--line);
  border-radius: 53% 47% 49% 51%;
  font-weight: 900;
  font-size: 28px;
  background: var(--paper);
}
.disclaimer p { margin: 7px 0 0; max-width: 900px; font-size: 13px; line-height: 1.55; color: #33332f; }

.site-footer {
  min-height: 98px;
  border-top: var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}
.footer-melt { transform: rotate(-2deg); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  padding: 12px 16px;
  border: var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%,0); }

.doodle {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border: 3px solid rgba(10,10,10,.06);
  border-radius: 50%;
}
.doodle-a { width: 340px; height: 220px; left: -190px; top: 18vh; transform: rotate(17deg); }
.doodle-b { width: 410px; height: 180px; right: -250px; top: 63vh; transform: rotate(-9deg); }

@keyframes float {
  0%,100% { transform: translateY(0) rotate(-.4deg); }
  50% { transform: translateY(-10px) rotate(.7deg); }
}

@media (max-width: 840px) {
  .site-header { min-height: 74px; }
  .mini-nav { display: none; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "art" "ca" "actions" "note";
    padding: 58px 0 66px;
  }
  h1 { font-size: clamp(64px, 19vw, 108px); }
  .hero-art-wrap { min-height: 520px; margin: 8px 0 0; }
  .hero-art { width: min(100%, 620px); }
  .hero-art-wrap::before { width: min(78%, 490px); }
  .ca-card { margin-top: 0; }
  .manifesto { grid-template-columns: 1fr; gap: 10px; }
  .manifesto p, .manifesto p:nth-child(2), .manifesto p:nth-child(3) { text-align: left; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 24px, 1120px); }
  .site-header { min-height: 68px; }
  .brand { font-size: 16px; }
  .hero { padding-top: 42px; }
  .lede { font-size: 17px; }
  .hero-art-wrap { min-height: 400px; }
  .hero-art-wrap::before { width: 88%; box-shadow: 6px 6px 0 var(--ink); }
  .ca-card { grid-template-columns: auto minmax(0,1fr) auto; min-height: 56px; }
  .ca-card code { padding: 0 10px; font-size: 10px; }
  .ca-label { padding: 0 12px; }
  .copy-btn { min-width: 62px; }
  .actions { grid-template-columns: 1fr 1fr; gap: 8px; }
  .action-btn { min-height: 45px; font-size: 12px; }
  .manifesto { padding: 34px 0; }
  .faq { padding: 84px 0 70px; }
  .faq h2 { margin-bottom: 28px; }
  .faq summary { min-height: 68px; font-size: 16px; }
  .disclaimer { grid-template-columns: 1fr; padding: 20px; box-shadow: 4px 4px 0 var(--ink); }
  .site-footer { min-height: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
