/* ============ Storyforce landing ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --canvas: #0a0c12;
  --ink: #0f1118;
  --amber: #d99a56;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.62);
  /* hero palette — reused as glow accents across sections */
  --warm-1: rgba(255, 168, 105, 0.9);
  --warm-2: rgba(232, 120, 70, 0.55);
  --warm-3: rgba(120, 90, 130, 0.15);
  --blue-glow: rgba(31, 95, 196, 0.55);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-white { background: #fff; color: var(--ink); }
.btn-nav { padding: 13px 28px; font-size: 16px; }
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  color: #fff;
}
.btn-lg { padding: 17px 34px; font-size: 18px; }

/* subtle film grain overlay for section backgrounds */
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(300deg, var(--warm-1) 0%, var(--warm-2) 14%, var(--warm-3) 30%, transparent 46%),
    linear-gradient(128deg, #0a0c12 0%, #0a0e18 38%, #0d1a3a 52%, #123a7a 66%, #1f5fc4 82%, #2f6fd6 100%);
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 7.2vw 0;
}
/* logo lockup image */
.logo { display: block; }
.logo img { display: block; width: 210px; height: auto; }
.logo-top {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  align-self: flex-end;
  margin-bottom: 1px;
  margin-right: 2px;
}
.logo-word {
  font-size: 37px;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.logo-f {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 42px;
  line-height: 0;
  padding: 0 1px;
}
.logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 5px;
}
.nav-right { display: flex; align-items: center; gap: 40px; }
.nav-right > a:not(.btn) { font-size: 17px; font-weight: 400; color: #fff; }
.nav-right > a:not(.btn):hover { opacity: 0.75; }

/* hero body */
.hero-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 11vh 7.2vw 0;
}
.hero-copy { position: relative; z-index: 2; }
h1 {
  font-size: clamp(40px, 5.7vw, 80px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.022em;
}
.hero-sub {
  margin-top: 30px;
  font-size: clamp(19px, 1.9vw, 26px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.42;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

/* hero illustration (full-bleed transparent PNG) */
.hero-image {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 1;
}
.hero-flow { position: absolute; inset: 0; width: 100%; height: 100%; }
.founder { stroke: rgba(255, 255, 255, 0.95); }
.founder-hero {
  position: absolute;
  bottom: 1%;
  right: 1%;
  width: 78%;
  height: 60%;
  transform: scaleX(-1);
}
.desk-line {
  position: absolute;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.75);
}
.hero-desk { bottom: 0.5%; left: 30%; width: 120%; }

.plane { position: absolute; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3)); }

/* post cards */
.post-card {
  position: absolute;
  width: 112px;
  padding: 10px 11px 11px;
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.pc-small { width: 92px; padding: 8px 9px 9px; }
.pc-blue { background: #7d9ce8; }
.pc-coral { background: #e98a72; }
.pc-cream { background: #f2e3c4; }
.pc-top { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.pc-avatar { width: 17px; height: 17px; border-radius: 50%; flex: none; }
.av-cream { background: #f2e3c4; }
.av-blue { background: #5b83d8; }
.av-coral { background: #d96a50; }
.pc-line {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.8);
  margin-top: 5px;
}
.pc-top .pc-line { margin-top: 0; }
.pc-w90 { width: 90%; }
.pc-w65 { width: 65%; }
.pc-w40 { width: 42px; }
.pc-w30 { width: 26px; }
.pc-cream .pc-line { background: rgba(125, 95, 55, 0.4); }
.pc-actions { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.pc-heart { color: #e14b32; font-size: 12px; line-height: 1; }

/* micro accents */
.accent { position: absolute; }
.accent.heart { color: #ef8b3f; font-size: 25px; line-height: 1; }
.accent.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-teal { background: #45d0b4; }
.dot-purple { background: #a06be0; }
.accent.graph { width: 42px; }

/* hero footer strip */
.hero-strip {
  position: relative;
  padding: 24px 7.2vw;
  font-size: 19px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

/* ============ HOW IT WORKS ============ */
.how {
  position: relative;
  padding: 74px 0 72px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 620px 520px at -6% 24%, var(--warm-1) 0%, rgba(232, 120, 70, 0.5) 24%, rgba(120, 90, 130, 0.14) 46%, transparent 66%),
    radial-gradient(ellipse 1100px 640px at 62% -14%, var(--blue-glow), transparent 66%),
    #0a0c12;
}
.eyebrow {
  color: var(--amber);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
h2 {
  margin-top: 16px;
  font-size: clamp(40px, 4.9vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* illustration band */
.how-illus {
  position: relative;
  height: 270px;
  margin: 46px auto 30px;
  background-image: url("images/web-section2.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 84% auto;
}
.how-flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.how-desk { bottom: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.55); }

.illus-founder {
  position: absolute;
  bottom: -2px;
  left: 11%;
  width: 264px;
  height: 208px;
}
.illus-founder .founder { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; }
.sparks { position: absolute; width: 52px; }

/* orb */
.illus-orb {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
}
.orb {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 64%, #d6e6ff 0%, #6aa5f8 28%, #2668d8 55%, #143f9e 80%, #0d2f78 100%);
  box-shadow:
    inset 14px 12px 22px -14px rgba(242, 116, 48, 0.95),
    0 0 58px 14px rgba(52, 120, 245, 0.5),
    -20px -16px 52px -4px rgba(235, 100, 40, 0.42);
}
.orbit {
  position: absolute;
  inset: -58px;
}
.bubble {
  position: absolute;
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bb-blue { background: #7d9ce8; width: 48px; }
.bb-blue::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 9px;
  border: 7px solid transparent;
  border-top-color: #7d9ce8;
  border-left-width: 4px;
  border-right-width: 4px;
}
.bb-coral { background: #e98a72; width: 42px; }
.bb-cream { background: #f2e3c4; }
.bb-small { width: 34px; height: 22px; }
.bb-tiny { width: 24px; height: 15px; border-radius: 6px; }
.bb-line { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.8); width: 100%; }
.bb-short { width: 60%; }

/* card cluster */
.illus-cards {
  position: absolute;
  right: 8%;
  top: 8%;
  width: 285px;
  height: 205px;
}

/* step text columns */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin: 34px auto 0;
  max-width: 1240px;
  padding: 0 4vw;
}
.step h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.step p {
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.4;
  color: var(--text-dim);
}

/* bottom cta */
.how-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 42px;
}
.how-cta .btn-lg { padding: 15px 32px; font-size: 17px; }
.ghost-text { font-size: 19px; color: rgba(255, 255, 255, 0.6); font-weight: 400; }

/* ============ MANIFESTO ============ */
.manifesto {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 92px 7.2vw 88px;
  background:
    radial-gradient(ellipse 620px 640px at -8% 46%, var(--blue-glow), transparent 62%),
    radial-gradient(ellipse 640px 660px at 108% 52%, var(--warm-1) 0%, rgba(232, 120, 70, 0.42) 40%, transparent 66%),
    #0a0c12;
}
.lede {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.5;
  color: var(--text-dim);
}

/* split visual: a wall of identical AI posts vs one real founder post */
.forces {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 8vw, 130px);
  margin: 60px auto 56px;
  min-height: 220px;
}
.side { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.force-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.4);
}
.force-warm { color: var(--amber); font-weight: 600; }

/* the sameness wall — identical monotone post cards fading into the dark */
.sea {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 11px;
  width: 320px;
  -webkit-mask-image: radial-gradient(120% 130% at 12% 30%, #000 34%, transparent 88%);
  mask-image: radial-gradient(120% 130% at 12% 30%, #000 34%, transparent 88%);
}
.sea span {
  position: relative;
  height: 44px;
  border-radius: 6px;
  background: #171a22;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}
.sea span::before { /* identical avatar dot */
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333844;
}
.sea span::after { /* identical text lines — every post says the same thing */
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(#333844 0 0),
    linear-gradient(#2a2e37 0 0),
    linear-gradient(#2a2e37 0 0);
  background-size: 18px 3px, calc(100% - 16px) 3px, 62% 3px;
  background-position: 23px 11px, 8px 26px, 8px 34px;
}

/* the one real post — warm, alive, engaged */
.lift {
  position: relative;
  transform: rotate(-6deg);
  filter: drop-shadow(0 26px 46px rgba(233, 138, 114, 0.4));
}
.lift .post-card { position: relative; width: 176px; padding: 15px 16px 16px; }
.lift .pc-line { height: 6px; }
.lift .accent.heart { top: -30px; left: -20px; font-size: 30px; }
.pc-graph { width: 40px; margin-left: auto; }

.manifesto-close {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
}

/* ============ PRICING ============ */
.pricing {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 90px 7.2vw 92px;
  background:
    radial-gradient(ellipse 720px 560px at 82% 40%, var(--warm-1) 0%, rgba(232, 120, 70, 0.32) 42%, transparent 62%),
    #0a0c12;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 20px;
  max-width: 1180px;
  margin: 56px auto 0;
}
.plan {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 30px 26px 32px;
  text-align: left;
  background: #14161e;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.plan-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 14px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}
.plan-per {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-dim);
}
.plan-rows {
  list-style: none;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  gap: 14px;
}
.plan-rows li {
  font-size: 15.5px;
  line-height: 1.35;
  color: var(--text-dim);
  padding-left: 24px;
  position: relative;
}
.plan-rows li::before { /* muted dash for the comparison plans */
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
}

/* hero column — obviously wins */
.plan-hero {
  position: relative;
  padding: 36px 30px 34px;
  transform: translateY(-14px);
  background: linear-gradient(180deg, #191c27 0%, #14161e 100%);
  border: 0;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5), 0 0 52px rgba(233, 138, 114, 0.2);
}
.plan-hero::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 21px;
  padding: 1.5px;
  background: linear-gradient(150deg, #2f6fd6, #e98a72);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.plan-logo { display: block; width: 150px; height: auto; margin-bottom: 2px; }
.plan-hero .plan-price { font-size: 42px; }
.plan-hero .plan-per { color: rgba(255, 255, 255, 0.72); }
.plan-rows-win li { color: #fff; padding-left: 26px; }
.plan-rows-win li::before { /* mint check for the winning plan */
  content: "";
  left: 1px;
  top: 3px;
  width: 14px;
  height: 8px;
  border-radius: 0;
  background: none;
  border: 2px solid #45d0b4;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  box-shadow: none;
}
.plan-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--amber);
  color: #1a1206;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 999px;
}
.fineprint {
  margin-top: 18px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.5);
}
.fineprint + .fineprint { margin-top: 6px; }
.btn-blue { color: #1f5fc4; margin-top: 34px; }

/* ============ FINALE + FOOTER ============ */
.finale {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 116px 7.2vw 0;
  background:
    radial-gradient(ellipse 1000px 520px at 56% 116%, var(--warm-1) 0%, rgba(232, 120, 70, 0.5) 24%, rgba(120, 90, 130, 0.22) 42%, transparent 64%),
    radial-gradient(ellipse 820px 480px at 20% 110%, var(--blue-glow), transparent 60%),
    #0a0c12;
}
.finale-body { position: relative; z-index: 2; }
.finale h2 { max-width: 1060px; margin-left: auto; margin-right: auto; }
.finale-sub { margin-top: 22px; font-size: clamp(17px, 1.7vw, 22px); color: var(--text-dim); }
.finale .btn-blue { margin-top: 38px; }
.finale-note { margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, 0.55); }

/* flock of cards drifting to the top-right like birds */
.finale-flock {
  position: absolute;
  top: 40px;
  left: 50%;
  margin-left: -131px;
  width: 262px;
  height: 118px;
  pointer-events: none;
}
.finale-flock .post-card { position: absolute; }
.finale-flock .pc-blue { top: 40px; left: 0; transform: rotate(-8deg); }
.finale-flock .pc-coral { top: 20px; left: 84px; transform: rotate(6deg); }
.finale-flock .pc-cream { top: 2px; left: 170px; transform: rotate(-4deg); }
.finale-flock .plane {
  position: absolute;
  top: -22px;
  right: -8px;
  font-size: 38px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3));
}

.foot {
  position: relative;
  z-index: 2;
  margin-top: 96px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  flex-wrap: wrap;
}
.foot-word { display: block; }
.foot-word img { display: block; width: 168px; height: auto; }
.foot-links { display: flex; gap: 26px; }
.foot-links a { font-size: 15px; color: var(--text-dim); }
.foot-links a:hover { color: #fff; }
.foot-close { font-size: 15px; color: rgba(255, 255, 255, 0.85); }

/* ============ responsive ============ */
@media (max-width: 980px) {
  .hero-body { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { min-height: 380px; height: 440px; }
  .how-illus { display: none; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .nav-right > a:not(.btn) { display: none; }
  .plans { grid-template-columns: 1fr 1fr; }
  .forces { flex-direction: column; gap: 48px; }
  .finale-flock { display: none; }
  .foot { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
}
