.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  border-bottom: 0;
}
.site-header::after { height: 3px; }
.site-nav a, .header-tools .btn { display: inline-flex; align-items: center; gap: 6px; }
.site-nav a { border-radius: 999px; padding: 8px 10px; }
.site-nav a:hover { background: #eff6ff; color: #1d4ed8; }
.btn-primary, .btn-analyze {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .28);
}
.btn-analyze { color: #fff; border: 0; border-radius: 12px; min-height: 46px; padding: 0 16px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.hero-stage {
  width: 100%;
  padding: 72px 20px 56px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(520px 220px at 15% 0%, rgba(56, 189, 248, .35), transparent 60%),
    radial-gradient(480px 240px at 85% 10%, rgba(167, 139, 250, .4), transparent 55%),
    linear-gradient(165deg, #070b16 0%, #12203f 42%, #1d4ed8 78%, #6d28d9 100%);
}
.stage-inner { width: min(860px, 100%); margin: 0 auto; }
.hero-stage h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 8px 0 12px; }
.hero-stage .lead, .hero-stage .eyebrow { color: #dbeafe; }
.analyze-stage {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 22px auto 0;
  padding: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.analyze-stage input { flex: 1; border: 0; background: transparent; color: #fff; font-size: 1rem; min-width: 0; }
.analyze-stage input::placeholder { color: #bfdbfe; }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.hero-pills li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .82rem; }
.feature-card, .plan, .score-card { border-radius: 16px; transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover, .plan:hover, .score-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(37, 99, 235, .14); }
.bento .feature-card:nth-child(6n+1) { background: linear-gradient(180deg, #eff6ff, #fff); }
.bento .feature-card:nth-child(6n+2) { background: linear-gradient(180deg, #ecfdf5, #fff); }
.bento .feature-card:nth-child(6n+3) { background: linear-gradient(180deg, #fff7ed, #fff); }
.bento .feature-card:nth-child(6n+4) { background: linear-gradient(180deg, #f5f3ff, #fff); }
.bento .feature-card:nth-child(6n+5) { background: linear-gradient(180deg, #fef2f2, #fff); }
.bento .feature-card:nth-child(6n+6) { background: linear-gradient(180deg, #ecfeff, #fff); }
.icon-badge { background: linear-gradient(180deg, #dbeafe, #ede9fe); color: #1d4ed8; }
.shot-preview { display: block; width: min(380px, 100%); margin: 18px auto 0; }
.shot-preview img { width: 100%; height: 210px; object-fit: cover; object-position: top; border-radius: 16px; box-shadow: 0 18px 40px rgba(15, 23, 42, .18); }
.shot-thumbs { display: flex; gap: 14px; flex-wrap: wrap; }
.shot-thumb { width: 280px; text-decoration: none; color: inherit; }
.shot-thumb img { width: 280px; height: 168px; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--border); display: block; background: #fff; }
.shot-thumb.is-phone { width: 132px; }
.shot-thumb.is-phone img { width: 132px; height: 240px; }
.shot-thumb span { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .84rem; font-weight: 700; }
.pricing { align-items: stretch; }
.plan { overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff, #f8fafc); box-shadow: 0 16px 40px rgba(37, 99, 235, .08); }
.plan .price { font-size: 2.1rem; font-weight: 800; background: linear-gradient(90deg, #2563eb, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }
.plan.is-hot { background: linear-gradient(180deg, #eef2ff, #fff); box-shadow: 0 22px 50px rgba(109, 40, 217, .18); transform: translateY(-8px); }
.site-footer {
  display: block;
  margin-top: 28px;
  padding: 36px 6vw 18px;
  color: #dbeafe;
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(59, 130, 246, .35), transparent 60%),
    linear-gradient(160deg, #070b16, #172554 60%, #4c1d95);
}
.footer-grid { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 22px; }
.site-footer h2 { color: #fff; font-size: .95rem; margin: 0 0 10px; }
.site-footer a, .site-footer .linkish { display: block; margin: 0 0 8px; color: #dbeafe; text-decoration: none; background: transparent; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.site-footer a:hover, .site-footer .linkish:hover { color: #fff; }
.site-footer .legal { width: min(1120px, 100%); margin: 18px auto 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.page-hero, .cta {
  border-radius: 18px;
  background: linear-gradient(120deg, #0f172a, #1d4ed8 55%, #7c3aed);
  color: #fff;
}
.page-hero { padding: 36px 40px; margin-top: 18px; margin-bottom: 22px; }
.page-hero .eyebrow, .page-hero h1, .cta h2 { color: #fff; }
.page-hero .eyebrow { color: #bfdbfe; }
.page-hero .lead, .cta p, .page-hero .eyebrow { color: #dbeafe; }
.cta .btn { background: #fff; color: #1d4ed8; }
.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(480px 220px at 8% 0%, rgba(56, 189, 248, .45), transparent 60%),
    radial-gradient(420px 240px at 100% 8%, rgba(167, 139, 250, .5), transparent 55%),
    linear-gradient(165deg, #070b16, #1e3a8a 48%, #6d28d9);
}
.auth-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; }
.auth-top .btn { color: #fff; border-color: rgba(255,255,255,.3); }
.auth-stage { width: min(480px, calc(100% - 28px)); margin: 0 auto 48px; }
.auth-card { border-radius: 20px; padding: 26px; box-shadow: 0 24px 70px rgba(0, 0, 0, .28); }
.auth-card .lead { color: var(--muted); }
.btn-google { width: 100%; justify-content: center; background: #fff; color: #0f172a; border: 1px solid #e2e8f0; display: inline-flex; align-items: center; gap: 8px; }
.auth-or { text-align: center; color: var(--muted); margin: 12px 0; }
.auth-links { text-align: center; }
[data-theme="dark"] .site-header { background: rgba(11, 17, 32, .9); }
[data-theme="dark"] .site-nav a:hover { background: #1e293b; color: #bfdbfe; }
[data-theme="dark"] .plan, [data-theme="dark"] .feature-card { background: #111827; }
main .legal, .equal-grid { width: min(1120px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.equal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; margin-bottom: 16px; }
.equal-grid .feature-card { min-height: 180px; }
.equal-grid.steps { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0 16px; }
.equal-grid.steps article { background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.equal-grid.steps strong { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: #2563eb; color: #fff; margin-bottom: 8px; }
.bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-hero { display: flex; align-items: center; gap: 16px; padding: 22px; margin-bottom: 14px; background: linear-gradient(120deg, #0f172a, #1d4ed8 55%, #7c3aed); color: #fff; }
.profile-hero h1, .profile-hero p { color: #fff; margin: 0; }
.profile-hero .eyebrow { color: #bfdbfe; }
.profile-mark { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: #1d4ed8; font-size: 1.6rem; font-weight: 800; flex: 0 0 auto; }
.credits-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.16); }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.profile-grid h2, .session-card h2 { display: flex; align-items: center; gap: 8px; }
.session-card, .profile-delete, .profile-grid .card { border-radius: 16px; }
.session-card { margin-top: 14px; }
.session-list { display: grid; }
.session-list article { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.session-list p, .session-list time { margin: 0; color: var(--muted); }
.profile-delete { margin-top: 14px; }
input[readonly] { background: #f8fafc; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .analyze-stage { flex-direction: column; align-items: stretch; }
  .btn-analyze { justify-content: center; }
  .plan.is-hot { transform: none; }
  .bento, .equal-grid, .equal-grid.steps, .profile-grid { grid-template-columns: 1fr; }
  .profile-hero { flex-wrap: wrap; }
  .credits-pill { margin-left: 0; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav a span, .site-nav a { font-size: .84rem; }
}
