:root {
  --ink: #12180f;
  --ink-2: #1c2618;
  --moss: #3d5a3a;
  --leaf: #7a9b62;
  --sand: #e8e0d0;
  --foam: #f4f1ea;
  --flare: #d4a017;
  --muted: #a8b39c;
  --danger-soft: #c45c3a;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Literata", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(122, 155, 98, 0.22), transparent 55%),
    radial-gradient(900px 600px at -10% 40%, rgba(212, 160, 23, 0.12), transparent 50%),
    linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 45%, #0e140c 100%);
  overflow-x: hidden;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.top {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.brand,
.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--foam);
  text-decoration: none;
}

.brand {
  font-size: 1.15rem;
}

.top-cta {
  color: var(--ink);
  background: var(--flare);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.top-cta:hover {
  transform: translateY(-1px);
  background: #e0b12a;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  min-height: calc(100vh - 4.5rem);
  padding: 1rem clamp(1.25rem, 4vw, 3rem) 3.5rem;
}

.brand-mark {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.95;
  margin: 0 0 0.75rem;
  animation: rise 0.9s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 14ch;
  color: var(--foam);
  animation: rise 0.9s ease 0.08s both;
}

.lede {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.08rem;
  animation: rise 0.9s ease 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: var(--flare);
  color: var(--ink);
}

.btn.primary:hover {
  transform: translateY(-2px);
  background: #e0b12a;
}

.btn.ghost {
  background: transparent;
  color: var(--sand);
  border-color: rgba(232, 224, 208, 0.28);
}

.btn.ghost:hover {
  border-color: var(--leaf);
  color: var(--foam);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  animation: fade-in 1.1s ease 0.2s both;
}

.hero-plane {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
}

.shot {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(18, 24, 15, 0.15), rgba(18, 24, 15, 0.55)),
    url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1400&q=80")
      center / cover no-repeat;
  transform-origin: center;
  animation: ken 18s ease-in-out infinite alternate;
  filter: saturate(0.85) contrast(1.05);
}

.float-sheet {
  position: absolute;
  width: min(240px, 70%);
  padding: 1rem 1.1rem;
  background: rgba(244, 241, 234, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.sheet-a {
  top: 14%;
  left: 8%;
  transform: rotate(-4deg);
  animation: float-a 5.5s ease-in-out infinite;
}

.sheet-b {
  right: 6%;
  bottom: 16%;
  transform: rotate(3deg);
  animation: float-b 6.2s ease-in-out infinite;
}

.sheet-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.5rem;
}

.sheet-line {
  display: block;
  height: 6px;
  background: rgba(18, 24, 15, 0.12);
  margin-bottom: 0.4rem;
}

.sheet-line.short {
  width: 55%;
}

.signed,
.paid {
  display: inline-block;
  margin-top: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--moss);
}

.amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section {
  position: relative;
  z-index: 2;
  padding: 4.5rem clamp(1.25rem, 4vw, 3rem);
  max-width: 920px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--foam);
}

.section-lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 40rem;
}

.pain {
  border-top: 1px solid rgba(232, 224, 208, 0.12);
}

.pain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pain-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(232, 224, 208, 0.1);
  color: var(--sand);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0 1.25rem 3rem;
  position: relative;
  border-bottom: 1px solid rgba(232, 224, 208, 0.1);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--leaf);
  color: var(--leaf);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.steps strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--foam);
}

.steps span {
  color: var(--muted);
}

.never {
  color: var(--danger-soft);
  font-size: 0.98rem;
}

.pilot {
  max-width: 640px;
}

.pilot-form {
  display: grid;
  gap: 1rem;
}

.pilot-form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--muted);
}

.pilot-form input,
.pilot-form textarea,
.pilot-form select {
  font: inherit;
  color: var(--ink);
  background: var(--foam);
  border: none;
  padding: 0.85rem 0.95rem;
  border-radius: 2px;
}

.pilot-form button {
  width: fit-content;
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-note code {
  font-size: 0.8em;
  color: var(--leaf);
}

.hidden {
  display: none;
}

.foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid rgba(232, 224, 208, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
}

.foot span:first-child {
  font-family: var(--font-display);
  color: var(--sand);
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ken {
  from {
    transform: scale(1.05) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-2%, 1%);
  }
}

@keyframes float-a {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-10px);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }
  50% {
    transform: rotate(2deg) translateY(8px);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0.5rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 340px;
    order: -1;
  }

  .hero-plane {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
