/* Public Contact Support page. Homepage visitors only — not the signed-in app. */
.contact-page {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(20, 180, 140, .16), transparent 42%),
    radial-gradient(ellipse at 88% 12%, rgba(20, 212, 221, .14), transparent 46%),
    linear-gradient(180deg, #071412 0%, #081614 42%, #061210 100%);
  color: #e8f2f0;
}
.contact-page::before,
.contact-page::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}
.contact-page::before {
  inset: -20% -10% auto auto;
  width: 70%;
  height: 70%;
  background:
    linear-gradient(118deg, transparent 20%, rgba(20, 212, 221, .12) 42%, transparent 58%),
    radial-gradient(circle at 70% 30%, rgba(45, 190, 150, .18), transparent 55%);
  filter: blur(18px);
  animation: contactAura 14s ease-in-out infinite alternate;
}
.contact-page::after {
  left: -18%;
  bottom: -12%;
  width: 58%;
  height: 48%;
  border: 1px solid rgba(20, 212, 221, .16);
  border-radius: 46% 38% 50% 42%;
  box-shadow: 0 0 90px rgba(20, 180, 150, .12);
  transform: rotate(16deg);
  opacity: .55;
  animation: contactSweep 18s ease-in-out infinite alternate;
}
.contact-page .site-nav,
.contact-page .contact-shell,
.contact-page .site-foot {
  position: relative;
  z-index: 1;
}
.contact-page .site-nav,
.contact-page .site-foot {
  background: transparent;
  border-color: rgba(90, 140, 130, .22);
}
.contact-shell {
  flex: 1 0 auto;
  width: 100%;
  padding: 42px 0 56px;
}
.contact-page .site-foot {
  flex: none;
  margin-top: auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(90, 130, 142, .22);
}
.contact-page .foot-main {
  gap: 40px 48px;
  padding: 22px 0 20px;
}
.contact-page .foot-brand strong {
  font-size: 15px;
  letter-spacing: .04em;
}
.contact-page .foot-brand p {
  max-width: 28ch;
  margin-top: 10px;
  color: #8ea3ac;
  font-size: 13px;
  line-height: 1.55;
}
.contact-page .site-foot h4 {
  margin: 0 0 12px;
  color: #d7e6ea;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-page .foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.contact-page .site-foot a,
.contact-page .site-foot .cookie-foot-link {
  color: #9db0b7;
  font-size: 13px;
}
.contact-page .site-foot a:hover,
.contact-page .site-foot .cookie-foot-link:hover {
  color: #14d4dd;
}
.contact-page .foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  margin-top: 0;
  border-top: 1px solid rgba(90, 130, 142, .18);
}
.contact-page .copy {
  margin: 0;
  color: #7f939b;
  font-size: 12px;
}
.contact-page .foot-legal {
  display: flex;
  gap: 16px;
}
.contact-page .foot-legal a,
.contact-page .foot-legal .cookie-foot-link {
  margin: 0;
}
.contact-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 12px;
  padding: 0 9px;
  border: 1px solid rgba(20, 212, 221, .4);
  border-radius: 4px;
  color: #8eefe6;
  background: rgba(20, 212, 221, .08);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-hero h1 {
  margin: 0 0 28px;
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -.04em;
  line-height: 1.05;
}
.contact-panel {
  max-width: 920px;
  padding: 28px 30px;
  border: 1px solid rgba(90, 160, 150, .28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 32, 30, .88), rgba(10, 22, 20, .92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28), 0 0 30px rgba(20, 212, 221, .08);
}
.contact-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.03em;
}
.contact-panel p {
  max-width: 68ch;
  margin: 0 0 12px;
  color: #b7c9c4;
  font-size: 15px;
  line-height: 1.6;
}
.contact-email a {
  color: #14d4dd;
  text-decoration: none;
  font-weight: 650;
}
.contact-email a:hover {
  text-decoration: underline;
}
.contact-guide-btn {
  margin-top: 8px;
  min-height: 42px;
  padding: 0 18px;
  box-shadow: 0 0 16px rgba(20, 212, 221, .18);
}
.contact-resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
  margin-top: 16px;
}
.contact-card {
  min-height: 100%;
  padding: 22px 20px;
  border: 1px solid rgba(90, 160, 150, .24);
  border-radius: 14px;
  background: rgba(10, 22, 20, .78);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}
.contact-card h2 {
  margin: 0 0 10px;
  font-size: 17px;
  letter-spacing: -.02em;
}
.contact-card p {
  margin: 0 0 12px;
  color: #a9bbb6;
  font-size: 14px;
  line-height: 1.55;
}
.contact-warn {
  color: #8fa39e !important;
  font-size: 13px !important;
}
.contact-card a {
  color: #14d4dd;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.contact-card a:hover {
  text-decoration: underline;
}

@keyframes contactAura {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: .55; }
  to { transform: translate3d(-3%, 4%, 0) scale(1.06); opacity: .9; }
}
@keyframes contactSweep {
  from { transform: rotate(16deg) translate3d(0, 0, 0); opacity: .4; }
  to { transform: rotate(20deg) translate3d(3%, -2%, 0); opacity: .7; }
}

@media (max-width: 860px) {
  .contact-resources { grid-template-columns: 1fr; }
  .contact-panel { padding: 22px 18px; }
  .contact-page .foot-main,
  .contact-page .foot-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .contact-page .foot-cols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-page::before,
  .contact-page::after { animation: none; }
}
html[data-theme="light"] .contact-page {
  background: linear-gradient(180deg, #eef6f4, #e7f0ee);
  color: #142026;
}
html[data-theme="light"] .contact-panel,
html[data-theme="light"] .contact-card {
  background: #f7fbfa;
  border-color: #c5d7d3;
}
html[data-theme="light"] .contact-panel p,
html[data-theme="light"] .contact-card p {
  color: #53666f;
}
