:root {
  --bg: #10171d;
  --bg-strong: #162029;
  --surface: rgba(35, 45, 56, 0.8);
  --surface-strong: rgba(47, 59, 71, 0.94);
  --surface-stroke: rgba(145, 169, 194, 0.14);
  --line: rgba(145, 169, 194, 0.12);
  --text: #eef4fb;
  --muted: #aab8c6;
  --blue: #2b83f6;
  --blue-soft: #69a9ff;
  --mint: #38d06f;
  --peach: #ff9f43;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.2);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(43, 131, 246, 0.2), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(56, 208, 111, 0.12), transparent 18%),
    linear-gradient(180deg, #111920 0%, #0c1319 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 78%);
  z-index: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  top: -120px;
  left: -140px;
  background: rgba(43, 131, 246, 0.22);
}

.page-glow-right {
  top: 120px;
  right: -140px;
  background: rgba(56, 208, 111, 0.14);
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 24px 0 10px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
  background: var(--surface);
  border: 1px solid var(--surface-stroke);
  border-radius: 24px;
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-logo {
  width: 250px;
  max-width: min(46vw, 250px);
  height: auto;
  display: block;
}

.brand-wordmark {
  font-size: 1.15rem;
}

.brand-slogan {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-nav {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  padding: 50px 0 30px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.glass-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero h1,
.legal-panel h1,
.support-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-text,
.lead {
  margin: 0;
  max-width: 640px;
  font-size: 1.16rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions,
.form-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #1d82ff 0%, #2e6cff 100%);
  box-shadow: 0 18px 36px rgba(43, 131, 246, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero-note,
.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-stats,
.support-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.glass-card,
.glass-panel {
  background: var(--surface);
  border: 1px solid var(--surface-stroke);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow: var(--shadow-soft);
}

.glass-card {
  border-radius: var(--radius-md);
  padding: 18px;
}

.glass-card strong,
.support-point strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.glass-card span,
.support-point span {
  color: var(--muted);
  line-height: 1.55;
}

.support-point {
  min-width: 0;
}

.support-point-email {
  grid-column: 1 / -1;
}

.support-point-email span {
  display: block;
}

.support-point span,
.support-point a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.window-card {
  border-radius: var(--radius-xl);
  padding: 18px;
  background: linear-gradient(180deg, rgba(29, 39, 49, 0.96), rgba(21, 29, 37, 0.96));
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff605c; }
.dot-yellow { background: #ffbd44; }
.dot-green { background: #00ca4e; }

.window-title {
  margin-left: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.screenshot-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 2562 / 1496;
  background:
    linear-gradient(180deg, rgba(68, 82, 97, 0.94), rgba(48, 59, 72, 0.98));
  border: 1px solid rgba(145, 169, 194, 0.16);
}

.product-shot {
  width: 100%;
  height: auto;
}

.shot-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.8fr;
  gap: 10px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(58, 71, 84, 0.98), rgba(45, 56, 68, 0.98));
}

.fallback-sidebar,
.fallback-commit-list,
.fallback-detail {
  border-radius: 18px;
  background: rgba(28, 38, 48, 0.78);
  border: 1px solid rgba(145, 169, 194, 0.08);
  padding: 14px;
}

.fallback-group,
.fallback-row,
.fallback-card,
.fallback-tabs,
.fallback-heading,
.fallback-lines {
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79, 98, 117, 0.85), rgba(58, 71, 84, 0.92));
}

.fallback-group {
  height: 34px;
  margin-bottom: 16px;
}

.fallback-row {
  height: 52px;
  margin-bottom: 12px;
  opacity: 0.7;
}

.fallback-row.active,
.fallback-card.feature {
  background: linear-gradient(135deg, rgba(28, 107, 228, 0.96), rgba(43, 131, 246, 0.96));
  opacity: 1;
}

.fallback-card {
  height: 74px;
  margin-bottom: 12px;
}

.fallback-tabs {
  height: 56px;
  margin-bottom: 18px;
}

.fallback-heading {
  height: 90px;
  margin-bottom: 18px;
}

.fallback-lines {
  height: 240px;
}

.fallback-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(25, 34, 43, 0.88);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  border: 1px solid rgba(145, 169, 194, 0.08);
}

.feature-band {
  padding: 28px 0 6px;
}

.screenshot-gallery-section {
  padding: 18px 0 12px;
}

.gallery-copy {
  margin-bottom: 18px;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  border-radius: var(--radius-xl);
  padding: 18px;
}

.gallery-meta {
  margin-bottom: 14px;
}

.gallery-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gallery-meta h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.gallery-shot-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(68, 82, 97, 0.94), rgba(48, 59, 72, 0.98));
  border: 1px solid rgba(145, 169, 194, 0.16);
}

.gallery-shot-link {
  display: block;
}

.gallery-shot-link:hover .gallery-shot-frame {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.gallery-shot-link:focus-visible {
  outline: none;
}

.gallery-shot-link:focus-visible .gallery-shot-frame {
  box-shadow: 0 0 0 4px rgba(43, 131, 246, 0.22);
}

.gallery-shot {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-shot-frame-secondary {
  min-height: 260px;
}

.gallery-shot-frame,
.gallery-shot-link .gallery-shot-frame {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(58, 71, 84, 0.98), rgba(45, 56, 68, 0.98));
}

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

.feature-card,
.detail-panel {
  min-height: 170px;
}

.feature-card h2,
.detail-panel h3 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.feature-card p,
.detail-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-block {
  padding: 64px 0 26px;
}

.section-copy {
  margin-bottom: 20px;
}

.section-copy h2 {
  margin: 12px 0 0;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

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

.detail-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  margin: 26px auto 70px;
  border-radius: var(--radius-xl);
}

.cta-strip h2 {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.legal-layout,
.support-layout,
.about-layout {
  padding: 48px 0 70px;
}

.legal-panel,
.support-copy,
.support-form-panel,
.about-hero,
.about-card {
  border-radius: var(--radius-xl);
  padding: 32px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.about-card h2,
.about-card h3 {
  letter-spacing: -0.03em;
}

.about-card h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.about-card h3 {
  margin: 16px 0 10px;
  font-size: 1.05rem;
}

.about-card p,
.about-card li {
  color: var(--muted);
  line-height: 1.7;
}

.about-card ul,
.about-card ol {
  margin: 0;
  padding-left: 20px;
}

.about-card li + li {
  margin-top: 6px;
}

.legal-stack {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.legal-stack article {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-stack h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.legal-stack p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.support-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.support-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-form {
  display: grid;
  gap: 16px;
}

.support-form label {
  display: grid;
  gap: 8px;
}

.support-form span {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(15, 22, 29, 0.66);
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: rgba(43, 131, 246, 0.5);
  box-shadow: 0 0 0 4px rgba(43, 131, 246, 0.14);
}

.support-point a {
  color: var(--blue);
  display: inline-block;
  max-width: 100%;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 30px;
}

.footer-brand,
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand {
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-brand:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer-brand img {
  width: 168px;
  height: auto;
  display: block;
}

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

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 1080px) {
  .hero,
  .support-layout,
  .feature-grid,
  .screenshot-gallery,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .details-grid,
  .hero-stats,
  .support-points {
    grid-template-columns: 1fr;
  }

  .shot-fallback {
    grid-template-columns: 1fr;
  }

  .fallback-sidebar,
  .fallback-commit-list {
    display: none;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .nav-shell,
  .site-footer,
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1,
  .legal-panel h1,
  .support-copy h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .window-card,
  .legal-panel,
  .support-copy,
  .support-form-panel {
    padding: 22px;
  }

  .screenshot-frame {
    min-height: 0;
  }
}
