/* mahallify — SMS opt-in page styles. */
/* Faithful light-theme reproduction of the in-app sign-in screen. */
.optin-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  margin: 26px 0 34px;
}
.phone-frame {
  background: #ffffff;
  color: #0d1526;
  border-radius: 26px;
  padding: 26px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.app-logo {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  overflow: hidden;
  margin: 0 auto 16px;
}
.app-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-title {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: center;
  color: #0d1526;
}
.app-sub {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin: 5px 0 18px;
}
.app-phone-row {
  display: flex;
  align-items: center;
  border: 1px solid #dbe4f5;
  border-radius: 12px;
  background: #f6f8ff;
  overflow: hidden;
  margin-bottom: 16px;
}
.app-dial {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #0d1526;
  white-space: nowrap;
}
.app-dial .chev {
  color: #94a3b8;
  font-size: 11px;
}
.app-divider {
  width: 1px;
  align-self: stretch;
  background: #dbe4f5;
}
.app-phone-input {
  padding: 12px 14px;
  font-size: 14px;
  color: #94a3b8;
  flex: 1;
}
.app-consent {
  font-size: 10.8px;
  line-height: 1.6;
  color: #55627d;
  margin-bottom: 16px;
}
.app-consent strong {
  color: #0d1526;
  font-weight: 700;
}
.app-consent a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.app-btn {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #fff;
  border-radius: 12px;
  padding: 13px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 24px -10px rgba(29, 78, 216, 0.8);
}
.app-hint {
  font-size: 11.5px;
  color: #94a3b8;
  text-align: center;
  margin-top: 11px;
}
.mock-caption {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg-4);
  text-align: center;
}

.verbatim {
  position: relative;
  background: var(--ink-800);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  margin: 16px 0 18px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.75;
  color: var(--fg-2);
}
.verbatim strong {
  color: var(--fg);
  font-weight: 700;
}
.verbatim .lbl {
  position: absolute;
  top: -9px;
  left: 18px;
  background: var(--ink-900);
  padding: 0 9px;
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--fg-4);
}

.legal-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 8px;
}
.legal-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 13px;
  background: var(--glass-2);
  border: 1px solid var(--line-2);
  color: var(--fg);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.18s;
}
.legal-links a:hover {
  background: var(--glass-3);
  transform: translateY(-2px);
}

@media (max-width: 780px) {
  .optin-grid {
    grid-template-columns: 1fr;
  }
  .phone-frame {
    max-width: 340px;
    margin-inline: auto;
  }
}
