/* Time Farm Landing Styles */
:root {
  --bg: #0e1116;
  --text: #0c0d0d;
  --muted: #5b6166;
  --brand: #2bd88f;
  --brand-ink: #0b3b2a;
  --cream: #fff9ec;
  --mint: #dcf9da;
  --sky: #cfefff;
  --butter: #fff1c9;
  --lilac: #e5dcff;
  --rose: #ffe0ea;
  --peach: #ffd7c8;
  --blue: #d4f1ff;
  --purple: #e9dcff;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  overflow-x: hidden;
}
html {
  background: #f7faf8;
}
body {
  margin: 0;
  font-family:
    "Plus Jakarta Sans",
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(1400px 600px at 10% -10%, var(--rose), transparent),
    radial-gradient(1000px 600px at 110% 10%, var(--sky), transparent), #f7faf8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(10px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: clamp(25px, 2.75vw, 33px);
}
.brand-mark {
  font-size: 20px;
}
.brand img {
  height: clamp(40px, 4vw, 50px);
  width: auto;
}
.nav-cta {
  display: flex;
  gap: 10px;
}
.nav-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  opacity: 0.9;
}
.nav-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Buttons */
.btn {
  --bg: var(--brand);
  --ink: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: #052a1f;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
  transition:
    transform 0.08s ease,
    box-shadow 0.08s ease,
    background 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(43, 216, 143, 0.3);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: inherit;
  box-shadow: none;
}

/* So outline buttons don't drop a colorful shadow */
.btn--ghost:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.btn--lg {
  padding: 14px 18px;
  font-size: 16px;
}
.btn--dark {
  background: #111;
  color: #fff;
}
.btn--dark:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.subtle {
  color: var(--muted);
  font-size: 14px;
}
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Sections */
.section {
  padding: 68px 0;
}
.hero {
  background: linear-gradient(
    135deg,
    var(--rose),
    var(--sky) 60%,
    var(--butter)
  );
  padding: clamp(20px, 3vw, 36px) 0 40px;
}
.features {
  background: #ffffff;
}
.download {
  background: linear-gradient(135deg, var(--blue), var(--purple));
}
.faq {
  background: #fff;
}
.site-footer {
  background: #0f1a14;
  color: #e9fff4;
  padding: 40px 0;
}

/* Hero */
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 6.5vw, 68px);
  line-height: 1.02;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero p {
  font-size: 18px;
  margin: 0 0 20px;
}
.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 10px 0 8px;
}
.hero__card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}
.hero__visual {
  align-self: center;
  justify-self: end;
}
.hero__visual {
  position: relative;
}
.hero__visual img,
.hero__visual video {
  width: min(420px, 100%);
  height: min(70svh, 640px);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  animation: levitate 6s ease-in-out infinite;
  display: block;
  object-fit: cover;
}

.hero__visual video {
  aspect-ratio: 201 / 437;
  background-color: #000;
}
.hero__visual::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 60%;
  height: 18px;
  filter: blur(10px);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.25), transparent);
  opacity: 0.25;
  animation: shadowPulse 6s ease-in-out infinite;
}

@keyframes levitate {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes shadowPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.25;
  }
  50% {
    transform: translateX(-50%) scale(0.9);
    opacity: 0.2;
  }
}

/* Features */
.features__list {
  display: grid;
  gap: 48px;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--mint), #fff);
  opacity: 0.7;
  z-index: 0;
}
.feature--alt::before {
  background: linear-gradient(135deg, var(--lilac), #fff);
}
.feature:nth-of-type(3)::before {
  background: linear-gradient(135deg, var(--butter), #fff);
}
.feature:nth-of-type(4)::before {
  background: linear-gradient(135deg, var(--rose), #fff);
}
.feature:nth-of-type(5)::before {
  background: linear-gradient(135deg, var(--blue), #fff);
}
.feature > * {
  position: relative;
  z-index: 1;
}
.feature__visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}
.feature__copy h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 36px);
}
.feature__copy p {
  margin: 0;
  color: #333;
}

/* Modern feature grid */
.features--modern .container {
  background: transparent;
  box-shadow: none;
  border: 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.f-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  overflow: hidden;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: 280px;
}
.f-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px) 0 0/10px
    10px;
  opacity: 0.08;
}
.f-card .f-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}
.f-card .f-body {
  padding: 8px 10px;
}
.f-card .f-body h3 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.4vw, 28px);
}
.f-card .f-body p {
  margin: 0;
  color: #333;
}
.f-card.span-7 {
  grid-column: span 7;
}
.f-card.span-5 {
  grid-column: span 5;
}

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .f-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .f-card.span-7,
  .f-card.span-5 {
    grid-column: auto;
  }
}

/* Download */
.download__card {
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: clamp(16px, 3vw, 26px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  text-align: center;
}
.download__card h2 {
  margin: 0 0 14px;
}
.download__card p {
  margin: 0;
}
.waitlist-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 16px;
}
.waitlist-form input {
  font: inherit;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  outline: none;
  min-width: 240px;
}
.waitlist-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(43, 216, 143, 0.2);
}
.form-message {
  margin-top: 10px;
  min-height: 24px;
}
.badge {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.hero .badge {
  margin-top: 0;
  font-size: 16px;
  padding: 12px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* Footer */
.footer__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__links {
  display: flex;
  gap: 16px;
}
.footer__links a {
  color: #e9fff4;
  text-decoration: none;
  opacity: 0.9;
}
.footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .footer__grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__links {
    flex-wrap: wrap;
  }
}

/* Author section */
.author {
  background: linear-gradient(135deg, #fff, var(--mint));
}
.author__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.author__text h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
}
.author__text p {
  margin: 0;
  color: #333;
}
.socials {
  margin-top: 10px;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}
.socials a {
  text-decoration: none;
  color: #0c0d0d;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-weight: 600;
}
.socials a:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.author__sig {
  position: relative;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.author__sig::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  background: radial-gradient(
    500px 120px at 50% 110%,
    rgba(43, 216, 143, 0.15),
    transparent
  );
  pointer-events: none;
}
.signature {
  position: relative;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(32px, 6vw, 52px);
  color: #1d1514;
  letter-spacing: 1px;
  transform: rotate(-2deg);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}
@media (max-width: 900px) {
  .author__grid {
    grid-template-columns: 1fr;
  }
}

/* Storytelling section */
.story {
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0));
}
.story__stack {
  display: grid;
  gap: 16px;
}
.story__card {
  padding: clamp(14px, 2.6vw, 22px) clamp(16px, 3vw, 26px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.story__card h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 34px);
}
.story__card p {
  margin: 0;
}
.story__list {
  margin: 0;
  padding-left: 1.1em;
}
.story__list li {
  margin: 4px 0;
}
.story--blue {
  background: linear-gradient(135deg, #e7f3ff, #fff);
}
.story--sky {
  background: linear-gradient(135deg, #eaf7ff, #fff);
}
.story--mint {
  background: linear-gradient(135deg, #eafaea, #fff);
}
.story--butter {
  background: linear-gradient(135deg, #fff7df, #fff);
}
.story--lilac {
  background: linear-gradient(135deg, #f1ecff, #fff);
}

/* Story: plain headline (no card container) */
.story--plain {
  background: linear-gradient(135deg, #f7fbff, #fff);
}
.story--plain .story__plain {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.story--plain h2 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 46px);
}
.story--plain p {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
}

/* Responsive */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    justify-self: center;
  }
  .hero__visual img,
  .hero__visual video {
    width: min(420px, 100%);
    height: 70svh;
  }
}

@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .waitlist-form {
    grid-template-columns: 1fr;
  }
}
/* Compact header on small screens */
@media (max-width: 720px) {
  .nav {
    padding: 10px 12px;
  }
  .brand img {
    height: 35px;
  }
  .nav-cta .btn--ghost,
  .nav-cta .nav-link {
    display: none;
  }
  .hero {
    padding: 28px 0 36px;
  }
  .hero__card {
    padding: 16px;
  }
}
.how {
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0));
  padding-bottom: 14px;
}
.section-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 40px);
}
.section-title--center {
  text-align: center;
}
.how__card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  padding: clamp(16px, 3vw, 26px);
}
.how__card + .how__card {
  margin-top: 14px;
}
.how__features {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
.how__features .how__card + .how__card {
  margin-top: 0;
}
.how__card--farm {
  grid-template-columns: 0.9fr 1.1fr;
}
.how__content h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 28px);
}
.how__steps {
  margin: 0;
  padding-left: 1.2em;
}
.how__steps li {
  margin: 6px 0;
}
.how__media {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff, #eef8ff);
}
.how__media img,
.how__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}
.how__media--wide {
  aspect-ratio: 16 / 9;
}
.how-video {
  width: 100%;
  height: 100%;
}

@media (max-width: 980px) {
  .how__media--wide {
    aspect-ratio: auto;
  }
}

/* New lightweight How it works layout */
.how__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  font-size: clamp(16px, 2.2vw, 20px);
  color: inherit;
}
.steps .icon {
  width: 24px;
  height: 24px;
  background: none;
  border-radius: 0;
  color: inherit;
  display: inline-grid;
  place-items: center;
}
.steps .icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.how__shot {
  width: clamp(160px, 26vw, 260px);
  border-radius: 12px;
  display: block;
}
.how__farmIntro {
  text-align: center;
  margin-top: 24px;
}
.how__farmIntro h3 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 28px);
}
.how__media {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff, #eef8ff);
  margin-top: 10px;
}
.how__media--wide {
  aspect-ratio: 16 / 9;
}
.how__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 980px) {
  .how__grid {
    grid-template-columns: 1fr;
  }
  .how__shot {
    justify-self: center;
  }
  .how__media--wide {
    aspect-ratio: auto;
  }
}

@media (min-width: 768px) {
  .how__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.science {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  padding-top: 0;
}
.science__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  padding: clamp(16px, 3vw, 26px);
}
.science__content h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.6vw, 28px);
}
.science__content p {
  margin: 0;
}
.science__media img {
  width: clamp(70px, 12vw, 110px);
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
}
@media (max-width: 900px) {
  .science__card {
    grid-template-columns: auto 1fr;
    text-align: left;
  }
  .science__media {
    order: 0;
    justify-self: start;
  }
}
