/* ═══════════════════════════════════════════
   Connection Crates — Landing Page Styles
   ═══════════════════════════════════════════ */

:root {
  /* Brand palette */
  --cream:       #f2eade;
  --cream-deep:  #efe5d9;
  --white:       #ffffff;
  --ink:         #2f3b3e;
  --muted:       #486168;
  --sage:        #9ec0a0;
  --sage-soft:   #c5d9c6;
  --sage-deep:   #6a9b6d;
  --teal:        #486168;
  --teal-deep:   #3a5562;
  --rose:        #bf766f;
  --rose-soft:   #d9a09b;
  --line:        #d9e3df;

  /* Tokens */
  --r-sm:   10px;
  --r-md:   18px;
  --r-lg:   28px;
  --r-pill: 999px;
  --sh-sm:  0 2px 8px rgba(35,48,53,0.07);
  --sh-md:  0 8px 28px rgba(35,48,53,0.11);
  --sh-lg:  0 20px 56px rgba(35,48,53,0.16);
  --ease:   220ms ease;
}

/* ── Reset & Base ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: min(1080px, 100% - 2.5rem);
  margin: 0 auto;
}

/* ── Scroll Reveal ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ── Typography ─────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.08;
  font-weight: 800;
  color: var(--ink);
}
h1       { font-size: clamp(2.2rem, 4vw, 3.75rem); letter-spacing: -0.03em; }
h2       { font-size: clamp(1.9rem, 4vw, 3rem);   letter-spacing: -0.025em; }
h3       { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4       { font-size: 0.95rem; }
em       { font-style: italic; font-weight: 300; }
h1 em, h2 em { display: block; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--rose);
  margin-bottom: 0.9rem;
}
.label-light { color: var(--sage); }

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  border-radius: var(--r-pill);
  padding: 0.8rem 1.6rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0);    }

.btn-lg  { padding: 1rem 2.25rem; font-size: 0.95rem; }
.btn-md  { padding: 0.85rem 1.75rem; }
.btn-sm  { padding: 0.6rem 1.2rem; font-size: 0.82rem; }

.btn-sage {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 6px 22px rgba(106,155,109,0.32);
}
.btn-sage:hover {
  background: var(--sage-deep);
  box-shadow: 0 10px 32px rgba(106,155,109,0.42);
}

.btn-teal {
  background: var(--teal-deep);
  color: var(--white);
  box-shadow: var(--sh-sm);
}
.btn-teal:hover {
  background: var(--teal);
  box-shadow: var(--sh-md);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(72,97,104,0.28);
}
.btn-outline:hover {
  background: var(--white);
  border-color: transparent;
  box-shadow: var(--sh-sm);
}

.full-w { width: 100%; }

/* ── Nav ────────────────────────────────── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242,234,222,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217,227,223,0.75);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav-logo {
  height: 64px;
  width: auto;
}

/* ── Hero ───────────────────────────────── */
.hero {
  background: var(--white);
  color: var(--ink);
  padding: 4rem 0 4.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}

.hero-pre-cta {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.hero-title {
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero-title em {
  color: var(--teal-deep);
  font-weight: 300;
}

.hero-lead {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.7;
}

/* Hero image */
.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-family-img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  display: block;
}

/* (countdown removed) */
.hero-footnote {
  display: none;
  letter-spacing: 0.04em;
}

/* ── Section Scaffolding ────────────────── */
.section { padding: 5.5rem 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-dark  { background: var(--teal-deep); position: relative; overflow: hidden; }
.section-sage  {
  background: linear-gradient(135deg, #d4e8d5 0%, #c3d9c4 100%);
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-head h2 { margin-bottom: 0.75rem; }

/* ── Problem Block ──────────────────────── */
.problem-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.problem-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-img {
  width: 100%;
  max-width: 460px;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  display: block;
}

.problem-copy h2 { margin-bottom: 0.75rem; }

.problem-body p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── Intro / Product Section ────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.intro-copy h2  { margin-bottom: 1.25rem; }
.intro-copy p   { line-height: 1.7; }
.intro-tagline  { font-weight: 700; color: var(--teal-deep) !important; font-size: 1.05rem !important; }
.intro-btn      { margin-top: 1.75rem; }

.intro-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.feature-tag {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  box-shadow: var(--sh-sm);
  transition: transform var(--ease), box-shadow var(--ease);
  cursor: default;
}
.feature-tag:hover {
  transform: translateX(5px);
  box-shadow: var(--sh-md);
}
/* Basket product image */
.intro-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.basket-img {
  width: 100%;
  max-width: 460px;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  display: block;
}

/* ── C.A.R.E. Section ───────────────────── */
.care-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.care-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 2.75rem 2.25rem;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.care-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
}

.care-bg-num {
  position: absolute;
  top: -0.5rem;
  right: 1.25rem;
  font-size: 8rem;
  font-weight: 900;
  opacity: 0.07;
  line-height: 1;
  color: currentColor;
  user-select: none;
  pointer-events: none;
}
.care-letter {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.care-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.care-card p {
  font-size: 0.97rem;
  line-height: 1.6;
  opacity: 0.88;
  margin-bottom: 0;
}

.care-green { background: #daebd9; color: #2d5230; }
.care-rose  { background: #f0d9d7; color: #7a3530; }
.care-teal  { background: #c8dade; color: #1e3c42; }
.care-cream { background: var(--cream-deep); color: var(--ink); }

/* ── Why / Benefits Section ─────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.why-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform var(--ease), box-shadow var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  background: rgba(255,255,255,0.92);
}
.why-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.1rem;
}
.why-icon svg { width: 48px; height: 48px; }
.why-card h4 {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: var(--teal-deep);
}
.why-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ── Founders Section ───────────────────── */
.founders-section { overflow: hidden; }
.founders-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.founders-deco {
  width: 90px;
  height: 90px;
  margin: 0 auto 2rem;
}
.founders-deco svg { width: 90px; height: 90px; }

.founders-quote {
  margin-bottom: 2.25rem;
  border: none;
}
.founders-quote p {
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 700;
  font-style: italic;
  color: var(--teal-deep);
  line-height: 1.35;
  margin-bottom: 1rem;
}
.founders-byline {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rose);
  font-style: normal;
}

.founders-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.ftag {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.5rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--teal);
  box-shadow: var(--sh-sm);
}

/* ── Waitlist Section ───────────────────── */
.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.waitlist-title {
  color: var(--white);
  margin-bottom: 1rem;
}
.waitlist-title em { color: var(--sage-soft); }

.waitlist-sub {
  color: rgba(255,255,255,0.62);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.waitlist-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.waitlist-perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
}
.waitlist-perks li svg { flex-shrink: 0; }

/* Signup form */
.signup-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}
.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}
.form-field input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md);
  padding: 0.9rem 1.1rem;
  font: inherit;
  font-size: 0.97rem;
  background: rgba(255,255,255,0.09);
  color: var(--white);
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.form-field input::placeholder { color: rgba(255,255,255,0.35); }
.form-field input:focus {
  outline: none;
  border-color: var(--sage);
  background: rgba(255,255,255,0.13);
  box-shadow: 0 0 0 3px rgba(158,192,160,0.18);
}

.form-submit { margin-top: 0.25rem; }
.form-note {
  text-align: center;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
}

/* ── Footer ─────────────────────────────── */
.site-footer {
  background: #2c424d;
  color: rgba(255,255,255,0.45);
  padding: 2.5rem 0;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
}
.footer-brand {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.15rem;
}
.footer-legal { font-size: 0.75rem; }

/* ── Responsive ─────────────────────────── */
@media (max-width: 920px) {
  .hero-grid,
  .intro-grid,
  .problem-block,
  .waitlist-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-text { align-items: center; text-align: center; }
  .countdown { justify-content: center; }
  .launch-badge { text-align: center; }
  .hero-family-img { max-width: 420px; }
  .care-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0; min-height: 0; }
  .hero-orb-1, .hero-orb-2 { display: none; }

  .intro-features {
    grid-template-columns: 1fr;
  }

  .care-grid { gap: 1rem; }
  .care-card { padding: 2rem 1.5rem; }
  .care-bg-num { font-size: 6rem; }

  .why-grid { grid-template-columns: 1fr; }

  .countdown { gap: 0.35rem; }
  .cu { min-width: 62px; padding: 0.75rem 0.75rem; }
  .cu b { font-size: 1.5rem; }
  .cu-sep { font-size: 1.5rem; }

  .signup-form { padding: 1.5rem; }

  .nav-logo { height: 50px; }
  .nav-row { height: 64px; }
}

/* ── Form feedback states ───────────────── */
.form-error {
  font-size: 0.84rem;
  font-weight: 600;
  color: #f0a09b;
  background: rgba(191, 118, 111, 0.15);
  border: 1px solid rgba(191, 118, 111, 0.35);
  border-radius: var(--r-sm);
  padding: 0.65rem 0.9rem;
  line-height: 1.45;
}
.form-error[hidden] { display: none; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
}
.form-success p {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  line-height: 1.5;
}
.form-success[hidden] { display: none; }
