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

:root {
  --bg:        #F0EDE8;
  --surface:   #FFFFFF;
  --primary:   #4A7C59;
  --primary-d: #3A6347;
  --primary-l: #6B9E7A;
  --slate:     #8B9EA8;
  --stone:     #C4BAB0;
  --text:      #2C2C2C;
  --muted:     #6B6560;
  --dark:      #1E2A24;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.nav-logo img { height: 104px; width: auto; }

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--primary-d) !important; }

@media (max-width: 600px) {
  nav { padding: 0.75rem 1.25rem; }
  .nav-logo img { height: 64px; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.82rem; }
  .nav-cta { padding: 0.5rem 1rem; font-size: 0.82rem; }
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: var(--primary-d); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--stone);
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(74,124,89,0.12);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero h1 em { font-style: italic; color: var(--primary); }

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PHONE MOCKUP ── */
.mockup-wrap {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 5rem;
}

.phone {
  width: min(300px, 80vw);
  background: var(--dark);
  border-radius: 2.5rem;
  box-shadow: 0 32px 80px rgba(30,42,36,0.22);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(74,124,89,0.3);
}

.phone-notch {
  width: 80px;
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  margin: 0 auto 1.5rem;
}

.phone-summit-card {
  background: linear-gradient(135deg, var(--primary) 0%, #2d5a3d 100%);
  border-radius: 1.25rem;
  padding: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  text-align: left;
}

.summit-peak {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.summit-meta {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.summit-stat-row {
  display: flex;
  gap: 0.75rem;
}

.summit-stat {
  background: rgba(255,255,255,0.15);
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  flex: 1;
}

.summit-stat .val {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
}

.summit-stat .lbl {
  font-size: 0.65rem;
  opacity: 0.75;
}

.phone-progress {
  background: rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  text-align: left;
  color: #fff;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.progress-bar {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.progress-fill {
  background: var(--primary-l);
  height: 100%;
  border-radius: 999px;
  width: 34%;
}

.phone-cards { display: flex; flex-direction: column; gap: 0.5rem; }

.phone-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 0.7rem 0.9rem;
  text-align: left;
  color: #fff;
}

.phone-card .icon { font-size: 1.1rem; width: 1.75rem; text-align: center; }
.phone-card .card-label { font-size: 0.75rem; font-weight: 600; }
.phone-card .card-sub { font-size: 0.65rem; opacity: 0.6; }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--dark);
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.stats-inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item .val {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--primary-l);
  display: block;
}

.stat-item .lbl {
  font-size: 0.82rem;
  opacity: 0.6;
  margin-top: 0.25rem;
}

@media (max-width: 500px) {
  .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .stat-item .val { font-size: 1.6rem; }
  .stat-item .lbl { font-size: 0.7rem; }
}

/* ── FEATURES ── */
.features {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid rgba(196,186,176,0.4);
}

.feature-icon { font-size: 1.75rem; margin-bottom: 1rem; display: block; }

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* ── ABELS STRIP ── */
.abels-strip {
  background: var(--surface);
  padding: 5rem 1.5rem;
  border-top: 1px solid rgba(196,186,176,0.4);
  border-bottom: 1px solid rgba(196,186,176,0.4);
}

.abels-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.abels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.abel-card {
  background: var(--bg);
  border-radius: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(196,186,176,0.4);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s, box-shadow 0.15s;
}

.abel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,44,44,0.08);
}

.abel-rank {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.abel-name {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.abel-elev {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.abel-grade {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(74,124,89,0.1);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

.abels-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 6rem 1.5rem;
}

.cta-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-section h2 em { font-style: italic; color: var(--primary-l); }

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.9rem;
  padding: 0.75rem 1.5rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.store-btn:hover { background: rgba(255,255,255,0.18); }

.store-btn-icon { font-size: 1.5rem; }

.store-btn-text .line1 { font-size: 0.65rem; opacity: 0.7; display: block; }
.store-btn-text .line2 { font-size: 1rem; font-weight: 600; display: block; }

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

footer a { color: var(--muted); text-decoration: underline; }
footer a:hover { color: var(--text); }

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* ── ABELS PAGE ── */
.abels-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

.abels-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.abels-page-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.abels-page-header p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

.abels-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid rgba(196,186,176,0.5);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.abels-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.abel-full-card {
  background: var(--surface);
  border-radius: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(196,186,176,0.4);
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform 0.15s, box-shadow 0.15s;
}

.abel-full-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,44,44,0.08);
}

.abel-region {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.abel-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.abel-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.abel-tag {
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  background: rgba(196,186,176,0.25);
  color: var(--muted);
}

.abel-tag.green { background: rgba(74,124,89,0.1); color: var(--primary); }
.abel-tag.orange { background: rgba(200,120,60,0.1); color: #c87840; }
.abel-tag.red { background: rgba(190,60,60,0.1); color: #be3c3c; }

/* ── DOC PAGES ── */
.doc-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.doc-card {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(196,186,176,0.35);
}

.doc-card h1 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.doc-card .updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.doc-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
}

.doc-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.doc-card ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.doc-card li {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.doc-card a { color: var(--primary); }
