/* Ohr Habayit - warm and light theme, mobile first */

:root {
  --cream: #FFF9F2;
  --cream-deep: #FBF1E3;
  --gold: #C98A1B;
  --gold-light: #E8B04B;
  --text: #3A2E22;
  --text-soft: #5F4E3E;
  --border: #EDDCC4;
  --card: #FFFFFF;
  --radius: 12px;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

h1, h2, h3 {
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: 2.5rem;
  margin: 0.75rem 0 0.25rem;
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
  text-align: center;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  text-align: center;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.muted {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Header */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.2rem;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--gold);
}

/* Hero */

.hero {
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(232, 176, 75, 0.25), transparent 70%),
    var(--cream);
  text-align: center;
  padding: 3.5rem 0 3rem;
}

.hero-flame {
  width: 72px;
  height: 72px;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-soft);
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}

.hero-tagline {
  font-size: 1.3rem;
  max-width: 32rem;
  margin: 0 auto 0.5rem;
}

.hero-motto {
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 20rem;
  margin: 0 auto;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background: #a96f12;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--gold);
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(201, 138, 27, 0.1);
}

.btn-disabled {
  background: var(--border);
  color: var(--text-soft);
  cursor: not-allowed;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--cream-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Cards */

.cards {
  list-style: none;
  margin: 2rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.cards li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.card-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.cards p {
  margin: 0;
  color: var(--text-soft);
}

.growing {
  background: rgba(232, 176, 75, 0.15);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
}

/* Steps */

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  color: var(--text-soft);
}

/* Partner list */

.partner-list {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.partner-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

/* Social links */

.social-links {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  background: var(--text);
  color: var(--cream);
  text-align: center;
  padding: 2.5rem 0;
}

.site-footer .footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.site-footer .footer-motto {
  color: var(--gold-light);
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer .social-links {
  justify-content: center;
}

.site-footer .social-links a {
  color: var(--gold-light);
}

.footer-copy {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 249, 242, 0.75);
}

/* Larger screens */

@media (min-width: 640px) {
  h1 {
    font-size: 3rem;
  }

  .hero {
    padding: 4.5rem 0 4rem;
  }

  .hero-buttons {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }

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

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

  .steps li {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

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