/* Subby website — zero-dependency static styles */
:root {
  --indigo: #4a48cb;
  --indigo-deep: #2e2c86;
  --indigo-soft: #e7e5f7;
  --mint: #0e9c84;
  --mint-soft: #b9f1e4;
  --ink: #1a1a2e;
  --muted: #5a5878;
  --bg: #fbfaff;
  --card: #ffffff;
  --radius: 16px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

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

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

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ecebf8;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--indigo); }
.nav-cta {
  background: var(--indigo); color: #fff !important;
  padding: 8px 18px; border-radius: 999px;
}
.nav-cta:hover { background: var(--indigo-deep); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(94, 91, 232, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(14, 156, 132, 0.12), transparent 60%),
    var(--bg);
  padding: 72px 0 64px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 54px); line-height: 1.12;
  letter-spacing: -0.02em; color: var(--ink);
}
.hero h1 .accent { color: var(--indigo); }
.hero p.sub {
  margin: 18px auto 30px; max-width: 640px;
  font-size: clamp(16px, 2.4vw, 19px); color: var(--muted);
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(74, 72, 203, 0.25); }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-ghost { background: #fff; color: var(--indigo); border: 1.5px solid #d6d4f2; }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* Sections */
section { padding: 64px 0; }
.section-title {
  text-align: center; font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 40px; }

/* Screenshots */
.shots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px; justify-items: center;
}
.shot { text-align: center; }
.shot img {
  width: 100%; max-width: 240px; border-radius: 22px;
  border: 1px solid #e4e2f4;
  box-shadow: 0 18px 40px rgba(46, 44, 134, 0.16);
}
.shot figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); font-weight: 600; }

/* Features */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--card); border: 1px solid #ecebf8; border-radius: var(--radius);
  padding: 26px 24px;
}
.feature .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 22px;
}
.feature .icon.indigo { background: var(--indigo-soft); }
.feature .icon.mint { background: var(--mint-soft); }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

/* FAQ */
details.faq {
  background: var(--card); border: 1px solid #ecebf8;
  border-radius: 12px; padding: 18px 22px; margin-bottom: 12px;
}
details.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
details.faq p { margin-top: 10px; color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  border-radius: 24px; color: #fff; text-align: center; padding: 56px 24px;
}
.cta-band h2 { font-size: clamp(24px, 4vw, 34px); margin-bottom: 10px; }
.cta-band p { opacity: 0.92; margin-bottom: 26px; }
.cta-band .btn-primary { background: #fff; color: var(--indigo-deep); }

/* Footer */
footer { border-top: 1px solid #ecebf8; padding: 34px 0 44px; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--indigo); }
.trademark { font-size: 12.5px; opacity: 0.8; margin-top: 14px; }

/* Content pages (privacy/terms/support) */
.page { padding: 48px 0 72px; }
.page h1 { font-size: clamp(28px, 5vw, 40px); margin-bottom: 6px; letter-spacing: -0.02em; }
.page .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.page h2 { font-size: 20px; margin: 30px 0 10px; color: var(--indigo-deep); }
.page h3 { font-size: 16px; margin: 20px 0 8px; }
.page p, .page li { color: #33325a; font-size: 15.5px; }
.page ul, .page ol { padding-left: 22px; margin: 10px 0; }
.page li { margin-bottom: 6px; }
.page .card-note {
  background: var(--indigo-soft); border-radius: 12px;
  padding: 16px 18px; margin: 18px 0; font-size: 15px;
}

/* Support */
.contact-card {
  background: var(--card); border: 1px solid #ecebf8; border-radius: var(--radius);
  padding: 24px; margin-top: 24px;
}
.contact-card a { color: var(--indigo); font-weight: 600; }

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  section { padding: 48px 0; }
}
