* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --paper: #eef4ea;
  --paper-warm: #f8f7ef;

  --ink: #142016;
  --muted: #60715f;

  --green: #4f6f52;
  --deep-green: #263d2a;

  --line: rgba(79, 111, 82, 0.18);

  --glass: rgba(255, 255, 255, 0.34);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Inter",
    "Segoe UI",
    sans-serif;

  color: var(--ink);

  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(79, 111, 82, 0.25),
      transparent 32%
    ),
    radial-gradient(
      circle at 88% 8%,
      rgba(201, 130, 122, 0.18),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      var(--paper) 0%,
      var(--paper-warm) 100%
    );

  line-height: 1.6;
}

body::before {
  content: "";

  position: fixed;
  inset: 0;

  pointer-events: none;

  background-image:
    radial-gradient(
      rgba(20, 32, 22, 0.08) 0.5px,
      transparent 0.5px
    );

  background-size: 18px 18px;

  opacity: 0.14;
}




.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* LOGO */

.centered-hero {
  display: flex;
  justify-content: center;
  align-items: center;

  padding-top: 54px;
  padding-bottom: 0;
}

.main-logo {
  width: 180px;
  height: auto;

  margin-bottom: -8px;

  filter:
    drop-shadow(
      0 8px 18px rgba(38, 61, 42, 0.08)
    );
}

/* HERO */

.hero {
  min-height: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 0 0 90px;
}

.hero-copy {
  max-width: 760px;
}

h1 {
  font-size: clamp(4.6rem, 9vw, 7.4rem);

  line-height: 0.86;

  letter-spacing: -0.09em;

  color: var(--deep-green);

  margin-bottom: 22px;
}

.hero-description {
  max-width: 560px;

  margin: 0 auto 28px;

  color: var(--muted);

  font-size: 1.14rem;

  line-height: 1.7;
}

/* SCREENSHOTS */

.carousel-window {
  width: 320px;
  max-width: 82vw;

  margin: 18px auto 34px;

  padding: 24px;
}

.screenshots {
  display: flex;

  overflow-x: auto;

  scroll-snap-type: x mandatory;

  scrollbar-width: none;

  border-radius: 36px;
}

.screenshots::-webkit-scrollbar {
  display: none;
}

.app-screenshot {
  flex: 0 0 100%;

  width: 100%;
  height: auto;

  scroll-snap-align: center;

  border-radius: 36px;

  /* box-shadow:
    0 24px 64px rgba(38, 61, 42, 0.16); */

  border:
    1px solid rgba(255, 255, 255, 0.55);
}

/* BUTTONS */

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;

  padding: 12px 20px;

  border-radius: 999px;

  border: 1px solid var(--line);

  background: var(--glass);

  backdrop-filter: blur(12px);

  color: var(--ink);

  text-decoration: none;

  font-weight: 500;

  transition: 0.2s ease;
}

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

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

  box-shadow:
    0 14px 32px rgba(38, 61, 42, 0.14);
}

/* SECTIONS */

section {
  padding: 92px 0;
}

.section-heading {
  margin-top: 0px;
  max-width: 760px;
  margin-bottom: 42px;


}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);

  line-height: 0.92;

  letter-spacing: -0.06em;

  color: var(--deep-green);

  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);

  font-size: 1.1rem;
}

.testflight-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 1.4rem;
  margin-bottom: 2.2rem;

  padding: 0.9rem 1.4rem;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.78);

  border: 1px solid rgba(0, 0, 0, 0.06);

  color: #1f1f1f;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;

  backdrop-filter: blur(10px);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

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

  background: rgba(255, 255, 255, 0.92);

  box-shadow:
    0 10px 30px rgba(88, 140, 110, 0.12);
}

/* TRB CARDS */

.trb-row {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.trb-card {
  min-height: 250px;

  padding: 32px;

  border-radius: 36px;

  border:
    1px solid rgba(255,255,255,0.34);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);
}

.trb-card h3 {
  font-size: 2rem;

  margin-bottom: 14px;

  color: var(--deep-green);
}

.trb-card p {
  color: rgba(20, 32, 22, 0.68);
}

.trb-card.thorn {
  background: rgba(92, 108, 90, 0.10);
}

.trb-card.rose {
  background: rgba(214, 188, 188, 0.18);
}

.trb-card.bud {
  background: rgba(197, 214, 198, 0.20);
}

/* CTA */

.cta {
  text-align: center;

  padding: 110px 24px;

  border-radius: 44px;

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.34);

  backdrop-filter: blur(10px);

  box-shadow:
    0 22px 60px rgba(38, 61, 42, 0.1);
}

.cta p {
  max-width: 560px;

  margin: 0 auto 34px;

  color: var(--muted);

  font-size: 1.1rem;
}

/* FOOTER */

footer {
  padding: 70px 0 34px;

  border-top: 1px solid var(--line);

  color: var(--muted);

  text-align: center;
}

/* MOBILE */

@media (max-width: 900px) {

  .trb-row {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {

  .container {
    width: min(100% - 28px, 1120px);
  }

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

  .main-logo {
    width: 150px;
  }

.hero {
  padding: 0 0 40px;
}

#about {
  padding-top: 32px;
}

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  section {
    padding: 72px 0;
  }

  .cta {
    padding: 76px 20px;

    border-radius: 34px;
  }

}