:root {
  --support-orange: #d1670e;
  --support-orange-dark: #b8590c;
  --support-ink: #152033;
  --support-muted: #667085;
  --support-line: #e8edf2;
  --support-soft: #fff8f1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
}

body.support-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--support-orange-dark);
  background-image:
    linear-gradient(145deg, rgba(209, 103, 14, 0.93), rgba(140, 68, 10, 0.9)),
    url('/static/solar-panels-sunrise-renewable-energy.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.support-main {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1.5rem 2.5rem;
}

.support-shell {
  width: 100%;
  max-width: 980px;
  background: #fff;
  color: var(--support-ink);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 18px 40px rgba(0, 0, 0, 0.14),
    0 40px 80px rgba(55, 22, 0, 0.28);
}

.support-shell-accent {
  height: 6px;
  background: linear-gradient(90deg, #ff9a3c, var(--support-orange), #9a4a0a);
}

.support-intro {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 200px;
  align-items: center;
  column-gap: 2rem;
  min-height: 118px;
  padding: 1.85rem 2rem 1.55rem;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(209, 103, 14, 0.08), transparent 55%),
    linear-gradient(180deg, #fffdfb 0%, #fff 100%);
  border-bottom: 1px solid var(--support-line);
}

.support-logo {
  width: 180px;
  height: auto;
  display: block;
  justify-self: start;
}

.support-intro-copy {
  text-align: center;
  justify-self: center;
  width: 100%;
  max-width: 34rem;
}

.support-intro-spacer {
  width: 180px;
  justify-self: end;
}

.support-intro-copy h1 {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 0.45rem;
  color: var(--support-ink);
  white-space: nowrap;
}

.support-intro-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--support-muted);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 1.75rem 1.75rem;
  background: #f7f8fa;
}

.support-tile {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 148px;
  padding: 1.25rem 1.2rem 1.3rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6ebf0;
  box-shadow: 0 8px 18px rgba(20, 30, 45, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

a.support-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(209, 103, 14, 0.45);
  box-shadow: 0 14px 28px rgba(209, 103, 14, 0.12);
}

.support-tile-static {
  cursor: default;
}

.support-tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--support-soft);
  color: var(--support-orange);
  margin-bottom: 0.15rem;
}

.support-tile-icon svg {
  width: 20px;
  height: 20px;
}

.support-tile-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #98a2b3;
}

.support-tile-value {
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--support-ink);
  word-break: break-word;
}

.support-tile-hours .support-tile-value {
  white-space: nowrap;
  word-break: normal;
  font-size: 0.95rem;
}

.footer {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.75rem 1rem 1rem;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.footer-container {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  margin-top: 0.25rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.75rem;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-tile {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .support-main {
    padding: 1.35rem 0.9rem 1.75rem;
  }

  .support-intro {
    grid-template-columns: 1fr;
    row-gap: 1rem;
    min-height: 0;
    padding: 1.4rem 1.2rem 1.25rem;
  }

  .support-logo {
    width: 180px;
  }

  .support-intro-spacer {
    display: none;
  }

  .support-intro-copy {
    max-width: none;
  }

  .support-intro-copy h1 {
    font-size: 1.7rem;
    white-space: normal;
  }

  .support-intro-copy p {
    font-size: 0.95rem;
  }

  .support-tile-hours .support-tile-value {
    white-space: normal;
    font-size: 0.98rem;
  }

  .support-grid {
    padding: 1.1rem;
    gap: 0.85rem;
  }
}
