:root {
  --paper: #f4ead7;
  --ink: #171410;
  --muted: #695d4f;
  --card: rgba(255, 250, 239, 0.78);
  --line: rgba(23, 20, 16, 0.18);
  --accent: #d68d28;
  --accent-dark: #7c4817;
  --cuy-green: #355545;
  --cuy-mint: #cfe6bc;
  --cuy-rose: #d98c69;
  --cuy-cream: #fff1cf;
  --shadow: 0 28px 80px rgba(63, 42, 18, 0.22);
  --radius: 28px;
  --neon-bg: #090917;
  --neon-panel: rgba(15, 17, 42, 0.76);
  --neon-pink: #ff3df2;
  --neon-cyan: #33e6ff;
  --neon-lime: #d7ff59;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

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

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

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1180px, calc(100% - 40px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(250, 242, 226, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(63, 42, 18, 0.12);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #fff4d9;
  color: var(--ink);
  font-size: 0.78rem;
  box-shadow: 3px 3px 0 currentColor;
}

.site-header nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  background: rgba(214, 141, 40, 0.16);
  color: var(--ink);
}

.home-page,
.legal-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 61, 242, 0.28), transparent 30rem),
    radial-gradient(circle at 82% 20%, rgba(51, 230, 255, 0.24), transparent 28rem),
    linear-gradient(135deg, #070711 0%, var(--neon-bg) 48%, #14051f 100%);
  color: #f7f4ff;
}

.home-page::before,
.legal-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(51, 230, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 61, 242, 0.14) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.neon-header {
  border-color: rgba(51, 230, 255, 0.3);
  background: rgba(7, 7, 17, 0.66);
  box-shadow: 0 0 34px rgba(51, 230, 255, 0.12), 0 0 48px rgba(255, 61, 242, 0.08);
}

.neon-header nav a {
  color: rgba(247, 244, 255, 0.72);
}

.neon-header nav a:hover,
.neon-header nav a:focus-visible {
  background: rgba(51, 230, 255, 0.12);
  color: #fff;
}

.neon-brand .brand-mark {
  background: #0a0d24;
  color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(51, 230, 255, 0.75), 3px 3px 0 var(--neon-pink);
}

.neon-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: auto;
  padding: clamp(56px, 7vw, 92px) 0 56px;
}

.neon-kicker {
  margin: 0 0 18px;
  color: var(--neon-lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.neon-copy h1,
.neon-section h2 {
  margin: 0 0 24px;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 9vw, 8.2rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-shadow: 0 0 28px rgba(255, 61, 242, 0.38), 0 0 46px rgba(51, 230, 255, 0.22);
}

.neon-copy h1 span {
  display: block;
}

.heart-word {
  position: relative;
  width: max-content;
  color: #fff;
}

.heart-word::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.14em;
  right: -0.18em;
  bottom: 0.03em;
  height: 0.14em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 61, 242, 0.8), rgba(51, 230, 255, 0.62));
  box-shadow: 0 0 28px rgba(215, 255, 89, 0.35);
  transform: rotate(-2deg);
}

.heart-word::after {
  content: "*";
  position: absolute;
  right: -0.48em;
  top: -0.14em;
  color: var(--neon-lime);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.34em;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(215, 255, 89, 0.8);
}

.neon-copy p,
.neon-panel p,
.project-card p,
.legal-card p,
.legal-card li {
  color: rgba(247, 244, 255, 0.76);
  font-size: 1.06rem;
  line-height: 1.78;
}

.neon-copy > p:not(.neon-kicker) {
  max-width: 720px;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

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

.neon-button {
  border-color: var(--neon-cyan);
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
  color: #080817;
  box-shadow: 0 0 24px rgba(51, 230, 255, 0.36), 4px 4px 0 var(--neon-lime);
}

.neon-button.ghost {
  background: rgba(15, 17, 42, 0.7);
  color: #fff;
}

.neon-logo-card {
  position: relative;
  overflow: hidden;
  align-self: center;
  max-width: 390px;
  margin-inline: auto;
  border: 1px solid rgba(51, 230, 255, 0.42);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(15, 17, 42, 0.92), rgba(255, 61, 242, 0.11));
  box-shadow: 0 0 80px rgba(51, 230, 255, 0.18), 0 0 120px rgba(255, 61, 242, 0.12);
}

.neon-logo-card img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: contain;
  padding: clamp(24px, 4vw, 50px);
  filter: drop-shadow(0 0 30px rgba(51, 230, 255, 0.42));
}

.neon-logo-card p {
  position: relative;
  z-index: 1;
  margin: -20px 24px 24px;
  padding: 16px 18px;
  border: 1px solid rgba(215, 255, 89, 0.26);
  border-radius: 18px;
  background: rgba(9, 9, 23, 0.68);
  color: rgba(247, 244, 255, 0.86);
  font-weight: 800;
  line-height: 1.4;
}

.scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 8px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.neon-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  align-items: start;
  padding: 56px 0 32px;
}

.neon-section h2 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.neon-panel,
.project-card,
.legal-card {
  border: 1px solid rgba(51, 230, 255, 0.26);
  border-radius: var(--radius);
  background: var(--neon-panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28), inset 0 0 40px rgba(255, 61, 242, 0.04);
  backdrop-filter: blur(18px);
}

.neon-panel {
  padding: clamp(24px, 4vw, 42px);
}

.project-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  padding: 30px 0 86px;
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

a.project-card,
.project-play {
  cursor: pointer;
}

.project-play {
  position: relative;
  display: block;
  width: calc(100% + 56px);
  margin: -28px -28px 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.project-card.featured {
  border-color: rgba(215, 255, 89, 0.5);
  background: linear-gradient(145deg, rgba(15, 17, 42, 0.82), rgba(51, 230, 255, 0.16));
}

.project-card img,
.project-mockup {
  display: block;
  width: calc(100% + 56px);
  max-width: none;
  margin: -28px -28px 24px;
  height: 156px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(51, 230, 255, 0.22);
  border-radius: var(--radius) var(--radius) 0 0;
}

.project-play .project-mockup {
  width: 100%;
  margin: 0;
}

.play-pill {
  position: absolute;
  right: 14px;
  bottom: 14px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(215, 255, 89, 0.9);
  border-radius: 999px;
  background: rgba(9, 9, 23, 0.78);
  color: var(--neon-lime);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(215, 255, 89, 0.26);
}

.project-image {
  object-position: center 42%;
}

.project-mockup {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.project-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--neon-lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.game-modal[hidden] {
  display: none;
}

.game-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.game-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 9, 0.82);
  backdrop-filter: blur(10px);
}

.game-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(51, 230, 255, 0.32);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(15, 17, 42, 0.96), rgba(35, 8, 45, 0.94));
  box-shadow: 0 0 80px rgba(51, 230, 255, 0.18), 0 28px 90px rgba(0, 0, 0, 0.56);
}

.game-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.game-modal-header h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 3.2rem);
  letter-spacing: -0.06em;
}

.modal-close,
.modal-open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(51, 230, 255, 0.45);
  border-radius: 999px;
  background: rgba(9, 9, 23, 0.78);
  color: #fff;
  font-weight: 800;
}

.modal-close {
  cursor: pointer;
}

.phone-frame {
  overflow: hidden;
  width: min(100%, 390px);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border: 10px solid #05050d;
  border-radius: 34px;
  background: #05050d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 36px rgba(255, 61, 242, 0.18);
}

.phone-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #05050d;
}

.modal-open-link {
  width: max-content;
  margin: 14px auto 0;
  color: var(--neon-cyan);
}

.cuy-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 224, 114, 0.62), transparent 22rem),
    radial-gradient(circle at 88% 10%, rgba(207, 230, 188, 0.76), transparent 28rem),
    radial-gradient(circle at 78% 86%, rgba(217, 140, 105, 0.3), transparent 28rem),
    linear-gradient(135deg, #f7e3bc 0%, #d7c987 36%, #49694f 100%);
  color: var(--ink);
}

.cuy-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    radial-gradient(circle, rgba(23, 20, 16, 0.11) 1px, transparent 1.5px),
    linear-gradient(rgba(255, 241, 207, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 241, 207, 0.16) 1px, transparent 1px);
  background-size: 26px 26px, 52px 52px, 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.cuy-page .site-header {
  border: 2px solid rgba(23, 20, 16, 0.24);
  background: rgba(255, 241, 207, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  padding: clamp(48px, 7vw, 92px) 0 60px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.cuy-page h1,
.cuy-page h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.cuy-page h1 {
  max-width: 11ch;
  margin-bottom: 12px;
  font-size: clamp(4rem, 8.2vw, 7.7rem);
}

.cuy-page h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.8rem);
}

.hero-subtitle {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  font-weight: 800;
  color: var(--accent-dark);
  box-shadow: inset 0 -0.42em rgba(255, 224, 114, 0.58);
}

.hero-text,
.intro-card p,
.features p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 620px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.button-primary {
  background: linear-gradient(135deg, #e68c36, #ffcc55);
  color: #fff8e9;
}

.button-ghost {
  background: rgba(255, 241, 207, 0.8);
}

.hero-actions-even .button {
  min-width: 164px;
}

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

.hero-image {
  position: absolute;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  object-fit: cover;
  box-shadow: var(--shadow), 8px 8px 0 var(--ink);
}

.hero-image-main {
  inset: 28px 0 auto auto;
  width: min(92%, 710px);
  aspect-ratio: 16 / 9;
  transform: rotate(2.4deg) scale(1);
  transform-origin: center;
  transition: transform 260ms ease, filter 260ms ease;
}

.hero-image-small {
  left: 0;
  bottom: 18px;
  width: min(44%, 310px);
  aspect-ratio: 1 / 1;
  transform: rotate(-5deg);
}

.hero-magnifier {
  position: absolute;
  right: 17%;
  top: 21%;
  width: 154px;
  aspect-ratio: 1;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background-image: url("ScreenshotsCasaDeCuy/ScreenshotGarden.jpg");
  background-position: 63% 39%;
  background-size: 310%;
  box-shadow: 6px 6px 0 var(--ink), 0 22px 52px rgba(39, 55, 31, 0.28);
  opacity: 0;
  transform: rotate(-8deg) scale(0.72);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.hero-magnifier::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: 6px;
  width: 48px;
  height: 14px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #ffe072;
  transform: rotate(38deg);
}

.hero-art:hover .hero-image-main {
  transform: rotate(2.4deg) scale(1.035);
  filter: saturate(1.08) contrast(1.06);
}

.hero-art:hover .hero-magnifier {
  opacity: 1;
  transform: rotate(-8deg) scale(1);
}

.corn-badge {
  position: absolute;
  right: 6%;
  bottom: 54px;
  padding: 18px 20px;
  border: 2px solid var(--ink);
  border-radius: 20px 999px 999px 999px;
  background: #ffe072;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 800;
  transform: rotate(-7deg);
  box-shadow: 5px 5px 0 var(--ink);
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: start;
  padding: 54px 0 28px;
}

.press-note {
  padding: 18px 0 86px;
}

.fact-sheet-card {
  overflow: hidden;
  border: 2px solid rgba(23, 20, 16, 0.28);
  border-radius: 30px;
  background: rgba(255, 245, 222, 0.94);
  box-shadow: 0 24px 70px rgba(39, 55, 31, 0.18);
}

.fact-sheet-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.05fr;
  gap: 28px;
  align-items: end;
  padding: clamp(22px, 3.4vw, 34px);
  color: var(--cuy-cream);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 224, 114, 0.28), transparent 14rem),
    linear-gradient(135deg, #334f3d, #22362b);
}

.fact-sheet-top .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -10px;
  color: #ffe072;
}

.fact-sheet-top h2 {
  margin: 0;
  color: var(--cuy-cream);
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.fact-sheet-top p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 241, 207, 0.8);
  line-height: 1.7;
}

.fact-sheet-pitch {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: clamp(20px, 2.6vw, 28px) clamp(22px, 3.4vw, 34px);
  border-bottom: 2px solid rgba(23, 20, 16, 0.13);
}

.fact-sheet-pitch span,
.facts-table dt {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-sheet-pitch p {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.05vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.facts-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0 clamp(22px, 3.4vw, 34px);
  border-bottom: 2px solid rgba(23, 20, 16, 0.13);
}

.facts-table div {
  min-height: 104px;
  padding: 18px 16px;
  border-right: 2px solid rgba(23, 20, 16, 0.13);
}

.facts-table div:last-child {
  border-right: 0;
}

.facts-table dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin: 0;
  padding: clamp(20px, 2.6vw, 28px) clamp(22px, 3.4vw, 34px) clamp(22px, 3.4vw, 34px);
  list-style: none;
}

.feature-grid li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.feature-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 141, 40, 0.16);
}

.intro-card,
.features article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 241, 207, 0.84);
  box-shadow: 0 20px 60px rgba(39, 55, 31, 0.18);
}

.intro-card {
  padding: clamp(24px, 4vw, 42px);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 28px 0 86px;
}

.features article {
  padding: 26px;
}

.features span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.section-heading {
  margin-bottom: 26px;
}

.gallery {
  padding: 44px 0 96px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

figure {
  position: relative;
  grid-column: span 3;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--cuy-cream);
  box-shadow: 6px 6px 0 var(--ink), 0 24px 60px rgba(39, 55, 31, 0.22);
}

figure.wide {
  grid-column: span 4;
}

figure:nth-child(2),
figure:nth-child(3) {
  grid-column: span 2;
}

figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 240ms ease, filter 240ms ease;
}

figure:hover img {
  transform: scale(1.075);
  filter: saturate(1.02) contrast(1.08);
}

figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 244, 217, 0.92);
  font-size: 0.88rem;
  font-weight: 800;
}

.legal-shell {
  padding: clamp(54px, 8vw, 96px) 0 84px;
}

.legal-card {
  max-width: 920px;
  padding: clamp(26px, 5vw, 56px);
}

.legal-card h1,
.legal-card h2,
.legal-card h3,
.legal-card h4 {
  margin-bottom: 18px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.05em;
}

.legal-card h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 1.8rem;
}

.legal-card h3 {
  margin-top: 24px;
  font-size: 1.35rem;
}

.legal-card h4 {
  margin-top: 18px;
  font-size: 1.08rem;
}

.legal-card a,
.site-footer a {
  color: var(--neon-cyan);
}

.cuy-page .site-footer a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.cuy-page .site-footer {
  color: var(--ink);
  border-top-color: rgba(23, 20, 16, 0.28);
}

.cuy-page .site-footer p:first-child {
  color: var(--ink);
  opacity: 0.9;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.neon-footer {
  border-color: rgba(51, 230, 255, 0.2);
  color: rgba(247, 244, 255, 0.64);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: inherit;
  font-weight: 800;
}

@media (max-width: 900px) {
  .neon-hero,
  .neon-section,
  .hero,
  .intro,
  .press-note {
    grid-template-columns: 1fr;
  }

  .neon-hero {
    min-height: auto;
  }

  .project-strip,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-art {
    min-height: 430px;
  }

  .fact-sheet-top,
  .fact-sheet-pitch {
    grid-template-columns: 1fr;
  }

  .facts-table,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .facts-table div:nth-child(2) {
    border-right: 0;
  }

  .facts-table div:nth-child(-n + 2) {
    border-bottom: 2px solid rgba(23, 20, 16, 0.13);
  }

  figure,
  figure.wide,
  figure:nth-child(2),
  figure:nth-child(3) {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    border-radius: 26px;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
  }

  .site-header nav a {
    padding: 9px 8px;
    font-size: 0.84rem;
  }

  .neon-copy h1 {
    font-size: clamp(3.7rem, 18vw, 6.1rem);
  }

  .cuy-page h1 {
    font-size: clamp(3.7rem, 18vw, 6.2rem);
  }

  .hero-art {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .hero-image {
    position: static;
    width: 100%;
    transform: none;
  }

  .hero-image-small {
    display: none;
  }

  .corn-badge {
    right: 18px;
    bottom: -16px;
    font-size: 1rem;
  }

  .gallery-grid {
    gap: 14px;
  }

  .site-footer {
    flex-direction: column;
  }

  .facts-table,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .facts-table div,
  .facts-table div:nth-child(2) {
    border-right: 0;
  }

  .facts-table div:not(:last-child) {
    border-bottom: 2px solid rgba(23, 20, 16, 0.13);
  }
}
