:root {
  --bg: #20241f;
  --bg-deep: #171a15;
  --sage: #8aa88f;
  --sage-dark: #152018;
  --amber: #d7a441;
  --amber-dark: #5a3c0a;
  --stone: #e9e5da;
  --text: #eceae2;
  --text-muted: rgba(236, 234, 226, 0.72);
  --border-on-dark: rgba(236, 234, 226, 0.16);
  --shadow: 0 1px 2px rgba(23, 26, 21, 0.16), 0 12px 28px rgba(23, 26, 21, 0.32);
  --max-width: 1040px;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

/* iOS-style continuous corner smoothing, where supported */
@supports (corner-shape: squircle) {
  .btn,
  .help-card,
  .help-icon,
  .hero-media img {
    corner-shape: squircle;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

/* Hero */

.hero {
  background: var(--bg-deep);
}

.hero-text {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5.5rem 1.5rem 4.5rem;
  text-align: left;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "eyebrow photo"
    "content photo";
  gap: 0 2.5rem;
}

.eyebrow {
  grid-area: eyebrow;
  align-self: start;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--sage);
  font-weight: 700;
  margin: 0;
}

.hero-content {
  grid-area: content;
  align-self: center;
}

.hero-media {
  grid-area: photo;
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber);
  border-radius: var(--radius);
  transform: translate(16px, 16px) rotate(-2.5deg);
  z-index: 0;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 1.9rem;
  margin: 0 0 0.75rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 30rem;
  margin: 0 0 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--sage);
  color: var(--sage-dark);
}

.btn-primary:hover {
  background: #9bb6a0;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-on-dark);
}

.btn-secondary:hover {
  border-color: var(--sage);
  color: var(--sage);
  text-decoration: none;
}

/* Sections */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--sage);
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
}

/* Help cards */

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.help-card {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.help-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--sage);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.help-icon svg {
  width: 22px;
  height: 22px;
}

.help-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--sage-dark);
}

.help-card p {
  margin: 0;
  color: #4a5049;
  font-size: 0.95rem;
}

/* Contact footer */

.contact {
  background: var(--bg-deep);
  color: var(--text);
  text-align: center;
  padding: 6rem 1.5rem;
}

.contact::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
  margin: 0 auto 1.75rem;
}

.contact h2 {
  font-size: 2.6rem;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.contact-links .btn-primary {
  background: var(--sage);
  color: var(--sage-dark);
}

.contact-links .btn-secondary {
  border-color: var(--border-on-dark);
}

.contact-location {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-text {
    display: block;
    text-align: center;
    padding-top: 3.5rem;
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media {
    max-width: 300px;
    margin: 1.5rem auto 2rem;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.5em;
  }

  .hero-text {
    padding: 3rem 1.25rem 2.5rem;
  }

  .hero-media {
    max-width: 200px;
    margin: 1.25rem auto 1.75rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .section h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

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