:root {
  --ink: #141414;
  --paper: #f6f4f0;
  --sand: #efe7dc;
  --orange: #d46b2a;
  --sky: #2b5a8f;
  --slate: #3c3f46;
  --white: #ffffff;
  --shadow: rgba(20, 20, 20, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Serif 4", "Georgia", serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #ffffff 0%, var(--paper) 48%, var(--sand) 100%);
}

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

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

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 32px;
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 24px var(--shadow);
  background: var(--white);
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin: 0;
}

.brand-tagline {
  margin: 2px 0 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  align-items: center;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.nav-dropdown:hover>span {
  background: rgba(43, 90, 143, 0.1);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown>span {
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 160px;
  box-shadow: 0 12px 30px var(--shadow);
  border-radius: 12px;
  padding: 8px;
  z-index: 100;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-content a {
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background: rgba(43, 90, 143, 0.05) !important;
}

.nav-cta {
  background: var(--ink);
  color: var(--white);
}

.nav-btn-secondary {
  background: rgba(43, 90, 143, 0.05);
  /* Very subtle sky tint */
  color: var(--sky);
  border: 1px solid rgba(43, 90, 143, 0.2);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.nav-btn-secondary:hover {
  background: rgba(43, 90, 143, 0.1);
  border-color: rgba(43, 90, 143, 0.4);
  transform: translateY(-1px);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 0 72px;
}

.compatibility-row {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.compatibility-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.editor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.editor-badge {
  background: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sky);
  border: 1px solid rgba(43, 90, 143, 0.15);
  box-shadow: 0 4px 10px var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.editor-badge.xmp {
  background: var(--sky);
  color: var(--white);
  border: none;
}

.hero-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--sky);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin: 0 0 16px;
}

.lead {
  font-size: 1.15rem;
  color: var(--slate);
  margin: 0 0 24px;
}

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

.btn {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.18);
}

.btn.secondary {
  background: var(--white);
  color: var(--sky);
  border: 1px solid rgba(43, 90, 143, 0.3);
  box-shadow: 0 4px 12px var(--shadow);
}

.btn.secondary:hover {
  border-color: var(--sky);
  background: rgba(43, 90, 143, 0.05);
}

.btn.ghost {
  border-color: var(--slate);
  color: var(--slate);
  opacity: 0.8;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  color: var(--slate);
  font-size: 0.95rem;
  align-items: stretch;
}

.metric-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 24px var(--shadow);
  line-height: 1.4;
}

.metric {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}

.hero-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 20px 50px var(--shadow);
  padding: 18px;
}

.hero-gallery {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.hero-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroCycle 18s infinite;
}

.hero-gallery img:nth-child(1) {
  animation-delay: 0s;
}

.hero-gallery img:nth-child(2) {
  animation-delay: 6s;
}

.hero-gallery img:nth-child(3) {
  animation-delay: 12s;
}

.hero-card-caption {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--slate);
}

@keyframes heroCycle {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }

  8% {
    opacity: 1;
    transform: scale(1);
  }

  30% {
    opacity: 1;
  }

  38% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin: 0;
}

.feature-grid {
  padding: 72px 0;
}

.feature-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-grid article {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  margin-top: 14px;
  box-shadow: 0 12px 24px var(--shadow);
}

.feature-grid h3 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
}

.feature-note {
  margin: 18px 0 0;
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 880px;
}

.workflow {
  padding: 40px 0;
}

/* Quick Start / Tutorial styles */
.tutorial {
  padding: 72px 0;
}

.tutorial-wrap {
  position: relative;
}

/* Full-bleed stage that spans the viewport width */
.tutorial-stage {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  padding: 28px 20px;
}

.ts-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.ts-step-title {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
}

.ts-image-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px var(--shadow);
  background: var(--white);
}

.ts-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.ts-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.thumb-btn {
  border: none;
  padding: 0;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  width: 120px;
  flex: 0 0 auto;
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.08);
}

.thumb-btn img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  display: block;
}

.thumb-btn.active {
  outline: 3px solid var(--sky);
  transform: translateY(-4px);
}

.ts-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ts-arrow {
  background: transparent;
  border: none;
  font-size: 2rem;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--slate);
}

.ts-navrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 20px;
}

.tutorial-steps-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.ts-navbtn {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--white);
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
}

.ts-navbtn.active {
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 820px) {
  .ts-arrow {
    display: none;
  }

  .thumb-btn {
    width: 96px;
  }
}

/* caption for tutorial images */
.ts-caption {
  margin: 10px 0 6px;
  color: var(--slate);
  font-size: 0.98rem;
}

/* hero lead bullets */
.lead-bullets {
  margin: 12px 0 0 18px;
  color: var(--slate);
}

.lead-bullets li {
  margin: 6px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.step {
  background: var(--white);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 16px 40px var(--shadow);
}

.step-image {
  margin-top: 16px;
  border-radius: 16px;
  width: 100%;
  height: auto;
  box-shadow: 0 12px 24px var(--shadow);
}

.step-number {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--orange);
  display: inline-block;
  margin-bottom: 10px;
}

.screens {
  padding: 40px 0;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.screens figure {
  margin: 0;
  background: var(--white);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 18px 40px var(--shadow);
}

.screen-button {
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  width: 100%;
}

.screen-button img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
}

.screen-button:hover img {
  transform: scale(1.02);
}

.screens figcaption {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--slate);
}

.download {
  padding: 40px 0 20px;
}

.download-card {
  background: linear-gradient(135deg, rgba(212, 107, 42, 0.14), rgba(43, 90, 143, 0.14));
  border-radius: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 40px;
  padding-top: 20px;
  color: var(--slate);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: "Space Grotesk", sans-serif;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
  padding: 24px;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: min(90vw, 1200px);
  max-height: 75vh;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  font-family: "Space Grotesk", sans-serif;
  background: var(--white);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .hero-gallery img {
    animation: none;
    opacity: 0;
  }

  .hero-gallery img:first-child {
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 24px 16px 50px;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 900px) {
  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Download page specific styles */
.download-status {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  color: var(--sky);
  margin: 16px 0;
  display: none;
  padding: 12px 16px;
  background: rgba(43, 90, 143, 0.08);
  border-radius: 8px;
  border-left: 3px solid var(--sky);
}

.seo-section {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 24px;
  margin-top: 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.seo-section h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  margin-top: 0;
}

.seo-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-section li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.thank-you-section {
  padding: 0;
  margin: 60px 0 40px;
  text-align: center;
}

.thank-you-section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  margin: 0 0 16px 0;
  color: var(--ink);
}

.thank-you-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 12px 0;
  color: var(--slate);
}

.feedback-cta {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  border-left: 4px solid var(--orange);
}

.feedback-cta p {
  margin: 0;
  font-weight: 500;
}

.feedback-cta p:last-child {
  margin-top: 8px;
  font-weight: normal;
  font-size: 0.95rem;
}

.download-help {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 20px;
  margin-top: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.download-help h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  margin-top: 0;
}

/* Troubleshooting grid */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.help-column {
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.help-column h4 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0 0 12px 0;
  color: var(--ink);
  font-size: 1.1rem;
}

.help-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.btn.small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.security-note {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.security-note p {
  margin: 0 0 8px 0;
}

.security-note p:last-child {
  margin-bottom: 0;
}

.windows-note {
  border-left: 4px solid var(--orange);
  background: rgba(212, 107, 42, 0.08);
  color: #85421a;
}

.macos-note {
  border-left: 4px solid var(--sky);
  background: rgba(43, 90, 143, 0.08);
  color: #1a3a5c;
  text-align: left;
}

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

  .macos-note {
    text-align: center;
    border-left: none;
    border-top: 4px solid var(--sky);
  }
}

.legal-content {
  max-width: 800px;
  margin: 40px auto;
  line-height: 1.6;
}

.legal-content h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.legal-content h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  margin-top: 32px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 8px;
}

.legal-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  margin-top: 24px;
}

.legal-content p,
.legal-content li {
  color: var(--slate);
  margin-bottom: 16px;
}

.legal-content strong {
  color: var(--ink);
}

.legal-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
}