/* Monolyn Labs — Enterprise Glass (static, no trackers) — v19
   - No external fonts (uses system + optional Inter if installed)
   - Subtle glass surfaces with solid fallback (no backdrop-filter required)
*/

:root{
  color-scheme: light dark;

  /* Core brand tokens (from Monolyn docs) */
  --ink: #111111;
  --concrete-light: #F5F5F5;
  --concrete-mid: #E5E5E5;
  --concrete-line: #D1D5DB;
  --graphite: #374151;
  --accent-teal: #00B3A4;

  /* UI tokens */
  --bg: var(--concrete-light);
  --text: rgba(17, 17, 17, 0.92);
  --muted: rgba(17, 17, 17, 0.68);
  --muted-2: rgba(17, 17, 17, 0.56);
  --border: rgba(17, 17, 17, 0.12);
  --border-strong: rgba(17, 17, 17, 0.18);

  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: rgba(255, 255, 255, 0.86);
  --surface-solid: #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.10);

  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;

  --maxw: 1120px;

  /* 8px baseline */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;

  --focus: 2px solid rgba(0, 179, 164, 0.70);

  /* Background glows (smooth, continuous; avoids visible band edges on macOS/Chrome) */
  --bg-grad-1: radial-gradient(1700px 1300px at 18% -14%, rgba(0,179,164,0.12) 0%, rgba(0,179,164,0.08) 34%, rgba(0,179,164,0.04) 56%, rgba(0,179,164,0.02) 74%, rgba(0,179,164,0.00) 100%);
  --bg-grad-2: radial-gradient(1500px 1200px at 85% -18%, rgba(17,17,17,0.10) 0%, rgba(17,17,17,0.06) 40%, rgba(17,17,17,0.03) 64%, rgba(17,17,17,0.00) 100%);
  --bg-grad-3: radial-gradient(1200px 900px at 22% 92%, rgba(0,179,164,0.06) 0%, rgba(0,179,164,0.03) 46%, rgba(0,179,164,0.00) 100%);
  --bg-vignette: none;
  --grain-opacity: 0.015;
}

@media (prefers-color-scheme: dark){
  :root{
    color-scheme: dark light;

    --bg: #07090A;
    --text: rgba(255, 255, 255, 0.90);
    --muted: rgba(255, 255, 255, 0.66);
    --muted-2: rgba(255, 255, 255, 0.52);
    --border: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.18);

    --surface: rgba(16, 16, 18, 0.62);
    --surface-strong: rgba(16, 16, 18, 0.82);
    --surface-solid: rgba(16, 16, 18, 0.96);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.55);
  

    /* Dark mode: smooth, continuous glows (no hard band edges) */
    --bg-grad-1: radial-gradient(1600px 1200px at 18% -20%, rgba(0,179,164,0.09) 0%, rgba(0,179,164,0.06) 35%, rgba(0,179,164,0.03) 58%, rgba(0,179,164,0.015) 74%, rgba(0,179,164,0.00) 100%);
    --bg-grad-2: radial-gradient(1500px 1100px at 85% -20%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0.02) 62%, rgba(255,255,255,0.00) 100%);
    --bg-grad-3: radial-gradient(1200px 900px at 22% 94%, rgba(0,179,164,0.045) 0%, rgba(0,179,164,0.025) 40%, rgba(0,179,164,0.012) 62%, rgba(0,179,164,0.00) 100%);
    --bg-vignette: radial-gradient(1100px 900px at 50% 18%, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.20) 70%, rgba(0,0,0,0.55) 100%);
    --grain-opacity: 0.010;
}
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
}

html{
  background: var(--bg);
}

body{
  margin: 0;
  background: transparent;
  position: relative;
  z-index: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fixed background canvas (prevents section banding on long pages) */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg-grad-1),
              var(--bg-grad-2),
              var(--bg-grad-3),
              var(--bg-vignette),
              var(--bg);
  background-repeat: no-repeat;
  pointer-events: none;
  transform: translateZ(0);
}

/* Subtle grain overlay (dithers gradients; hides banding on some macOS displays) */
body::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27140%27%20height%3D%27140%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.8%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27/%3E%3C/filter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url(%23n)%27%20opacity%3D%270.35%27/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

a:hover{
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:focus-visible{
  outline: var(--focus);
  outline-offset: 2px;
  border-radius: 8px;
}

img{
  max-width: 100%;
  height: auto;
}

.container{
  width: min(var(--maxw), calc(100% - 2 * var(--s3)));
  margin: 0 auto;
}

/* Accessibility */
.skip-link{
  position: absolute;
  left: -999px;
  top: var(--s2);
  z-index: 1000;
  padding: 10px 14px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.skip-link:focus{
  left: var(--s3);
}

/* Glass surface */
.glass{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.glass.strong{
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

@supports not ((backdrop-filter: blur(1px))){
  .glass{
    background: var(--surface-strong);
  }
}

/* Layout shell */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--s2) 0;
}

.nav{
  margin: 0 auto;
  width: min(calc(var(--maxw) + 2 * var(--s3)), calc(100% - 2 * var(--s3)));
}

.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: 12px 14px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-mark{
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.40));
  position: relative;
  flex: 0 0 auto;
}

@media (prefers-color-scheme: dark){
  .brand-mark{
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  }
}

.brand-mark::after{
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 4px;
  border: 1px solid rgba(0, 179, 164, 0.55);
}

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

.nav-link{
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.nav-link:hover{
  color: var(--text);
  text-decoration: none;
  background: rgba(255,255,255,0.35);
}

@media (prefers-color-scheme: dark){
  .nav-link:hover{
    background: rgba(255,255,255,0.06);
  }
}

.nav-link[aria-current="page"]{
  color: var(--text);
  background: rgba(0,179,164,0.12);
  border: 1px solid rgba(0,179,164,0.22);
}

/* Mobile nav */
.nav-toggle{
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.nav-toggle:hover{
  background: rgba(255,255,255,0.35);
}

@media (prefers-color-scheme: dark){
  .nav-toggle:hover{
    background: rgba(255,255,255,0.06);
  }
}

.nav-toggle:focus-visible{
  outline: var(--focus);
  outline-offset: 2px;
}

.nav-toggle-icon{
  width: 18px;
  height: 12px;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle-icon::before{ top: 0; }
.nav-toggle-icon::after{ bottom: 0; }

.nav-toggle-icon span{
  display: none;
}

@media (max-width: 860px){
  .nav-toggle{ display: inline-flex; }
  .nav-links{
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    margin: 0 auto;
    width: min(calc(var(--maxw) + 2 * var(--s3)), calc(100% - 2 * var(--s3)));
    padding: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .nav-links.is-open{ display: flex; }
  .nav-link{ padding: 10px 12px; }
}

.main{
  padding: var(--s6) 0 var(--s7);
}

/* Typography */
h1, h2, h3{
  margin: 0 0 var(--s2);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1{
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 660;
}

h2{
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-top: var(--s6);
}

h3{
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-top: var(--s4);
}

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

.lede{
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 76ch;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

.kicker{
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hr{
  height: 1px;
  background: var(--border);
  margin: var(--s5) 0;
}

/* Chips */
.chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--s3) 0 var(--s4);
}

.chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.35);
  color: var(--muted);
  font-size: 13px;
}

@media (prefers-color-scheme: dark){
  .chip{ background: rgba(255,255,255,0.06); }
}

.chip-dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-teal);
  flex: 0 0 auto;
}

/* Buttons */
.actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s3);
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.35);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark){
  .btn{ background: rgba(255,255,255,0.06); }
}

.btn:hover{
  text-decoration: none;
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn:active{
  transform: translateY(0px);
}

.btn-primary{
  border-color: rgba(0,179,164,0.34);
  background: rgba(0,179,164,0.14);
}

.btn-primary:hover{
  border-color: rgba(0,179,164,0.50);
  background: rgba(0,179,164,0.18);
}

.btn-secondary{
  background: transparent;
}

.btn:focus-visible{
  outline: var(--focus);
  outline-offset: 2px;
}

/* Sections */
.section{
  margin-top: var(--s6);
}

.section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s3);
}

.section-head .muted-link{
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.section-head .muted-link:hover{
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Cards */
.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s2);
}

.card{
  grid-column: span 6;
  padding: var(--s3);
  border-radius: var(--radius-lg);
}

@media (max-width: 860px){
  .card{ grid-column: span 12; }
}

.card .card-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  margin-bottom: 10px;
}


.card .card-head-left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.card .app-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
  object-fit: cover;
  display: block;
}

.card .title{
  font-weight: 650;
  letter-spacing: -0.02em;
}

.card p{
  margin: 0;
  color: var(--muted);
}

.card .card-actions{
  margin-top: var(--s3);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Status badge */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255,255,255,0.35);
}

@media (prefers-color-scheme: dark){
  .badge{ background: rgba(255,255,255,0.06); }
}

.badge .dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.badge.live{ color: rgba(0, 179, 164, 0.92); border-color: rgba(0, 179, 164, 0.24); background: rgba(0, 179, 164, 0.10); }
.badge.progress{ color: rgba(245, 158, 11, 0.95); border-color: rgba(245, 158, 11, 0.22); background: rgba(245, 158, 11, 0.10); }
.badge.release{ color: rgba(59, 130, 246, 0.92); border-color: rgba(59, 130, 246, 0.22); background: rgba(59, 130, 246, 0.10); }

/* Prose pages (Privacy/Terms) */
.prose{
  max-width: 84ch;
}

.prose h2{
  margin-top: var(--s5);
}

.prose ul{
  padding-left: 1.2em;
  margin: 0 0 var(--s3);
  color: var(--muted);
}

.prose li{
  margin: 0 0 8px;
}

.note{
  padding: var(--s3);
  border-radius: var(--radius-lg);
  margin: var(--s4) 0;
}

.note p{ margin: 0; }

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

.footer-inner{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s4);
  align-items: start;
}

@media (max-width: 860px){
  .footer-inner{ grid-template-columns: 1fr; }
}

.footer-tagline{
  color: var(--muted);
  max-width: 70ch;
}

/* If footer tagline is removed, tighten spacing */
.footer-tagline:empty + .footer-meta{
  margin-top: 0;
}

.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 860px){
  .footer-links{ justify-content: flex-start; }
}

.footer-links a{
  color: var(--muted);
  font-size: 14px;
}

.footer-meta{
  margin-top: var(--s2);
  color: var(--muted-2);
  font-size: 13px;
}

/* Utility */
.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;
}


/* Sprint Canvas acquisition landing page */
.landing-hero{
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: var(--s4);
  align-items: center;
}

.hero-copy .lede{
  max-width: 64ch;
}

.micro-proof,
.inline-note{
  font-size: 14px;
  color: var(--muted-2);
}

.micro-proof{
  margin-top: var(--s2);
}

.landing-shot{
  margin: 0;
  padding: 14px;
  border-radius: 24px;
}

.landing-shot img{
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
}

.landing-shot figcaption{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted-2);
}

.feature-card{
  height: 100%;
}

.feature-card h3{
  margin-top: 0;
  margin-bottom: 10px;
}

.feature-card p{
  margin: 0;
}

.landing-grid-3 .card{
  grid-column: span 4;
}

.cta-panel{
  padding: clamp(24px, 4vw, 38px);
}

.cta-panel h2{
  margin-top: 0;
}

.faq-grid{
  display: grid;
  gap: 12px;
}

.faq-item{
  padding: 0;
  overflow: hidden;
}

.faq-item summary{
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 640;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker{
  display: none;
}

.faq-item summary::after{
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  flex: 0 0 auto;
}

.faq-item[open] summary::after{
  content: "–";
  color: var(--text);
}

.faq-item p{
  margin: 0;
  padding: 0 18px 18px;
}

@media (max-width: 980px){
  .landing-hero{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px){
  .landing-grid-3 .card{
    grid-column: span 12;
  }
}


/* Best Shot landing page */
.bestshot-visual{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bestshot-flow{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bestshot-step{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.42);
}

@media (prefers-color-scheme: dark){
  .bestshot-step{
    background: rgba(255,255,255,0.05);
  }
}

.bestshot-step-index{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.bestshot-step-title{
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.bestshot-step-copy{
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.bestshot-primary-shot{
  display: flex;
  justify-content: center;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  overflow: hidden;
}

.bestshot-primary-shot,
.bestshot-primary-shot:hover,
.bestshot-screenshot-card,
.bestshot-screenshot-card:hover{
  text-decoration: none;
}

.bestshot-primary-shot img{
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  background: #040608;
  box-shadow: var(--shadow-sm);
}

.bestshot-screenshot-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bestshot-screenshot-card{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  min-height: 100%;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.bestshot-screenshot-card:hover{
  transform: translateY(-2px);
}

.bestshot-screenshot-media{
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background: #050708;
  display: flex;
  justify-content: center;
}

.bestshot-screenshot-media img{
  display: block;
  width: min(100%, 420px);
  height: auto;
  border-radius: 24px;
  background: #040608;
  box-shadow: var(--shadow-sm);
}

.bestshot-screenshot-copy{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bestshot-screenshot-title{
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.bestshot-screenshot-copy p{
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px){
  .bestshot-screenshot-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px){
  .bestshot-flow{
    grid-template-columns: 1fr;
  }

  .bestshot-primary-shot img{
    width: min(100%, 380px);
  }

  .bestshot-screenshot-media img{
    width: min(100%, 360px);
  }
}
