/* Foldra Pre-Launch — polished yellow brand site */

:root {
  --yellow: #fdd146;
  --yellow-soft: #ffe28a;
  --ink: #111111;
  --muted: #5a5a5a;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--yellow);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 2.25rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 209, 70, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 24px;
  height: 20px;
  background: var(--ink);
  border-radius: 3px 3px 3px 0;
  position: relative;
}

.logo-mark::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 10px;
  height: 6px;
  background: var(--ink);
  border-radius: 2px 2px 0 0;
}

.logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.nav-actions { display: flex; gap: 0.5rem; }

.nav-cta {
  background: var(--ink);
  color: var(--yellow);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Hero */
.hero {
  padding: 3rem 0 2.75rem;
  background: var(--yellow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  background: rgba(0, 0, 0, 0.08);
  color: var(--ink);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
}

.coming-label {
  letter-spacing: 0.06em;
}

.ks-logo {
  height: 1.35rem;
  width: 9.5rem;
  display: block;
  overflow: visible;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}

.hero-copy h1 em {
  font-style: italic;
  font-weight: 700;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 30rem;
  margin-bottom: 1.2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
}

.hero-badges span {
  background: var(--ink);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-dark {
  background: var(--ink);
  color: var(--yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  border: 1.5px solid var(--ink);
  background: transparent;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-device {
  width: min(100%, 440px);
  background: var(--yellow);
  border-radius: 8px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Signup */
.signup {
  background: var(--ink);
  color: var(--white);
  padding: 2.4rem 0;
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  align-items: center;
}

.signup-copy h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.signup-copy p {
  opacity: 0.88;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.signup-copy p:last-child { margin-bottom: 0; }
.signup-copy strong { color: var(--yellow); }

.signup-note {
  opacity: 1 !important;
  color: var(--yellow);
  font-size: 0.98rem !important;
}

.signup-free {
  opacity: 0.65 !important;
  font-size: 0.9rem !important;
}

.signup-centered {
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
}

.signup-centered h2 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.signup-centered > p {
  opacity: 0.7;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.form-row { display: flex; gap: 0.5rem; }

.form-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1.05rem;
  border: none;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
}

.form-row input:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
}

.btn-submit {
  border: none;
  background: var(--yellow);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}

.btn-submit:hover { background: var(--yellow-soft); }

.form-note {
  margin-top: 0.6rem;
  font-size: 0.76rem;
  opacity: 0.5;
}

.form-success { display: none; margin-top: 0.35rem; }
.form-success.visible { display: block; }
.form-success p { margin-bottom: 0.75rem; }

/* Features */
.feature {
  padding: 3.5rem 0;
}

.feature-white {
  background: var(--white);
  color: var(--ink);
}

.feature-dark {
  background: var(--ink);
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.feature-grid.invert {
  grid-template-columns: 1.15fr 1fr;
}

.feature-grid.invert .feature-media { order: -1; }

.pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--yellow);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.feature-white .pill {
  background: var(--yellow);
  color: var(--ink);
}

.pill-yellow {
  background: var(--yellow) !important;
  color: var(--ink) !important;
}

.feature-copy h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 0.75rem;
}

.feature-copy > p {
  font-size: 1.05rem;
  max-width: 28rem;
  opacity: 0.78;
}

.feature-white .feature-copy > p { color: var(--muted); opacity: 1; }

.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--yellow);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-dark .feature-media {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: var(--yellow);
}

/* Kickstarter */
.ks-strip {
  background: var(--white);
  border-block: 2px solid var(--ink);
  padding: 1.85rem 0;
}

.ks-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ks-inner h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.ks-inner p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer */
.footer {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 1.85rem 0;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--yellow);
}

.footer-tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0.25rem 0 0.65rem;
}

.footer-copy { font-size: 0.78rem; opacity: 0.4; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0.85rem 0 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.88rem;
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover { opacity: 1; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2000;
  max-width: 560px;
  margin-inline: auto;
}

.cookie-inner {
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cookie-inner p {
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.9;
}

.cookie-inner a {
  color: var(--yellow);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-btn {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  background: var(--yellow);
  color: var(--ink);
}

.cookie-btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Legal / privacy */
.legal-page { background: #fff8e0; }

.legal {
  padding: 5.5rem 0 3rem;
}

.legal-inner {
  max-width: 720px;
  background: var(--white);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 1.5rem 0 0.6rem;
}

.legal p,
.legal li {
  color: #333;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.2rem;
  margin-bottom: 0.75rem;
}

.legal a { color: #0b5; font-weight: 600; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid,
  .signup-grid,
  .feature-grid,
  .feature-grid.invert {
    grid-template-columns: 1fr;
  }

  .feature-grid.invert .feature-media { order: 0; }

  .hero {
    padding-top: 1.75rem;
    text-align: center;
  }

  .hero-sub { margin-inline: auto; }
  .hero-badges,
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-device { width: min(78%, 340px); }

  .form-row { flex-direction: column; }
  .btn-submit { width: 100%; }

  .ks-inner {
    flex-direction: column;
    text-align: center;
  }

}

@media (max-width: 520px) {
  .hero-copy h1 { font-size: 2.15rem; }
}
