:root {
  --bg: #f4efe4;
  --surface: rgba(255, 255, 255, 0.65);
  --surface-strong: #fbf7ef;
  --ink: #122117;
  --muted: #5d645e;
  --line: rgba(18, 33, 23, 0.13);
  --accent: #0f6b4a;
  --accent-2: #ab7a1d;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(13, 30, 19, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 16%, rgba(171, 122, 29, 0.18), transparent 36%),
    radial-gradient(circle at 83% 18%, rgba(15, 107, 74, 0.2), transparent 42%),
    linear-gradient(170deg, #f7f2e8 0%, #f2ecdf 48%, #ece8dd 100%);
  z-index: -1;
}

.section-wrap {
  width: min(1120px, calc(100vw - 2.4rem));
  margin: 0 auto;
}

.site-header {
  width: min(1120px, calc(100vw - 2.4rem));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 14px;
  z-index: 20;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef6f1;
  color: var(--accent);
  border: 1px solid rgba(15, 107, 74, 0.2);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-text {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 18px;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  background: linear-gradient(130deg, var(--accent), #145f45);
  color: #f7fffb;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 107, 74, 0.25);
}

.btn-small {
  padding: 9px 15px;
  font-size: 0.88rem;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(18, 33, 23, 0.2);
  color: var(--ink);
}

.hero {
  padding: 88px 0 40px;
  text-align: center;
  animation: fade-up 0.8s ease both;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent-2);
  font-weight: 800;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.02;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(2.2rem, 6.7vw, 5.2rem);
  letter-spacing: -0.02em;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-copy {
  width: min(800px, 92%);
  margin: 22px auto 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.06rem;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-strip {
  margin: 34px auto 0;
  width: fit-content;
  padding: 10px 12px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.hero-strip p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

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

.card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
}

.feature-card h2 {
  font-size: 1.9rem;
}

.feature-card p {
  margin: 11px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Beta badge ─────────────────────────────── */
.beta-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(171, 122, 29, 0.12);
  border: 1px solid rgba(171, 122, 29, 0.35);
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Tester section ──────────────────────────── */
.tester-section {
  margin-top: 28px;
  padding: 40px 36px;
  border: 1px solid rgba(15, 107, 74, 0.2);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 107, 74, 0.07), rgba(171, 122, 29, 0.06));
}

.tester-inner {
  max-width: 680px;
}

.tester-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 8px;
}

.tester-lead {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.04rem;
}

.tester-list {
  margin: 20px 0 28px;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tester-list li {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.97rem;
}

.tester-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ── Screenshots section ─────────────────────── */
.screenshots-section {
  margin-top: 28px;
  padding: 36px 0;
  overflow: hidden;
}

.screenshots-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 8px;
  margin-bottom: 32px;
}

.screenshots-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 16px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.screenshot-frame {
  flex: 0 0 auto;
  width: 220px;
  border-radius: 38px;
  border: 8px solid #1a1a1a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 32px 64px rgba(13, 30, 19, 0.18);
  background: #1a1a1a;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
}

.screenshot-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

@media (min-width: 760px) {
  .screenshots-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    padding: 16px 0 24px;
    gap: 24px;
  }

  .screenshot-frame {
    width: 100%;
  }
}

.cta-band {
  margin-top: 28px;
  border: 1px solid rgba(15, 107, 74, 0.25);
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(15, 107, 74, 0.13), rgba(171, 122, 29, 0.09));
  padding: 28px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.cta-band p {
  margin: 12px auto 22px;
  color: var(--muted);
  max-width: 700px;
  line-height: 1.7;
}

.faq-wrap {
  margin-top: 24px;
  padding-bottom: 44px;
}

.faq-wrap h2 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  margin-bottom: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.6);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 10px 0 2px;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 16px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer div {
  display: flex;
  gap: 12px;
}

.legal-page {
  padding: 72px 0 48px;
}

.legal-page h1 {
  margin-top: 10px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.legal-copy {
  margin-left: 0;
  text-align: left;
  max-width: 760px;
}

.legal-card {
  margin-top: 18px;
  padding: 22px 24px;
}

.legal-card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.legal-card p {
  margin: 0 0 10px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-card a {
  color: var(--accent);
  text-decoration: none;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

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

@media (max-width: 640px) {
  .site-header {
    border-radius: 20px;
  }

  .hero {
    padding-top: 48px;
  }

  .tester-section {
    padding: 28px 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
