@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;600;700&family=Monda:wght@700&display=swap");

:root {
  --ink: #12141a;
  --muted: #5c6475;
  --paper: #f3f5f8;
  --paper-2: #e8f0ef;
  --line: #d0d6e0;
  --accent: #0d8a7f;
  --accent-ink: #065f58;
  --danger: #b42318;
  --max: 1080px;
  --font-display: "Monda", sans-serif;
  --font-body: "Figtree", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: #f3f6f6;
}

/* Two rows: header, then page */
body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f3f6f6;
  background-image:
    radial-gradient(ellipse 1100px 640px at 12% -8%, rgba(13, 138, 127, 0.14), transparent 58%),
    radial-gradient(ellipse 900px 520px at 100% 18%, rgba(13, 138, 127, 0.09), transparent 55%),
    radial-gradient(ellipse 700px 420px at 50% 100%, rgba(13, 138, 127, 0.06), transparent 60%),
    linear-gradient(165deg, #f7fbfa 0%, #f3f6f7 45%, #eef4f3 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 10%, var(--line)) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, var(--line)) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.28;
  mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 92%);
}

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

/* ROW 1 — full-width bar, inner content constrained */
.site-header {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
  background: #f7fbfa;
  box-shadow: 0 8px 18px -14px rgba(13, 138, 127, 0.22);
}

.site-header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand img {
  height: 52px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 2rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: calc(0.95rem + 5px);
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }

/* ROW 2 — everything below the title bar */
.page {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 2rem; /* single consistent top inset for every page */
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover { background: #000; color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero {
  width: 100%;
}

.hero-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 calc(0.75rem + 20px);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  letter-spacing: -0.02em;
  max-width: calc(18ch + 90px);
  line-height: 1.38;
  margin: 0;
}

.hero-visual {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding-bottom: 1.5rem;
}

.scrub-stage {
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #1c222c 0%, #10141b 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 20, 26, 0.18);
}

.scrub-stage .frame {
  position: absolute;
  inset: 12% 8% 28%;
  border-radius: 6px;
  background: linear-gradient(120deg, #2a3340, #1a222d 40%, #0d8a7f33 100%);
}

.scrub-bar {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 12%;
  height: 18px;
  border-radius: 999px;
  background: #2c3542;
  overflow: hidden;
}

.scrub-bar .fill {
  height: 100%;
  width: 42%;
  background: linear-gradient(90deg, #0d8a7f, #37c2b5);
  animation: scrub-fill 4.5s ease-in-out infinite alternate;
}

.scrub-bar .knob {
  position: absolute;
  top: 50%;
  left: 42%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  animation: scrub-knob 4.5s ease-in-out infinite alternate;
}

main {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 4.5rem;
}

/* First block on content pages — no extra top offset; .page owns that */
.page > main:first-child,
.page > .hero:first-child {
  margin-top: 0;
  padding-top: 0;
}

.page > main:first-child > .page-title:first-child,
.page > main:first-child > .section:first-child {
  margin-top: 0;
  padding-top: 0;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.page-intro {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.08rem;
  margin-bottom: 2.25rem;
}

.section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.section p,
.section li { color: var(--muted); max-width: 62ch; }

.section ul { margin: 0.85rem 0 0 1.15rem; }
.section li { margin: 0.35rem 0; }

.feature-list { display: grid; gap: 1.75rem; }

.feature-list article h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.price {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 0.75rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  color: var(--accent-ink);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
}

.note { font-size: 0.95rem; color: var(--muted); margin-top: 1rem; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq p { margin-top: 0.5rem; }

.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--accent) 12%, var(--line));
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
  background: color-mix(in srgb, var(--paper-2) 85%, transparent);
}

.site-footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@keyframes scrub-fill {
  from { width: 18%; }
  to { width: 78%; }
}

@keyframes scrub-knob {
  from { left: 18%; }
  to { left: 78%; }
}

@media (max-width: 720px) {
  .site-header-inner { align-items: flex-start; flex-direction: column; }
  .page { padding-top: 1.5rem; }
}
