:root {
  --bg:       #f7f7f4;
  --surface:  #ffffff;
  --surface-2:#f1f1ed;
  --border:   #e4e5e7;
  --text:     #0d0f12;
  --text-2:   #545b66;
  --muted:    #8b93a1;
  --shadow:   0 10px 30px rgba(16,24,40,0.07);
  --sage:     #5a9e82;
  --sage-bg:  #edf6f1;
  --sage-border: #c4dfd3;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,247,244,0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { width: 28px; height: 28px; }

.nav-logo-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links { display: flex; align-items: center; gap: 24px; }

.nav-links a {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.18s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--sage-border);
  background: var(--sage-bg);
  color: var(--sage) !important;
  font-weight: 500;
  font-size: 13px;
  transition: background 0.18s, border-color 0.18s !important;
}

.nav-cta:hover {
  background: #d8ede5;
  border-color: var(--sage);
}

/* ── Hero ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 32px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.spiral-hero {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 560px; height: 560px;
  opacity: 0.06;
  pointer-events: none;
}

.spiral-hero circle { stroke: var(--sage); }

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s ease forwards;
}

.hero-title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 720px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}

.hero-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--sage);
}

.hero-sub {
  margin-top: 24px;
  font-size: 17px;
  color: var(--text-2);
  max-width: 460px;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp 0.7s 0.32s ease forwards;
}

.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.7s 0.46s ease forwards;
  scroll-margin-top: 80px;
}

.badge-store {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(16,24,40,0.05);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.badge-store:hover {
  border-color: var(--sage-border);
  box-shadow: 0 4px 16px rgba(90,158,130,0.12);
}

.badge-store svg { width: 20px; height: 20px; }
.badge-store-text { text-align: left; }

.badge-store-label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
  line-height: 1;
}

.badge-store-name {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
}

.badge-apple {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 12px;
  background: #000;
  text-decoration: none;
  border: 1px solid #000;
  transition: opacity 0.18s;
}

.badge-apple:hover { opacity: 0.82; }

.badge-apple-icon { width: 22px; height: 22px; flex-shrink: 0; }

.badge-apple-text { text-align: left; }

.badge-apple-label {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  line-height: 1;
}

.badge-apple-name {
  display: block;
  font-size: 17px;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeUp 0.7s 1s ease forwards;
}

.scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--sage), transparent);
  animation: pulseHeight 2s 1.6s ease-in-out infinite;
}

@keyframes pulseHeight {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── Divider ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 32px;
}

/* ── Features ── */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 14px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 52px;
  color: var(--text);
}

.section-title em { font-style: italic; color: var(--sage); font-weight: 700; }

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--sage-border);
  transform: translateY(-2px);
}

.feature-icon { font-size: 24px; margin-bottom: 14px; display: block; }

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ── Activities ── */
.activities {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 32px;
  background: var(--surface-2);
}

.activities-inner { max-width: 1100px; margin: 0 auto; }

.activity-types {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.activity-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  color: var(--text-2);
  transition: border-color 0.18s, color 0.18s, box-shadow 0.18s;
}

.activity-pill:hover {
  border-color: var(--sage-border);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(90,158,130,0.1);
}

.activity-pill .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--green  { background: #5a9e82; }
.dot--purple { background: #9b8dc4; }
.dot--yellow { background: #c9a840; }
.dot--mint   { background: #6abf9a; }

/* ── Creator ── */
.creator-section {
  border-top: 1px solid var(--border);
  padding: 80px 32px;
}

.creator-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 52px 40px;
  border-radius: 24px;
  border: 1px dashed var(--border);
  background: var(--surface);
}

.creator-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
}

.creator-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin: 0;
}

.creator-title em { font-style: italic; color: var(--sage); font-weight: 700; }

.creator-desc {
  font-size: 16px;
  color: var(--text-2);
  max-width: 420px;
  line-height: 1.65;
  margin: 0;
}

/* ── Pages section ── */
.pages-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
}

.page-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.page-link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s;
}

.page-link-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--sage-border);
  transform: translateY(-2px);
}

.page-link-card.danger-card:hover {
  border-color: #f5c0c0;
  box-shadow: 0 10px 30px rgba(200,80,80,0.07);
}

.page-link-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.page-link-icon.danger-icon {
  border-color: #f5c0c0;
  background: #fdf1f1;
}

.page-link-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.page-link-desc { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.page-link-arrow { font-size: 14px; color: var(--muted); margin-top: auto; }
.page-link-card:hover .page-link-arrow { color: var(--sage); }
.page-link-card.danger-card .page-link-arrow { color: #d06060; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px;
  background: var(--surface);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.footer-logo svg { width: 22px; height: 22px; }

.footer-logo-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
}

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}

.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 860px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .feature-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px)  { .page-links   { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
}
