:root {
  --ink: #17170e;
  --ink-2: #2d2c1d;
  --forest: #254423;
  --sage: #78944c;
  --moss: #e9eed4;
  --paper: #fbf3db;
  --white: #fffdfa;
  --line: rgba(39, 36, 20, 0.16);
  --muted: #69634b;
  --lemon: #ffd93d;
  --sun: #f39a21;
  --sky: #4f8063;
  --coral: #d86221;
  --shadow: 0 20px 52px rgba(36, 30, 13, 0.2);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% -8%, rgba(255, 217, 61, 0.2), transparent 34rem),
    var(--paper);
  line-height: 1.55;
  letter-spacing: 0;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 235, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(52, 40, 14, 0.08);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 8px 14px rgba(28, 24, 11, 0.25));
}

.brand span {
  color: var(--ink);
  font-family: ui-rounded, "Avenir Next Rounded", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 850;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  padding: 10px 11px;
  border-radius: 6px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 670;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(243, 154, 33, 0.15);
}

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  box-shadow: 0 10px 22px rgba(23, 23, 14, 0.16);
}

.hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 217, 61, 0.45), transparent 29rem),
    linear-gradient(90deg, rgba(18, 20, 12, 0.96) 0%, rgba(31, 45, 20, 0.84) 39%, rgba(166, 102, 24, 0.24) 100%),
    var(--hero-image, linear-gradient(135deg, #17170e, #254423 48%, #f39a21));
  background-repeat: no-repeat;
  background-size: cover, cover, min(1100px, 76vw) auto;
  background-position: center, center, right 9vw top 70px;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 23, 14, 0.1) 0%, rgba(23, 23, 14, 0.62) 100%),
    radial-gradient(circle at 18% 78%, rgba(255, 217, 61, 0.16), transparent 26rem);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 62px 0 48px;
}

.hero-logo {
  width: min(176px, 36vw);
  height: auto;
  margin: 0 0 20px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.32));
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: ui-rounded, "Avenir Next Rounded", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.35rem, 8vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 900;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.hero p {
  margin: 20px 0 0;
  max-width: 670px;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.action-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: linear-gradient(180deg, #ffe66d 0%, var(--lemon) 52%, #f0b624 100%);
  color: var(--ink);
  border-color: rgba(91, 66, 10, 0.12);
  box-shadow: 0 12px 28px rgba(69, 46, 3, 0.16);
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.button.light {
  background: var(--white);
  color: var(--ink);
}

.button.outline {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 253, 250, 0.08);
  color: var(--white);
}

.button.line {
  border-color: var(--line);
  background: transparent;
}

.button.cobalt {
  background: var(--sky);
  color: var(--white);
}

.section {
  padding: 88px 24px;
}

.section.tight {
  padding-top: 58px;
  padding-bottom: 58px;
}

.section.dark {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 217, 61, 0.16), transparent 23rem),
    var(--ink);
  color: var(--white);
}

.section.white {
  background: var(--white);
}

.section.moss {
  background:
    linear-gradient(180deg, rgba(255, 217, 61, 0.11), rgba(120, 148, 76, 0.14)),
    var(--moss);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2,
.page-intro h1 {
  margin: 0;
  font-family: ui-rounded, "Avenir Next Rounded", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.media-band h2,
.store-strip h2,
.footer-grid h2 {
  font-family: ui-rounded, "Avenir Next Rounded", Inter, ui-sans-serif, system-ui, sans-serif;
}

.section-head p,
.page-intro p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.dark .section-head p,
.dark .lede,
.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

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

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

.feature-card,
.app-card,
.service-card,
.contact-card,
.support-card,
.price-card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.9);
  border-radius: 8px;
  padding: 24px;
}

.dark .feature-card,
.dark .service-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.feature-card h3,
.app-card h3,
.service-card h3,
.support-card h3,
.price-card h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.14;
}

.feature-card p,
.app-card p,
.service-card p,
.support-card p,
.price-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.dark .feature-card p,
.dark .service-card p {
  color: rgba(255, 255, 255, 0.72);
}

.card-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 6px;
  background: var(--forest);
  color: var(--lemon);
  font-weight: 820;
}

.dark .card-index {
  background: var(--lemon);
  color: var(--ink);
}

.media-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(91, 66, 10, 0.18);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  background: var(--ink);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proof-list {
  display: grid;
  gap: 15px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
}

.check {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 5px;
  background: linear-gradient(180deg, #ffe66d, var(--lemon));
  position: relative;
}

.check::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 4px;
  left: 5px;
  top: 6px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 24px 44px;
  background:
    radial-gradient(circle at 12% 15%, rgba(243, 154, 33, 0.16), transparent 20rem),
    linear-gradient(180deg, #fff8df 0%, var(--paper) 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: max(18px, calc((100vw - var(--max)) / 2));
  top: 22px;
  width: min(560px, 44vw);
  aspect-ratio: 1400 / 455;
  background: url("../brand/freerange-banner.png") center / contain no-repeat;
  opacity: 0.25;
  pointer-events: none;
}

.page-intro {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 40px;
  align-items: end;
}

.page-intro-solo {
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--max);
}

.page-intro p {
  font-size: 1.15rem;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  min-height: 40px;
  padding: 0 13px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 720;
  cursor: pointer;
}

.filter-button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

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

.app-card {
  min-height: 318px;
  display: flex;
  flex-direction: column;
}

.app-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: 0 12px 24px rgba(17, 22, 20, 0.16);
  overflow: hidden;
}

.app-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.screenshot-card {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 5px;
  background: rgba(120, 148, 76, 0.16);
  color: #344120;
  font-size: 0.78rem;
  font-weight: 720;
}

.app-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.split-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.callout-panel {
  padding: 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 217, 61, 0.18), transparent 16rem),
    var(--ink);
  color: var(--white);
}

.callout-panel.alt {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 217, 61, 0.18), transparent 14rem),
    var(--forest);
}

.callout-panel h2,
.callout-panel h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.callout-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.timeline {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--white);
}

.timeline-row strong {
  font-size: 0.95rem;
}

.timeline-row p {
  margin: 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-weight: 720;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  min-height: 46px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
}

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

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
.site-nav a:focus-visible,
.filter-button:focus-visible {
  outline: 3px solid rgba(243, 154, 33, 0.32);
  outline-offset: 2px;
}

.small-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.store-strip {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.store-strip::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -10px;
  width: min(260px, 34vw);
  aspect-ratio: 680 / 255;
  background: url("../brand/freerange-wordmark.png") center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.store-strip > * {
  position: relative;
  z-index: 1;
}

.store-strip h2,
.store-strip p {
  margin: 0;
}

.store-strip p,
.store-strip .muted {
  color: var(--muted);
}

.site-footer {
  background:
    radial-gradient(circle at 88% 4%, rgba(243, 154, 33, 0.18), transparent 22rem),
    var(--ink);
  color: var(--white);
  padding: 54px 24px 36px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.5fr);
  gap: 28px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 14px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  margin: 8px 0;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.muted {
  color: var(--muted);
}

.hidden {
  display: none !important;
}

@media (max-width: 920px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 2px;
  }

  .section-head,
  .media-band,
  .page-intro,
  .grid-2,
  .split-callout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 72svh;
    background-size: cover, cover, 92vw auto;
    background-position: center, center, center 72px;
  }

  .hero-inner {
    padding-top: 56px;
  }

  .page-hero::after {
    top: 26px;
    right: 18px;
    width: 72vw;
    opacity: 0.16;
  }
}

@media (max-width: 640px) {
  .nav-shell {
    width: auto;
  }

  .hero-inner {
    width: calc(100% - 36px);
    padding-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .hero-logo {
    width: min(148px, 50vw);
  }

  .section {
    padding: 62px 18px;
  }

  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-hero::after {
    width: 96vw;
    right: -26vw;
    top: 18px;
  }

  .grid-3,
  .app-grid,
  .screenshot-strip,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .store-strip,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
