:root {
  --paper: #FAFAFA;
  --ink: #12151A;
  --ink-soft: #4A4F58;
  --muted: #8A8F98;
  --line: #E7E7E5;
  --accent: #2451FF;
  --accent-soft: #EAEFFF;
  --rose: #E7B8C2;
  --rose-soft: #FBF1F3;
 
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;
 
  --nav-h: 3.25rem;
  --container: 1160px;
}
 
* { margin: 0; padding: 0; box-sizing: border-box; }
 
html { scroll-behavior: smooth; }
 
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
 
a { color: inherit; }
 
img { max-width: 100%; display: block; }
 
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
 
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
 
/* ============ Background blobs ============ */
.bg-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.blob-1 { width: 320px; height: 320px; background: var(--accent-soft); top: 4rem; right: -6rem; }
.blob-2 { width: 280px; height: 280px; background: var(--rose-soft); bottom: -3rem; left: -4rem; }
.blob-3 { width: 220px; height: 220px; background: #F4F1EA; top: 45%; left: 2%; opacity: 0.4; }
 
@media (min-width: 900px) {
  .blob-1 { width: 480px; height: 480px; }
  .blob-2 { width: 420px; height: 420px; }
  .blob-3 { width: 320px; height: 320px; }
}
 
/* ============ Top info bar ============ */
.navinfo {
  width: 100%;
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.navinfo a { color: var(--rose); text-decoration: underline; }
 
/* ============ Nav ============ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: rgba(250, 250, 250, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
}
nav.scrolled {
  background: rgba(250, 250, 250, 0.92);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  height: 1.5rem; /* Set to match your font size or header height */
  width: auto;    /* Preserves original aspect ratio */
  object-fit: contain;
}



.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
 
#navLinks {
  list-style: none;
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(78vw, 320px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.6rem;
  padding: 2rem 2.25rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
  box-shadow: -8px 0 30px rgba(0,0,0,0.06);
}
#navLinks.open { transform: translateX(0); }
#navLinks li a {
  text-decoration: none;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 500;
}
#navLinks .nav-cta {
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
}

#navLinks .nav-cta:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}


 
@media (min-width: 860px) {
  nav { padding: 1.25rem 4vw; }
  nav.scrolled { padding: 0.85rem 4vw; }
  .nav-toggle { display: none; }
  #navLinks {
    position: static;
    height: auto; width: auto;
    flex-direction: row;
    align-items: center;
    gap: 2.2rem;
    padding: 0;
    background: none;
    box-shadow: none;
    transform: none;
  }
  #navLinks li a { font-size: 0.9rem; font-weight: 400; position: relative; }
  #navLinks li a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0; bottom: -5px;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.25s ease;
  }
  #navLinks li a:not(.nav-cta):hover::after { width: 100%; }
}
 





/* ============ Layout helpers ============ */
main { position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
 
/* ============ Hero ============ */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding: calc(var(--nav-h) + 4.5rem) 1.4rem 2rem;
  max-width: var(--container);
  margin: 0 auto;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}
.text-link {
  font-size: 0.9rem;
 
  
  color: var(--ink-soft);
}
.hero-fineprint {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
 
.hero-visual { position: relative; width: 100%; max-width: 320px; margin: 0 auto; }
.reticle-svg { width: 100%; height: auto; }
.reticle-outline { fill: none; stroke: var(--ink); stroke-opacity: 0.14; stroke-width: 1.2; }
.reticle-marks line { stroke: var(--accent); stroke-opacity: 0.5; stroke-width: 1; stroke-dasharray: 3 4; }
.reticle-marks circle { fill: var(--accent); }
.reticle-crop path { fill: none; stroke: var(--ink); stroke-width: 1.4; opacity: 0.55; }
 
.readout {
  position: absolute;
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.4rem 0.6rem;
  font-size: 0.65rem;
}
.ro-label { color: var(--muted); letter-spacing: 0.08em; margin-bottom: 2px; }
.ro-value { color: var(--accent); font-weight: 500; font-size: 0.9rem; }
.readout-1 { top: 8%; left: -4%; }
.readout-2 { top: 42%; right: -8%; }
.readout-3 { bottom: 6%; left: 2%; }
 
@media (min-width: 900px) {
  .hero { flex-direction: row; align-items: center; text-align: left; gap: 4rem; padding-top: calc(var(--nav-h) + 3rem); }
  .hero-copy { flex: 1.1; }
  .hero-actions { flex-direction: row; align-items: center; gap: 1.8rem; }
  .hero-visual { flex: 0.9; max-width: 380px; margin: 0; }
}
 
/* ============ Demo video ============ */
.demovideo {
  display: flex;
  justify-content: center;
  padding: 0 1.4rem 4rem;
  max-width: var(--container);
  margin: 0 auto;
}
.demovideo video {
  width: 100%;
  max-width: 640px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
 
/* ============ Fade-in on scroll ============ */
.fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade.appear { opacity: 1; transform: translateY(0); }
 
/* ============ Measure section ============ */
.measure-section {
  padding: 4rem 1.4rem;
  max-width: var(--container);
  margin: 0 auto;
}
.measure-layout {
  display: grid;
  gap: 2.5rem;
}
.slide-window {
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.slide-track { display: flex; width: 100%; height: 100%; transition: transform 0.5s cubic-bezier(.16,1,.3,1); }
.slide-panel {
  flex: 0 0 100%;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.panel-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.slide-panel h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin-bottom: 0.7rem; }
.slide-panel p { color: var(--ink-soft); font-size: 0.95rem; max-width: 26rem; }
 
.slide-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.1rem; }
.slide-arrow {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
}
.slide-arrow:hover { border-color: var(--accent); color: var(--accent); }
.slide-dots { display: flex; gap: 8px; }
.slide-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; }
.slide-dot.active { background: var(--accent); }
 
.measure-right h2 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; margin-bottom: 0.8rem; }
.section-lede { color: var(--ink-soft); margin-bottom: 1.8rem; max-width: 30rem; }
 
.dim-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.dim-list li { display: grid; grid-template-columns: 6.5rem 1fr 2.5rem; align-items: center; gap: 0.8rem; }
.dim-name { font-size: 0.85rem; color: var(--ink-soft); }
.dim-bar { height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.dim-bar span { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.dim-num { font-family: var(--mono); font-size: 0.82rem; text-align: right; }
.sample-note { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
 
@media (min-width: 900px) {
  .measure-section { padding: 6rem 4vw; }
  .measure-layout { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4rem; }
}
 
/* ============ How it works ============ */
#how { padding: 2rem 1.4rem 5rem; }
.howcards {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 760px;
  margin: 0 auto;
}
.howcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.howcard img { width: 100%; height: 190px; object-fit: cover; }
.howcard-body { padding: 1.6rem 1.6rem 1.9rem; }
.howcard-step {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.howcard-body h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0.4rem 0 0.6rem; }
.howcard-body p { color: var(--ink-soft); font-size: 0.92rem; }
 
@media (min-width: 700px) {
  .howcard { flex-direction: row; }
  .howcard.reverse { flex-direction: row-reverse; }
  .howcard img { width: 42%; height: auto; min-width: 220px; }
  .howcard-body { display: flex; flex-direction: column; justify-content: center; padding: 2.2rem 2.4rem; }
}
 
/* ============ Community ============ */
.community {
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 1.4rem 4rem;
}
.community__eyebrow, .try-now__eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.community__heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1.08;
  margin-bottom: 0.6rem;
}
.community__heading em, .try-now__heading em { font-style: italic; color: var(--accent); }
.community__sub { color: var(--ink-soft); margin-bottom: 2.2rem; font-size: 0.95rem; }
.community__links { display: flex; flex-direction: column; gap: 0.5rem; }
 
.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.social-link:hover { background: #fff; border-color: var(--accent); }
.social-link:hover .social-link__arrow { transform: translate(3px, -3px); }
.social-link__left { display: flex; align-items: center; gap: 0.9rem; }
.social-link__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.social-link__icon svg { width: 15px; height: 15px; }
.icon--youtube { background: #fff0f0; color: #e00; }
.icon--instagram { background: var(--rose-soft); color: #c13584; }
.icon--tiktok { background: #f0fafa; color: #010101; }
.icon--discord { background: var(--accent-soft); color: #5865f2; }
.social-link__name { font-size: 0.88rem; font-weight: 500; display: block; }
.social-link__handle { font-size: 0.76rem; color: var(--muted); display: block; margin-top: 1px; }
.social-link__arrow { font-size: 0.9rem; color: var(--muted); transition: transform 0.15s; }
 
/* ============ Try now ============ */
.try-now {
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 1.4rem 5rem;
  text-align: center;
}
.try-now__heading { font-family: var(--serif); font-weight: 400; font-size: 2.8rem; line-height: 1.08; margin-bottom: 1rem; }
.try-now__sub { color: var(--ink-soft); font-size: 0.95rem; max-width: 26rem; margin: 0 auto 2rem; }
.try-now .button-borders { display: inline-block; }
.try-now__note { margin-top: 1.1rem; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.03em; }
 
/* ============ Try button ============ */
.try-button {
  font-family: var(--sans);
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--ink);
  padding: 0.85rem 1.9rem;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.15s ease;
}
.try-button:hover { background: var(--accent); border-color: var(--accent); }
.button-borders { position: relative; width: fit-content; }
.button-borders::before, .button-borders::after {
  content: '';
  position: absolute;
  width: calc(100% + 0.5em);
  height: 45%;
  left: -0.28em;
  border: 1px solid var(--ink);
  opacity: 0.35;
  pointer-events: none;
}
.button-borders::before { top: -0.28em; border-bottom: 0; }
.button-borders::after { bottom: -0.28em; border-top: 0; }
 
/* ============ Footer ============ */
footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 2.6rem 1.4rem; }
.footer-inner { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; font-size: 0.8rem; }
.footer-links a { text-decoration: none; opacity: 0.85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
 
/* ============ Modal ============ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.72);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1.2rem;
}
.modal-content {
  background: #fff;
  padding: 2rem 1.6rem;
  border-radius: 16px;
  max-width: 34rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-content h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: 1.2rem; }
.modal-content h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.modal-content h4 { margin: 1.2rem 0 0; font-size: 0.85rem; color: var(--ink-soft); font-weight: 500; }
.modal-content h6 { font-size: 0.85rem; margin-top: 1rem; font-weight: 700; }
.modal-content p { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; }
 
.scroll-container {
  max-height: 42vh;
  overflow-y: auto;
  border: 1px solid var(--line);
  padding: 1.1rem;
  background: #FBFBFA;
  border-radius: 8px;
}
 
.modal-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}
#agreeBtn, .modal-cancel {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
#agreeBtn { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
#agreeBtn:hover { background: #1a3fd6; }
.modal-cancel { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.modal-cancel:hover { border-color: var(--ink); }
 
@media (min-width: 640px) {
  .modal-content { padding: 2.6rem; }
}
 




/*adding slide features */


/* ============ Slide Section ============ */
.slide-section {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.4rem;
  max-width: var(--container);
  margin: 0 auto;
}

.slide-layout {
  width: 100%;
  max-width: var(--container);
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.slide-left {
  width: 100%;
  max-width: 520px;
}

.slide-window {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}

.slide-image {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-controls {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.slide-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.slide-arrow:hover {
  background: var(--paper);
  border-color: var(--accent);
  color: var(--accent);
}

.slide-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slide-dot.slide-active {
  background: var(--accent);
  transform: scale(1.1);
}

.slide-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.slide-heading2 {
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  line-height: 1.15;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.slide-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 0;
}

.slide-points li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  padding-left: 1.2rem;
  position: relative;
}

.slide-points li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

@media (max-width: 900px) {
  .slide-section {
    padding: 4rem 1.4rem;
  }

  .slide-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .slide-left {
    max-width: 100%;
  }

  .slide-heading {
    font-size: 2rem;
  }
}