:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --panel: rgba(255, 255, 255, 0.9);
  --text: #111318;
  --muted: #68707f;
  --line: #e1e5eb;
  --soft: #eef2f7;
  --blue: #2563eb;
  --shadow: 0 22px 60px rgba(19, 28, 44, 0.08);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(63, 104, 240, 0.12), transparent 36rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.support-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.support-topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(18, 24, 35, 0.08);
}

.support-brand { display: inline-flex; align-items: center; }
.support-brand img { display: block; width: 112px; height: auto; }

.support-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #101012;
  color: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  touch-action: manipulation;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}

.support-home::before {
  content: "";
  display: block;
  position: absolute;
  inset: 3px;
  z-index: -1;
  border-radius: 5px;
  background: #17181d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.support-home:hover::before { background: #1d1e24; }
.support-home:active { transform: translateY(1px); }
.support-home svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.support-home > * { position: relative; z-index: 1; }

.support-main {
  flex: 1;
  padding: 64px 0 48px;
}

.support-hero {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.support-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 5.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.support-hero p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.support-card {
  min-width: 0;
  min-height: 282px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.support-card:hover {
  transform: translateY(-3px);
  border-color: #cbd4e1;
  box-shadow: 0 24px 58px rgba(19, 28, 44, 0.11);
}

.support-card:focus-visible,
.support-home:focus-visible,
.support-footer a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

.support-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #101217;
  color: #fff;
}

.support-card--email .support-card__icon { background: var(--blue); }
.support-card__icon svg { width: 22px; height: 22px; fill: currentColor; }
.support-card__icon .support-instagram-glyph {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}
.support-instagram-glyph__dot {
  fill: currentColor;
  stroke: none;
}

.support-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 24px;
}

.support-card__label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.support-card__body strong {
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.support-card__body > span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.support-card__action {
  margin-top: auto;
  padding-top: 22px;
  font-size: 13px;
  font-weight: 800;
}
.support-card__action::after { content: " ↗"; }
.support-card--email .support-card__action::after { content: " →"; }


.support-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(18, 24, 35, 0.08);
  color: var(--muted);
  font-size: 12px;
}
.support-footer p { margin: 0; }
.support-footer nav { display: flex; gap: 18px; }
.support-footer a { text-decoration: none; }
.support-footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .support-main { padding-top: 54px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { min-height: 238px; }
}

@media (max-width: 560px) {
  .support-shell { width: min(100% - 28px, 1180px); }
  .support-topbar { min-height: 66px; }
  .support-brand img { width: 100px; }
  .support-home { min-height: 44px; height: 44px; padding: 0 14px 0 11px; font-size: 0.88rem; }
  .support-main { padding: 42px 0 38px; }
  .support-hero { margin-bottom: 24px; text-align: left; }
  .support-hero h1 { margin-top: 16px; font-size: 44px; }
  .support-hero p { font-size: 15px; }
  .support-card { min-height: 214px; padding: 21px; border-radius: 18px; }
  .support-card__body { margin-top: 19px; }
  .support-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
