:root {
  --background: #f7f9f8;
  --surface: #ffffff;
  --text: #17221c;
  --muted: #607068;
  --green: #176b45;
  --green-dark: #0f4f33;
  --border: #dce5df;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

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

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

nav div {
  display: flex;
  gap: 20px;
}

nav div a {
  color: var(--muted);
  text-decoration: none;
}

nav div a:hover {
  color: var(--green);
}

main {
  max-width: var(--max-width);
  min-height: calc(100vh - 150px);
  margin: auto;
  padding: 72px 24px;
}

.hero {
  max-width: 720px;
  padding: 48px 0;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1.05;
}

h2 {
  margin-top: 42px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.2rem;
}

.button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--green-dark);
}

.card {
  max-width: 720px;
  margin-top: 28px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

a {
  color: var(--green);
}

footer {
  max-width: var(--max-width);
  margin: auto;
  padding: 24px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  nav {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  main {
    padding-top: 40px;
  }
}

/* Bump & Run product page */

.product-page {
  max-width: 1120px;
}

.product-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: center;
  gap: 72px;
  padding: 52px 0 76px;
}

.product-copy {
  max-width: 700px;
}

.product-copy h1 {
  margin-bottom: 24px;
}

.product-copy > p:not(.eyebrow):not(.lead) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.product-icon {
  width: min(100%, 280px);
  border-radius: 24%;
  box-shadow:
    0 24px 60px rgba(20, 55, 37, 0.18),
    0 8px 20px rgba(20, 55, 37, 0.12);
}

.hero-actions,
.cta-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.text-button {
  display: inline-block;
  color: var(--green);
  font-weight: 650;
  text-decoration: none;
}

.text-button:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.button.disabled {
  cursor: default;
  opacity: 0.68;
  pointer-events: none;
}

.product-intro {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-intro > div {
  max-width: 760px;
}

.product-intro h2,
.section-heading h2,
.privacy-callout h2,
.product-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.product-intro p:last-child,
.section-heading > p:last-child,
.privacy-callout p:last-child,
.product-cta p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-section,
.screenshots-section {
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

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

.feature-card {
  min-height: 250px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.feature-number {
  margin-bottom: 34px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.screenshots-section {
  border-top: 1px solid var(--border);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  overflow-x: auto;
  padding: 8px 4px 26px;
  scroll-snap-type: x proximity;
}

.screenshot-card {
  min-width: 220px;
  margin: 0;
  scroll-snap-align: start;
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: #e5ebe7;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 18px 36px rgba(20, 55, 37, 0.12);
}

.screenshot-card figcaption {
  padding: 14px 4px 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.privacy-callout,
.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin: 40px 0;
  padding: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.privacy-callout > div,
.product-cta > div:first-child {
  max-width: 700px;
}

.product-cta {
  margin-top: 92px;
  margin-bottom: 40px;
  background:
    linear-gradient(
      135deg,
      rgba(23, 107, 69, 0.08),
      rgba(23, 107, 69, 0.02)
    ),
    var(--surface);
}

.footer-links {
  display: inline-flex;
  gap: 18px;
  margin-left: 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--green);
}

@media (max-width: 850px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .product-icon-wrap {
    order: -1;
    justify-content: flex-start;
  }

  .product-icon {
    width: 180px;
  }

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

  .privacy-callout,
  .product-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .product-hero {
    min-height: auto;
    padding-top: 24px;
  }

  .product-icon {
    width: 132px;
    border-radius: 28px;
  }

  .feature-section,
  .screenshots-section {
    padding: 64px 0;
  }

  .feature-card {
    min-height: auto;
  }

  .privacy-callout,
  .product-cta {
    padding: 28px;
  }

  .footer-links {
    display: flex;
    margin: 12px 0 0;
  }
}

/* Privacy policy */

.policy-page {
  max-width: 900px;
}

.policy-header {
  max-width: 760px;
  padding: 36px 0 52px;
  border-bottom: 1px solid var(--border);
}

.policy-header h1 {
  margin-bottom: 20px;
}

.policy-date {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-content {
  max-width: 760px;
  padding: 36px 0 64px;
}

.policy-content h2 {
  margin: 42px 0 10px;
  font-size: 1.45rem;
}

.policy-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.policy-content a {
  font-weight: 600;
}

/* Home page */

.home-page {
  max-width: 1120px;
}

.home-hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.home-hero-copy {
  max-width: 850px;
}

.home-hero h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 8vw, 6rem);
}

.home-hero .lead {
  max-width: 720px;
}

.home-section {
  padding: 92px 0;
  border-top: 1px solid var(--border);
}

.app-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
}

.app-card {
  min-height: 320px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.featured-app {
  background:
    linear-gradient(
      135deg,
      rgba(23, 107, 69, 0.1),
      rgba(23, 107, 69, 0.02)
    ),
    var(--surface);
}

.app-status {
  margin: 0 0 38px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.app-card h3 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.15;
}

.app-card p:not(.app-status) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

.coming-soon-card {
  background: transparent;
}

.about-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

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

.about-copy p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.principle-grid article {
  padding: 30px 0;
  border-top: 2px solid var(--green);
}

.principle-grid span {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.principle-grid h3 {
  margin: 24px 0 10px;
  font-size: 1.4rem;
}

.principle-grid p {
  margin: 0;
  color: var(--muted);
}

.home-contact {
  margin: 92px 0 40px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.home-contact h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.home-contact p {
  color: var(--muted);
}

.contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 850px) {
  .app-grid,
  .about-section,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    gap: 24px;
  }

  .home-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .home-hero {
    min-height: auto;
    padding: 54px 0 72px;
  }

  .home-section {
    padding: 64px 0;
  }

  .app-card {
    min-height: auto;
    padding: 28px;
  }

  .home-contact {
    padding: 28px;
  }
}