/* ============================================================
   Modustra IQ — shared site styles
   Loaded by: index.html, products.html, pricing.html, about.html, 404.html,
              features/*.html, and their French mirrors under fr/
   ============================================================ */

:root{
  --bg: #05070a;
  --bg-panel: #0b0f16;
  --steel: #3d4451;
  --steel-light: #7a8494;
  --cyan: #3ecbf0;
  --cyan-dim: rgba(62,203,240,0.35);
  --lime: #8fd13f;
  --white: #eef2f6;
  --muted: #8b95a3;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html,body{
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  height:100%;
  overflow-x:clip;   /* not `hidden`: that would make body a scroll container and break the sticky menu bar */
}

body{
  display:flex;
  flex-direction:column;
  height:auto;       /* the html 100% must not cap the body box, or the sticky menu bar only sticks for one screen */
  min-height:100vh;
  position:relative;
}

/* ---------- ambient circuit backdrop ---------- */
.grid-backdrop{
  position:fixed;
  inset:0;
  background-image:
    linear-gradient(rgba(62,203,240,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62,203,240,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 10%, transparent 75%);
  pointer-events:none;
  z-index:0;
}

.glow{
  position:fixed;
  border-radius:50%;
  filter: blur(90px);
  pointer-events:none;
  z-index:0;
}
.glow-cyan{
  width:520px; height:520px;
  top:-120px; left:50%;
  transform:translateX(-50%);
  background: radial-gradient(circle, rgba(62,203,240,0.16), transparent 70%);
}
.glow-lime{
  width:340px; height:340px;
  bottom:-80px; right:8%;
  background: radial-gradient(circle, rgba(143,209,63,0.09), transparent 70%);
}

/* ---------- header ---------- */
.site-header{
  position:relative;
  z-index:3;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 28px 44px 12px;
}

.brand-mark{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Barlow Condensed', sans-serif;
  font-weight:600;
  letter-spacing:0.14em;
  font-size:14px;
  color: var(--steel-light);
  text-transform:uppercase;
  text-decoration:none;
  transition: color 0.2s ease;
}
.brand-mark:hover{ color: var(--white); }
.brand-mark .dot{
  width:6px; height:6px;
  border-radius:50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.header-right{
  display:flex;
  align-items:center;
  gap:14px;
}

.lang-toggle{
  display:inline-block;
  text-decoration:none;
  line-height:1.4;
  font-family:'JetBrains Mono', monospace;
  font-size:11px;
  letter-spacing:0.05em;
  color: var(--steel-light);
  background: transparent;
  border: 1px solid rgba(122,132,148,0.35);
  padding: 6px 12px;
  border-radius: 3px;
  cursor:pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lang-toggle:hover{
  color: var(--cyan);
  border-color: var(--cyan-dim);
}

.status-chip{
  font-family:'JetBrains Mono', monospace;
  font-size:11px;
  letter-spacing:0.05em;
  color: var(--lime);
  border: 1px solid rgba(143,209,63,0.35);
  background: rgba(143,209,63,0.06);
  padding: 6px 12px;
  border-radius: 3px;
  display:flex;
  align-items:center;
  gap:8px;
}
.status-chip .pulse-dot{
  width:6px; height:6px;
  border-radius:50%;
  background: var(--lime);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ opacity:1; box-shadow:0 0 0 0 rgba(143,209,63,0.5); }
  50%{ opacity:0.5; box-shadow:0 0 0 5px rgba(143,209,63,0); }
}

/* ---------- menu bar (invisible buttons) ---------- */
/* Sticks to the top once the brand row has scrolled away; site.js adds
   .is-stuck at that point, which brings in the blurred backdrop and hairline
   so the bar reads as a bar over content but stays invisible at the top. */
.site-nav{
  position:sticky;
  top:0;
  z-index:3;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  padding: 8px 44px 10px;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-nav.is-stuck{
  background: rgba(5,7,10,0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(122,132,148,0.16);
}

.nav-link{
  position:relative;
  font-family:'Barlow Condensed', sans-serif;
  font-weight:600;
  font-size:14px;
  letter-spacing:0.13em;
  text-transform:uppercase;
  color: var(--steel-light);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 8px 16px;
  text-decoration:none;
  cursor:pointer;
  white-space:nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.nav-link:hover{
  color: var(--cyan);
  background: rgba(62,203,240,0.05);
  border-color: rgba(62,203,240,0.18);
}
.nav-link:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.nav-link.active{ color: var(--white); }
.nav-link.active::after{
  content:"";
  position:absolute;
  left:16px; right:16px; bottom:2px;
  height:1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-dim);
}

/* ---------- Features dropdown ----------
   A <button class="nav-link nav-trigger"> inside .nav-item toggles the .open
   class (site.js); the panel is closed on outside click and Escape. */
.nav-item{ position:relative; }
.nav-trigger{
  font: inherit;
  font-family:'Barlow Condensed', sans-serif;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.nav-caret{
  width:6px; height:6px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-item.open .nav-trigger{
  color: var(--cyan);
  background: rgba(62,203,240,0.05);
  border-color: rgba(62,203,240,0.18);
}
.nav-item.open .nav-caret{ transform: translateY(1px) rotate(225deg); }

.nav-menu{
  display:none;
  position:absolute;
  top: calc(100% + 6px);
  left:0;
  min-width: 250px;
  padding: 6px;
  background: var(--bg-panel);
  border: 1px solid rgba(62,203,240,0.18);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.4);
  z-index: 10;
}
.nav-item.open .nav-menu{ display:block; }

.nav-menu-link{
  display:block;
  font-family:'Barlow Condensed', sans-serif;
  font-weight:600;
  font-size:14px;
  letter-spacing:0.13em;
  text-transform:uppercase;
  color: var(--steel-light);
  padding: 9px 14px;
  border-radius: 3px;
  text-decoration:none;
  white-space:nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-menu-link:hover{
  color: var(--cyan);
  background: rgba(62,203,240,0.06);
}
.nav-menu-link:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}
.nav-menu-link.active{
  color: var(--white);
  box-shadow: inset 2px 0 0 var(--cyan);
}

/* ---------- main / hero ---------- */
main{
  position:relative;
  z-index:2;
  flex:1;
}

.hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 20px 24px 60px;
}

.logo-wrap{
  position:relative;
  width: min(360px, 72vw);
  margin-bottom: 8px;
  opacity:0;
  animation: rise 0.5s ease-out 0.06s forwards;
}
.logo-wrap picture{ display:block; }
.logo-wrap img{
  width:100%;
  height:auto;   /* the height attribute is a presentational hint; without this it wins */
  display:block;
  filter: drop-shadow(0 0 40px rgba(62,203,240,0.15));
}

@keyframes rise{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}

.eyebrow{
  font-family:'JetBrains Mono', monospace;
  font-size:12px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color: var(--cyan);
  margin-top: 18px;
  opacity:0;
  animation: rise 0.5s ease-out 0.14s forwards;
}

.hero h1{
  font-family:'Barlow Condensed', sans-serif;
  font-weight:700;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height:1.03;
  letter-spacing:-0.01em;
  margin-top: 18px;
  max-width: 16ch;
  opacity:0;
  animation: rise 0.5s ease-out 0.2s forwards;
}
.accent{ color: var(--cyan); }

.sub{
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  color: var(--muted);
  max-width: 46ch;
  margin: 22px auto 0;
  line-height:1.6;
  opacity:0;
  animation: rise 0.5s ease-out 0.26s forwards;
}

.capsule-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top: 34px;
  opacity:0;
  animation: rise 0.5s ease-out 0.32s forwards;
}
.capsule{
  font-family:'JetBrains Mono', monospace;
  font-size:11.5px;
  letter-spacing:0.03em;
  color: var(--steel-light);
  border: 1px solid rgba(122,132,148,0.28);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.015);
}

/* ---------- notify form ---------- */
form{
  margin-top: 38px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  opacity:0;
  animation: rise 0.5s ease-out 0.38s forwards;
}
input[type="email"]{
  background: var(--bg-panel);
  border: 1px solid rgba(122,132,148,0.35);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 4px;
  font-family:'Inter', sans-serif;
  font-size: 14px;
  width: 300px;
  max-width: 70vw;
  outline:none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[type="email"]::placeholder{ color: #545e6c; }
input[type="email"]:focus{
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(62,203,240,0.12);
}
.btn-primary{
  font-family:'Barlow Condensed', sans-serif;
  font-weight:600;
  letter-spacing:0.05em;
  text-transform:uppercase;
  font-size: 14px;
  color: #04121a;
  background: linear-gradient(180deg, var(--cyan), #23a8cc);
  border:none;
  padding: 0 24px;
  border-radius: 4px;
  cursor:pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 0 rgba(62,203,240,0);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(62,203,240,0.3);
}
button:focus-visible, input:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.form-note{
  font-family:'JetBrains Mono', monospace;
  font-size: 11px;
  color: #545e6c;
  margin-top: 14px;
  opacity:0;
  animation: rise 0.5s ease-out 0.42s forwards;
}
.form-note.success{ color: var(--lime); }

/* ---------- inner pages ---------- */
.page{
  width:100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 46px 44px 80px;
}
.page-eyebrow{
  font-family:'JetBrains Mono', monospace;
  font-size:12px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color: var(--cyan);
}
.page h1{
  font-family:'Barlow Condensed', sans-serif;
  font-weight:700;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height:1.05;
  letter-spacing:-0.01em;
  margin-top: 14px;
}
.page-lead{
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  color: var(--muted);
  max-width: 60ch;
  line-height:1.65;
  margin-top: 18px;
}
.placeholder{
  margin-top: 40px;
  border: 1px dashed rgba(122,132,148,0.28);
  border-radius: 6px;
  background: rgba(255,255,255,0.012);
  padding: 34px 30px;
  font-family:'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing:0.05em;
  color: #545e6c;
  text-align:center;
}

/* ---------- long-form page copy ---------- */
.prose{
  margin-top: 40px;
  max-width: 68ch;
}
.prose p{
  font-size: clamp(0.95rem, 1.2vw, 1.04rem);
  line-height: 1.8;
  color: #b7c0cb;
  margin-top: 22px;
}
.prose p:first-child{ margin-top: 0; }
/* A prose block that opens a titled section sits closer to its heading. */
.section-title + .prose{ margin-top: 16px; }
.prose-questions{
  list-style: none;
  margin: 26px 0 6px;
  padding: 18px 22px;
  border-left: 2px solid var(--cyan);
  border-radius: 0 6px 6px 0;
  background: rgba(62,203,240,0.05);
}
.prose-questions li{
  font-family:'JetBrains Mono', monospace;
  font-size: clamp(0.76rem, 0.95vw, 0.85rem);
  line-height: 1.65;
  color: #d3dae2;
}
.prose-questions li + li{ margin-top: 11px; }
.prose .prose-kicker{
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(122,132,148,0.16);
  font-family:'Barlow Condensed', sans-serif;
  font-weight:700;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing:-0.01em;
  color: var(--cyan);
}

/* ---------- section heading + feature cards ---------- */
.section-title{
  margin-top: 56px;
  font-family:'Barlow Condensed', sans-serif;
  font-weight:600;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  letter-spacing:0.005em;
}
.feature-grid{
  margin-top: 20px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 16px;
}
.feature-card{
  border: 1px solid rgba(122,132,148,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.015);
  padding: 22px 22px 24px;
}
.feature-card h3{
  font-family:'JetBrains Mono', monospace;
  font-weight:500;
  font-size: 12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color: var(--cyan);
}
.feature-card p{
  margin-top: 12px;
  font-size: clamp(0.9rem, 1.1vw, 0.98rem);
  line-height:1.7;
  color:#b7c0cb;
}
/* A card that is itself a link to a feature page (home and products). The
   whole card is the anchor, so the text keeps its colours and only the border
   answers the hover. */
a.feature-card{
  display:block;
  text-decoration:none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}
a.feature-card:hover{
  border-color: var(--cyan-dim);
  background: rgba(62,203,240,0.04);
}
a.feature-card:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- FAQ list ---------- */
/* Plain, always-visible question/answer pairs: nothing collapsed, so a crawler
   and a reader get the same text. */
.faq{
  margin-top: 8px;
  max-width: 68ch;
}
.faq-item{
  padding: 20px 0 22px;
  border-top: 1px solid rgba(122,132,148,0.16);
}
.faq-item:last-child{ border-bottom: 1px solid rgba(122,132,148,0.16); }
.faq dt{
  font-family:'Barlow Condensed', sans-serif;
  font-weight:600;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height:1.25;
  letter-spacing:0.005em;
  color: var(--white);
}
.faq dd{
  margin-top: 10px;
  font-size: clamp(0.93rem, 1.15vw, 1rem);
  line-height: 1.75;
  color: #b7c0cb;
}
.faq dd a{
  color: var(--cyan);
  text-decoration:none;
  border-bottom: 1px solid var(--cyan-dim);
}
.faq dd a:hover{ border-bottom-color: var(--cyan); }

/* ---------- breadcrumb (feature pages) ---------- */
/* Styled as the eyebrow it replaces; only the Home crumb is a link. */
.breadcrumb a{
  color: inherit;
  text-decoration:none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.breadcrumb a:hover{ color: var(--white); border-bottom-color: var(--cyan-dim); }
.breadcrumb a:focus-visible{ outline: 2px solid var(--cyan); outline-offset: 2px; }
.crumb-sep{ margin: 0 9px; color: var(--steel); }

/* ---------- product screenshots ---------- */
.shot{
  margin-top: 34px;
}
.shot-frame{
  border: 1px solid rgba(122,132,148,0.22);
  border-radius: 8px;
  overflow:hidden;
  background: rgba(255,255,255,0.015);
  box-shadow: 0 22px 55px rgba(0,0,0,0.5);
}
.shot-frame img,
.shot-frame video{
  display:block;
  width:100%;
  height:auto;   /* the height attribute is a presentational hint; without this it wins */
}
/* Hold the demo's shape before it loads so nothing jumps when it does. */
.shot-frame video{
  aspect-ratio: 1908 / 908;
  background: var(--bg);
}
/* The home page links straight to #demo. Leave room for the section heading
   above the figure, so the landing has some context instead of a bare video. */
.shot[id]{ scroll-margin-top: 100px; }
.shot figcaption{
  margin-top: 14px;
  font-family:'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing:0.05em;
  line-height:1.6;
  color: #545e6c;
  text-align:center;
}

/* ---------- notify band (sits above the footer on every page) ---------- */
.notify-band{
  position:relative;
  z-index:2;
  margin-top:auto;
  padding: 48px 24px 46px;
  border-top: 1px solid rgba(122,132,148,0.16);
  background: rgba(62,203,240,0.025);
  text-align:center;
}
.notify-title{
  font-family:'Barlow Condensed', sans-serif;
  font-weight:700;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height:1.1;
  letter-spacing:-0.01em;
}
.notify-lead{
  margin: 12px auto 0;
  max-width: 48ch;
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  line-height:1.65;
  color: var(--muted);
}
/* The staggered entrance is the landing hero's; the band shows up right away. */
.notify-band form{ margin-top: 26px; opacity:1; animation:none; }
.notify-band .form-note{ opacity:1; animation:none; }

/* ---------- footer ---------- */
.site-footer{
  position:relative;
  z-index:2;
  text-align:center;
  padding: 22px 24px 30px;
  font-family:'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing:0.04em;
  color: #4b5563;
}
.footer-links{
  display:inline-block;
  margin-top: 8px;
}
.footer-links a{
  color: #6b7685;
  text-decoration:none;
  transition: color 0.2s ease;
}
.footer-links a:hover{ color: var(--cyan); }
.footer-sep{ margin: 0 8px; color: #3a4048; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 720px){
  .site-header{ padding: 20px 20px 8px; }
  .site-nav{ padding: 6px 12px 8px; gap:2px; }
  .nav-link{ font-size:12.5px; padding: 7px 10px; letter-spacing:0.1em; }
  .nav-link.active::after{ left:10px; right:10px; }
  .nav-menu{ left:50%; transform:translateX(-50%); }
  .nav-menu-link{ font-size:12.5px; letter-spacing:0.1em; }
  .page{ padding: 32px 22px 60px; }
}

@media (max-width: 520px){
  .header-right{ gap:8px; }
  .lang-toggle{ font-size:10px; padding:5px 9px; }
  .status-chip{ font-size:10px; padding:5px 10px; }
  input[type="email"]{ width: 100%; }
  form{ flex-direction:column; align-items:center; }
  .btn-primary{ width: 300px; max-width: 70vw; padding: 13px 0; }
}

/* ---------- pricing table ---------- */
/* --tscale drives every dimension below. Lower it to shrink the whole table
   proportionally; no individual value needs re-tuning. */
.table-wrap{
  --tscale: 0.75;
  margin-top: 42px;
  overflow-x: auto;
  border: 1px solid rgba(122,132,148,0.16);
  border-radius: 10px;
  background: var(--bg-panel);
  -webkit-overflow-scrolling: touch;
}

.pricing-table{
  width: 100%;
  min-width: calc(1060px * var(--tscale));
  border-collapse: collapse;
  text-align: center;
}
.pricing-table th,
.pricing-table td{
  border-bottom: 1px solid rgba(122,132,148,0.13);
  border-right: 1px solid rgba(122,132,148,0.13);
  padding: calc(20px * var(--tscale)) calc(18px * var(--tscale));
  vertical-align: middle;
}
.pricing-table tr:last-child th,
.pricing-table tr:last-child td{ border-bottom: none; }
.pricing-table th:last-child,
.pricing-table td:last-child{ border-right: none; }

/* plan headings */
.pricing-table thead th{
  font-family:'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: calc(21px * var(--tscale));
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  /* The Lite badge always sets the row height, so every plan name has a fixed
     amount of space below it (badge + its margin + the bottom padding). The
     top padding is set to match that, which optically centres the names in
     the band while keeping them all on one line. */
  padding: calc(37px * var(--tscale)) calc(18px * var(--tscale)) calc(6px * var(--tscale));
  line-height: 1.15;
  /* Top-aligned so every plan name sits on the same line, whatever hangs
     below it (the Lite badge) or however many lines it wraps to. */
  vertical-align: top;
}
.pricing-table thead th.corner{ background: transparent; }

.plan-badge{
  display: block;
  width: max-content;
  margin: calc(9px * var(--tscale)) auto 0;
  font-family:'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: calc(10px * var(--tscale));
  letter-spacing: 0.14em;
  color: var(--lime);
  border: 1px solid rgba(143,209,63,0.45);
  background: rgba(143,209,63,0.07);
  border-radius: 999px;
  padding: calc(3px * var(--tscale)) calc(11px * var(--tscale));
}

/* row labels */
.pricing-table tbody th{
  text-align: left;
  font-family:'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: calc(11px * var(--tscale));
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-light);
  white-space: nowrap;
  width: 21%;
}

/* value cells */
.pricing-table tbody td{
  font-size: calc(17px * var(--tscale));
  color: var(--white);
}

.price{
  font-family:'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: calc(30px * var(--tscale));
  letter-spacing: -0.01em;
  color: var(--cyan);
}
.per{
  font-family:'JetBrains Mono', monospace;
  font-size: calc(12px * var(--tscale));
  color: var(--muted);
}
.row-addon td{ color: #d3dae2; }
.row-addon .per{ font-size: calc(13px * var(--tscale)); color: var(--muted); }
.na{ color: #4b5563; }
.ast{ color: var(--lime); }

/* Two plans rather than five, so the table need not be as wide as six
   columns were, and the row labels can take more of it. */
.pricing-table.two-plans{ min-width: calc(640px * var(--tscale)); }
.pricing-table.two-plans tbody th{ width: 26%; }
.pricing-table.two-plans tbody td{ width: 37%; }

/* The second reading of a seat price: what it drops to from the fourth
   seat, or what the headline "from" figure is made of. */
.pricing-table .band{
  display: block;
  margin-top: calc(7px * var(--tscale));
  font-family:'JetBrains Mono', monospace;
  font-size: calc(11px * var(--tscale));
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--muted);
}
.pricing-table .band sup{ font-size: 0.7em; }

/* notes under the table */
.table-notes{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.table-note{
  font-family:'JetBrains Mono', monospace;
  font-size: 11.5px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: #6b7685;
  max-width: 88ch;
}

@media (max-width: 720px){
  .table-wrap{ --tscale: 0.66; margin-top: 30px; border-radius: 8px; }
}

.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;
}

/* ---------- home page body ---------- */
/* The hero used to be the whole page. The sections below it reuse the inner
   page styles; the hero already carries the vertical space above them. */
.home-body{ padding-top: 0; }
.home-body > .section-title:first-child{ margin-top: 0; }

/* ---------- hero call to action ---------- */
/* The hero previously ended at the capsule row, so a visitor who landed on the
   home page had nowhere to go without hunting through the nav. */
.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top: 30px;
  opacity:0;
  animation: rise 0.5s ease-out 0.36s forwards;
}
.hero-cta a{
  font-family:'Barlow Condensed', sans-serif;
  font-weight:600;
  letter-spacing:0.05em;
  text-transform:uppercase;
  font-size: 15px;
  text-decoration:none;
  padding: 13px 26px;
  border-radius: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.hero-cta .cta-primary{
  color:#04121a;
  background: linear-gradient(180deg, var(--cyan), #23a8cc);
}
.hero-cta .cta-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(62,203,240,0.3);
}
.hero-cta .cta-secondary{
  color: var(--white);
  border: 1px solid rgba(122,132,148,0.45);
}
.hero-cta .cta-secondary:hover{
  transform: translateY(-1px);
  border-color: var(--cyan);
  color: var(--cyan);
}
.hero-cta a:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- hero demo link ---------- */
.hero-demo{
  margin-top: 16px;
  font-family:'JetBrains Mono', monospace;
  font-size: 12.5px;
  letter-spacing:0.06em;
  opacity:0;
  animation: rise 0.5s ease-out 0.44s forwards;
}
.hero-demo a{
  color: var(--cyan);
  text-decoration:none;
  border-bottom: 1px solid var(--cyan-dim);
}
.hero-demo a:hover{ border-bottom-color: var(--cyan); }
.hero-demo a:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- contextual cross-links ---------- */
.page-next{
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(122,132,148,0.18);
  font-family:'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 72ch;
}
.page-next a{
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan-dim);
}
.page-next a:hover{ border-bottom-color: var(--cyan); }

/* ---------- reduced motion ---------- */
/* Also a safety net: every reveal starts at opacity:0, so if the animation
   never runs the content must still be visible. */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .logo-wrap, .eyebrow, .hero h1, .hero .sub, .capsule-row,
  .hero-cta, .hero-demo, form, .form-note{ opacity:1 !important; }
}

/* ---------- offer page (offer.html / fr/offre.html) ---------- */
/* The pricing table with a trade show price on it. The monthly/yearly toggle
   sets data-period on <main>, and each price cell carries both readings in
   .m and .y; only the chosen one is shown. Red is the offer's own colour so
   the special figure never reads as the regular cyan price. */
:root{ --offer-red: #ff6b6b; }

.offer-lead{ color: var(--offer-red); }

.billing-toggle{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 28px;
  border:none;
}
.billing-toggle label{
  display:flex;
  align-items:center;
  gap: 9px;
  font-family:'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(122,132,148,0.22);
  border-radius: 999px;
  padding: 9px 16px;
  cursor:pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.billing-toggle label:has(input:checked){
  color: var(--white);
  border-color: var(--cyan-dim);
  background: rgba(62,203,240,0.08);
}
.billing-toggle input{
  accent-color: var(--cyan);
  width: 14px; height: 14px;
  margin: 0;
}
.billing-toggle label:has(input:focus-visible){
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.offer[data-period="monthly"] .y,
.offer[data-period="yearly"] .m{ display:none; }

.offer .row-price td{ vertical-align: top; }
/* Price and unit on one line; the badge or note drops to the line below. */
.offer .row-price .m,
.offer .row-price .y{
  display:inline-flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:baseline;
  column-gap: 2px;
  row-gap: calc(5px * var(--tscale));
}
.offer[data-period="monthly"] .row-price .y,
.offer[data-period="yearly"] .row-price .m{ display:none; }
/* The crossed-off regular price on a line of its own above the offer price. */
.offer .row-price .price-old{ flex-basis:100%; }
/* The band under an offer price is one line for both periods, so it sits
   outside the .m/.y pair and is never hidden by the toggle. */
.offer .row-price .band{ display:block; }
.offer .row-addon .price-old{ font-size: calc(14px * var(--tscale)); margin-right: 4px; }
/* As wide as the words need, up to the column; wraps only when it must. */
.offer .row-price .offer-badge,
.offer .row-price .offer-note{ flex-basis:100%; width:fit-content; max-width:100%; margin-left:auto; margin-right:auto; }

.price-old{
  font-family:'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: calc(17px * var(--tscale));
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.offer-price{ color: var(--offer-red); }

.offer-badge{
  font-family:'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: calc(10px * var(--tscale));
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
  text-align: center;
  color: var(--offer-red);
  border: 1px solid rgba(255,107,107,0.45);
  background: rgba(255,107,107,0.08);
  border-radius: 999px;
  padding: calc(3px * var(--tscale)) calc(10px * var(--tscale));
}
.offer-note{
  font-family:'JetBrains Mono', monospace;
  font-size: calc(10px * var(--tscale));
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--offer-red);
}
.offer-note sup{ font-size: 0.7em; }

.offer-cta{
  margin-top: 40px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 14px;
}
.offer-btn{
  height: 46px;
  padding: 0 34px;
  font-size: 15px;
}
.offer-btn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
  transform:none;
  box-shadow:none;
}
.offer-cta-note{
  font-family:'JetBrains Mono', monospace;
  font-size: 11.5px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: #6b7685;
  max-width: 70ch;
}
@media (max-width: 640px){
  .offer-cta{ align-items:center; text-align:center; }
}

/* ---------- back to top ---------- */
/* Injected by site.js; shown (.show) once the page has scrolled a screen or so. */
.back-to-top{
  position:fixed;
  right: 22px;
  bottom: 22px;
  z-index:4;
  width: 42px;
  height: 42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border: 1px solid rgba(122,132,148,0.35);
  background: rgba(11,15,22,0.9);
  color: var(--steel-light);
  cursor:pointer;
  opacity:0;
  transform: translateY(8px);
  pointer-events:none;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}
.back-to-top.show{
  opacity:1;
  transform:none;
  pointer-events:auto;
}
.back-to-top:hover{
  color: var(--cyan);
  border-color: var(--cyan-dim);
}
.back-to-top svg{
  width: 16px;
  height: 16px;
  display:block;
}
@media (max-width: 720px){
  .back-to-top{ right: 14px; bottom: 14px; }
}

/* ---------- contact bubble ---------- */
/* Injected by site.js. The bubble sits in the bottom-right corner and the
   back-to-top button stacks above it; the panel opens over the bubble. The
   generic `form` and `input[type="email"]` rules above are written for the
   notify band, so the contact form overrides what it inherits from them. */
.back-to-top{ bottom: 84px; }
@media (max-width: 720px){
  .back-to-top{ bottom: 72px; }
}

.contact-bubble{
  position:fixed;
  right: 22px;
  bottom: 22px;
  z-index:5;
  width: 50px;
  height: 50px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:none;
  color: #04121a;
  background: linear-gradient(180deg, var(--cyan), #23a8cc);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5), 0 0 0 1px rgba(62,203,240,0.25);
  cursor:pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-bubble:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.55), 0 0 22px rgba(62,203,240,0.35);
}
.contact-bubble svg{
  width: 22px;
  height: 22px;
  display:block;
}
.contact-bubble .ico-close{ display:none; }
.contact-bubble[aria-expanded="true"] .ico-mail{ display:none; }
.contact-bubble[aria-expanded="true"] .ico-close{ display:block; }

.contact-panel{
  position:fixed;
  right: 22px;
  bottom: 84px;
  z-index:5;
  width: 360px;
  max-width: calc(100vw - 28px);
  max-height: calc(100vh - 100px);
  overflow-y:auto;
  padding: 22px 22px 20px;
  border: 1px solid rgba(62,203,240,0.18);
  border-radius: 10px;
  background: var(--bg-panel);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.4);
  display:none;
}
.contact-panel.open{ display:block; }

.contact-title{
  font-family:'Barlow Condensed', sans-serif;
  font-weight:700;
  font-size: 1.45rem;
  line-height:1.1;
}
.contact-lead{
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.contact-form{
  margin-top: 16px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap: 10px;
  opacity:1;
  animation:none;
}
.contact-form label{
  display:block;
  font-family:'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color: var(--steel-light);
  margin-bottom: 5px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea{
  display:block;
  width: 100%;
  max-width:none;
  background: var(--bg);
  border: 1px solid rgba(122,132,148,0.35);
  color: var(--white);
  padding: 10px 12px;
  border-radius: 4px;
  font-family:'Inter', sans-serif;
  font-size: 14px;
  outline:none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form textarea{
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{ color: #545e6c; }
.contact-form input:focus,
.contact-form textarea:focus{
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(62,203,240,0.12);
}
/* honeypot: off-screen, never display:none, so bots still fill it */
.contact-form .hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
/* written to outrank the field-label rule above */
.contact-form .contact-opt{
  display:flex;
  align-items:flex-start;
  gap: 9px;
  margin: 4px 0 0;
  font-family:'Inter', sans-serif;
  font-size: 13px;
  letter-spacing:0;
  text-transform:none;
  line-height: 1.5;
  color: #b7c0cb;
  cursor:pointer;
}
.contact-opt input{
  flex:none;
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--cyan);
}
.contact-form .btn-primary{
  width: 100%;
  max-width:none;
  padding: 13px 0;
  margin-top: 2px;
}
.contact-form .btn-primary:disabled{
  opacity: 0.6;
  cursor: default;
}
.contact-panel .form-note{
  margin-top: 10px;
  opacity:1;
  animation:none;
  min-height: 1em;
}
.contact-panel .form-note.error{ color: #ff6b6b; }

@media (max-width: 720px){
  .contact-bubble{ right: 14px; bottom: 14px; }
  .contact-panel{ right: 14px; left: 14px; bottom: 74px; width:auto; max-width:none; }
}

/* ---------- 404 page ---------- */
/* One file (404.html) answers every missing URL, English or French, so it
   carries both shells and its <head> script sets <html lang> from the path.
   The body is a flex column with main{flex:1}, so each shell has to be a
   flex column too or the footer floats up. No JS → English. */
.l10n-en, .l10n-fr{
  display:flex;
  flex-direction:column;
  flex:1;
}
html[lang^="fr"] .l10n-en{ display:none; }
html:not([lang^="fr"]) .l10n-fr{ display:none; }

/* Four cards: two by two, so none sits alone on a second row. */
.nf-grid{ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* The address that was asked for, echoed back so a typo is easy to spot. */
.nf-path{
  margin-top: 26px;
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap: 10px 14px;
  font-family:'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing:0.04em;
  color: var(--muted);
}
.nf-path code{
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0;
  padding: 8px 12px;
  border: 1px solid rgba(122,132,148,0.22);
  border-radius: 6px;
  background: var(--bg-panel);
  color: var(--white);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.nf-hint{
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: #b7c0cb;
}
.nf-hint a{
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan-dim);
}
.nf-hint a:hover{ border-bottom-color: var(--cyan); }
