/* Tagter marketing — logo navy + coral, with purple atmosphere */

:root {
  --navy: #194089;
  --navy-deep: #10285a;
  --coral: #f0514e;
  --coral-hot: #e8433f;
  --purple: #6b3fa0;
  --purple-deep: #3d2470;
  --purple-mist: #8b6bc7;
  --ink: #101828;
  --muted: #5a6b86;
  --paper: #f4f6fb;
  --white: #ffffff;
  --line: rgba(25, 64, 137, 0.12);
  --shadow: 0 18px 50px rgba(25, 64, 137, 0.14);
  --radius-pill: 999px;
  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.marketing-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-feature-settings: "cv02", "cv03", "cv04", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--ink);
  background: var(--paper);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
}

.site-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(90deg, #10285a 0%, #194089 55%, #3d2470 100%);
  box-shadow: 0 8px 24px rgba(16, 40, 90, 0.28);
}

/* Keep rotating words on the same baseline as surrounding sentence text. */
.hero-title .rotator,
.hero-lead .rotator {
  display: inline;
  position: relative;
  vertical-align: baseline;
  white-space: nowrap;
  margin: 0;
}

.rotator-red {
  color: #f0514e !important;
  font-weight: inherit;
  font-style: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  vertical-align: baseline;
}

.rotator-word {
  display: none;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  font-style: inherit;
  white-space: nowrap;
  vertical-align: baseline;
  position: static;
  transform: none;
}

.rotator-word.is-active {
  display: inline;
  opacity: 1;
  pointer-events: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* Atmospheric purple + navy background (requested) */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(107, 63, 160, 0.22), transparent 55%),
    radial-gradient(90% 70% at 100% 10%, rgba(25, 64, 137, 0.28), transparent 50%),
    radial-gradient(70% 60% at 70% 100%, rgba(240, 81, 78, 0.12), transparent 45%),
    linear-gradient(165deg, #eef1fb 0%, #e4e8f8 42%, #ebe4f6 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-navy {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(25, 64, 137, 0.55), transparent 70%);
}

.orb-purple {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  bottom: -12%;
  left: -10%;
  background: radial-gradient(circle, rgba(107, 63, 160, 0.5), transparent 70%);
  animation-delay: -6s;
}

.orb-coral {
  width: min(30vw, 260px);
  height: min(30vw, 260px);
  top: 42%;
  right: 18%;
  background: radial-gradient(circle, rgba(240, 81, 78, 0.28), transparent 70%);
  animation-delay: -11s;
}

.mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(25, 64, 137, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 63, 160, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, -18px, 0) scale(1.06); }
}

.top-bar,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Top bar: dark navy so Tagter.com reads in white */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.85rem clamp(1.1rem, 3vw, 2.5rem);
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 7;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.brand-word {
  font-size: 1.15rem;
  color: #ffffff;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.85rem;
}

@media (min-width: 861px) {
  .site-nav {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    height: var(--header-h);
    padding: 0 clamp(1.1rem, 3vw, 2.5rem);
    z-index: 2;
  }

  .nav-toggle {
    display: none !important;
  }
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
}

.site-nav a.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta.is-active {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 7;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Main / hero */
.site-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.page-home .hero,
.page-contact .contact-page,
.page-purple .purple-page,
.section-page {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vh, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-logo {
  width: clamp(72px, 14vw, 112px);
  height: auto;
  border-radius: 50%;
  box-shadow: var(--shadow);
  animation: logo-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-brand-name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}

.hero-title,
.section-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 3.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--navy-deep);
}

.hero-line {
  white-space: normal;
  max-width: 52rem;
  overflow: visible;
}

@media (max-width: 720px) {
  .hero-line {
    font-size: clamp(1.15rem, 4.8vw, 1.55rem);
  }
}

.page-home .hero-lead.hero-line {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  color: var(--navy-deep);
}

.hero-italic {
  font-style: italic;
}

.hero-title em {
  font-style: normal;
  color: var(--coral);
  position: relative;
}

.hero-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.18em;
  background: linear-gradient(90deg, rgba(240, 81, 78, 0.35), rgba(107, 63, 160, 0.25));
  border-radius: 4px;
  z-index: -1;
}

.hero-lead,
.section-body {
  margin: 1.35rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-talk {
  position: relative;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(25, 64, 137, 0.28);
  min-width: 11.5rem;
}

.btn-talk:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.btn-talk-default,
.btn-talk-hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-talk-hover {
  display: none;
}

.btn-talk-wa:hover,
.btn-talk-wa:focus-visible {
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.btn-talk-wa:hover .btn-talk-default,
.btn-talk-wa:focus-visible .btn-talk-default {
  display: none;
}

.btn-talk-wa:hover .btn-talk-hover,
.btn-talk-wa:focus-visible .btn-talk-hover {
  display: inline-flex;
}

.btn-talk .wa-icon {
  flex-shrink: 0;
}

.btn-talk-arrow {
  transition: transform 0.2s ease;
}

.btn-talk-wa:hover .btn-talk-arrow {
  transform: none;
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple) 0%, #5a2f96 100%);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(107, 63, 160, 0.28);
}

.btn-purple:hover {
  color: var(--white);
  filter: brightness(1.05);
}

.btn-purple.is-disabled,
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: none;
}

/* Section / Purple preview pages */
.section-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
}

.section-title {
  max-width: 16ch;
}

.section-note {
  margin: 2rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.85;
}

.purple-stage {
  position: relative;
  padding: 0.5rem 0 1rem;
}

.purple-orb {
  position: absolute;
  width: min(70vw, 360px);
  height: min(70vw, 360px);
  top: -20%;
  right: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 63, 160, 0.35), transparent 68%);
  filter: blur(8px);
  animation: pulse 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes logo-in {
  from { opacity: 0; transform: scale(0.86) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal.delay-1 { animation-delay: 0.1s; }
.reveal.delay-2 { animation-delay: 0.2s; }
.reveal.delay-3 { animation-delay: 0.32s; }
.reveal.delay-4 { animation-delay: 0.42s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .purple-orb,
  .hero-logo,
  .reveal {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Footer */
.site-footer {
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer-tag {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
}

.footer-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Mobile nav — fixed to viewport (not nested under transformed/filtered ancestors) */
@media (max-width: 860px) {
  .top-bar {
    position: relative;
    z-index: 6;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: calc(var(--header-h) + 0.75rem) 1.25rem 1.5rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.1rem;
    background: #10285a;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
    z-index: 5;
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0.35rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav a.nav-cta {
    text-align: center;
    margin-top: 0.55rem;
    border-bottom: 0;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-main {
    align-items: stretch;
    padding-top: 0;
  }

  .hero-title,
  .section-title {
    max-width: none;
  }
}

/* Auth demo — /auth (tagter.com/auth · tagterdns.com/auth) */
.page-auth .site-main {
  align-items: center;
}

.auth-page {
  width: min(440px, 100%);
  margin: 0 auto;
}

.auth-panel {
  padding: 1.5rem 1.35rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(25, 64, 137, 0.1);
  box-shadow: 0 18px 48px rgba(25, 64, 137, 0.12);
  backdrop-filter: blur(10px);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.auth-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(25, 64, 137, 0.22);
}

.auth-brand h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

.auth-brand p {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  padding: 0.3rem;
  border-radius: 12px;
  background: rgba(25, 64, 137, 0.06);
}

.auth-tab {
  text-align: center;
  padding: 0.55rem 0.5rem;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.auth-tab.is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(25, 64, 137, 0.1);
}

.auth-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(107, 63, 160, 0.1);
  border: 1px solid rgba(107, 63, 160, 0.22);
  color: var(--purple-deep);
  font-size: 0.88rem;
  line-height: 1.45;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(25, 64, 137, 0.18);
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--ink);
}

.auth-form input:focus {
  outline: 2px solid rgba(107, 63, 160, 0.35);
  border-color: var(--purple);
}

.auth-submit {
  width: 100%;
  margin-top: 0.35rem;
}

.auth-note {
  margin: 1.1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.auth-note a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Topic sections — single-page product story */
.topic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.topic-alt {
  background: rgba(255, 255, 255, 0.35);
}

.topic-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}

.topic-copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  letter-spacing: -0.03em;
  color: var(--navy-deep);
  line-height: 1.2;
}

.topic-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 36rem;
}

.topic-visual {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.viz {
  position: relative;
  width: min(100%, 340px);
  height: 220px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(25, 64, 137, 0.12), rgba(107, 63, 160, 0.18));
  border: 1px solid rgba(25, 64, 137, 0.12);
  overflow: hidden;
}

/* Broadband pulses */
.viz-broadband .tower {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 18px;
  height: 72px;
  margin-left: -9px;
  border-radius: 6px;
  background: var(--navy);
}
.viz-broadband .signal {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid var(--coral);
  border-radius: 50%;
  opacity: 0;
  animation: ping 2.4s ease-out infinite;
}
.viz-broadband .s2 { animation-delay: 0.6s; }
.viz-broadband .s3 { animation-delay: 1.2s; }
@keyframes ping {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Chat bubbles */
.viz-chat { display: flex; flex-direction: column; justify-content: center; gap: 0.55rem; padding: 1.2rem; }
.bubble {
  max-width: 82%;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  animation: slide-in 3.6s ease-in-out infinite;
}
.bubble.b1 { background: var(--navy); align-self: flex-start; }
.bubble.b2 { background: var(--purple); align-self: flex-end; animation-delay: 0.35s; }
.bubble.b3 { background: var(--coral); align-self: flex-start; animation-delay: 0.7s; }
@keyframes slide-in {
  0%, 100% { opacity: 0.35; transform: translateY(8px); }
  20%, 80% { opacity: 1; transform: translateY(0); }
}

/* Tokens */
.viz-tokens { display: grid; place-items: center; }
.coin {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 24px rgba(25, 64, 137, 0.25);
  animation: floaty 3s ease-in-out infinite;
}
.coin.c1 { background: var(--navy); left: 18%; top: 28%; }
.coin.c2 { background: var(--purple); right: 18%; top: 22%; animation-delay: 0.4s; }
.coin.c3 { background: var(--coral); left: 42%; bottom: 18%; animation-delay: 0.8s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Agentic nodes */
.viz-agent { display: grid; place-items: center; }
.agent-lines { position: absolute; inset: 18% 10%; width: 80%; height: 64%; stroke: rgba(25, 64, 137, 0.35); stroke-width: 2; fill: none; }
.node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(240, 81, 78, 0.18);
  animation: pulse-node 2s ease-in-out infinite;
}
.node.n1 { left: 18%; top: 46%; }
.node.n2 { right: 18%; top: 46%; animation-delay: 0.3s; background: var(--navy); box-shadow: 0 0 0 6px rgba(25, 64, 137, 0.18); }
.node.n3 { left: 46%; top: 16%; animation-delay: 0.6s; background: var(--purple); box-shadow: 0 0 0 6px rgba(107, 63, 160, 0.18); }
.node.n4 { left: 46%; bottom: 16%; animation-delay: 0.9s; }
@keyframes pulse-node {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* WhatsApp phone */
.viz-wa { display: grid; place-items: center; }
.wa-phone {
  width: 110px;
  height: 180px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1f6b4a, #128c7e);
  box-shadow: 0 16px 36px rgba(18, 140, 126, 0.35);
  padding: 1.2rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  animation: phone-tilt 4s ease-in-out infinite;
}
.wa-dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; opacity: 0.9; }
.wa-line { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.85); }
.wa-line.short { width: 62%; }
@keyframes phone-tilt {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

/* Network */
.viz-network { display: grid; place-items: center; }
.net-node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 0 rgba(25, 64, 137, 0.35);
  animation: net-pulse 2.8s ease-out infinite;
}
.net-node.a { left: 50%; top: 18%; }
.net-node.b { left: 22%; top: 48%; animation-delay: 0.3s; background: var(--coral); }
.net-node.c { right: 22%; top: 48%; animation-delay: 0.6s; background: var(--purple); }
.net-node.d { left: 34%; bottom: 18%; animation-delay: 0.9s; }
.net-node.e { right: 34%; bottom: 18%; animation-delay: 1.2s; background: var(--coral); }
@keyframes net-pulse {
  0% { box-shadow: 0 0 0 0 rgba(25, 64, 137, 0.4); }
  100% { box-shadow: 0 0 0 18px rgba(25, 64, 137, 0); }
}

.cta-band {
  width: min(1100px, 100%);
  margin: 0 auto 2rem;
  padding: 2.4rem clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(25, 64, 137, 0.92), rgba(107, 63, 160, 0.88));
  color: #fff;
  text-align: center;
}
.cta-band h2 { margin: 0 0 0.4rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-band p { margin: 0 0 1.2rem; opacity: 0.9; }
.cta-band .btn-talk { background: #fff; color: var(--navy); }
.cta-band .btn-talk:hover { background: #e8eef8; color: var(--navy); }
.cta-band .btn-purple { background: var(--coral); }

.contact-page { max-width: 720px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(25, 64, 137, 0.12);
  box-shadow: var(--shadow);
}
.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}
.contact-card strong { color: var(--navy-deep); font-size: 1.05rem; }
.contact-hint { color: var(--muted); font-size: 0.88rem; }

.join-page {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vh, 3rem) clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
}

.join-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(25, 64, 137, 0.12);
  box-shadow: var(--shadow);
}

.join-field {
  display: grid;
  gap: 0.35rem;
}

.join-field span:first-child {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.join-field input,
.join-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
}

.join-field input:focus,
.join-field select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107, 63, 160, 0.15);
}

.join-mobile {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
}

.join-err {
  color: #b42318;
  font-size: 0.78rem;
  font-weight: 500;
}

.join-hint {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.join-hint code {
  font-size: 0.75rem;
  color: var(--navy);
}

.join-alert {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: #fff1f0;
  border: 1px solid #ffd0cb;
  color: #9f1f14;
  font-size: 0.9rem;
}

.join-alert-info {
  background: #eef4ff;
  border-color: #c9d8f5;
  color: var(--navy-deep);
}

.join-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.join-foot {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--muted);
}

.join-foot a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .topic {
    grid-template-columns: 1fr;
  }
  .topic .topic-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .join-mobile { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .signal, .bubble, .coin, .node, .wa-phone, .net-node { animation: none !important; }
}
