:root {
  --bg: #080809;
  --panel: #101112;
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --subtle: #747680;
  --primary-text: #080809;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.support-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(70, 131, 255, 0.12), transparent 34%),
    var(--bg);
}

.support-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 9, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.support-nav,
.support-tools,
.hero-actions,
.support-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 6px;
  height: 34px;
}

.brand-mark.small {
  grid-template-columns: repeat(2, 5px);
  gap: 5px;
  height: 26px;
}

.brand-mark span {
  width: 100%;
  border-radius: 999px;
  background: var(--text);
}

.support-nav {
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.support-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.support-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.support-tools {
  justify-self: end;
  gap: 10px;
}

.language-select select,
.topbar-action {
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: var(--panel);
}

.language-select select {
  width: 64px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.topbar-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.support-hero {
  width: min(100% - 80px, 1240px);
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.76fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 0 64px;
}

.support-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-text,
.contact-panel p,
.quick-help p,
.final-cta p,
.support-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 590px;
  font-size: 18px;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 18px;
}

.primary-cta,
.secondary-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
}

.primary-cta {
  color: var(--primary-text);
  background: var(--text);
}

.secondary-cta {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--panel);
}

.support-email {
  color: var(--muted);
}

.support-email a,
.quick-help a {
  color: var(--text);
  font-weight: 800;
}

.phone-preview {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 388px);
  min-height: 620px;
  padding: 28px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    #0b0b0c;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.42);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
}

.phone-title {
  margin: 24px 0 18px;
  font-size: 18px;
  font-weight: 900;
}

.glass-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.status-card,
.support-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 16px;
}

.status-card {
  justify-content: space-between;
}

.status-card strong,
.support-card strong {
  display: block;
  margin-top: 4px;
}

.muted,
.support-card p,
.mini-screen small {
  color: var(--muted);
}

.status-pill {
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffb4ae;
  background: rgba(255, 107, 99, 0.16);
  font-size: 12px;
  font-weight: 900;
}

.mini-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.support-card p {
  margin: 4px 0 0;
  font-size: 13px;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 24px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.bottom-nav span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.bottom-nav span:last-child {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.contact-panel,
.app-support,
.quick-help,
.final-cta,
.support-footer {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.contact-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-list li:last-child {
  color: #ffb4ae;
  font-weight: 800;
}

.app-support,
.quick-help,
.final-cta {
  padding: 90px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.support-grid article {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.feature-tag {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.mini-screen {
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--panel);
}

.mini-screen.composer > span,
.mini-screen.voices > span {
  display: block;
  margin-bottom: 14px;
  color: var(--subtle);
  font-weight: 800;
}

.mini-screen.composer div,
.mini-screen.voices div,
.mini-screen.history div:first-child,
.mini-screen.account div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.mini-screen button {
  border: 0;
  border-radius: 10px;
  color: var(--primary-text);
  background: var(--text);
  font-weight: 900;
}

.mini-screen.composer button,
.mini-screen.account button {
  min-height: 34px;
  padding: 0 12px;
}

.mini-screen.voices div {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.wave {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
}

.wave i {
  width: 6px;
  border-radius: 999px;
  background: var(--text);
}

.wave i:nth-child(1) {
  height: 18px;
}

.wave i:nth-child(2) {
  height: 36px;
}

.wave i:nth-child(3) {
  height: 24px;
}

.wave i:nth-child(4) {
  height: 42px;
}

.mini-screen.account {
  display: grid;
  gap: 14px;
}

.mini-screen.account strong {
  font-size: 24px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.final-cta {
  margin-top: 90px;
  padding: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--panel);
}

.final-cta p {
  max-width: 650px;
}

.support-footer {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 60px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.support-footer nav {
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.support-footer a {
  color: var(--text);
  font-weight: 750;
}

@media (max-width: 1050px) {
  .support-hero {
    width: min(100% - 40px, 760px);
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .phone-preview {
    justify-content: flex-start;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .support-topbar {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .support-nav {
    width: 100%;
    overflow-x: auto;
    justify-content: space-between;
  }

  .support-tools {
    width: 100%;
    justify-content: flex-end;
  }

  h1 {
    font-size: 48px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .final-cta {
    padding: 24px;
  }

  .phone-shell {
    min-height: 560px;
  }

  .support-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }

  .support-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .phone-shell {
    border-radius: 24px;
    padding: 22px 14px;
  }

  .bottom-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
