:root {
  --bg-cream: #f6f1e8;
  --bg-wash: #e5f2ff;
  --ink: #0e1726;
  --muted: #45556f;
  --red: #d92d20;
  --orange: #ff7a18;
  --card: #ffffff;
  --line: rgba(14, 23, 38, 0.08);
  --shadow: 0 12px 30px rgba(14, 23, 38, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 122, 24, 0.25) 0%, rgba(255, 122, 24, 0) 45%),
    radial-gradient(circle at 86% 12%, rgba(53, 134, 255, 0.25) 0%, rgba(53, 134, 255, 0) 38%),
    repeating-linear-gradient(
      to right,
      rgba(14, 23, 38, 0.05) 0px,
      rgba(14, 23, 38, 0.05) 1px,
      transparent 1px,
      transparent 54px
    ),
    linear-gradient(150deg, var(--bg-cream), var(--bg-wash));
  line-height: 1.45;
  position: relative;
  overflow-x: hidden;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(14, 23, 38, 0.07) 0.6px, transparent 0.6px);
  background-size: 2px 2px;
  opacity: 0.25;
  z-index: 0;
}

.site-header,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(1120px, 92vw);
  margin: 1.25rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Permanent Marker", "Bradley Hand", cursive;
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: 0.02em;
}

.section {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 4rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: center;
  min-height: calc(100vh - 140px);
  padding-top: 2.25rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  margin-bottom: 1.4rem;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 0.55rem;
}

.subhead {
  font-size: clamp(1rem, 2.1vw, 1.3rem);
  max-width: 55ch;
  margin: 1.1rem 0 0;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.solid {
  background: linear-gradient(115deg, var(--ink), #273651);
  color: #fff;
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow);
}

.button.ghost {
  color: var(--ink);
  border-color: rgba(14, 23, 38, 0.2);
  padding: 0.58rem 1.05rem;
  background: rgba(255, 255, 255, 0.64);
}

.button.text {
  color: var(--ink);
  border-color: rgba(14, 23, 38, 0.12);
  background: rgba(255, 255, 255, 0.4);
  padding: 0.8rem 1.2rem;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.paper {
  width: min(460px, 100%);
  min-height: 280px;
  background: linear-gradient(180deg, #fffef9, #ffffff);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(14, 23, 38, 0.16);
  border: 1px solid rgba(14, 23, 38, 0.08);
  position: relative;
  padding: 2.1rem 1.7rem;
  transform: rotate(-1.4deg);
}

.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    repeating-linear-gradient(
      to right,
      rgba(14, 23, 38, 0.05) 0px,
      rgba(14, 23, 38, 0.05) 1px,
      transparent 1px,
      transparent 40px
    );
  pointer-events: none;
}

.marker-title,
.marker-subtitle {
  position: relative;
  z-index: 1;
}

.marker-title {
  font-family: "Permanent Marker", "Bradley Hand", cursive;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin: 0;
  letter-spacing: 0.03em;
}

.marker-subtitle {
  font-family: "Caveat", "Comic Sans MS", cursive;
  font-size: clamp(2rem, 3.3vw, 2.7rem);
  margin: 0.65rem 0 0;
  color: var(--red);
  line-height: 1.02;
}

.squiggle {
  position: absolute;
  right: 1.2rem;
  top: 1.1rem;
  width: 96px;
  height: 42px;
}

.squiggle::before,
.squiggle::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  border-bottom: 6px solid var(--red);
  border-radius: 100%;
  transform: skewX(-25deg);
}

.squiggle::before {
  top: 2px;
}

.squiggle::after {
  top: 16px;
}

.features p,
.workflow p,
.waitlist p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.1rem;
  box-shadow: 0 7px 16px rgba(14, 23, 38, 0.08);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
}

.step {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.06em;
}

.waitlist {
  text-align: center;
}

.waitlist-form {
  margin: 1rem auto 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

input[type="email"] {
  width: min(360px, 84vw);
  border-radius: 999px;
  border: 1px solid rgba(14, 23, 38, 0.2);
  padding: 0.8rem 1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
}

input[type="email"]:focus {
  outline: 2px solid rgba(217, 45, 32, 0.4);
  outline-offset: 2px;
}

.form-note {
  min-height: 1.2rem;
  margin: 0.7rem 0 0;
}

.site-footer {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 1.3rem 0 2.1rem;
  border-top: 1px solid rgba(14, 23, 38, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.6rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-art {
    order: 0;
  }

  .feature-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .site-header {
    margin-top: 0.9rem;
  }

  .section {
    padding: 3.2rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
