:root {
  --bg: #f7f9f6;
  --bg-strong: #edf3eb;
  --surface: #ffffff;
  --surface-quiet: #f1f6ef;
  --text: #14231b;
  --text-soft: #31443a;
  --muted: #66786d;
  --line: #c8d7ce;
  --line-soft: #dce7df;
  --primary: #2e7d32;
  --primary-strong: #166534;
  --primary-soft: #dfeee1;
  --accent: #b65f22;
  --accent-soft: #f5e6da;
  --water: #2f6f88;
  --shadow: 0 18px 48px rgba(20, 35, 27, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  border-bottom: 1px solid rgba(200, 215, 206, 0.9);
  background: var(--bg);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  background: #fffaf0;
}

.brand-name {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  border-radius: var(--radius);
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 10px 12px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    url("assets/hunthaven-leaf.png") right 4vw center / min(48vw, 520px) auto no-repeat,
    var(--bg-strong);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(247, 249, 246, 0.76);
}

.hero::after {
  position: absolute;
  right: 8%;
  bottom: -56px;
  width: min(480px, 62vw);
  aspect-ratio: 1;
  border: 1px solid rgba(46, 125, 50, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 42px;
  padding: 72px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 850;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

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

.device-showcase {
  position: relative;
  width: min(440px, 100%);
  min-height: 620px;
  justify-self: end;
}

.device-frame {
  margin: 0;
  border: 10px solid #101a16;
  border-radius: 30px;
  background: #101a16;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-main {
  position: relative;
  z-index: 2;
  width: min(292px, 68vw);
  aspect-ratio: 920 / 2048;
}

.device-secondary {
  position: absolute;
  width: 210px;
  aspect-ratio: 920 / 2048;
  opacity: 0.96;
}

.device-map {
  right: 0;
  top: 54px;
  z-index: 1;
}

.device-plan {
  right: 62px;
  bottom: 6px;
  z-index: 3;
  width: 186px;
}

.phone-preview {
  width: min(360px, 100%);
  min-height: 560px;
  justify-self: end;
  border: 10px solid #101a16;
  border-radius: 28px;
  background: #0e1512;
  box-shadow: var(--shadow);
  color: #e5eee8;
  overflow: hidden;
}

.phone-status {
  height: 34px;
  background: #101a16;
}

.phone-screen {
  padding: 18px;
}

.phone-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.phone-title strong {
  font-size: 1.05rem;
}

.phone-pill {
  border: 1px solid #365143;
  border-radius: 999px;
  color: #a7f3d0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 8px;
  white-space: nowrap;
}

.mini-map {
  position: relative;
  min-height: 200px;
  border: 1px solid #365143;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 111, 136, 0.5), rgba(46, 125, 50, 0.24)),
    #1c2a22;
  overflow: hidden;
}

.mini-map span {
  position: absolute;
  display: block;
  border: 2px solid rgba(167, 243, 208, 0.9);
  border-radius: 32% 48% 38% 42%;
}

.mini-map .boundary {
  inset: 28px 30px 32px 34px;
}

.mini-map .zone-a {
  top: 54px;
  left: 62px;
  width: 110px;
  height: 76px;
  border-color: rgba(246, 176, 101, 0.9);
}

.mini-map .zone-b {
  right: 54px;
  bottom: 52px;
  width: 94px;
  height: 70px;
  border-color: rgba(126, 211, 242, 0.9);
}

.phone-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.phone-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #24362d;
  border-radius: var(--radius);
  background: #16211b;
  padding: 12px;
}

.phone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.phone-row:nth-child(2) .phone-dot {
  background: var(--water);
}

.phone-row:nth-child(3) .phone-dot {
  background: #a7f3d0;
}

.phone-row span {
  color: #9fb3a8;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.phone-row p {
  margin: 0;
  color: #e5eee8;
  font-weight: 720;
}

.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--surface-quiet);
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 30px;
}

.section-heading h2,
.content-page h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.section-heading p,
.content-intro {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

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

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.screenshot-card {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}

.screenshot-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(180px, 0.75fr);
  align-items: center;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(223, 238, 225, 0.95), rgba(245, 230, 218, 0.85)),
    var(--surface);
}

.screenshot-card-wide .screenshot-media {
  width: min(230px, 100%);
  justify-self: end;
}

.screenshot-copy h3 {
  font-size: clamp(1.5rem, 3vw, 2.45rem);
}

.screenshot-copy p:not(.eyebrow) {
  color: var(--text-soft);
  margin: 14px 0 0;
}

.screenshot-media {
  aspect-ratio: 920 / 2048;
  border: 8px solid #101a16;
  border-radius: 24px;
  background: #101a16;
  box-shadow: 0 12px 28px rgba(20, 35, 27, 0.16);
  overflow: hidden;
}

.screenshot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-card figcaption {
  display: grid;
  gap: 5px;
  margin-top: 14px;
}

.screenshot-card figcaption strong {
  font-size: 1.02rem;
}

.screenshot-card figcaption span {
  color: var(--muted);
  font-size: 0.94rem;
}

.feature-card,
.step,
.info-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card,
.step {
  padding: 22px;
}

.feature-card h3,
.step h3,
.info-panel h3 {
  font-size: 1.1rem;
}

.feature-card p,
.step p,
.info-panel p,
.policy-section p,
.support-list p {
  color: var(--text-soft);
}

.feature-card p,
.step p {
  margin: 10px 0 0;
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-number {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.notice {
  border: 1px solid var(--line);
  border-left: 6px solid var(--primary);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #101a16;
  color: #e5eee8;
  padding: 36px 0;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a,
.site-footer a {
  color: #cfe3d8;
  text-decoration: none;
}

.content-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px 0 82px;
}

.content-kicker {
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 850;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.content-intro {
  margin-top: 18px;
}

.content-meta {
  color: var(--muted);
  margin: 16px 0 0;
}

.policy-section,
.support-list {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 28px;
}

.policy-section h2,
.support-list h2 {
  font-size: 1.55rem;
}

.policy-section ul,
.support-list ul {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--text-soft);
}

.policy-section li,
.support-list li {
  margin: 8px 0;
}

.support-layout {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: start;
}

.info-panel {
  padding: 24px;
}

.info-panel + .info-panel {
  margin-top: 16px;
}

.contact-box {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-link {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-quiet);
  color: var(--text);
  font-weight: 750;
  padding: 12px;
  text-decoration: none;
  word-break: break-word;
}

.form-panel {
  padding: 24px;
}

.beta-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.choice-label,
.fieldset-label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
}

fieldset {
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(46, 125, 50, 0.15);
}

.choice-group {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
}

.choice input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.small-note {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    background-position: right -120px top 90px;
    background-size: 420px auto;
  }

  .hero-inner,
  .section-heading,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 32px;
    padding-top: 54px;
  }

  .device-showcase {
    justify-self: start;
    min-height: 590px;
  }

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

  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshot-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .nav-links a {
    padding: 9px 10px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 54px 0;
  }

  .device-showcase {
    width: 100%;
    min-height: 560px;
  }

  .device-main {
    width: 68%;
  }

  .device-secondary {
    width: 48%;
  }

  .device-plan {
    right: 36px;
    width: 43%;
  }

  .screenshot-grid,
  .screenshot-card-wide {
    grid-template-columns: 1fr;
  }

  .screenshot-card-wide {
    grid-column: span 1;
  }

  .screenshot-media {
    max-width: 280px;
    margin: 0 auto;
  }
}
