:root {
  --ink: #111614;
  --ink-2: #26302b;
  --forest: #24583e;
  --sage: #79a37a;
  --moss: #dce9d8;
  --paper: #f7f8f4;
  --white: #ffffff;
  --line: rgba(17, 22, 20, 0.14);
  --muted: #637069;
  --lemon: #d9f66f;
  --cobalt: #2f5bff;
  --coral: #ff684d;
  --shadow: 0 18px 48px rgba(17, 22, 20, 0.16);
  --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: 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(247, 248, 244, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.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: 12px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(17, 22, 20, 0.18);
}

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

.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: var(--moss);
}

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
}

.hero {
  min-height: 86svh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(17, 22, 20, 0.92) 0%, rgba(17, 22, 20, 0.72) 42%, rgba(17, 22, 20, 0.2) 78%),
    var(--hero-image, linear-gradient(135deg, #111614, #24583e 48%, #2f5bff));
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 72px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(4rem, 10vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 830;
}

.hero p {
  margin: 26px 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: 30px;
  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: var(--lemon);
  color: var(--ink);
}

.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);
  color: var(--white);
}

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

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

.section {
  padding: 88px 24px;
}

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

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

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

.section.moss {
  background: #e9f1e6;
}

.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-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.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, 255, 255, 0.86);
  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(--ink);
  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 var(--line);
  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: 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 {
  padding: 82px 24px 44px;
  background: var(--paper);
}

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

.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: #e9f1e6;
  color: #334039;
  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: var(--ink);
  color: var(--white);
}

.callout-panel.alt {
  background: 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(47, 91, 255, 0.28);
  outline-offset: 2px;
}

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

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

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

.site-footer {
  background: 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: 78svh;
  }

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

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

  .hero h1 {
    font-size: clamp(3.3rem, 18vw, 5rem);
  }

  .section {
    padding: 62px 18px;
  }

  .page-hero {
    padding-left: 18px;
    padding-right: 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;
  }
}
