:root {
  --bg-deep: #0a100d;
  --bg: #101812;
  --bg-mid: #16201a;
  --surface: #1c2920;
  --border: #34483a;
  --text: #f2f0e7;
  --text-muted: #aeb9ae;
  --accent: #9ccb8f;
  --accent-dim: #7daa72;
  --accent-ink: #102013;
  --dusk: #c4a574;
  --glow: rgba(156, 203, 143, 0.18);
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --max: 68rem;
  --nav-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #b8dfad;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.35rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(196, 165, 116, 0.22), transparent 55%),
    radial-gradient(70% 50% at 85% 20%, var(--glow), transparent 50%),
    radial-gradient(60% 40% at 10% 70%, rgba(156, 203, 143, 0.08), transparent 45%),
    linear-gradient(180deg, #0a100d 0%, #101812 42%, #0d1511 100%);
}

.topo {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none'%3E%3Cpath d='M20 120c30-40 70-40 100 0s70 40 100 0' stroke='%239CCB8F' stroke-width='1'/%3E%3Cpath d='M10 160c35-35 75-35 110 0s75 35 110 0' stroke='%239CCB8F' stroke-width='1'/%3E%3Cpath d='M30 80c28-30 65-30 95 0s68 30 95 0' stroke='%239CCB8F' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  animation: topo-drift 80s linear infinite;
}

@keyframes topo-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 240px 120px;
  }
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 16, 13, 0.82);
  border-bottom-color: rgba(52, 72, 58, 0.7);
  backdrop-filter: blur(12px);
}

.nav-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.35rem;
}

.brand span {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  padding: 2rem 0 4.5rem;
  overflow: hidden;
}

.hero-layout {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(10, 16, 13, 0.15) 45%, rgba(10, 16, 13, 0.92) 100%),
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(196, 165, 116, 0.28), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(156, 203, 143, 0.12), transparent 35%);
}

.hero-plane::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(175deg, transparent 0%, rgba(22, 32, 26, 0.4) 30%, #0f1712 100%),
    repeating-linear-gradient(
      95deg,
      transparent 0 18px,
      rgba(156, 203, 143, 0.03) 18px 19px
    );
  clip-path: polygon(0 35%, 100% 10%, 100% 100%, 0 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-showcase {
  display: flex;
  justify-content: center;
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@media (min-width: 900px) {
  .hero-showcase {
    justify-content: flex-end;
    padding-bottom: 0.5rem;
  }
}

.phone-frame {
  position: relative;
  width: min(72vw, 17.5rem);
  padding: 0.55rem;
  border-radius: 1.65rem;
  border: 1px solid rgba(156, 203, 143, 0.35);
  background:
    linear-gradient(165deg, rgba(28, 41, 32, 0.95), rgba(16, 24, 18, 0.98)),
    var(--surface);
  box-shadow:
    0 1.5rem 3.5rem rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 2.5rem var(--glow);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0.45rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(242, 240, 231, 0.12);
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 1.15rem;
  border: 1px solid rgba(52, 72, 58, 0.8);
}

.hero-phone {
  width: min(58vw, 15rem);
}

@media (min-width: 900px) {
  .hero-phone {
    width: min(100%, 16.5rem);
  }
}

.hero-brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.6rem, 12vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--text);
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-brand em {
  font-style: normal;
  color: var(--accent);
}

.hero-headline {
  margin: 0 0 0.85rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-support {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--text-muted);
  font-size: 1.125rem;
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #b0d7a5;
  color: var(--accent-ink);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent-dim);
  color: var(--text);
}

/* Sections */
main {
  display: block;
}

.section {
  padding: 4.5rem 0;
}

.section-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section .lede {
  margin: 0 0 2rem;
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature-list li {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.feature-list h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Screenshot gallery */
.screenshots {
  border-top: 1px solid var(--border);
  padding-top: 5rem;
}

.screenshot-rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.25rem 0 1.25rem;
  margin: 0 -0.25rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.screenshot-rail::-webkit-scrollbar {
  height: 0.45rem;
}

.screenshot-rail::-webkit-scrollbar-track {
  background: rgba(28, 41, 32, 0.5);
  border-radius: 999px;
}

.screenshot-rail::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

.screenshot-card {
  flex: 0 0 auto;
  width: min(72vw, 14.5rem);
  margin: 0;
  scroll-snap-align: start;
}

.screenshot-card figcaption {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.35;
}

.screenshot-card .phone-frame {
  width: 100%;
}

@media (min-width: 900px) {
  .screenshot-card {
    width: 14.75rem;
  }
}

.privacy-callout {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(28, 41, 32, 0.45);
}

.privacy-callout .section-inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .privacy-callout .section-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}

.privacy-callout p {
  margin: 0;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal / privacy pages */
.legal-page {
  padding: 2.5rem 0 5rem;
}

.legal-page .section-inner {
  width: min(100% - 2rem, 48rem);
}

.legal-kicker {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal-meta {
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-content h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-content h3 {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content p {
  margin: 0 0 1rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-content th,
.legal-content td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.legal-content th {
  color: var(--text);
  background: rgba(28, 41, 32, 0.7);
  font-weight: 600;
}

.legal-content tr:last-child td {
  border-bottom: none;
}

.notice {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--dusk);
  background: rgba(196, 165, 116, 0.08);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Content, guides, FAQ */
.content-page {
  padding: 2.5rem 0 5rem;
}

.content-page .section-inner {
  width: min(100% - 2rem, 48rem);
}

.content-kicker {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-page h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.content-lede {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 42ch;
}

.breadcrumb {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--border);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  color: var(--accent);
}

.guide-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-card {
  display: block;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: rgba(28, 41, 32, 0.45);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.guide-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}

.guide-card h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.guide-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.faq-item {
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
}

.faq-item h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

.inline-faq {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: rgba(28, 41, 32, 0.35);
}

.inline-faq h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.inline-faq p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.cta-block {
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

.audience-section {
  border-top: 1px solid var(--border);
}

.audience-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .audience-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audience-links a {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.audience-links a:hover {
  border-color: var(--accent-dim);
}

.btn-disabled {
  cursor: default;
  opacity: 0.92;
  pointer-events: none;
}

.btn-disabled:hover {
  transform: none;
}

.nav-links a.is-active {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .topo,
  .hero-brand,
  .hero-headline,
  .hero-support,
  .hero-showcase,
  .cta-row,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
