/* FrameLab — interest site styles */
:root {
  --bg: #0b0f17;
  --bg-2: #0f1521;
  --surface: #141b29;
  --surface-2: #1a2333;
  --line: #243044;
  --text: #e7ecf4;
  --muted: #9aa6bd;
  --accent: #3ddc97;     /* signal green */
  --accent-2: #2bb3ff;   /* cyan */
  --danger: #ff6b6b;
  --radius: 14px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 600px at 70% -10%, #16243a 0%, transparent 60%), var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 23, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand--sm { font-size: 1rem; }
.brand__mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.12);
}
.brand__accent { color: var(--accent); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  padding: 12px 18px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .06s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #06281b; }
.btn--primary:hover { background: #5be8ac; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.nav__cta { padding: 9px 14px; }

/* HERO */
.hero { padding: 72px 0 56px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; margin: 18px 0 14px; }
.hero__sub { color: var(--muted); font-size: 1.1rem; max-width: 36ch; }
.hero__art { position: relative; }
.mockup {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--accent);
  background: rgba(61, 220, 151, 0.1); border: 1px solid rgba(61, 220, 151, 0.28);
  padding: 6px 12px; border-radius: 999px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(61,220,151,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.55);} 70% { box-shadow: 0 0 0 8px rgba(61,220,151,0);} 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0);} }

/* SIGNUP FORM */
.signup { margin-top: 26px; }
.signup__row { display: flex; gap: 10px; flex-wrap: wrap; }
.input {
  flex: 1 1 180px; min-width: 0;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-size: 1rem; font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: #6b7689; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61,220,151,.18); }
.signup__turnstile { margin-top: 14px; }
.cta .signup__turnstile { display: flex; justify-content: center; }
.signup__note { color: var(--muted); font-size: 0.86rem; margin: 10px 2px 0; }
.signup__note.is-error { color: var(--danger); }
.signup__note.is-success { color: var(--accent); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* SECTIONS */
.section { padding: 76px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.02em; text-align: center; margin: 0; }
.section__lead { color: var(--muted); text-align: center; margin: 10px auto 44px; max-width: 52ch; }

/* FEATURE CARDS */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(61,220,151,.4); }
.card__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; font-size: 1.3rem; margin-bottom: 14px;
  background: rgba(43, 179, 255, 0.12); color: var(--accent-2);
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.cards__foot { text-align: center; color: var(--muted); font-size: 0.92rem; margin: 28px auto 0; max-width: 60ch; }

/* SCREENSHOTS */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--line); }
.shot figcaption { color: var(--muted); font-size: 0.88rem; text-align: center; margin-top: 10px; }

/* CTA */
.cta__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta .signup { max-width: 620px; margin-left: auto; margin-right: auto; }
.cta .signup__note { text-align: center; }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__meta { color: var(--muted); font-size: 0.88rem; }
.footer__meta a:hover { color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__art { order: -1; }
  .hero__sub { max-width: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
  .signup__row .btn { flex: 1 1 100%; }
}
