:root {
  --green-900: #16330f;
  --green-700: #468432;
  --green-300: #9ad872;
  --yellow-200: #ffef91;
  --orange-500: #ffa02e;
  --orange-600: #f06f18;
  --paper: #fffaf1;
  --paper-soft: #f8f1e6;
  --ink: #241405;
  --muted: #746b5d;
  --line: #25170b;
  --shadow: 0 26px 80px rgba(36, 20, 5, 0.18);
  --display: "Arial Rounded MT Bold", "Cooper Black", Georgia, serif;
  --serif: Georgia, "Times New Roman", serif;
  --hand: "Comic Sans MS", "Bradley Hand", "Marker Felt", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(22px, 4vw, 54px) clamp(20px, 5vw, 72px) clamp(64px, 7vw, 110px);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 999px;
  filter: blur(1px);
}

.hero::before {
  width: 36vw;
  height: 36vw;
  right: -18vw;
  top: 12vh;
  background: rgba(154, 216, 114, 0.18);
}

.hero::after {
  width: 22vw;
  height: 22vw;
  left: -12vw;
  bottom: 6vh;
  background: rgba(255, 239, 145, 0.42);
}

.topbar,
.faq-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-mark,
.mini-logo {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(36, 20, 5, 0.12);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 6px 0 rgba(36, 20, 5, 0.08);
}

.brand-mark {
  width: 74px;
  height: 74px;
}

.mini-logo {
  width: 58px;
  height: 58px;
}

.brand-mark img,
.mini-logo img {
  display: block;
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 30px;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 5px 0 rgba(36, 20, 5, 0.14), inset 0 0 0 2px rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.outline-button:hover {
  background: var(--yellow-200);
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 8px 0 rgba(36, 20, 5, 0.14), inset 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.outline-button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(36, 20, 5, 0.18), inset 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.outline-button.small {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(32px, 5vw, 90px);
  width: min(1580px, 100%);
  min-height: calc(100vh - 150px);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: clamp(34px, 6vh, 84px);
}

.hand-note,
.scribble {
  margin: 0;
  color: var(--orange-600);
  font-family: var(--hand);
  font-weight: 800;
  letter-spacing: 0;
}

.hand-note {
  margin-bottom: 12px;
  font-size: clamp(23px, 2vw, 34px);
  transform: rotate(-2deg);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(72px, 9vw, 156px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 34px;
  color: #1d150f;
  font-family: var(--serif);
  font-size: clamp(27px, 2.4vw, 43px);
  line-height: 1.32;
}

.hero-lede span {
  display: inline-block;
  color: var(--orange-600);
  font-family: var(--hand);
  font-size: 0.82em;
  font-weight: 800;
  transform: rotate(-2deg);
}

.hero-button {
  margin-top: clamp(24px, 6vh, 70px);
}

.launch-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.4vw, 23px);
  font-weight: 700;
}

.hero-art {
  position: relative;
  min-width: 0;
  margin: 0;
  transform: rotate(-2deg);
}

.hero-art img {
  display: block;
  width: min(920px, 58vw);
  max-width: 100%;
  margin-left: auto;
  border: 3px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 18px 18px 0 rgba(70, 132, 50, 0.12);
}

.scribble {
  position: absolute;
  z-index: 2;
  max-width: 190px;
  color: var(--green-700);
  font-size: clamp(20px, 1.6vw, 30px);
  line-height: 1.1;
}

.scribble-one {
  top: 12%;
  left: 8%;
  transform: rotate(-7deg);
}

.scribble-two {
  right: 7%;
  bottom: 8%;
  color: var(--orange-600);
  transform: rotate(5deg);
}

.promise-section,
.faq-section {
  padding: clamp(72px, 9vw, 148px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto clamp(38px, 6vw, 78px);
  text-align: center;
}

.section-heading .hand-note {
  display: inline-block;
  margin-bottom: 2px;
}

.section-heading h2,
.faq-section h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(43px, 5vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

.promise-cloud {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 42px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.promise-card {
  min-height: 260px;
  padding: clamp(24px, 3vw, 38px);
  border: 3px solid var(--line);
  border-radius: 26px;
  background: #fffdf8;
  box-shadow: 10px 10px 0 rgba(255, 160, 46, 0.2);
}

.promise-card:nth-child(2) {
  margin-top: 46px;
  background: #f5ffe9;
  box-shadow: 10px 10px 0 rgba(70, 132, 50, 0.16);
}

.promise-card:nth-child(3) {
  margin-top: 12px;
  background: #fff8cf;
}

.doodle {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: var(--orange-500);
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  transform: rotate(-5deg);
}

.promise-card:nth-child(2) .doodle {
  background: var(--green-700);
}

.promise-card:nth-child(3) .doodle {
  background: var(--yellow-200);
  color: var(--ink);
}

.promise-card h3 {
  max-width: 290px;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.08;
}

.promise-card p {
  margin-bottom: 0;
  color: #3d342b;
  font-size: clamp(17px, 1.4vw, 21px);
}

.faq-section {
  min-height: 100vh;
  background: #fffdf8;
}

.faq-topline {
  width: min(1220px, 100%);
  margin: 0 auto clamp(54px, 7vw, 100px);
}

.faq-section h2 {
  margin-bottom: clamp(42px, 6vw, 76px);
  text-align: center;
}

.faq-list {
  display: grid;
  width: min(940px, 100%);
  margin: 0 auto;
}

details {
  border-bottom: 3px dashed rgba(36, 20, 5, 0.28);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  cursor: pointer;
  color: #17110b;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  flex: 0 0 auto;
  content: "+";
  color: var(--orange-600);
  font-family: var(--hand);
  font-size: 38px;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 780px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
}

.waitlist-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: min(900px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.waitlist-dialog::backdrop {
  background: rgba(36, 20, 5, 0.42);
  backdrop-filter: blur(2px);
}

.dialog-card {
  position: relative;
  max-height: min(900px, calc(100vh - 28px));
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  border: 3px solid var(--line);
  border-radius: 28px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.dialog-close {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  margin-left: auto;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.card-heading {
  margin: -12px 0 26px;
}

.card-heading .hand-note {
  margin-bottom: 10px;
}

.card-heading h2 {
  max-width: 590px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
}

.card-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

form {
  display: grid;
  gap: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

label span {
  color: #241405;
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 2px solid rgba(36, 20, 5, 0.36);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(154, 216, 114, 0.24);
}

.submit-button {
  min-height: 58px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: var(--orange-500);
  color: #ffffff;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 5px 0 rgba(36, 20, 5, 0.18);
}

.submit-button:hover {
  background: #f58d10;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.privacy-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.status-panel {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 18px;
  border: 2px solid;
  border-radius: 16px;
}

.status-panel strong,
.status-panel span {
  display: block;
}

.status-panel.success {
  border-color: rgba(70, 132, 50, 0.52);
  background: rgba(154, 216, 114, 0.22);
  color: var(--green-900);
}

.status-panel.error {
  border-color: rgba(196, 72, 42, 0.42);
  background: rgba(255, 160, 46, 0.14);
  color: #7c2a12;
}

@media (max-width: 1120px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 44px;
  }

  .hero-art img {
    width: min(900px, 100%);
    margin: 0 auto;
  }

  .scribble-one {
    left: 10%;
  }

  .promise-cloud {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .promise-card,
  .promise-card:nth-child(2),
  .promise-card:nth-child(3) {
    min-height: 0;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 18px 16px 64px;
  }

  .topbar {
    align-items: flex-start;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .outline-button.small {
    min-height: 48px;
    padding: 0 16px;
    font-size: 16px;
  }

  .hero-grid {
    gap: 34px;
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .hero-lede {
    font-size: clamp(23px, 7vw, 31px);
  }

  .hero-button {
    width: 100%;
    margin-top: 18px;
  }

  .hero-art {
    transform: rotate(-1deg);
  }

  .hero-art img {
    border-radius: 20px;
    box-shadow: 9px 9px 0 rgba(70, 132, 50, 0.12);
  }

  .scribble {
    position: static;
    display: inline-block;
    margin-top: 14px;
    max-width: none;
    font-size: 20px;
  }

  .scribble-two {
    margin-left: 16px;
  }

  .promise-section,
  .faq-section {
    padding: 68px 16px;
  }

  .section-heading h2,
  .faq-section h2 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .promise-card {
    padding: 24px;
  }

  .faq-topline {
    margin-bottom: 52px;
  }

  summary {
    align-items: flex-start;
    min-height: 74px;
    padding: 18px 0;
    font-size: 20px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
  }

  .dialog-card {
    max-height: calc(100vh - 18px);
    padding: 20px;
    border-radius: 22px;
  }
}
