/*
Theme Name: YourNumber Alpha
Theme URI: https://securetextverify.com
Author: YourNumber Alpha Team
Description: Custom WordPress alpha theme for SecureTextVerify / YourNumber.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.1
Text Domain: yournumber-alpha
*/

:root {
  --yn-navy-900: #0a2540;
  --yn-navy-800: #123554;
  --yn-brand-600: #1d4ed8;
  --yn-brand-500: #2563eb;
  --yn-brand-50: #eff6ff;
  --yn-accent-600: #16a34a;
  --yn-accent-500: #22c55e;
  --yn-accent-50: #f0fdf4;
  --yn-gray-900: #111827;
  --yn-gray-700: #374151;
  --yn-gray-600: #4b5563;
  --yn-gray-400: #9ca3af;
  --yn-gray-200: #e5e7eb;
  --yn-gray-100: #f3f4f6;
  --yn-gray-50: #f9fafb;
  --yn-white: #ffffff;
  --yn-red-500: #ef4444;
  --yn-yellow-500: #eab308;
  --yn-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  --yn-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--yn-gray-900);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--yn-white);
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.yn-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.yn-main {
  flex: 1;
}

.yn-wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.yn-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: var(--yn-navy-900);
  color: var(--yn-white);
}

.yn-header__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.yn-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.yn-logo__mark {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  color: #60a5fa;
}

.yn-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.yn-logo__name {
  font-size: 18px;
  font-weight: 800;
}

.yn-logo__name span:first-child {
  color: var(--yn-brand-500);
}

.yn-logo__tagline {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  margin-top: 4px;
}

.yn-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.yn-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.yn-nav a:hover {
  color: var(--yn-white);
}

.yn-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yn-btn,
.yn-button,
.yn-card button,
.yn-form button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border 150ms ease, transform 150ms ease;
}

.yn-btn:active,
.yn-button:active,
.yn-card button:active,
.yn-form button:active {
  transform: translateY(1px);
}

.yn-btn--primary {
  color: var(--yn-white);
  background: var(--yn-brand-500);
}

.yn-btn--primary:hover {
  background: var(--yn-brand-600);
}

.yn-btn--accent {
  color: var(--yn-white);
  background: var(--yn-accent-500);
}

.yn-btn--accent:hover {
  background: var(--yn-accent-600);
}

.yn-btn--outline {
  color: var(--yn-white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
}

.yn-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.yn-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--yn-white);
  background: transparent;
}

.yn-footer {
  color: var(--yn-white);
  background: var(--yn-navy-900);
}

.yn-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
  padding: 48px 0 30px;
}

.yn-footer h3 {
  margin: 0 0 14px;
  font-size: 14px;
}

.yn-footer p,
.yn-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.yn-footer a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
}

.yn-footer a:hover {
  color: var(--yn-white);
}

.yn-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 24px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.yn-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.yn-status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.yn-status-active,
.yn-status-paid,
.yn-status-processed,
.yn-status-open {
  color: #15803d;
  background: #dcfce7;
}

.yn-status-suspended,
.yn-status-failed,
.yn-status-pending,
.yn-status-in_progress {
  color: #a16207;
  background: #fef3c7;
}

.yn-status-cancelled,
.yn-status-terminated,
.yn-status-unroutable {
  color: #b91c1c;
  background: #fee2e2;
}

.yn-status-cooling,
.yn-status-available,
.yn-status-closed,
.yn-status-resolved {
  color: #374151;
  background: #f3f4f6;
}

.yn-page-content {
  min-height: 360px;
}

.yn-page-content > p:empty {
  display: none;
}

@media (max-width: 860px) {
  .yn-nav,
  .yn-header__actions {
    display: none;
  }

  .yn-mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .yn-header[data-open="true"] .yn-nav,
  .yn-header[data-open="true"] .yn-header__actions {
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    background: var(--yn-navy-900);
  }

  .yn-header[data-open="true"] .yn-nav {
    top: 64px;
    gap: 0;
  }

  .yn-header[data-open="true"] .yn-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .yn-header[data-open="true"] .yn-header__actions {
    top: 272px;
  }

  .yn-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .yn-wrap {
    width: min(100% - 24px, 1200px);
  }

  .yn-footer__grid {
    grid-template-columns: 1fr;
  }
}

