:root {
  --ink: #fff7e7;
  --muted: #c9bba8;
  --paper: #fff8e8;
  --bg: #001d25;
  --bg-soft: #002936;
  --panel: #01313d;
  --panel-strong: #004355;
  --line: rgba(255, 232, 194, 0.10);
  --panel-surface: #002630;
  --panel-surface-soft: #002a35;
  --ember: #f06b22;
  --ember-dark: #bf4212;
  --amber: #f0a868;
  --green: #95bf74;
  --shadow: 0 10px 16px -16px rgba(0, 0, 0, 0.72);
  --radius: 1px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-align: left;
}

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

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

a:hover { color: var(--amber); }

p { color: var(--muted); margin: 0 0 1rem; }

h1, h2, h3 { color: var(--ink); line-height: 1.1; margin: 0 0 1rem; letter-spacing: -0.028em; }

h1 { font-size: clamp(2.25rem, 5.4vw, 4.85rem); max-width: 920px; }

h2 {
  max-width: 12.5em;
  font-size: clamp(2rem, 3.35vw, 3rem);
  text-wrap: balance;
}

h3 { font-size: 1.35rem; }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(0, 29, 37, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

body.is-in-logo-reveal .site-header {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  pointer-events: none;
}

.navbar { min-height: 80px; padding: 0.35rem 0; }

.navbar > .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(18px);
}

.navbar-collapse {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

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

.ms-auto { margin-left: auto; }

.navbar-toggler {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 38px;
  margin-left: auto;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.navbar-toggler-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.navbar-toggler-icon::before { top: -7px; }
.navbar-toggler-icon::after { top: 7px; }

.navbar-brand,
.navbar-brand {
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink) !important;
}

.footer-brand {
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #001d25 !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: rgba(255, 247, 231, 0.74);
  font-weight: 650;
  padding: 0.35rem 0.85rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--amber);
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 2px;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-section {
  --hero-mask-scale: 1;
  --hero-mask-opacity: 1;
  --hero-image-scale: 1.02;
  --hero-image-brightness: 0.86;
  --hero-hint-opacity: 1;
  position: relative;
  min-height: 124svh;
  background: #001d25;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #001d25;
}

.hero-image,
.hero-image-shade,
.hero-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(var(--hero-image-scale));
  transform-origin: center;
  filter: brightness(var(--hero-image-brightness)) contrast(1.08) saturate(1.24);
  will-change: transform, filter;
}

.hero-image-shade {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 107, 34, 0.10), rgba(0, 29, 37, 0.08) 48%, rgba(0, 29, 37, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 29, 37, 0.22), rgba(0, 29, 37, 0.04) 48%, rgba(0, 29, 37, 0.32));
  pointer-events: none;
}

.hero-mask {
  z-index: 2;
  display: flex;
  flex-direction: column;
  transform: scale(var(--hero-mask-scale));
  transform-origin: center;
  opacity: var(--hero-mask-opacity);
  will-change: transform, opacity;
  pointer-events: none;
}

.hero-mask-fill {
  flex: 1 1 0;
  min-height: 0;
  background: #001d25;
}

.hero-logo {
  flex: 0 0 auto;
  width: 100vw;
  max-width: none;
  height: auto;
  margin: -1px 0;
  user-select: none;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 4vw, 2rem);
  z-index: 3;
  margin: 0;
  color: rgba(255, 247, 231, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
  opacity: var(--hero-hint-opacity);
  transition: opacity 120ms linear;
}

.eyebrow {
  color: var(--amber);
  font-size: clamp(0.86rem, 0.72rem + 0.35vw, 1rem);
  font-weight: 850;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-actions,
.store-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary { background: var(--ember); color: #170a03; }

.button-primary:hover { background: var(--amber); color: #170a03; }

.button-secondary { border-color: var(--line); color: var(--ink); background: rgba(255, 247, 231, 0.05); }

.button-secondary:hover { border-color: var(--amber); color: var(--ink); background: rgba(240, 163, 90, 0.08); }

.section { padding: 96px 0; }

.intro-section,
.video-section { background: var(--bg); }

.system-section,
.newsletter-section { background: var(--bg-soft); }

.app-section { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.image-card,
.feature-card,
.newsletter-panel,
.video-frame,
.app-preview-grid img {
  border: 0;
  border-radius: var(--radius);
  background: var(--panel-surface);
  box-shadow: var(--shadow);
  background-clip: padding-box;
}

.image-card { overflow: hidden; margin: 0; }

.image-card img { aspect-ratio: 16 / 10; object-fit: cover; }

.image-card figcaption {
  padding: 0.85rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 0;
}

.section-heading { max-width: 720px; margin-bottom: 2.5rem; }

.section-heading.compact { margin-inline: auto; text-align: center; }
.section-heading.compact h2 { margin-inline: auto; }

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

.feature-card {
  overflow: hidden;
  background: #002630;
  border-color: transparent;
}

.feature-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  padding: 1.5rem;
  background: #00242d;
  border-bottom: 0;
}

.feature-card div { padding: 1.35rem; }

.app-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.app-preview-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.app-preview-grid img:nth-child(2) { margin-top: 3rem; }

.store-links { margin: 1.5rem 0; }

.store-links img { height: 48px; width: auto; }

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #001d25;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: start;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--panel), var(--panel-strong));
}

.newsletter-form {
  display: grid;
  gap: 1rem;
}

.newsletter-form label { display: grid; gap: 0.35rem; color: var(--ink); font-weight: 700; }

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #002630;
  color: var(--ink);
  padding: 0.8rem 0.9rem;
}

.newsletter-form input:focus {
  outline: 2px solid rgba(229, 107, 45, 0.35);
  border-color: var(--ember);
}

.check-row { display: flex !important; grid-template-columns: none; align-items: center; gap: 0.55rem; }

.check-row input { width: 1rem; height: 1rem; accent-color: var(--ember); }


.image-card,
.feature-card,
.newsletter-panel,
.video-frame,
.app-preview-grid img {
  border: 0;
  box-shadow: var(--shadow);
  background-clip: padding-box;
}

.feature-card,
.image-card,
.video-frame {
  background: var(--panel-surface);
}

.newsletter-panel {
  background: linear-gradient(135deg, #00242d, #002e3a);
}

.feature-card img,
.image-card figcaption,
.gallery-card figcaption {
  border: 0;
}

.system-section .feature-card {
  background: var(--panel-surface);
  border: 0;
  border-radius: 1px;
  box-shadow: 0 10px 16px -16px rgba(0, 0, 0, 0.72);
}

.system-section .feature-card img {
  background: #002630;
  border-bottom: 0;
}

.site-footer {
  padding: 52px 0;
  background: var(--paper);
  color: #001d25;
}

.site-footer p,
.site-footer a,
.site-footer h2 { color: #001d25; }

.site-footer p { opacity: 0.72; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-links a {
  border: 1px solid rgba(0, 29, 37, 0.18);
  border-radius: 2px;
  padding: 0.55rem 0.75rem;
  font-weight: 800;
}

.footer-links a:hover { background: #001d25; color: var(--paper); }

.bg-black { background-color: var(--bg) !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-section { min-height: 100svh; }
  .hero-sticky { position: relative; }
  .hero-mask,
  .hero-image,
  .button {
    transition: none;
    transform: none !important;
  }
}


@media (min-width: 992px) {
  .navbar-collapse.collapse { display: flex; }
}

@media (max-width: 991px) {
  .site-header .container { width: min(100% - 28px, 1160px); }
  .navbar > .container { flex-wrap: wrap; }
  .navbar-toggler { display: inline-flex; }
  .navbar-collapse { flex-basis: 100%; width: 100%; padding-bottom: 1rem; }
  .navbar-collapse.collapse { display: none; }
  .navbar-collapse:not(.collapse) { display: block; }
  .navbar-nav { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .two-column,
  .newsletter-panel,
  .footer-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .reverse-on-mobile > :first-child { order: 2; }
  .section { padding: 72px 0; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero-section { min-height: 120svh; }
  .scroll-hint { font-size: 0.66rem; }
  .app-preview-grid { gap: 0.6rem; }
  .app-preview-grid img:nth-child(2) { margin-top: 1.5rem; }
  .store-links img { height: 40px; }
}

.intro-section .image-card {
  background: var(--panel-surface);
  border: 0;
  border-radius: 1px;
  box-shadow: 0 10px 16px -16px rgba(0, 0, 0, 0.72);
  overflow: hidden;
}

.intro-section .image-card img {
  width: 100%;
  background: #002630;
}

.intro-section .image-card figcaption {
  background: var(--panel-surface);
  border: 0;
  color: var(--ink);
  font-weight: 500;
}
