/* ============================
   # static/css/site.css
   UPDATED FULL FILE
   ============================ */

:root{
  --bg: #f7fbff;
  --ink: #0b1b3a;
  --muted: #5a6b86;

  --blue: #2f80ff;
  --blue-2: #0b4dff;

  --card: rgba(255,255,255,0.85);
  --border: rgba(11,27,58,0.10);

  --shadow: 0 18px 60px rgba(11, 27, 58, 0.12);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }

body{
  margin:0;
  min-height:100%;
  display:flex;
  flex-direction:column;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(47,128,255,0.18), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(11,77,255,0.14), transparent 55%),
    var(--bg);
}

a{ color: var(--blue-2); text-decoration: none; }

.form-alert{
  margin:0 0 18px;
  padding:12px 14px;
  border:1px solid transparent;
  border-radius:10px;
  font-weight:700;
  line-height:1.45;
}

.site-main{ flex:1 0 auto; padding-bottom:46px; }
.form-alert--error{
  color:#991b1b;
  background:#fef2f2;
  border-color:#fecaca;
}
.form-alert--warning{
  color:#92400e;
  background:#fffbeb;
  border-color:#fde68a;
}
.form-alert--success{
  color:#166534;
  background:#f0fdf4;
  border-color:#bbf7d0;
}
.form-alert--info{
  color:#1e40af;
  background:#eff6ff;
  border-color:#bfdbfe;
}

/* Profile */
.profile-page{
  margin-top:18px;
  margin-bottom:28px;
  max-width:900px;
}
.profile-page__title{ margin:0 0 6px; }
.profile-page__subtitle{
  margin:0 0 16px;
  color:#6b7280;
  font-weight:800;
}
.profile-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.profile-card{
  border:1px solid rgba(11,27,58,0.10);
  border-radius:14px;
  background:#fff;
  padding:14px;
}
.profile-card__title{ margin:0 0 8px; }
.profile-value{
  color:#111827;
  font-weight:900;
}
.profile-value--spaced{ margin-top:6px; }
.profile-value__muted{ color:#6b7280; }
.profile-muted-detail{
  color:#6b7280;
  font-weight:800;
  margin-top:6px;
}
.profile-card__actions{ margin-top:12px; }
@media (max-width:700px){
  .profile-grid{ grid-template-columns:1fr; }
}

.container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* =============================
   TOPBAR (compact, logo LEFT)
   ============================= */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247,251,255,0.75);
  border-bottom: 1px solid var(--border);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  min-height: 110px;          /* ~1/3 smaller than the old forced 180 */
}

/* Brand / Logo */
.brand{
  display:flex;
  align-items:center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand__logo{
  height: 95px;               /* slightly smaller, but still strong */
  width: auto;
  display: block;
  border-radius: 0;
}

/* You removed brand__name in HTML; keep this safe */
.brand__name{ display:none; }

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap: 12px;
  flex: 0 0 auto;
  margin-left: auto;
  flex-wrap: wrap;            /* don’t hide links; wrap if needed */
  justify-content: flex-end;
}

.nav__link{
  color: var(--muted);
  font-weight: 650;
  padding: 10px 10px;
  border-radius: 10px;
  white-space: nowrap;
}
.nav__link:hover{
  background: rgba(47,128,255,0.08);
  color: var(--ink);
}

.nav__cta{
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(47,128,255,0.25);
  white-space: nowrap;
}

.moderation-link {
  position: relative;
  font-weight: 700;
}

.moderation-link .badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  background: #dc2626; /* red */
  color: #fff;
  line-height: 1.4;
}

/* =============================
   NAV USER CHIP + TIER BADGE
   ============================= */
.nav__userchip{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,27,58,0.10);
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.nav__userchip-name{
  font-weight: 850;
  color: var(--ink);
}

.nav__tierbadge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.82rem;
  border: 1px solid rgba(11,27,58,0.10);
}

.tier-free{
  background: rgba(107,114,128,0.10);
  color: #374151;
}

.tier-premium{
  background: rgba(47,128,255,0.12);
  color: #0b4dff;
}

.tier-platinum{
  background: rgba(16,185,129,0.12);
  color: #065f46;
}

.nav__tierexpiry{
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
}


/* Mobile header */
@media (max-width: 700px){
  .topbar__inner{ min-height: 86px; }
  .brand__logo{ height: 70px; }
  .nav{ gap: 8px; }
  .nav__link{ padding: 8px 8px; }
  .nav__cta{ padding: 8px 10px; }
}

/* =============================
   HOME SEARCH (under header)
   ============================= */
.home-search{
  padding: 18px 0;
}

.home-search form{
  width: min(1120px, calc(100% - 40px));  /* “full width” with side gap */
  margin: 0 auto;
  display:flex;
  gap: 10px;
  align-items: stretch;
}

.site-search input[type="text"],
.site-search input[type="search"]{
  flex: 1;
  padding: 14px 14px;
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(11,27,58,0.12);
  background: rgba(255,255,255,0.90);
  font-weight: 650;
  outline: none;
}

.site-search input::placeholder{
  color: rgba(90,107,134,0.9);
}

@media (max-width: 700px){
  .home-search form{
    flex-direction: column;
  }
  .home-search button{
    width: 100%;
  }
}

/* =============================
   HERO
   ============================= */
.hero{
  padding: 34px 0 18px;
}

.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  background: rgba(47,128,255,0.10);
  color: var(--blue-2);
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47,128,255,0.18);
}

.hero__title{
  margin: 14px 0 10px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -1px;
}

.hero__subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 58ch;
}

.trust{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.trust__item{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--border);
}
.trust__big{ display:block; font-weight: 900; color: var(--blue-2); }
.trust__small{ display:block; color: var(--muted); font-weight: 700; font-size: 13px; }

@media (max-width: 920px){
  .hero__grid{ grid-template-columns: 1fr; }
}

/* =============================
   BUTTONS (site theme)
   ============================= */
button{
  padding:12px 16px;
  border:1px solid transparent;
  border-radius:14px;
  background:linear-gradient(135deg, var(--blue), var(--blue-2));
  color:#fff;
  cursor:pointer;
  font:inherit;
  font-weight:850;
}

button:hover{ filter:brightness(1.03); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 850;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.90);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}

.site-search .btn{
  min-height: 51px;
  margin: 0;
}

.btn--primary,
.btn-primary{
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  box-shadow: 0 14px 40px rgba(47,128,255,0.25);
}
.btn--primary:hover,
.btn-primary:hover{ filter: brightness(1.02); transform: translateY(-1px); }

.btn--ghost{
  background: rgba(255,255,255,0.75);
  border-color: var(--border);
  color: var(--ink);
}
.btn--ghost:hover{ background: rgba(255,255,255,0.92); }

.btn-danger{
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  border-color: transparent;
}

.btn:disabled,
.btn[aria-disabled="true"]{
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.mini-btn{
  font-weight: 900;
  color: var(--blue-2);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(47,128,255,0.10);
  border: 1px solid rgba(47,128,255,0.18);
}

/* =============================
   SECTIONS
   ============================= */
.section{ padding: 32px 0 46px; }

.section__title{
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.6px;
}

.section__subtitle{
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 650;
}

/* =============================
   Upgrade Subscriptions
   ============================= */
/* ADD THIS to your main site.css (minimal layout; we’ll beautify later) */

.page-title{
  margin: 0 0 8px 0;
}

.brand,
.nav a,
.footer a,
.card,
.product-tile,
.trending-tile,
.policy-card{ color: inherit; }

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.marketplace-page{ padding-top:32px; }
.marketplace-search,
.site-search{
  display:flex;
  gap:10px;
  margin-bottom:24px;
}
.marketplace-search input{
  flex:1;
  min-width:0;
  padding:14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(255,255,255,0.9);
  color:var(--ink);
  font:inherit;
}
.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
  gap:18px;
}
.product-tile{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--card);
  box-shadow:0 10px 30px rgba(11,27,58,0.06);
  transition:transform .12s ease, box-shadow .12s ease;
}
.product-tile:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(11,27,58,0.1);
}
.product-tile__image,
.product-tile__placeholder{
  width:100%;
  height:200px;
}
.product-tile__image{ display:block; object-fit:cover; }
.product-tile__placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(90,107,134,0.12);
  color:var(--muted);
  font-size:.9rem;
  font-weight:700;
}
.product-tile__body{ padding:14px; }
.product-tile__title{ margin-bottom:8px; font-weight:900; }
.product-tile__owner{ margin-bottom:8px; color:var(--blue-2); font-size:.85rem; font-weight:850; }
.product-tile__meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  font-size:.85rem;
  font-weight:750;
}
.empty-state{
  padding:28px;
  border:1px dashed rgba(47,128,255,.35);
  border-radius:var(--radius);
  background:rgba(255,255,255,.58);
  text-align:center;
}
.empty-state h2,
.empty-state h3{ margin:0 0 8px; }
.empty-state p{ margin:0 0 18px; color:var(--muted); }
.grid3__empty,
.product-grid__empty{ grid-column:1 / -1; }

@media (max-width:700px){
  .marketplace-page{ padding-top:22px; }
  .marketplace-search,
  .site-search{ flex-direction:column; }
  .marketplace-search .btn,
  .site-search .btn{ width:100%; }
}

.membership-page{
  width: 100%;
  max-width: 1100px;
  box-sizing: border-box;
  text-align: center;
}

.muted{
  opacity: 0.8;
  margin: 0 0 18px 0;
}

.tier-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* one column only on mobile */
@media (max-width: 700px){
  .tier-grid{
    grid-template-columns: 1fr;
  }
}


.tier-card{
  border: 1px solid rgba(11,27,58,0.12);
  background: rgba(255,255,255,0.90);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  text-align: center;
}

.tier-card.is-current{
  border-color: rgba(0, 120, 255, 0.35);
}

.tier-top{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-bottom: 8px;
}

.tier-name{
  margin: 0;
  font-size: 20px;
}

.tier-badge{
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,27,58,0.12);
  opacity: 0.85;
}

.tier-perks{
  margin: 10px 0 0;
  padding: 0;
  line-height: 1.55;
  flex: 1;
  list-style-position: inside;
}

.tier-bottom{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(11,27,58,0.10);
}

.tier-price{
  font-weight: 800;
  font-size: 18px;
}

.tier-recommended{
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.75;
}

.tier-cta{
  display: inline-block;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 750;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
}

.tier-cta[disabled]{
  opacity: 0.55;
  cursor: not-allowed;
}


/* =============================
   CARDS / GRID (Trending)
   ============================= */
.grid3{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1100px){
  .grid3{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px){
  .grid3{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .grid3{ grid-template-columns: 1fr; }
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11,27,58,0.06);
  transition: transform .12s ease;
}

.card:hover{
  transform: translateY(-2px);
}

.card img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  display:block;
}

.card h3{
  margin: 0;
  padding: 14px 14px 8px;
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: 16px;
}

.tile-footer{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  padding: 0 14px 14px;
  color: rgba(11,27,58,0.75);
  font-weight: 750;
  font-size: 13px;
}

.muted{ color: var(--muted); font-weight: 700; font-size: 12px; }
.strong{ font-weight: 900; letter-spacing: -0.2px; }

/* =============================
   FOOTER (minimal legal/info)
   ============================= */
.footer{
  flex:0 0 auto;
  border-top: 1px solid var(--border);
  padding: 22px 0;
  margin-top: auto;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(10px);
}

.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.footer__links{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 750;
  color: var(--muted);
}

.footer__links a:hover{
  color: var(--ink);
}

.footer__muted{
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 650;
}

@media (max-width: 700px){
  .footer__inner{
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Ensure layout never causes horizontal scroll */
html, body { overflow-x: hidden; }
.container { max-width: 1100px; width: 100%; box-sizing: border-box; }
.topbar__inner { gap: 12px; flex-wrap: wrap; }
.nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Dropdown */
.userdrop { position: relative; }
.userdrop__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,27,58,0.10);
  background: rgba(255,255,255,0.80);
  cursor: pointer;
  font-weight: 900;
  max-width: 100%;
}
.userdrop__name{ max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.userdrop__caret{ opacity: 0.7; font-size: 0.95rem; }

.userdrop__menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 220px;
  background: #fff;
  border: 1px solid rgba(11,27,58,0.10);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16);
  padding: 8px;
  display: none;
  z-index: 50;
}
.userdrop[data-open="true"] .userdrop__menu{ display: block; }

.userdrop__item{
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #111827;
  font-weight: 900;
}
.userdrop__item:hover{ background: rgba(47,128,237,0.08); }
.userdrop__sep{ height: 1px; background: rgba(11,27,58,0.10); margin: 6px 0; }
.userdrop__danger{ color: #b91c1c; }
.userdrop__danger:hover{ background: rgba(185,28,28,0.08); }

/* Avatar (animated, Kahoot-ish vibe but professional) */
.avatar{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11,27,58,0.12);
  background: radial-gradient(circle at 30% 20%, hsla(var(--h), 85%, 70%, 0.95), hsla(calc(var(--h) + 40), 85%, 55%, 0.95));
  animation: avatarFloat 3.8s ease-in-out infinite;
}
.avatar__shine{
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%);
  transform: rotate(10deg);
  animation: avatarShine 2.6s linear infinite;
  opacity: 0.55;
}
@keyframes avatarFloat{
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-2px); }
}
@keyframes avatarShine{
  0% { transform: translateX(-40%) rotate(10deg); }
  100% { transform: translateX(40%) rotate(10deg); }
}


/* ===== NAV DROPDOWN OVERRIDES (FIX SQUISH + GREEN BUTTON) ===== */
.userdrop{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.userdrop__btn{
  all: unset;                 /* nukes inherited button styles (green pill etc.) */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  font-weight: 800;
  color: inherit;
}

.userdrop__btn:hover{
  background: rgba(11, 27, 58, 0.06);
}

.userdrop__name{
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.userdrop__caret{
  font-size: 0.9rem;
  opacity: 0.75;
  margin-right: 2px;
}

/* Hidden by default, absolutely positioned overlay menu */
.userdrop__menu{
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(11,27,58,0.12);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.18);
  padding: 8px;
  z-index: 999;
}

.userdrop[data-open="true"] .userdrop__menu{
  display: block;
}

.userdrop__item{
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #111827;
  font-weight: 800;
}

.userdrop__item:hover{
  background: rgba(47, 128, 237, 0.08);
}

.userdrop__sep{
  height: 1px;
  background: rgba(11,27,58,0.10);
  margin: 6px 0;
}

.userdrop__danger{
  color: #b91c1c;
}
.userdrop__danger:hover{
  background: rgba(185, 28, 28, 0.08);
}



.nav-avatar{
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 auto;
  animation: navAvatarFloat 3.2s ease-in-out infinite;
}

@keyframes navAvatarFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-1.5px); }
}


.legal-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.7;
}

.legal-container h1 {
  margin-bottom: 10px;
}

.legal-container h2 {
  margin-top: 40px;
}

.legal-container h3 {
  margin-top: 25px;
}

.legal-updated {
  color: #777;
  margin-bottom: 40px;
}

.footer-legal {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
}


.legal-related {
  margin-bottom: 40px;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 8px;
}

.legal-related ul {
  margin-top: 10px;
  padding-left: 20px;
}

.legal-related a {
  text-decoration: none;
}

.legal-related a:hover {
  text-decoration: underline;
}

.legal-container ul {
  margin: 12px 0 18px 22px;
}

.legal-container li {
  margin-bottom: 8px;
}


/* =============================
   LEGAL PAGES: restore list bullets
   (guards against global CSS resets)
   ============================= */
.legal-container ul{
  list-style: disc !important;
  list-style-position: outside;
  margin: 12px 0 18px 24px;
  padding-left: 22px !important;   /* override resets */
}

.legal-container ol{
  list-style: decimal !important;
  list-style-position: outside;
  margin: 12px 0 18px 24px;
  padding-left: 22px !important;
}

.legal-container li{
  display: list-item;              /* forces bullet rendering */
  margin-bottom: 8px;
}

/* Policies hub */
.policy-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 18px 0 10px;
}

.policy-card{
  display:block;
  padding: 16px 16px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  text-decoration: none;
}

.policy-card h2{
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.policy-card p{
  margin: 0;
  opacity: 0.85;
  line-height: 1.5;
}

.policy-card:hover{
  border-color: rgba(255,255,255,0.22);
}

.badge--danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    margin-left: 6px;

    background: #dc2626;
    color: #fff;

    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}




.stripe-guide{
    max-width:900px;
    margin:0 auto;
}

.stripe-step{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:30px;
    margin-bottom:24px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.stripe-step h2{
    margin:0 0 18px;
}

.stripe-step img{
    width:100%;
    max-width:430px;
    display:block;
    margin:20px auto;
    border-radius:12px;
    border:1px solid #ddd;
}

.stripe-security{
    background:#f0fdf4;
    border:1px solid #bbf7d0;
    border-radius:16px;
    padding:24px;
    margin-bottom:24px;
}

.stripe-security strong{
    color:#166534;
}

.stripe-checklist{
    list-style:none;
    padding:0;
    margin:0;
}

.stripe-checklist li{
    padding:12px 0;
    border-bottom:1px solid #ececec;
}

.stripe-action{
    text-align:center;
    margin-top:40px;
}

.stripe-action .btn{
    font-size:1.1rem;
    padding:16px 48px;
}


.stripe-help-toggle{
    margin-top:18px;
    background:#eef5ff;
    border:1px solid #c8dafc;
    color:#0b5ed7;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
}

.stripe-help-toggle:hover{
    background:#dfeeff;
}

.stripe-help{
    display:none;
    margin-top:20px;
}

.stripe-help.show{
    display:block;
}

.stripe-help-table{
    width:100%;
    border-collapse:collapse;
}

.stripe-help-table th{
    background:#f7f8fa;
    text-align:left;
    padding:12px;
}

.stripe-help-table td{
    padding:12px;
    border-top:1px solid #ececec;
    vertical-align:top;
}

.membership-back{
  margin-top: 18px;
}

.membership-billing{
  margin: 18px 0 14px;
  text-align: center;
}
.verification-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.62);
}

.verification-modal__card {
  width: min(100%, 440px);
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.verification-modal__card h2 { margin-top: 0; }
.verification-modal__card input[name="verification_code"] {
  width: 100%;
  margin: 8px 0 18px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 8px;
  text-align: center;
}
.verification-modal__resend { margin-left: 8px; }
.verification-modal__cancel { margin-top: 10px; }
.verification-modal__error {
  padding: 10px 12px;
  border-radius: 8px;
  color: #991b1b;
  background: #fef2f2;
}
