@font-face {
  font-family: Inter;
  src: url("./inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #14241e;
  --muted: #556b60;
  --green: #0f4b3d;
  --dark: #0a392e;
  --gold: #e4ad35;
  --background: #f3f6f3;
  --line: #e3ebe5;
  --shadow: 0 4px 20px #123c2410;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-synthesis: none;
  font-size: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  padding: 30px 16px;
  background: radial-gradient(ellipse at top, #1a624e, #0c3b2f 75%);
}

a {
  color: var(--green);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid #b98120;
  outline-offset: 3px;
}

h1, h2, p { margin: 0; }

h1 {
  font-size: 25px;
  letter-spacing: -.8px;
  line-height: 1.2;
}

h2 {
  font-size: 17px;
  letter-spacing: -.3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 30;
  padding: 12px;
  color: #332500;
  background: var(--gold);
}

.skip-link:focus { top: 12px; }

.app-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: auto;
  overflow: hidden;
  border-radius: 32px;
  background: var(--background);
  box-shadow: 0 30px 80px #0004;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 20px 15px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -1.3px;
}

.brand img { object-fit: contain; }

.avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #342700;
  font-size: 14px;
  font-weight: 800;
}

main { padding: 8px 18px calc(96px + env(safe-area-inset-bottom, 0px)); }

.intro { margin: 4px 1px 20px; }

.intro p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.walk-card {
  padding: 19px 17px;
  border-radius: 23px;
  background: radial-gradient(ellipse at top right, #236e58, var(--green) 55%, var(--dark));
  box-shadow: 0 14px 28px #0f4b3d28;
  color: white;
}

.walk-card h2 {
  color: #c9e1d4;
  font-size: 14px;
  font-weight: 650;
}

.chip {
  padding: 5px 10px;
  border-radius: 30px;
  color: #382a00;
  background: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.step-ring {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 16px auto 12px;
}

.ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  fill: none;
  stroke-width: 9;
}

.ring-track { stroke: #ffffff26; }

.ring-accent {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 66 515;
}

.ring-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.ring-copy svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ring-copy strong {
  font-size: 27px;
  letter-spacing: -1.1px;
}

.ring-copy small {
  color: #c1dacf;
  font-size: 11px;
}

.walk-lead {
  color: #e4f2eb;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.metrics {
  display: flex;
  margin: 15px 0;
  padding: 12px 0;
  border-radius: 14px;
  background: #ffffff10;
  text-align: center;
}

.metrics > div {
  flex: 1;
  padding: 0 3px;
  border-right: 1px solid #ffffff22;
}

.metrics > div:last-child { border-right: 0; }

.metrics b {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.metrics span {
  color: #c1dacf;
  font-size: 10px;
  line-height: 1.3;
}

.button {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

.gold { color: #332500; background: var(--gold); }
.green { color: white; background: var(--green); }
.gold:hover { background: #efbd51; }
.green:hover { background: #17604e; }

.offer-card, .card {
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 19px;
  box-shadow: var(--shadow);
  scroll-margin-top: 16px;
}

.offer-card {
  padding: 16px;
  border-color: #f3dfb0;
  background: linear-gradient(135deg, #fbf1d9, #fff9ec);
}

.offer-tag {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 30px;
  background: #f8e2ae;
  color: #714b00;
  font-size: 11px;
  font-weight: 750;
}

.offer-card h2 { margin-top: 7px; }

.offer-card p, .card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.card { background: white; }
.activity, .download-content { padding: 16px; }
.activity small { color: var(--muted); }

.download { overflow: hidden; }

.download img {
  display: block;
  width: 100%;
  height: 136px;
  object-fit: cover;
  object-position: center 38%;
}

.download .button { margin-top: 12px; }

footer {
  padding: 8px 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.bottom-nav {
  position: fixed;
  z-index: 20;
  bottom: 0;
  left: 50%;
  display: flex;
  align-items: stretch;
  width: min(430px, calc(100% - 32px));
  height: calc(72px + env(safe-area-inset-bottom, 0px));
  padding: 7px 6px env(safe-area-inset-bottom, 0px);
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  border-radius: 20px 20px 0 0;
  background: white;
  box-shadow: 0 -5px 20px #1a3a2010;
}

.bottom-nav a {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.bottom-nav svg {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 4px 15px;
  border-radius: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav a[aria-current], .bottom-nav a:hover { color: var(--green); }
.bottom-nav a[aria-current] svg { background: #e6f1e9; }

@media (max-width: 480px) {
  body { padding: 0; background: var(--background); }
  .app-shell { max-width: none; border-radius: 0; box-shadow: none; }
  .topbar { padding: max(18px, env(safe-area-inset-top, 0px)) 18px 15px; }
  main { padding-inline: 16px; }
  .bottom-nav { width: 100%; border-radius: 0; }
}
