:root {
  --cream: #f5f0e7;
  --cream-strong: #fffaf0;
  --paper: #fffdf8;
  --charcoal: #242823;
  --muted: #697166;
  --green: #496b50;
  --green-dark: #314838;
  --green-soft: #dfe8d7;
  --clay: #c86f55;
  --gold: #d9b860;
  --line: rgba(36, 40, 35, 0.12);
  --shadow: 0 18px 48px rgba(45, 52, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(245, 240, 231, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.store-links,
.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.store-button,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.store-button svg,
.store-cta svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-button {
  padding: 10px 14px;
  border: 1px solid rgba(49, 72, 56, 0.24);
  background: rgba(255, 253, 248, 0.7);
  color: var(--green-dark);
}

.button {
  padding: 12px 18px;
}

.button.primary {
  background: var(--green-dark);
  color: var(--cream-strong);
  box-shadow: 0 12px 24px rgba(49, 72, 56, 0.22);
}

.button.secondary {
  border: 1px solid rgba(49, 72, 56, 0.3);
  background: rgba(255, 253, 248, 0.74);
  color: var(--green-dark);
}

.button.light {
  background: rgba(255, 253, 248, 0.1);
  color: var(--cream-strong);
  border-color: rgba(255, 250, 240, 0.5);
}

.store-button:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(245, 240, 231, 0.95) 0%, rgba(245, 240, 231, 0.82) 46%, rgba(245, 240, 231, 0.46) 100%), url("assets/hero-crag.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  content: "";
  background: linear-gradient(0deg, var(--cream) 0%, rgba(245, 240, 231, 0) 100%);
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: clamp(32px, 7vw, 84px);
  min-height: 690px;
  padding: 64px 0 88px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 590px;
  margin-bottom: 30px;
  color: #464d43;
  font-size: 1.18rem;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 322px;
  padding: 5px;
  border: 5px solid #1f231f;
  border-radius: 34px;
  background: #151816;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone > img {
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.app-top img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.app-kicker,
.mini-grid span,
.feature-icon,
.session-card .tag {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.session-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(45, 52, 42, 0.09);
}

.session-card {
  margin-bottom: 14px;
  padding: 16px;
}

.session-card.active {
  background: #edf3e8;
  border-color: rgba(73, 107, 80, 0.2);
}

.session-card h2 {
  margin: 9px 0 6px;
  font-size: 1.32rem;
  line-height: 1.12;
}

.session-card p,
.session-row p,
.feature-card p,
.location p {
  color: var(--muted);
}

.avatars {
  display: flex;
  margin-top: 16px;
}

.avatars span {
  width: 28px;
  height: 28px;
  margin-right: -8px;
  border: 2px solid #edf3e8;
  border-radius: 50%;
  background: var(--clay);
}

.avatars span:nth-child(2) {
  background: var(--gold);
}

.avatars span:nth-child(3) {
  background: var(--green);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.mini-grid div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7ed;
}

.session-list {
  display: grid;
  gap: 10px;
}

.session-row {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.session-row:last-child {
  border-bottom: 0;
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--green);
}

.dot.muted {
  background: var(--gold);
}

.features,
.how {
  padding: 88px 0;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 210px;
  padding: 24px;
}

.feature-icon {
  margin-bottom: 42px;
  color: var(--green);
}

.location {
  padding: 72px 0;
  background: var(--green-dark);
  color: var(--cream-strong);
}

.location .eyebrow {
  color: var(--green-soft);
}

.location h2 {
  max-width: 710px;
}

.location p {
  max-width: 410px;
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.76);
  font-size: 1.08rem;
}

.location-inner,
.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  min-height: 158px;
  padding: 24px;
  border-top: 1px solid var(--line);
}

.steps span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 850;
}

.download {
  padding: 72px 0;
  background: #596f4c;
  color: var(--cream-strong);
}

.download .eyebrow {
  color: #edf3e8;
}

.download h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.site-footer {
  background: #20241f;
  color: rgba(255, 250, 240, 0.82);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a:hover {
  color: var(--cream-strong);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    background-image: linear-gradient(180deg, rgba(245, 240, 231, 0.94) 0%, rgba(245, 240, 231, 0.82) 62%, rgba(245, 240, 231, 0.64) 100%), url("assets/hero-crag.png");
  }

  .hero-inner,
  .location-inner,
  .download-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 36px;
    padding: 54px 0 76px;
  }

  .hero-subtitle {
    font-size: 1.06rem;
  }

  .phone {
    width: min(312px, 100%);
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .features,
  .how {
    padding: 64px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .site-header,
  .store-links,
  .hero-actions,
  .download-actions {
    width: 100%;
  }

  .store-button,
  .button {
    flex: 1 1 144px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .phone {
    width: min(300px, 100%);
    padding: 4px;
    border-width: 4px;
    border-radius: 30px;
  }

  .phone > img {
    border-radius: 24px;
  }
}
