/* ============================================================
   Seated With Love — Design System (Coder B)
   styles.css
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #fafaf9;
  --surface:   #ffffff;
  --ink:       #2d2d2d;
  --ink-soft:  #5a5a57;
  --muted:     #8a8a86;
  --rose:      #b68693;
  --rose-dark: #9c6f7d;
  --rose-soft: #f3e8ec;
  --line:      #e8e6e3;
  --ink-900:   #2a2724;
  --radius:    8px;
  --radius-sm: 4px;
  --maxw:      1180px;

  --shadow-card: 0 1px 2px rgba(45, 45, 45, 0.04),
                 0 8px 24px rgba(45, 45, 45, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(45, 45, 45, 0.06),
                       0 14px 38px rgba(45, 45, 45, 0.10);
  --shadow-soft: 0 6px 30px rgba(45, 45, 45, 0.08);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--rose-dark);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--rose);
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
}

h1, h2 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
}

h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Accent (highlighted word in headings) ---------- */
.accent {
  color: var(--rose);
  font-style: normal;
}

/* ---------- Layout: container ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}

.section--rose {
  background: var(--rose-soft);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rose);
}

/* ---------- Section heading ---------- */
.h-section {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 22ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.06s ease,
              box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--rose);
  color: #ffffff;
  border-color: var(--rose);
}

.btn--primary:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: #ffffff;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: #ffffff;
  border-color: var(--rose);
  color: var(--ink);
}

.btn--lg {
  font-size: 1.05rem;
  padding: 15px 28px;
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease,
              border-color 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

.card--featured {
  border-color: var(--rose);
  border-width: 1.5px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.card__title {
  font-family: var(--font-body);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
}

.card__text {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
}

.nav__logo:hover {
  color: var(--ink);
}

.nav__logo img {
  height: 32px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-900);
  color: #d9d6d2;
  padding: 72px 0 40px;
}

.footer a {
  color: #cbbfc4;
}

.footer a:hover {
  color: #ffffff;
}

.footer__brand {
  max-width: 320px;
  margin-bottom: 40px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer__logo img {
  height: 30px;
  width: auto;
}

.footer__tagline {
  color: #a9a39f;
  font-size: 0.95rem;
  margin: 0;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8f8a86;
  margin: 0 0 16px;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col li {
  margin-bottom: 10px;
}

.footer__col a {
  font-size: 0.95rem;
}

.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.86rem;
  color: #8f8a86;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.2;
}

.badge--rose {
  background: var(--rose-soft);
  border-color: transparent;
  color: var(--rose-dark);
}

/* ---------- Investors ---------- */
.investors {
  text-align: center;
}

.investors__lede {
  max-width: 56ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.investors__lede strong {
  color: var(--rose-dark);
  font-weight: 700;
}

.investor-logos {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 18px;
  margin: 40px 0 0;
  align-items: stretch;
}

.investor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 20px;
  min-height: 130px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.investor-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.investor-card__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.1;
}

.investor-card__tag {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Featured: Techstars '23 — the highlighted lead investor */
.investor-card--featured {
  background: linear-gradient(150deg, var(--rose) 0%, var(--rose-dark) 100%);
  border-color: transparent;
  box-shadow: 0 14px 40px rgba(156, 111, 125, 0.4);
  gap: 12px;
}

.investor-card--featured .investor-card__name {
  color: #ffffff;
  font-size: 1.7rem;
}

.investor-card--featured .investor-card__tag {
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
}

.badge--light {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 39, 36, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  padding: 36px 34px 32px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.modal--open .modal__box {
  transform: translateY(0) scale(1);
}

.modal__box h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 8px;
}

.modal__box > p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin: 0 0 22px;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.modal__close:hover {
  background: var(--rose-soft);
  color: var(--ink);
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
              background 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(182, 134, 147, 0.16);
}

.form-msg {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 1.2em;
  color: var(--rose-dark);
}

.form-msg.is-error {
  color: #b4453f;
}

.form-msg.is-success {
  color: #4f7a52;
}

/* ---------- FAQ accordion ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item.open {
  border-color: var(--rose);
  box-shadow: var(--shadow-card);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: none;
  padding: 20px 24px;
  cursor: pointer;
}

.faq__q::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--rose);
  transition: transform 0.25s ease;
}

.faq__item.open .faq__q::after {
  transform: rotate(45deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__a > * {
  padding: 0 24px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.faq__item.open .faq__a {
  max-height: 600px;
}

.faq__item.open .faq__a > * {
  padding-top: 0;
  padding-bottom: 22px;
}

/* ---------- Utility / shared layout helpers ---------- */
.media-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 14px;
}

.media-card img,
.media-card svg {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 4px);
}

.hero {
  padding: 72px 0 88px;
}

.hero .grid--2 {
  grid-template-columns: 1.05fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.hero__copy .h-section {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  max-width: 16ch;
  margin-bottom: 20px;
}

.hero__copy .card__text {
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 26px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero__trust {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0;
}

.hero__media .card {
  padding: 10px;
  box-shadow: var(--shadow-soft);
}

.hero__media img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.trust {
  font-size: 0.86rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stat-plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--rose);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 48px 32px;
  box-shadow: var(--shadow-soft);
}

.stat-plate .num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(3.5rem, 9vw, 6rem);
  line-height: 1;
}

.center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.step-num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--rose);
  margin-bottom: 8px;
}

.price {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 2.6rem;
  color: var(--ink);
  line-height: 1;
  margin: 8px 0 4px;
}

.price small {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Responsive: tablet ---------- */
@media (max-width: 1040px) {
  .footer__cols {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Responsive: mobile (<820px) ---------- */
@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .hero .grid--2 {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__copy .h-section,
  .hero__copy .card__text {
    max-width: none;
  }

  .nav__links {
    display: none;
  }

  .nav__inner {
    height: 62px;
  }

  .investor-logos {
    grid-template-columns: 1fr 1fr;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .modal__box {
    padding: 30px 24px 26px;
  }
}

/* ---------- Responsive: small mobile ---------- */
@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }

  .investor-logos {
    grid-template-columns: 1fr;
  }

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

  .btn-row .btn {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
