:root {
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --ink: #171719;
  --muted: #616164;
  --soft: #f6f6fb;
  --purple-start: #6277e2;
  --purple-end: #7650ac;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #f7f8fa; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: #f7f8fa;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; -webkit-tap-highlight-color: transparent; }
svg { display: block; }

.whatsapp-bar {
  position: relative;
  z-index: 10;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 42px);
  background: #f9fafb;
  border-bottom: 1px solid #e4e6eb;
}
.whatsapp-brand { display: flex; align-items: center; gap: 10px; color: var(--whatsapp-dark); font-size: 25px; font-weight: 700; letter-spacing: -.03em; }
.whatsapp-brand svg { width: 38px; height: 38px; fill: var(--whatsapp); }
.whatsapp-brand .phone, .join-button .phone { fill: #fff; }
.open-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  color: #fff;
  background: var(--whatsapp);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.open-whatsapp:hover { background: #1fc55d; transform: translateY(-2px); }

.page-shell {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: start center;
  padding: 20px 18px 120px;
  background: linear-gradient(135deg, var(--purple-start) 0%, #6569ce 46%, var(--purple-end) 100%);
  overflow: hidden;
}
.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.11), transparent 30%),
    radial-gradient(circle at 80% 72%, rgba(31,15,76,.15), transparent 36%);
}
.profile-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 42px 26px;
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(27, 23, 70, .32);
  text-align: center;
}
.community-logo {
  width: 106px;
  height: 106px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #697beb;
  box-shadow: 0 10px 30px rgba(36, 31, 91, .18);
}
h1 { margin: 14px 0 11px; font-size: clamp(34px, 4vw, 42px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
.title-break { display: none; }
.community-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(90deg, #6478ea, #7d4eb5);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .025em;
}
.community-label svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.community-copy { max-width: 650px; margin-top: 17px; color: var(--muted); font-size: 16px; line-height: 1.46; }
.community-copy p { margin: 0; }
.community-copy p + p { margin-top: 9px; }
.community-copy .copy-lead { font-size: 17px; line-height: 1.42; }
.community-copy .copy-offer { padding: 9px 18px; background: #f7f6fc; border-radius: 13px; line-height: 1.4; }
.community-copy .copy-benefit { max-width: 610px; margin-inline: auto; font-size: 14px; line-height: 1.44; }
.community-copy strong { color: #343438; font-weight: 750; }
.market-preview {
  position: relative;
  width: 100%;
  height: 112px;
  margin: 12px 0 0;
  overflow: hidden;
  background: #eef1ff;
  border: 1px solid #e0e3f3;
  border-radius: 16px;
}
.market-preview img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 47%; }
.market-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,30,.78), rgba(18,18,30,.12) 58%, transparent); pointer-events: none; }
.market-preview figcaption { position: absolute; z-index: 1; left: 17px; bottom: 14px; display: grid; gap: 2px; color: #fff; text-align: left; text-shadow: 0 1px 5px rgba(0,0,0,.3); }
.market-preview figcaption b { font-size: 15px; text-transform: uppercase; letter-spacing: .035em; }
.market-preview figcaption span { font-size: 12px; color: rgba(255,255,255,.84); }
.benefit-grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.benefit-item {
  min-width: 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  background: var(--soft);
  border: 1px solid #ededf6;
  border-radius: 15px;
  color: #343338;
  text-align: left;
}
.benefit-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; color: #695eda; background: #eceaff; border-radius: 11px; }
.benefit-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit-item > span:last-child { min-width: 0; display: grid; gap: 3px; }
.benefit-item b { font-size: 13px; line-height: 1.15; font-weight: 750; }
.benefit-item small { color: #85838b; font-size: 11px; line-height: 1.15; }
.join-button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 24px;
  color: #fff;
  background: linear-gradient(90deg, #5c78ec, #7850b1);
  border-radius: 18px;
  box-shadow: 0 10px 0 rgba(67, 51, 145, .18), 0 24px 38px rgba(72, 61, 162, .2);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.015em;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.join-button svg { width: 28px; height: 28px; flex: 0 0 28px; fill: #fff; }
.join-button .phone { fill: #6d61cb; }
.join-button:hover { transform: translateY(-3px); box-shadow: 0 12px 0 rgba(67, 51, 145, .18), 0 30px 45px rgba(72, 61, 162, .28); }
.access-countdown { min-height: 29px; display: inline-flex; align-items: center; gap: 8px; margin-top: 9px; padding: 4px 12px; color: #5f4d93; background: #f1edff; border-radius: 999px; font-size: 12px; }
.access-countdown strong { min-width: 39px; color: #513791; font-size: 14px; font-variant-numeric: tabular-nums; }
.risk-note { margin: 8px 0 0; color: #77757a; font-size: 11px; line-height: 1.35; }
.powered-by {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 8px 18px 8px 9px;
  color: #fff;
  background: #141427;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .25);
  text-decoration: none;
}
.powered-by img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.powered-by span { display: grid; line-height: 1.15; }
.powered-by small { color: #c9c8d2; font-size: 11px; }
.powered-by b { color: #f2ca63; font-size: 17px; }
.powered-by > svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

@media (max-width: 700px) {
  .whatsapp-bar { height: 60px; gap: 10px; padding-inline: 16px; }
  .whatsapp-brand { min-width: 0; gap: 8px; font-size: 21px; }
  .whatsapp-brand svg { width: 34px; height: 34px; }
  .open-whatsapp { min-height: 40px; padding-inline: 14px; border-radius: 11px; font-size: 13px; }
  .page-shell { width: 100%; min-height: calc(100vh - 60px); padding: 12px 8px 110px; }
  .profile-card { width: calc(100vw - 16px); max-width: calc(100vw - 16px); padding: 20px 24px 22px; border-radius: 30px; overflow: hidden; }
  .community-logo { width: 92px; height: 92px; border-width: 3px; }
  h1 { margin: 11px 0 9px; font-size: 33px; }
  .community-label { min-height: 36px; padding-inline: 15px; font-size: 12px; }
  .community-copy { max-width: 455px; margin-top: 13px; font-size: 14px; line-height: 1.42; }
  .community-copy p { overflow-wrap: anywhere; }
  .community-copy p + p { margin-top: 7px; }
  .community-copy .copy-lead { font-size: 15px; line-height: 1.4; }
  .community-copy .copy-offer { padding: 8px 12px; border-radius: 11px; }
  .community-copy .copy-benefit { font-size: 13px; line-height: 1.4; }
  .market-preview { height: 88px; margin-top: 9px; border-radius: 13px; }
  .market-preview figcaption { left: 13px; bottom: 10px; }
  .market-preview figcaption b { font-size: 13px; }
  .market-preview figcaption span { font-size: 10px; }
  .benefit-grid { margin-top: 9px; gap: 6px; }
  .benefit-item { min-height: 58px; gap: 9px; padding: 8px 9px; border-radius: 12px; }
  .benefit-icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
  .benefit-icon svg { width: 18px; height: 18px; }
  .benefit-item b { font-size: 11px; }
  .benefit-item small { font-size: 9px; }
  .join-button { min-height: 56px; margin-top: 10px; border-radius: 15px; font-size: 18px; }
  .join-button svg { width: 24px; height: 24px; flex-basis: 24px; }
  .access-countdown { min-height: 26px; margin-top: 7px; font-size: 11px; }
  .access-countdown strong { font-size: 13px; }
  .powered-by { right: 16px; bottom: 20px; min-height: 60px; }
}

@media (max-width: 430px) {
  .whatsapp-bar { padding-inline: 14px; }
  .whatsapp-brand { gap: 7px; }
  .whatsapp-brand span { font-size: 18px; }
  .whatsapp-brand svg { width: 31px; height: 31px; }
  .open-whatsapp { flex: 0 0 auto; max-width: none; min-width: 0; min-height: 44px; padding-inline: 12px; font-size: 12px; white-space: nowrap; }
  .profile-card { padding-inline: 18px; }
  .community-logo { width: 86px; height: 86px; }
  h1 { font-size: 30px; }
  .title-break { display: block; }
  .community-copy { font-size: 13px; line-height: 1.38; }
  .community-copy .copy-lead { font-size: 14px; }
  .community-copy .copy-benefit { font-size: 12px; }
  .benefit-item { gap: 7px; padding-inline: 8px; }
  .benefit-icon { width: 28px; height: 28px; flex-basis: 28px; }
  .benefit-item b { font-size: 11px; }
  .benefit-item small { font-size: 9px; }
  .join-button { gap: 8px; padding-inline: 10px; font-size: 16px; white-space: normal; }
  .risk-note { max-width: 285px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
