/* Flow Maze marketing — cream paper + terracotta flow */

:root {
  --cream: #f3ecdd;
  --cream-deep: #ede4d4;
  --paper: #fffbf5;
  --ink: #3d2f24;
  --brown: #685037;
  --muted: #8a7462;
  --terracotta: #c06c4d;
  --terracotta-hot: #d37d4b;
  --leaf: #9b8ab8;
  --river: #7eb8d4;
  --line: rgba(184, 149, 108, 0.35);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --shell: 70rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--terracotta);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 600;
}

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -4rem;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.55rem 1rem;
  border-radius: 0 0 10px 10px;
  background: var(--terracotta);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus {
  top: 0;
}

/* Soft cream atmosphere */
.field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(255, 251, 245, 0.95), transparent 55%),
    radial-gradient(ellipse 45% 35% at 95% 70%, rgba(155, 138, 184, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 30% at 5% 80%, rgba(192, 108, 77, 0.1), transparent 50%),
    var(--cream);
}

.field__grain {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  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.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 160px;
  mix-blend-mode: soft-light;
}

/* Header */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 0.85rem 0;
  background: linear-gradient(180deg, rgba(243, 236, 221, 0.92), transparent);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.top.is-solid {
  background: rgba(255, 251, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.mark img {
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(104, 80, 55, 0.14);
}

.mark span {
  font-size: 1.05rem;
  color: var(--terracotta);
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top__nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.top__nav a:hover {
  color: var(--brown);
}

.top__cta {
  color: #fff !important;
  background: var(--terracotta);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 800 !important;
}

.top__cta:hover {
  filter: brightness(1.05);
  text-decoration: none !important;
}

/* Hero — brand first; soft landscape only (no splash logo art) */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 0 0 clamp(2.25rem, 5.5vh, 4rem);
  overflow: hidden;
}

.hero__plane {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, #fffbf5 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 80% 20%, rgba(155, 138, 184, 0.16), transparent 55%),
    linear-gradient(180deg, #f7f1e6 0%, var(--cream) 42%, #e8dcc8 100%);
}

.hero__hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(42vh, 340px);
  background:
    radial-gradient(ellipse 90% 100% at 20% 120%, rgba(192, 108, 77, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 90% at 85% 130%, rgba(155, 138, 184, 0.2), transparent 50%),
    radial-gradient(ellipse 120% 70% at 50% 100%, rgba(126, 184, 212, 0.22), transparent 60%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
}

.hero__hills::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 72%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.35), rgba(237, 228, 212, 0.9));
  transform: scaleX(1.05);
}

.hero__hills::after {
  content: "";
  position: absolute;
  left: 32%;
  width: 36%;
  bottom: 0;
  height: 38%;
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  background: linear-gradient(180deg, rgba(126, 184, 212, 0.35), rgba(243, 236, 221, 0.2));
  filter: blur(0.5px);
}

.hero__glow {
  position: absolute;
  left: 50%;
  top: 34%;
  width: min(72vw, 480px);
  height: min(72vw, 480px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 125, 75, 0.16), transparent 68%);
  animation: glowPulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowPulse {
  from {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.hero__stage {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding-top: 6.5rem;
  text-align: center;
  margin-inline: auto;
}

.hero__brand {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(3.1rem, 10vw, 5rem);
  line-height: 0.92;
  color: var(--terracotta-hot);
  font-weight: 650;
  text-shadow: 0 10px 36px rgba(192, 108, 77, 0.22);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--body);
  font-size: clamp(1.05rem, 2.8vw, 1.28rem);
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.hero__lede {
  margin: 0 auto 1.45rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 600;
}

.hero__drops {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  list-style: none;
  padding: 0;
}

.hero__drops li {
  width: 0.55rem;
  height: 0.72rem;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--river);
  opacity: 0.85;
  animation: drip 2.8s ease-in-out infinite;
}

.hero__drops li:nth-child(2) {
  animation-delay: 0.35s;
  opacity: 0.7;
}

.hero__drops li:nth-child(3) {
  animation-delay: 0.7s;
  opacity: 0.55;
}

@keyframes drip {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.78;
}

.btn span {
  line-height: 1.15;
  text-align: left;
}

.btn--flow {
  color: #fff;
  background: linear-gradient(135deg, var(--terracotta-hot), var(--terracotta) 60%, #a65a3f);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 14px 36px rgba(192, 108, 77, 0.28);
}

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

.btn--quiet {
  color: var(--muted);
  background: rgba(255, 251, 245, 0.72);
  border-color: var(--line);
  cursor: default;
}

/* Motion */
.motion-rise {
  opacity: 0;
  transform: translateY(16px);
  animation: riseIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-rise--2 {
  animation-delay: 0.1s;
}

.motion-rise--3 {
  animation-delay: 0.2s;
}

.motion-rise--4 {
  animation-delay: 0.3s;
}

.motion-rise--5 {
  animation-delay: 0.4s;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Features */
.features {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3rem);
}

.features__grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  text-align: center;
}

@media (min-width: 780px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature {
  padding: 0.5rem 0.75rem;
}

.feature__icon {
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 auto 0.85rem;
  color: var(--terracotta);
}

.feature h3 {
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 0.35rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Showcase — copy only (promo shot removed; it distorted on wide layouts) */
.showcase {
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
  position: relative;
}

.showcase__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.showcase__inner--solo {
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

.showcase__inner--solo .showcase__copy p {
  margin-inline: auto;
}

.showcase__copy .kicker {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.showcase__copy h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.showcase__copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 600;
  max-width: 32rem;
}

.levels {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #fff8ee;
  border: 1px solid rgba(192, 108, 77, 0.35);
  color: var(--terracotta);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* Path of play */
.path {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255, 251, 245, 0.65) 40%, transparent);
}

.path__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .path__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.path__copy h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  margin-bottom: 0.85rem;
}

.path__copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 600;
  max-width: 34rem;
}

.path__beats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.path__beats li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.path__beats h3 {
  font-family: var(--body);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: var(--brown);
}

.path__beats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.path__num {
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--terracotta);
  line-height: 1;
  padding-top: 0.1rem;
}

/* Close CTA */
.close {
  padding: clamp(3.5rem, 9vw, 5.5rem) 0 clamp(4.5rem, 11vw, 6.5rem);
  border-top: 1px solid var(--line);
  text-align: center;
}

.close__inner {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.close__icon {
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(192, 108, 77, 0.28),
    0 18px 44px rgba(104, 80, 55, 0.16);
}

.close h2 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  color: var(--terracotta-hot);
}

.close p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  max-width: 28rem;
  font-weight: 600;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: rgba(255, 251, 245, 0.55);
}

.foot__inner {
  display: grid;
  gap: 1rem;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  color: var(--brown);
}

.foot__brand img {
  border-radius: 8px;
}

.foot__by {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.foot__links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.foot__note {
  margin: 0;
  color: rgba(138, 116, 98, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 700px) {
  .top__nav a:not(.top__cta) {
    display: none;
  }

  .hero__stage {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .motion-rise,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
