/* ════════════════════════════════════════════════════════════
   POP — design tokens
   Palette: warm sage paper, deep moss, muted ochre accent
   Type: Fraunces (display, soft/organic serif) + Work Sans (body/UI)
═══════════════════════════════════════════════════════════════ */

:root {
  --paper:       #EDEAE0;
  --paper-warm:  #E4E0D2;
  --ink:         #232520;
  --ink-soft:    rgba(35,37,32,0.62);
  --ink-faint:   rgba(35,37,32,0.38);

  --moss:        #3F6F52;
  --moss-deep:   #2C4F3A;
  --moss-pale:   #DCE4D3;
  --ochre:       #B8722E;

  --dark:        #15161A;
  --dark-card:   #1C1D22;
  --dark-border: rgba(255,255,255,0.1);
  --dark-text:   #ECECE8;
  --dark-text-soft: rgba(236,236,232,0.6);

  --radius-lg:   28px;
  --radius-md:   18px;
  --radius-sm:   10px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ── Top nav ──────────────────────────────────────────────── */

.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(237,234,224,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(35,37,32,0.08);
}

.topnav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.5px;
}

.brand-mark { width: 24px; height: 24px; }

.nav-cta {
  background: var(--moss);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--moss-deep); }

/* ── Section shell ────────────────────────────────────────── */

.section { position: relative; }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: var(--moss);
  margin-bottom: 18px;
}

.eyebrow-on-dark { color: #7FCB9E; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════
   SECTION 1 — PAUSE (hero)
═══════════════════════════════════════════════════════════════ */

.section-pause {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 90px;
  background:
    radial-gradient(ellipse 900px 500px at 85% 18%, rgba(63,111,82,0.10), transparent),
    radial-gradient(ellipse 700px 500px at 10% 85%, rgba(184,114,46,0.08), transparent),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 30px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 64px);
  letter-spacing: -1.2px;
  line-height: 1.06;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: 36px;
}

/* Download block */

.download-block { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 24px;
  border-radius: 14px;
  transition: transform 0.15s, background 0.15s;
}

.btn-download:hover { background: var(--moss-deep); transform: translateY(-1px); }

.btn-download-icon {
  font-size: 20px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.btn-download-text { display: flex; flex-direction: column; }
.btn-download-text strong { font-size: 15.5px; font-weight: 600; }
.btn-download-text small { font-size: 12px; opacity: 0.65; margin-top: 2px; }

.download-meta { display: flex; flex-wrap: wrap; gap: 8px; }

.meta-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(35,37,32,0.06);
  border: 1px solid rgba(35,37,32,0.1);
  padding: 5px 12px;
  border-radius: 20px;
}

/* Hero art — sloth with ambient breathing glow */

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art-glow {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,111,82,0.16) 0%, rgba(184,114,46,0.08) 55%, transparent 75%);
  animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.85; }
  50%       { transform: scale(1.08); opacity: 1; }
}

.hero-sloth {
  position: relative;
  width: min(360px, 80%);
  filter: drop-shadow(0 18px 30px rgba(35,37,32,0.16));
  animation: sway 6s ease-in-out infinite;
}

@keyframes sway {
  0%, 100% { transform: rotate(-1.2deg) translateY(0); }
  50%       { transform: rotate(1.2deg) translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art-glow, .hero-sloth { animation: none; }
}

/* Scroll cue */

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 36px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.scroll-cue-line {
  width: 1px; height: 28px;
  background: linear-gradient(var(--ink-faint), transparent);
}

/* ════════════════════════════════════════════════════════════
   SECTION 2 — OBSERVE (dark, screenshots + features)
═══════════════════════════════════════════════════════════════ */

.section-observe {
  background: var(--dark);
  color: var(--dark-text);
  padding: 100px 0 110px;
}

.section-observe .section-title { color: var(--dark-text); }
.section-observe .section-sub  { color: var(--dark-text-soft); margin-bottom: 56px; }

.screens-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  margin-bottom: 80px;
  align-items: start;
}

.screen-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen-card .img-wrap {
  width: 100%;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.screen-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.screen-card figcaption {
  padding: 20px 22px 24px;
  font-size: 14px;
  color: var(--dark-text-soft);
  line-height: 1.6;
}

.screen-card figcaption strong { color: var(--dark-text); font-weight: 600; }

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-glyph {
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(127,203,158,0.12);
  font-size: 19px;
  margin-bottom: 16px;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feature p {
  font-size: 13.5px;
  color: var(--dark-text-soft);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   SECTION 3 — PROCEED (FAQ + contact)
═══════════════════════════════════════════════════════════════ */

.section-proceed {
  background: var(--paper-warm);
  padding: 100px 0 0;
}

.faq-list {
  max-width: 720px;
  margin-bottom: 90px;
  border-top: 1px solid rgba(35,37,32,0.12);
}

/* Setup guide download card */

.setup-guide-card {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  background: var(--moss);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  transition: background 0.15s, transform 0.15s;
}

.setup-guide-card:hover { background: var(--moss-deep); transform: translateY(-1px); }

.setup-guide-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.setup-guide-text { display: flex; flex-direction: column; gap: 3px; }
.setup-guide-text strong { font-size: 15px; font-weight: 700; }
.setup-guide-text small { font-size: 12.5px; opacity: 0.85; }

.faq-item {
  border-bottom: 1px solid rgba(35,37,32,0.12);
  padding: 22px 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.2px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: var(--moss);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer { padding-top: 12px; max-width: 600px; }

.faq-answer p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; }

.faq-answer code {
  background: rgba(35,37,32,0.07);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 13.5px;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
}

/* Contact */

.contact-block { max-width: 560px; padding-bottom: 70px; }
.contact-block .section-sub { margin-bottom: 28px; }

.contact-links { display: flex; flex-direction: column; gap: 12px; }

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(35,37,32,0.05);
  border: 1px solid rgba(35,37,32,0.12);
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, border-color 0.15s;
  width: fit-content;
}

.contact-link:hover { background: rgba(63,111,82,0.08); border-color: rgba(63,111,82,0.3); }

.contact-glyph {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--moss);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(35,37,32,0.12);
  padding: 26px 32px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ════════════════════════════════════════════════════════════
   Responsive
═══════════════════════════════════════════════════════════════ */

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 20px; }
  .hero-art { order: -1; }
  .hero-sloth { width: 220px; }
  .hero-art-glow { width: 260px; height: 260px; }

  .screens-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }

  .section-observe { padding: 70px 0 80px; }
  .section-proceed { padding: 70px 0 0; }
}

@media (max-width: 560px) {
  .section-inner { padding: 0 22px; }
  .features-grid { grid-template-columns: 1fr; }
  .download-block { width: 100%; }
  .download-buttons { flex-direction: column; }
  .btn-download { width: 100%; }
  .topnav-inner { padding: 12px 22px; }
}

/* ── Focus visibility ─────────────────────────────────────── */

a:focus-visible, summary:focus-visible, .nav-cta:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
}
