/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #FFF8F0;          /* cream — primary background */
  --surface: #FFFBF5;     /* card surface */
  --amber: #D4854A;       /* brand / accent */
  --amber-dark: #B5673A;  /* hover / deeper accent */
  --orange: #F4A534;      /* app send-button orange — homepage buttons */
  --orange-dark: #DA8E20; /* hover for --orange */
  --golden: #EFCDA0;      /* soft accent / pill */
  --coral: #E08B6D;       /* warm accent */
  --espresso: #6B4226;    /* primary text / dark cards */
  --espresso-light: #8A6A4F; /* secondary text */
  --ink: #3D2B1A;         /* darkest — headings / wordmark */
  --border: #ECE0D2;      /* subtle warm border */
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--espresso);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--espresso);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Layout ===== */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

main {
  flex: 1;
}

/* ===== Header / Nav ===== */
.site-header {
  padding: 1.25rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
}

.site-header .logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.back-link {
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 0.7;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 6rem 0 3rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.hero .tagline {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--espresso-light);
  margin-bottom: 4rem;
}

/* ===== App Store Badge ===== */
.app-store-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.app-store-badge {
  display: inline-block;
  cursor: default;
  transition: opacity 0.2s;
}

.app-store-badge svg {
  height: 54px;
  width: 300px;
}

.coming-soon {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--golden);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* ===== Link Cards ===== */
.link-cards {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 4rem 0 3rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc((100% - 1.5rem) / 3);
  padding: 0.95rem 0.75rem;
  border-radius: 14px;
  background: var(--orange);
  color: var(--bg);
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(61, 43, 26, 0.08);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.15s;
}

.link-card:hover {
  background: var(--orange-dark);
  box-shadow: 0 6px 18px rgba(61, 43, 26, 0.14);
  transform: translateY(-2px);
}

/* ===== Content Pages (Privacy, Terms, Support) ===== */
.page-content {
  padding: 2rem 0 4rem;
}

.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.page-content .subtitle {
  color: var(--espresso-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.page-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.page-content p,
.page-content ul {
  margin-bottom: 1rem;
  color: var(--espresso-light);
}

.page-content ul {
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.35rem;
}

.page-content a {
  color: var(--espresso);
  font-weight: 600;
  border-bottom: 2px solid var(--amber);
  transition: border-color 0.2s;
}

.page-content a:hover {
  border-color: var(--amber-dark);
}

/* Placeholder (Terms / Privacy work-in-progress) */
.placeholder {
  font-size: 1.15rem;
  color: var(--espresso-light);
  padding: 1.5rem 0 3rem;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.faq-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== Contact Box ===== */
.contact-box {
  background: var(--espresso);
  color: var(--bg);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-box h2 {
  color: var(--bg);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.contact-box p {
  color: rgba(255, 248, 240, 0.78);
  margin-bottom: 1rem;
}

.contact-box a {
  color: var(--golden);
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.contact-box a:hover {
  border-color: var(--golden);
}

/* ===== Footer ===== */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--espresso-light);
  border-top: 1px solid var(--border);
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .hero {
    padding: 4rem 0 2rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }

  .link-cards {
    flex-direction: column;
    align-items: center;
  }

  .link-card {
    width: 70%;
  }

  .page-content h1 {
    font-size: 1.6rem;
  }

  .contact-box {
    padding: 1.5rem;
  }
}
