/* GigMint landing — dark theme aligned with brand */
:root {
  --bg: #070807;
  --bg-elevated: #0e110f;
  --surface: #141a17;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8f0eb;
  --muted: #8fa398;
  /* Brand green — warmer / less teal than before */
  --mint: #3dd15a;
  --mint-dim: #228a38;
  --mint-glow: rgba(52, 190, 78, 0.48);
  --mint-soft: rgba(52, 190, 78, 0.28);
  --mint-ring: rgba(52, 190, 78, 0.52);
  --gold: #d4a853;
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Outfit", system-ui, sans-serif;
  --max: 1120px;
  /* Sticky menu bar (logo + nav); JS overwrites with measured height */
  --menu-bar-offset: clamp(4.25rem, 10vw, 5.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--menu-bar-offset);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 110% 60% at 50% -8%, rgb(42 175 62 / 0.32) 0%, transparent 52%),
    radial-gradient(ellipse 70% 50% at 95% 18%, rgb(36 155 55 / 0.2) 0%, transparent 42%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--mint);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--mint);
  color: #041208;
  font-weight: 600;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header / menu bar — solid black to match logo artwork */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand-logo {
  width: min(200px, 42vw);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text) !important;
}

.nav-cta:hover {
  border-color: var(--mint-ring);
  box-shadow: 0 0 0 1px var(--mint-glow);
}

.nav-toggle {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.2s ease;
  }

  .site-header.nav-open .nav {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto -20%;
  height: 70%;
  background: radial-gradient(ellipse at center, var(--mint-glow) 0%, transparent 65%);
  opacity: 0.58;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    order: -1;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

@media (max-width: 900px) {
  .lead {
    margin-inline: auto;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(145deg, #52e068, var(--mint-dim));
  color: #041208;
  box-shadow: 0 8px 28px var(--mint-glow);
}

.btn-primary:hover {
  box-shadow: 0 10px 36px var(--mint-ring);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.hero-art {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  width: min(340px, 80vw);
  height: min(340px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, var(--mint-glow), transparent 70%);
  filter: blur(8px);
}

.hero-photo {
  position: relative;
  display: block;
  width: min(300px, 72vw);
  max-height: min(520px, 75vh);
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

.inline-code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.9em;
  color: var(--text);
  background: var(--surface);
  padding: 0.12em 0.35em;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.features {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: var(--mint-soft);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.65rem;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Download / app stores */
.download {
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.download-inner .section-sub {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 0.25rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  transition: opacity 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.store-badge:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.store-badge--pending {
  opacity: 0.55;
  cursor: not-allowed;
}

.store-badge--pending:hover {
  transform: none;
}

.store-google .store-badge-img {
  height: 60px;
  width: auto;
  display: block;
}

.store-apple-text {
  display: inline-flex;
  min-height: 60px;
  padding: 0.45rem 1.35rem 0.5rem;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-apple-text:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.store-apple-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.88;
}

.store-apple-name {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Screenshots — less vertical padding than other sections */
.section.gallery {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.section.gallery .section-title {
  margin-bottom: 1rem;
}

/* Gallery carousel */
.shot-carousel {
  --shot-gap: 14px;
  margin-top: 0.25rem;
}

.shot-carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.5rem 0;
}

.shot-carousel-empty {
  margin: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 32rem;
  margin-inline: auto;
}

.shot-carousel-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--shot-gap);
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

@media (prefers-reduced-motion: reduce) {
  .shot-carousel-track {
    transition-duration: 0.01ms;
  }
}

.shot-carousel-slide {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  box-sizing: border-box;
  position: relative;
  margin: 0;
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  cursor: zoom-in;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shot-carousel-slide:hover,
.shot-carousel-slide:focus-visible {
  outline: none;
  border-color: var(--mint-ring);
  box-shadow: 0 0 0 1px var(--mint-glow);
}

.shot-carousel-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  max-height: min(52vh, 420px);
}

.shot-carousel-thumb img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(52vh, 420px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

/* Lightbox */
.shot-lightbox {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  margin: auto;
}

.shot-lightbox::backdrop {
  background: rgba(4, 6, 5, 0.92);
  backdrop-filter: blur(6px);
}

.shot-lightbox-panel {
  position: relative;
  padding: 2.75rem 1rem 1rem;
  margin: 0 auto;
  max-width: min(calc(100vw - 2rem), 520px);
}

.shot-lightbox-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(88vh, 1200px);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.shot-lightbox-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.shot-lightbox-close:hover {
  border-color: var(--mint-ring);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* CTA */
.cta-band {
  background: linear-gradient(160deg, var(--surface) 0%, rgb(8 28 14) 100%);
  border-top: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.cta-text {
  margin: 0;
  color: var(--muted);
}

/* Footer — solid black to match menu bar / logo */
.site-footer {
  padding: 2rem 0 2.5rem;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  text-align: center;
}

.footer-mark {
  border-radius: 10px;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-social {
  font-weight: 600;
}

.site-footer a {
  font-weight: 600;
}

/* Legal / Privacy Policy */
.legal-page {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 5rem);
}

.policy-prose {
  max-width: 42rem;
}

.policy-prose h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.policy-prose h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.65rem;
  color: var(--text);
}

.policy-prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--muted);
}

.policy-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

.policy-prose p {
  margin: 0 0 1rem;
  color: var(--text);
}

.policy-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  color: var(--muted);
}

.policy-prose li {
  margin-bottom: 0.45rem;
}

.policy-prose li::marker {
  color: var(--mint-dim);
}

.policy-prose strong {
  color: var(--text);
  font-weight: 600;
}
