:root {
  --design-width: 1500;
  --design-height: 900;
  --ui-scale: 1;
  --scaled-height: 900px;
  --bg: #050505;
  --ink: #efe998;
  --line: #f2cc87;
  --line-soft: #e8d885;
  --muted: #F9CF88;
  --paper: #f4f09a;
  --font-chalk: "CfBlackboardPersonal", "Patrick Hand", "Segoe UI", sans-serif;
  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-hand: "Patrick Hand", "Segoe UI", sans-serif;
}

@font-face {
  font-family: "CfBlackboardPersonal";
  src: url("../assets/website/CfBlackboardPersonalRegular-AKPg.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: var(--scaled-height);
  background: radial-gradient(circle at 18% 8%, #121212 0%, var(--bg) 50%);
  color: var(--ink);
  font-family: var(--font-hand);
  overflow-x: hidden;
  overflow-y: auto;
}

.landing-page {
  width: calc(var(--design-width) * 1px);
  min-height: calc(var(--design-height) * 1px);
  margin: 0;
  padding: 14px 34px 18px;
  position: relative;
  transform-origin: top left;
  transform: scale(var(--ui-scale));
  overflow: visible;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  position: relative;
  width: 100%;
}

.login-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 11px;
  border-radius: 999px;
  border: 2px solid rgba(249, 207, 136, 0.72);
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-hand);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.login-btn:hover {
  transform: translateY(calc(-50% - 2px));
  border-color: var(--muted);
  background: rgba(249, 207, 136, 0.08);
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: clamp(56px, 5vw, 66px);
  height: auto;
  display: block;
}

.menu-links {
  width: 670px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-right: 0;
}

.menu-link {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-hand);
  font-size: 21px;
  line-height: 1;
  padding: 8px 18px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-link:hover {
  transform: translateY(-2px);
}

.menu-link.active {
  color: #101010;
  background: var(--paper);
  box-shadow: 0 0 0 2px rgba(225, 220, 130, 0.1);
}

.hero {
  padding-top: 84px;
  padding-left: 16px;
  padding-right: 6px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.hero-kicker {
  font-family: var(--font-hand);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.3px;
  color: var(--line);
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-family: var(--font-chalk);
  font-size: 56px;
  line-height: 0.96;
  letter-spacing: 0.5px;
  font-weight: 400;
  margin-bottom: 24px;
}

.hero-copy p {
  font-family: var(--font-chalk);
  color: var(--muted);
  font-size: 30px;
  line-height: 0.95;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.waitlist-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  background: var(--paper);
  color: #0f0f0f;
  text-decoration: none;
  font-family: var(--font-hand);
  font-size: 34px;
  line-height: 1;
  padding: 10px 24px 13px;
  border-radius: 999px;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.waitlist-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.ghost-btn {
  appearance: none;
  cursor: pointer;
  display: inline-block;
  border: 2px solid rgba(249, 207, 136, 0.72);
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-hand);
  font-size: 34px;
  line-height: 1;
  padding: 10px 22px 13px;
  border-radius: 999px;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.ghost-btn:hover {
  transform: translateY(-2px);
  border-color: var(--muted);
  background: rgba(249, 207, 136, 0.08);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.hero-badges li {
  border: 1px solid rgba(249, 207, 136, 0.22);
  border-radius: 999px;
  padding: 8px 14px 9px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 18px;
}

.doodle-scene {
  margin-top: 18px;
  margin-bottom: 28px;
  position: relative;
  min-height: 390px;
}

.doodle-line {
  position: absolute;
  top: -150px;
  left: -34px;
  width: calc(100% + 68px);
  height: 132px;
  object-fit: fill;
  transform: translateX(-55%) scaleX(2.1) scaleY(1.6) rotate(5deg);
  opacity: 0.3;
  transform-origin: left center;
  pointer-events: none;
}

.scene-cards {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(12px, 2vw, 26px);
  padding-inline: 2px;
}

.scene-card {
  border: 4px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.82);
  box-shadow:
    0 0 16px rgba(235, 232, 139, 0.36),
    0 0 2px rgba(237, 232, 135, 0.4) inset;
  position: relative;
}

.scene-card-content {
  height: 100%;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.scene-card-content h3 {
  font-family: var(--font-hand);
  font-size: 24px;
  line-height: 1.05;
  font-weight: 400;
}

.scene-card-content p {
  font-family: var(--font-hand);
  font-size: 18px;
  line-height: 1.2;
  color: var(--muted);
}

.scene-card-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px 6px;
  border-radius: 999px;
  background: rgba(249, 207, 136, 0.12);
  border: 1px solid rgba(249, 207, 136, 0.24);
  color: var(--line);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scene-card-content-large {
  justify-content: center;
  padding: 22px;
}

.scene-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scene-card-pills span {
  border-radius: 999px;
  padding: 7px 12px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(249, 207, 136, 0.14);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 15px;
}

.scene-card.small {
  flex: 1;
  min-width: 0;
  max-width: 218px;
  height: 236px;
}

.scene-card.large {
  width: 480px;
  height: 258px;
}

.flower {
  position: absolute;
  top: -30px;
  width: 24px;
  height: auto;
}

.flower-left {
  position: absolute;
  left: 22px;
  top: -60px;
  width: 50px;
}

.flower-right {
  position: absolute;
  right: 22px;
  top: -36px;
  width: 50px;
}

.bridge-doodle {
  position: absolute;
  left: 30%;
  bottom: 232px;
  width: 300px;
  height: auto;
}

.house-doodle {
  position: absolute;
  right: 15%;
  bottom: 254px;
  width: 200px;
  height: auto;
  transform-origin: bottom center;
  animation: sway 4s ease-in-out infinite;
}

@keyframes sway {
  0%   { transform: skewX(0deg); }
  25%  { transform: skewX(-12deg); }
  75%  { transform: skewX(12deg); }
  100% { transform: skewX(0deg); }
}

@keyframes sway-reverse {
  0%   { transform: skewX(0deg); }
  25%  { transform: skewX(12deg); }
  75%  { transform: skewX(-12deg); }
  100% { transform: skewX(0deg); }
}

.flower-left {
  transform-origin: bottom center;
  animation: sway 3.6s ease-in-out infinite;
}

.flower-right {
  transform-origin: bottom center;
  animation: sway-reverse 3.8s ease-in-out infinite;
}

.content-section {
  margin-top: 44px;
  padding: 22px 18px 8px;
  border-top: 1px solid rgba(249, 207, 136, 0.18);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 20px;
}

.section-heading.compact {
  max-width: 760px;
}

.section-label {
  font-family: var(--font-hand);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: var(--line);
  margin-bottom: 8px;
}

.section-heading h2 {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 10px;
}

.section-heading p {
  font-family: var(--font-hand);
  font-size: 22px;
  line-height: 1.25;
  max-width: 880px;
  color: rgba(239, 233, 152, 0.88);
}

.split-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

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

.feature-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  border: 1px solid rgba(249, 207, 136, 0.18);
  border-radius: 20px;
  padding: 22px 20px 20px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.feature-card-dark {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.72));
}

.feature-card-accent {
  background: linear-gradient(180deg, rgba(249, 207, 136, 0.1), rgba(0, 0, 0, 0.6));
}

.feature-card h3 {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
}

.feature-card p {
  font-family: var(--font-hand);
  font-size: 20px;
  line-height: 1.3;
  color: var(--muted);
}

.feature-list {
  margin-top: 16px;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 18px;
  line-height: 1.2;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(249, 207, 136, 0.08);
  border: 1px solid rgba(249, 207, 136, 0.18);
}

.cta-strip p {
  font-family: var(--font-hand);
  font-size: 21px;
  line-height: 1.3;
  max-width: 820px;
}

.waitlist-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 28px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  width: min(620px, calc(100vw - 32px));
  max-height: min(90vh, 820px);
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.waitlist-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.waitlist-dialog-card {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(249, 207, 136, 0.24);
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.98), rgba(17, 17, 17, 0.98));
}

.waitlist-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.waitlist-dialog-header h2 {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  margin-bottom: 0;
}

.waitlist-close {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-hand);
  font-size: 40px;
  line-height: 1;
  padding: 0;
}

.waitlist-dialog-copy {
  font-family: var(--font-hand);
  font-size: 21px;
  line-height: 1.35;
  margin: 14px 0 18px;
  color: rgba(239, 233, 152, 0.9);
}

.waitlist-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.waitlist-field span {
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--line);
}

.waitlist-field input {
  width: 100%;
  border: 1px solid rgba(249, 207, 136, 0.22);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 20px;
  padding: 14px 16px;
  outline: none;
}

.waitlist-field input:focus {
  border-color: rgba(249, 207, 136, 0.68);
  box-shadow: 0 0 0 3px rgba(249, 207, 136, 0.1);
}

.waitlist-status {
  min-height: 22px;
  margin: 6px 0 18px;
  font-family: var(--font-hand);
  font-size: 18px;
  color: rgba(239, 233, 152, 0.88);
}

.waitlist-status.success {
  color: #bfe9b4;
}

.waitlist-status.error {
  color: #ffb4b4;
}

.waitlist-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.waitlist-cancel {
  background: rgba(0, 0, 0, 0.36);
  color: var(--muted);
  border-color: rgba(249, 207, 136, 0.28);
}

.waitlist-cancel:hover {
  background: rgba(0, 0, 0, 0.5);
  color: var(--ink);
  border-color: rgba(249, 207, 136, 0.55);
}

.intro-dialog {
  border: none;
  border-radius: 28px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  max-width: min(640px, calc(100vw - 32px));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.intro-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
}

.intro-dialog-card {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(249, 207, 136, 0.24);
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.98), rgba(17, 17, 17, 0.98));
}

.intro-dialog-card h2 {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  margin-bottom: 12px;
}

.intro-dialog-card p {
  font-family: var(--font-hand);
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 18px;
}

.intro-dialog-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1200px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .split-grid,
  .feature-grid.three-up,
  .feature-grid.four-up {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 36px;
  }
}
