:root {
  --sq-bg: #050509;
  --sq-bg-alt: #0b0b12;
  --sq-surface: #15151f;
  --sq-border-subtle: rgba(255, 255, 255, 0.06);
  --sq-primary: #22c55e;
  --sq-primary-soft: rgba(34, 197, 94, 0.18);
  --sq-text: #f9fafb;
  --sq-muted: #9ca3af;
  --sq-radius-lg: 20px;
  --sq-radius-md: 14px;
  --sq-radius-pill: 999px;
  --sq-shell-width: 1120px;
  --sq-duration-fast: 0.18s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
  background: radial-gradient(circle at top, #181820 0, #050509 55%);
  color: var(--sq-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.sq-shell {
  width: 100%;
  max-width: var(--sq-shell-width);
  margin: 0 auto;
  padding-inline: 20px;
}

.sq-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 5, 9, 0.95), rgba(5, 5, 9, 0.75));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sq-header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.sq-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sq-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.sq-brand-title {
  font-weight: 600;
}

.sq-brand-tagline {
  font-size: 11px;
  color: var(--sq-muted);
}

.sq-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.sq-nav a {
  color: var(--sq-muted);
}

.sq-nav a:hover {
  color: #e5e7eb;
}

.sq-hero {
  padding: 32px 0 40px;
}

.sq-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.sq-hero-copy h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3.2rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.sq-hero-copy p {
  margin: 0 0 20px;
  color: var(--sq-muted);
  max-width: 520px;
}

.sq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.sq-btn {
  border-radius: var(--sq-radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all var(--sq-duration-fast) ease;
}

.sq-btn-primary {
  background: radial-gradient(circle at top left, #4ade80, var(--sq-primary));
  color: #022c22;
  font-weight: 600;
}

.sq-btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.sq-btn-ghost {
  border-color: rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.4);
}

.sq-section {
  padding: 40px 0;
}

.sq-section-alt {
  background: radial-gradient(circle at top, rgba(55, 65, 81, 0.15), rgba(17, 24, 39, 0.85));
}

.sq-section-header h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.sq-section-header p {
  margin: 0;
  color: var(--sq-muted);
  max-width: 520px;
}

.sq-grid {
  display: grid;
  gap: 20px;
}

.sq-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sq-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--sq-radius-md);
  padding: 16px 18px;
  border: 1px solid var(--sq-border-subtle);
}

.sq-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.sq-card p {
  margin: 0;
  color: var(--sq-muted);
  font-size: 14px;
}

.sq-download-cta {
  margin-top: 18px;
}

.sq-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--sq-radius-pill);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 14px;
  color: #fff;
  transition: transform var(--sq-duration-fast);
}

.sq-store-badge:hover {
  transform: translateY(-2px);
}

.sq-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(3, 7, 18, 0.95);
  margin-top: auto;
}

.sq-footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 12px;
  font-size: 12px;
  color: var(--sq-muted);
}

.sq-footer-links {
  display: flex;
  gap: 12px;
}

.sq-footer-links a {
  color: var(--sq-muted);
}

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

.sq-page {
  padding: 32px 0 40px;
}

.sq-page-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--sq-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 22px 18px;
}

.sq-page-header {
  margin-bottom: 16px;
}

.sq-page-header h1 {
  margin: 0 0 6px;
  font-size: 22px;
}

.sq-page-header p {
  margin: 0;
  color: var(--sq-muted);
  font-size: 13px;
}

.sq-page h2 {
  font-size: 16px;
  margin: 20px 0 6px;
}

.sq-page p,
.sq-page li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sq-muted);
}

.sq-page ul {
  padding-left: 20px;
}

.sq-link {
  color: #4ade80;
}

.sq-link:hover {
  text-decoration: underline;
}

@media (max-width: 880px) {
  .sq-hero-shell {
    grid-template-columns: 1fr;
  }

  .sq-hero-visual {
    order: -1;
  }

  .sq-grid-3 {
    grid-template-columns: 1fr;
  }
}
