/* meetusive. — marketing site
   Palette, type and layout mirror the app's own design language. */

@import url('https://fonts.googleapis.com/css2?family=Trirong:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg: #FFF7EA;
  --red: #8B0000;
  --brown: #3D2410;
  --red-light: #C97B7B;
  --brown-light: #9E9288;
  --text: #000000;
  --text-secondary: #4A4A4A;

  --max-width: 1100px;
  --pad: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Trirong', serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}

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

.site-header {
  display: flex;
  align-items: center;
  padding: 1.75rem var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}

.wordmark {
  display: inline-block;
  line-height: 0;
}

.wordmark-img {
  height: 26px;
  width: auto;
}

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

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--bg);
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border: 1.5px solid var(--red);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-primary:hover {
  background: var(--bg);
  color: var(--red);
}

/* ---------- Divider ----------
   Tapered, fade-to-transparent rule — opaque center, fading at both ends.
   Recreated in pure CSS via a horizontal gradient. */

.divider {
  height: 2px;
  width: 100%;
  max-width: 420px;
  margin: 4rem auto;
  background: linear-gradient(to right, transparent, var(--brown) 50%, transparent);
}

.divider--light {
  background: linear-gradient(to right, transparent, var(--brown-light) 50%, transparent);
}

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

.hero {
  padding: 4rem var(--pad) 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fade-up 0.7s ease 0.1s forwards;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 1rem 0 1.25rem;
  color: var(--text);
  opacity: 0;
  animation: fade-up 0.7s ease 0.25s forwards;
}

.hero h1 .accent {
  color: var(--red);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.25rem;
  text-align: justify;
  text-align-last: center;
  opacity: 0;
  animation: fade-up 0.7s ease 0.4s forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero h1, .hero-desc {
    animation: none;
    opacity: 1;
  }
}

/* ---------- Section shell ---------- */

.section {
  padding: 2rem var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-intro {
  text-align: center;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* ---------- How it works — steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  border: 1.5px solid var(--brown-light);
  padding: 1.75rem 1.5rem;
  background: var(--bg);
}

.step-number {
  font-size: 1rem;
  font-weight: 600;
  color: var(--red);
  border: 1.5px solid var(--red);
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ---------- Why cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  padding: 1.75rem;
  background: var(--red);
  color: var(--bg);
}

.card:nth-child(2n) {
  background: var(--brown);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.95rem;
  opacity: 0.92;
}

/* ---------- Status note ---------- */

.status-note {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.75rem;
  border: 1.5px dashed var(--brown-light);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.status-note strong {
  color: var(--text);
}

.store-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.store-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid var(--brown-light);
  color: var(--brown);
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: default;
}

.store-badge--active {
  border-color: var(--red);
  color: var(--red);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.store-badge--active:hover {
  background: var(--red);
  color: var(--bg);
}

.store-badge span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Suggestion form ---------- */

.suggestion-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.suggestion-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 140px;
  background: var(--bg);
  border: 1.5px solid var(--brown-light);
  color: var(--text);
  font-family: 'Trirong', serif;
  font-size: 1rem;
  padding: 1rem;
}

.suggestion-form textarea::placeholder {
  color: var(--brown-light);
}

.suggestion-form textarea:focus {
  outline: none;
  border-color: var(--brown);
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 460px;
}

/* ---------- FAQ ---------- */

.faq-section {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-list {
  max-width: 720px;
  margin: 2rem auto 0;
  width: 100%;
}

.faq-list .divider {
  margin: 0 auto;
}

.faq-item {
  padding: 1.5rem 0;
}

.faq-question {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: 'Trirong', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

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

.faq-item .faq-answer p {
  color: var(--text-secondary);
  padding-top: 1rem;
  margin: 0;
  line-height: 1.7;
}

.faq-more {
  display: block;
  width: fit-content;
  margin: 2.5rem auto 0;
}

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

.site-footer {
  border-top: 1.5px solid var(--brown-light);
  padding: 2.5rem var(--pad);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social a {
  display: inline-flex;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.footer-social a:hover {
  color: var(--red);
}

.footer-social svg {
  width: 23px;
  height: 23px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--red);
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem var(--pad) 4rem;
}

.legal h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.legal .updated {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2.5rem 0 0.9rem;
}

.legal p, .legal li {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.legal ul, .legal ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}

.legal ol li {
  padding-left: 0.3rem;
  margin-bottom: 0.6rem;
}

.legal strong {
  color: var(--text);
}

.legal .placeholder {
  color: var(--red);
  font-style: italic;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 1.5rem var(--pad);
  }

  .wordmark {
    font-size: 1.2rem;
  }

  .header-cta {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
  }

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

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
