/* Fomí — waitlist landing page
   Design tokens: only white (#FFFFFF) and red (#FF0000). No black, gray or cream. */

:root {
  --red: #FF0000;
  --red-hover: #D90000;
  --link-hover: #C00000;
  --red-soft-85: rgba(255, 0, 0, 0.85);
  --red-soft-70: rgba(255, 0, 0, 0.7);
  --red-border-15: rgba(255, 0, 0, 0.15);
  --red-border-35: rgba(255, 0, 0, 0.35);
  --white: #FFFFFF;
  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'Karla', 'Helvetica Neue', Arial, sans-serif;
}

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

html, body { overflow-x: hidden; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--red);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--link-hover); }
img { max-width: 100%; }
input { font-family: inherit; }
::selection { background: var(--red); color: var(--white); }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 16px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}

.btn-solid {
  background: var(--red);
  color: var(--white);
  border: none;
}
.btn-solid:hover { background: var(--red-hover); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}
.btn-outline:hover { background: var(--red); color: var(--white); }

.btn-outline-on-red {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-outline-on-red:hover { background: var(--white); color: var(--red); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--red-border-15);
}

.site-header .logo-link { display: flex; align-items: center; }
.site-header .logo-link img { height: 24px; width: auto; display: block; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.btn-ig-small {
  gap: 7px;
  height: 40px;
  padding: 0 15px;
  font-size: 14px;
}

.ig-icon {
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  display: inline-block;
}

.btn-cta-small {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(28px, 6vw, 64px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  margin-bottom: clamp(20px, 4vw, 32px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  display: block;
  animation: fomi-pulse 1.8s ease-in-out infinite;
}

.badge-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 11.5vw, 150px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin: 0 0 clamp(20px, 3vw, 28px);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 22px; }

.hero-lead {
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1.45;
  color: var(--red-soft-85);
  margin: 0;
  max-width: 36ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.btn-lg { height: 56px; padding: 0 26px; font-size: 17px; }

.hero-stat {
  font-size: 14px;
  color: var(--red-soft-70);
  margin: 0;
}

.hero-image img { width: 100%; height: auto; display: block; }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--red);
  color: var(--white);
  overflow: hidden;
  padding: 14px 0;
  margin-top: clamp(24px, 4vw, 48px);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: fomi-marquee 32s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Section spacing / headings ---------- */

.section { padding: clamp(56px, 9vw, 120px) clamp(16px, 4vw, 48px); }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 clamp(36px, 6vw, 72px);
}

/* ---------- Problem ---------- */

.problem-heading {
  font-size: clamp(34px, 7vw, 88px);
  max-width: 18ch;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 64px);
}

.problem-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 4vw, 48px);
  align-items: center;
  border-top: 2px solid var(--red);
  padding-top: clamp(20px, 3vw, 32px);
}

.problem-item-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.035em;
  display: block;
  margin-bottom: 12px;
}

.problem-item-text {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--red-soft-70);
  margin: 0;
  max-width: 44ch;
}

.problem-item img { width: 100%; height: auto; display: block; }

.problem-closer {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5.5vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: clamp(40px, 6vw, 80px) 0 0;
  max-width: 24ch;
}

/* ---------- Red sections (proposal / manifesto / waitlist) ---------- */

.section-red {
  background: var(--red);
  color: var(--white);
}

.proposal {
  padding: clamp(56px, 9vw, 120px) clamp(16px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}

.proposal-illustration {
  position: absolute;
  right: -8%;
  bottom: -6%;
  width: min(760px, 90%);
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}

.proposal .container { position: relative; }

.logo-on-red {
  height: clamp(34px, 5vw, 58px);
  width: auto;
  display: block;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.kicker-on-red {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 clamp(18px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.75);
}

.proposal-words {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 13vw, 168px);
  line-height: 0.84;
  letter-spacing: -0.05em;
  display: flex;
  flex-direction: column;
}

.proposal-text {
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.5;
  margin: clamp(24px, 4vw, 40px) 0 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Solution ---------- */

.solution-heading { font-size: clamp(34px, 7.5vw, 96px); line-height: 0.92; max-width: 16ch; margin-bottom: clamp(16px, 3vw, 24px); }

.solution-lead {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--red-soft-85);
  margin: 0 0 clamp(36px, 6vw, 64px);
  max-width: 50ch;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 12px;
}

.card {
  border: 1.5px solid var(--red);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
}

.card-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}

.card-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--red-soft-70);
  margin: 0;
}

.solution-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: clamp(24px, 4vw, 48px);
}

/* ---------- Manifesto ---------- */

.manifesto {
  padding: clamp(64px, 10vw, 140px) clamp(16px, 4vw, 48px);
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(22px, 4vw, 36px);
}

.manifesto-logo { height: clamp(44px, 9vw, 86px); width: auto; display: block; }

.manifesto-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 24ch;
}

.manifesto-text {
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.55;
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Access ---------- */

.access-heading { font-size: clamp(38px, 9vw, 120px); line-height: 0.88; letter-spacing: -0.045em; max-width: 14ch; margin-bottom: clamp(20px, 3vw, 28px); }

.access-lead {
  font-size: clamp(17px, 2.3vw, 22px);
  line-height: 1.5;
  color: var(--red-soft-85);
  margin: 0 0 clamp(36px, 6vw, 64px);
  max-width: 46ch;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 3vw, 32px);
  margin-bottom: clamp(28px, 5vw, 52px);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 2px solid var(--red);
}

.step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--red);
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0;
}

.step-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--red-soft-70);
  margin: 0;
}

.access-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 12px;
}

.stat-card,
.instagram-card {
  border-radius: 22px;
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 270px;
}

.stat-card {
  background: var(--white);
  border: 1.5px solid var(--red);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(62px, 11vw, 124px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--red);
}

.stat-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  max-width: 22ch;
}

.stat-card-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--red-soft-70);
  margin: 0;
}

.instagram-card {
  background: var(--red);
  color: var(--white);
  transition: background .15s ease;
}
.instagram-card:hover { background: var(--red-hover); color: var(--white); }

.instagram-card-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.instagram-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: var(--white);
}

.instagram-card-text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 16px;
  max-width: 34ch;
}

.instagram-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

/* ---------- Waitlist (#lista) ---------- */

.waitlist-section { padding: clamp(56px, 9vw, 120px) clamp(16px, 4vw, 48px); }

.waitlist-logo {
  height: clamp(30px, 4.5vw, 52px);
  width: auto;
  display: block;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.waitlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.waitlist-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 8vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}

.waitlist-lead {
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 24px;
  max-width: 38ch;
}

.btn-waitlist-ig { height: 54px; padding: 0 24px; font-size: 16px; gap: 10px; }

.waitlist-card {
  background: var(--white);
  color: var(--red);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 32px);
}

.waitlist-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  margin: 0 0 4px;
}

.waitlist-card-subtitle {
  font-size: 14px;
  color: var(--red-soft-70);
  margin: 0 0 18px;
}

/* Embedded Google Form: rounded container that looks native to the page,
   even though the iframe content keeps Google's own styling. */
.form-embed {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.12);
  border: 1.5px solid var(--red-border-15);
  background: var(--white);
}

.form-embed iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
}

.waitlist-card-note {
  font-size: 13px;
  color: var(--red-soft-70);
  margin: 14px 0 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--red);
  color: var(--white);
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px) clamp(24px, 4vw, 40px);
  overflow: hidden;
}

.footer-logo {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  padding-top: 20px;
  font-size: 14px;
  font-weight: 600;
}

.footer-row a { color: var(--white); }
.footer-row a:hover { color: rgba(255, 255, 255, 0.7); }

/* ---------- Animations ---------- */

@keyframes fomi-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes fomi-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .badge-dot { animation: none; }
}
