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

:root {
  --bg: #faf6f0;
  --text: #2d2416;
  --accent: #d97706;
  --text-secondary: #6b5a41;
  --card-bg: #ffffff;
  --highlight: #fef3c7;
  --card-shadow: 0 8px 60px rgba(45, 36, 22, 0.08);
  --card-border: 1px solid rgba(217, 119, 6, 0.1);
  --radius-card: 22px;
  --radius-pill: 40px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

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

main {
  flex: 1;
}

/* ===== NAVIGATION ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  border-bottom-color: var(--accent);
}

.nav-links a.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: 750px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.25);
  opacity: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-disabled {
  background: var(--highlight);
  color: var(--text-secondary);
  cursor: default;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ===== SECTION ===== */
.section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* ===== APP CARD GRID ===== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.app-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  border: var(--card-border);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.app-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.app-badge {
  display: inline-block;
  background: var(--highlight);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.app-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ===== MISSION STRIP ===== */
.mission-strip {
  background: var(--text);
  color: var(--bg);
  text-align: center;
  padding: 4rem 1.5rem;
}

.mission-strip blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  max-width: 750px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.mission-strip cite {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== ABOUT PAGE ===== */
.about-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.about-content .subtext {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ===== SUPPORT PAGE ===== */
.support-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.support-section h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.support-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Accordion */
.accordion {
  margin-bottom: 3rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(107, 90, 65, 0.15);
}

.accordion-item summary {
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.accordion-item[open] summary::after {
  content: '\2212';
}

.accordion-answer {
  padding: 0 0 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
  margin-top: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: var(--card-border);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  background: var(--card-bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  display: none;
  background: var(--highlight);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  color: var(--text);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(107, 90, 65, 0.1);
  margin-top: auto;
}

.footer a {
  color: var(--text-secondary);
  font-weight: 500;
}

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

.footer-address {
  margin-top: 0.35rem;
}

.footer-links {
  margin-top: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .mission-strip blockquote {
    font-size: 1.2rem;
  }

  .section-heading {
    font-size: 1.6rem;
  }

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

  .about-content h1,
  .support-section h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 1rem 1.5rem;
    gap: 1rem;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: relative;
  }

  .hero {
    padding: 3rem 1rem 2.5rem;
  }

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