/* Shared WhatsApp-inspired shell styles for every page in the mini-site. */

:root {
  --wa-green: #075e54;
  --wa-green-dark: #05463f;
  --wa-accent: #25d366;
  --wa-bg: #e5ddd5;
  --wa-surface: rgba(255, 255, 255, 0.7);
  --wa-surface-strong: rgba(255, 255, 255, 0.92);
  --wa-search: #f0f2f5;
  --wa-line: rgba(7, 94, 84, 0.12);
  --wa-text: #111b21;
  --wa-muted: #667781;
  --wa-shadow: 0 18px 40px rgba(17, 27, 33, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--wa-text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at 20% 15%, rgba(37, 211, 102, 0.12), transparent 18rem),
    radial-gradient(circle at 85% 8%, rgba(18, 140, 126, 0.11), transparent 18rem),
    linear-gradient(rgba(229, 221, 213, 0.96), rgba(229, 221, 213, 0.96)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23d3ccc4' stroke-width='1.2' opacity='0.55'%3E%3Cpath d='M24 34c10 0 10 18 20 18s10-18 20-18 10 18 20 18'/%3E%3Cpath d='M140 40c14 0 14 24 28 24s14-24 28-24'/%3E%3Ccircle cx='68' cy='122' r='14'/%3E%3Ccircle cx='167' cy='138' r='11'/%3E%3Cpath d='M32 170c20-10 34-10 54 0'/%3E%3Cpath d='M124 182c10-14 30-14 40 0'/%3E%3Cpath d='M170 92c0 10 18 10 18 20s-18 10-18 20'/%3E%3C/g%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.app {
  width: min(100%, 1024px);
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  box-shadow: var(--wa-shadow);
  backdrop-filter: blur(8px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 1rem 1rem 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-green-dark));
  box-shadow: 0 10px 24px rgba(7, 94, 84, 0.28);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.brand-copy {
  min-width: 0;
}

.brand-copy h1 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.brand-copy p {
  margin: 0.22rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-pill {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.content {
  padding: 1rem;
}

.footer-note {
  margin-top: 0.9rem;
  padding: 0 0.15rem;
  color: var(--wa-muted);
  font-size: 0.84rem;
  text-align: center;
}

.footer-note a {
  color: var(--wa-green);
  font-weight: 700;
  text-decoration: none;
}

.footer-note a:hover,
.footer-note a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .topbar {
    padding: 0.95rem 0.85rem 1.05rem;
  }

  .topbar-row {
    align-items: flex-start;
  }

  .status-pill {
    font-size: 0.78rem;
  }
}

@media (max-width: 560px) {
  .app {
    width: 100%;
  }

  .brand-copy p {
    white-space: normal;
  }
}
