/* Stone Chart marketing site. Hand-written, no framework.
   Palette: granite (deep slate) + ice (cool blue) on a light stone ground. */

:root {
  --granite: #1f2a37;
  --granite-soft: #33414f;
  --ice: #2f7dbd;
  --ice-deep: #1e5c8f;
  --ice-tint: #eaf3fa;
  --stone: #f6f8fa;
  --line: #dfe4ea;
  --ink: #1f2a37;
  --ink-soft: #55606c;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 42, 55, 0.06), 0 8px 24px rgba(31, 42, 55, 0.08);
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ice-deep); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--granite);
  text-decoration: none;
  font-size: 1.1rem;
}
.brand img { width: 28px; height: 28px; }
.nav a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--ice-deep); }
.nav a.app-link {
  color: var(--white);
  background: var(--ice);
  padding: 8px 16px;
  border-radius: 999px;
}
.nav a.app-link:hover { background: var(--ice-deep); color: var(--white); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(180deg, var(--ice-tint), var(--white));
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--granite);
  letter-spacing: -0.02em;
}
.hero .tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 32px;
}
.badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--granite);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}
.store-badge small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.8;
}
.store-badge .soon {
  position: absolute;
  top: -9px;
  right: -9px;
  background: var(--ice);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  opacity: 1;
  letter-spacing: 0.03em;
}
.hero .beta-line {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---- Sections ---- */
section { padding: 64px 0; }
section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  text-align: center;
  color: var(--granite);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
section .sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ---- Features ---- */
.features { background: var(--stone); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.feature .icon { font-size: 1.6rem; }
.feature h3 { margin: 12px 0 6px; color: var(--granite); font-size: 1.1rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---- Pricing ---- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.plan.featured {
  border-color: var(--ice);
  border-width: 2px;
}
.plan h3 { margin: 0 0 4px; color: var(--granite); }
.plan .who { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 16px; }
.plan .amount { font-size: 2rem; font-weight: 700; color: var(--granite); }
.plan .amount span { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li {
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ice);
  font-weight: 700;
}
.plan .tag {
  display: inline-block;
  background: var(--ice-tint);
  color: var(--ice-deep);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.club-note { margin: 12px 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.club-note strong { color: var(--granite); }
.beta-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---- FAQ ---- */
.faq { background: var(--stone); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--granite);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--ice);
  font-weight: 700;
  font-size: 1.3rem;
  flex: none;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---- CTA + footer ---- */
.cta {
  text-align: center;
  background: linear-gradient(180deg, var(--white), var(--ice-tint));
}
.cta h2 { margin-bottom: 16px; }

.site-footer {
  background: var(--granite);
  color: #c3ccd6;
  padding: 40px 0;
  font-size: 0.92rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: #eaf3fa; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .foot-links a { margin-left: 20px; }
.site-footer .foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--white); }
.site-footer .foot-brand img { width: 24px; height: 24px; }

@media (max-width: 560px) {
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .site-footer .foot-links a { margin: 0 20px 0 0; }
  .nav a:not(.app-link) { display: none; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --white: #10161d;
    --stone: #161d25;
    --ink: #e7edf3;
    --ink-soft: #9aa7b4;
    --line: #2a3541;
    --ice-tint: #17222e;
    --granite: #e7edf3;
    --granite-soft: #c3ccd6;
  }
  body { background: #10161d; }
  .site-header { background: rgba(16, 22, 29, 0.9); }
  .store-badge { background: #0b0f14; }
  .site-footer { background: #0b0f14; }
}
