:root {
  --canvas: #f2f7f0;
  --paper: #fffdf7;
  --paper-strong: #ffffff;
  --ink: #18332d;
  --muted: #61716a;
  --line: #bfd0c7;
  --line-strong: #18332d;
  --leaf: #1f6b5d;
  --leaf-soft: #d9eee4;
  --coral: #f36f50;
  --sun: #ffd76f;
  --sky: #b9ddf2;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 8px 8px 0 #18332d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background-color: var(--canvas);
  background-image:
    linear-gradient(rgba(24, 51, 45, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 51, 45, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

::selection { background: var(--sun); color: var(--ink); }

a {
  color: var(--leaf);
  text-decoration-color: rgba(31, 107, 93, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { text-decoration-color: currentColor; }
button, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 51, 45, 0.16);
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(14px);
}

header.site .container {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.logo::before {
  content: "V";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50% 50% 10% 50%;
  background: var(--sun);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  transform: rotate(-5deg);
}

nav { display: flex; align-items: center; gap: 8px; }

nav a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: var(--leaf-soft);
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  padding: 76px 0 30px;
  text-align: left;
}

.hero::before {
  content: "VEO FIELD NOTES · 2026";
  display: block;
  width: max-content;
  margin-bottom: 18px;
  padding: 5px 10px 4px;
  border: 1px solid var(--ink);
  background: var(--sun);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  transform: rotate(-1deg);
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 7.5vw, 88px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero h1 em { color: var(--coral); font-weight: inherit; }

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

.hero-home {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  align-items: center;
  gap: clamp(30px, 7vw, 84px);
}

.hero-home::before { display: none; }

.hero-copy::before {
  content: "VEO FIELD NOTES · 2026";
  display: block;
  width: max-content;
  margin-bottom: 18px;
  padding: 5px 10px 4px;
  border: 1px solid var(--ink);
  background: var(--sun);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  transform: rotate(-1deg);
}

.hero-art { position: relative; min-height: 330px; }

.story-frame {
  position: absolute;
  inset: 25px 8px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--ink);
  border-radius: 46% 46% 14px 14px;
  background: var(--sky);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(3deg);
}

.story-frame::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  top: 68px;
  left: 50%;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  transform: translateX(-50%);
}

.story-frame::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -95px;
  left: -40px;
  height: 235px;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 0 0;
  background: var(--leaf);
  transform: rotate(-8deg);
}

.frame-top,
.frame-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.frame-top span:last-child { width: 12px; height: 12px; border: 1px solid var(--ink); border-radius: 50%; background: var(--coral); }
.frame-bottom { color: var(--paper); }
.frame-bottom span:last-child { padding: 3px 7px; border: 1px solid var(--paper); border-radius: 999px; }

.scribble {
  position: absolute;
  z-index: 3;
  right: -14px;
  top: 72px;
  padding: 7px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  transform: rotate(-7deg);
}

.panel {
  position: relative;
  margin: 26px 0 72px;
  padding: clamp(24px, 5vw, 52px);
  border: 1.5px solid var(--line-strong);
  border-radius: 34px 8px 34px 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.panel::before {
  content: "BUILD A SHOT";
  position: absolute;
  top: -15px;
  right: 34px;
  padding: 6px 12px;
  border: 1px solid var(--ink);
  background: var(--coral);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  transform: rotate(1deg);
}

.generator-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.generator-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.generator-head p { max-width: 340px; margin: 0; color: var(--muted); font-size: 14px; }
.field-block { min-width: 0; }

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: 22px;
}

label.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

label.field-label::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; background: var(--sun); }

textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px 3px 10px 3px;
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 15px;
  box-shadow: 3px 3px 0 var(--leaf-soft);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

textarea { min-height: 112px; padding: 14px 15px; resize: vertical; }
select { min-height: 48px; padding: 10px 38px 10px 12px; }
textarea::placeholder { color: #87968f; }

textarea:focus,
select:focus { border-color: var(--leaf); outline: none; box-shadow: 4px 4px 0 var(--sun); transform: translate(-1px, -1px); }

.term-tip { min-height: 44px; margin-top: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.preset-block { margin-top: 20px; padding-top: 22px; border-top: 1px dashed var(--line); }

.presets { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; }

.chip {
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.chip:nth-child(3n + 1) { background: #edf8f2; }
.chip:nth-child(3n + 2) { background: #fff7dd; }
.chip:nth-child(3n) { background: #eef7fc; }

.chip:hover,
.chip:focus-visible { outline: none; box-shadow: 3px 3px 0 var(--ink); transform: translate(-2px, -2px) rotate(-1deg); }
.chip.active { background: var(--sun); box-shadow: 3px 3px 0 var(--ink); }

.output-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.output-head strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }

.toggle { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper); }
.toggle button { min-width: 64px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); padding: 6px 11px; font-size: 12px; font-weight: 750; cursor: pointer; }
.toggle button.active { background: var(--leaf); color: #fff; }

#prompt-output {
  min-height: 150px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--ink);
  border-radius: 3px 16px 3px 16px;
  background: var(--ink);
  color: #f1f8f4;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 14px;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px 14px 4px 14px;
  background: var(--leaf);
  color: #fff;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--sun);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.btn-primary:hover,
.btn-primary:focus-visible { color: #fff; outline: none; text-decoration: none; box-shadow: 6px 6px 0 var(--sun); transform: translate(-2px, -2px); }
.btn-primary.copied { background: var(--coral); box-shadow: 4px 4px 0 var(--leaf-soft); }

.prose { padding-bottom: 24px; }
main.container.prose { max-width: 790px; }

.prose > h2,
.faq h2 {
  margin: 58px 0 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.prose p, .prose li { color: var(--muted); }
.prose strong, .prose h1, .prose h2, .prose h3 { color: var(--ink); }
.prose li { margin-bottom: 9px; }
.prose em { color: var(--ink); }

.faq { display: grid; grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr); gap: 12px 34px; margin: 34px 0 72px; }
.faq h2 { grid-row: 1 / span 4; margin: 0; border: 0; }
.faq details { padding: 17px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { color: var(--ink); font-weight: 730; cursor: pointer; }
.faq details p { margin: 10px 0 0; font-size: 14px; }

.example-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.example-library > .hero { grid-column: 1 / -1; }

.example-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: 22px 5px 22px 5px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--leaf-soft);
}

.example-card:nth-child(3n + 2) { background: #fff7dd; }
.example-card:nth-child(3n) { background: #edf8f2; }
.example-card h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -0.025em; }

.example-card pre {
  flex: 1;
  margin: 0;
  padding: 15px;
  border-left: 3px solid var(--coral);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.example-card p { color: var(--muted); }
.example-card .btn-primary { align-self: flex-start; }

footer.site { margin-top: 80px; padding: 30px 0 42px; border-top: 1px solid var(--line-strong); background: var(--paper); color: var(--muted); font-size: 13px; }
footer.site .container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--ink); font-weight: 650; }
.disclaimer { max-width: 540px; margin: 0; justify-self: end; text-align: right; }

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 680px); }
  header.site { position: relative; }
  header.site .container { min-height: 64px; padding: 10px 0; flex-wrap: wrap; }
  nav { width: 100%; gap: 3px; overflow-x: auto; padding-bottom: 2px; }
  nav a { flex: 0 0 auto; padding: 5px 9px; font-size: 13px; }
  .hero { padding: 54px 0 24px; }
  .hero h1 { font-size: clamp(39px, 13vw, 62px); }
  .hero-home { min-height: auto; grid-template-columns: 1fr; gap: 20px; padding-bottom: 36px; }
  .hero-art { min-height: 245px; width: min(320px, 92%); margin: 0 auto; }
  .story-frame { inset: 12px 8px 12px 8px; }
  .story-frame::before { width: 150px; height: 150px; top: 55px; }
  .story-frame::after { height: 185px; }
  .panel { margin-top: 16px; padding: 28px 18px 24px; box-shadow: 5px 5px 0 var(--ink); }
  .panel::before { right: 18px; }
  .generator-head { align-items: start; flex-direction: column; }
  .control-grid { grid-template-columns: 1fr; gap: 15px; }
  .term-tip { min-height: auto; }
  #prompt-output { min-height: 180px; }
  .btn-primary { width: 100%; }
  .faq { grid-template-columns: 1fr; margin-bottom: 56px; }
  .faq h2 { grid-row: auto; }
  .example-library { grid-template-columns: 1fr; }
  .example-card { padding: 18px; }
  footer.site .container { grid-template-columns: 1fr; }
  .disclaimer { justify-self: start; text-align: left; }
}

@media (max-width: 430px) {
  .logo { font-size: 14px; }
  .logo::before { width: 30px; height: 30px; }
  .hero-home { padding-top: 46px; }
  .hero-art { min-height: 220px; }
  .panel { border-radius: 24px 6px 24px 6px; }
  .output-head { align-items: flex-start; flex-direction: column; }
}
