/* ============================================
   Audivea — Global Stylesheet
   ============================================ */

/* CSS Custom Properties */
:root {
  --color-primary: #00aaff;
  --color-primary-light: #33cfff;
  --color-primary-dark: #0088ff;
  --color-bg-card: rgba(18, 18, 30, 0.8);
  --color-bg-card-hover: rgba(25, 25, 40, 0.85);
  --color-bg-panel: rgba(15, 15, 25, 0.85);
  --color-text: #fff;
  --color-text-muted: #bbb;
  --color-border: rgba(0, 170, 255, 0.15);
  --radius-card: 8px;
  --radius-panel: 12px;
  --max-width-content: 750px;
  --max-width-wide: 1000px;
  --max-width-page: 1200px;
  --transition-speed: 0.2s;
}

/* ============================================
   Base / Reset
   ============================================ */

html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
}

body {
  background-color: #000;
  display: flex;
  flex-direction: column;
  font-family: 'Manrope', sans-serif;
  color: var(--color-text);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.bg-fixed {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('../BK.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

/* ============================================
   Focus States (Accessibility)
   ============================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================
   Animations
   ============================================ */

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

/* ============================================
   Navigation
   ============================================ */

nav {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(15, 15, 25, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  width: 100%;
  max-width: var(--max-width-page);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 24px;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: opacity var(--transition-speed) ease;
}

.nav-brand:hover {
  opacity: 0.85;
}

.brand-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon {
  height: 40px;
  width: auto;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.8rem;
  background: linear-gradient(to right, #33cfff, #0088ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-slogan {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
  margin-left: 0.2rem;
  display: block;
  white-space: nowrap;
  color: rgba(0, 136, 204, 0.7);
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed) ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* ============================================
   Footer
   ============================================ */

.social-footer {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
  width: 100%;
  background-color: rgba(15, 15, 25, 0.95);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  padding: 30px 0 20px;
  margin-top: auto;
}

.footer-container {
  max-width: var(--max-width-page);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(to right, #33cfff, #0088ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: #888;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition-speed) ease;
}

.footer-nav a:hover {
  color: #ccc;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-speed) ease;
}

.footer-social a:hover {
  color: var(--color-primary);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  vertical-align: middle;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 15px;
  font-size: 0.8rem;
  color: #555;
}

/* ============================================
   Layout
   ============================================ */

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  padding: 100px 0 40px 0;
  box-sizing: border-box;
}

.main-content.home-content {
  justify-content: center;
  padding-top: 0;
}

.container {
  width: var(--max-width-content);
  max-width: 90%;
  margin: 0 auto;
}

.container-wide {
  width: var(--max-width-wide);
  max-width: 90%;
  margin: 0 auto;
}

.latest-section {
  width: var(--max-width-wide);
  max-width: 90%;
  margin: 0 auto;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 100px 24px 48px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 170, 255, 0.08);
}

.hero-content {
  max-width: 700px;
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  color: #F3F7FB;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #A7B4C8;
  line-height: 1.6;
  margin: 0 0 2rem;
  font-weight: 400;
}

.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition-speed) ease;
}

.hero-cta:hover {
  background: var(--color-primary-light);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-cta-secondary {
  display: inline-block;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid rgba(0, 170, 255, 0.3);
  background: rgba(30, 30, 50, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  transition: background var(--transition-speed) ease, border-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.hero-cta-secondary:hover {
  background: rgba(0, 170, 255, 0.12);
  border-color: rgba(0, 170, 255, 0.6);
  color: #fff;
}

/* ============================================
   Page Titles
   ============================================ */

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: -0.01em;
}

.page-subtitle {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--color-primary);
  border-bottom: 1px solid rgba(0, 170, 255, 0.3);
  padding-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

/* ============================================
   Philosophy / Brand Section
   ============================================ */

.philosophy-section {
  width: var(--max-width-wide);
  max-width: 90%;
  margin: 0 auto 3rem;
}

.philosophy-body {
  background-color: var(--color-bg-panel);
  border-radius: var(--radius-panel);
  padding: 30px;
  border: 1px solid rgba(0, 170, 255, 0.2);
  line-height: 1.8;
}

.philosophy-body p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.philosophy-body p:last-child {
  margin-bottom: 0;
}

.philosophy-body strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================
   Cards (unified: blog, product, content items)
   ============================================ */

.card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-speed) ease, background-color var(--transition-speed) ease;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.4s ease-out;
}

.card:hover {
  border-color: rgba(0, 170, 255, 0.35);
  background-color: var(--color-bg-card-hover);
}

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

.card-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
}

.card-excerpt {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  display: inline-block;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 0;
  transition: color var(--transition-speed) ease;
}

.card-link:hover {
  color: var(--color-primary-light);
}

/* Card flex layout (image + text) */
.card-flex {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.card-image {
  width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 170, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Article Detail Pages
   ============================================ */

.article-header {
  margin-bottom: 2rem;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.article-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.article-content {
  line-height: 1.8;
  background-color: var(--color-bg-panel);
  border-radius: var(--radius-panel);
  padding: 30px;
  border: 1px solid rgba(0, 170, 255, 0.2);
}

.article-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--color-primary);
}

.article-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: var(--color-primary);
}

.article-content p {
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.article-content blockquote {
  border-left: 3px solid var(--color-primary);
  padding-left: 1rem;
  margin-left: 0;
  color: #ccc;
  font-style: italic;
}

.article-content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.article-content th,
.article-content td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content th {
  color: var(--color-primary);
}

.article-content td {
  color: #eee;
}

.article-content em {
  color: #ccc;
  font-style: italic;
}

.article-content strong {
  font-weight: 600;
  color: #fff;
}

.article-content ul {
  color: var(--color-text);
}

.article-featured-image {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin: 0 auto 2rem;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed) ease;
}

.back-link:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
  margin-top: 2rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color var(--transition-speed) ease;
  float: right;
}

.back-to-top:hover {
  color: var(--color-primary);
}

/* ============================================
   Product Detail Pages
   ============================================ */

.product-header {
  margin-bottom: 2rem;
}

.product-tagline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.5rem;
  letter-spacing: -0.005em;
}

.product-content {
  line-height: 1.8;
  background-color: var(--color-bg-panel);
  border-radius: var(--radius-panel);
  padding: 30px;
  border: 1px solid rgba(0, 170, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 170, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.product-features {
  margin-top: 2rem;
  line-height: 1.8;
  color: var(--color-text);
}

.product-features h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--color-primary);
}

.product-features ul {
  margin: 0;
  padding-left: 1.25rem;
}

.product-features li {
  margin-bottom: 0.5rem;
}

.product-features strong {
  font-weight: 600;
  color: #fff;
}

.coming-soon-label {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.notify-section {
  margin-top: 1.5rem;
}

.notify-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  line-height: 1.6;
  max-width: 500px;
}

/* ============================================
   Email Signup Form
   ============================================ */

.signup-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.signup-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(0, 170, 255, 0.3);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-speed) ease;
}

.signup-form input[type="email"]::placeholder {
  color: #666;
}

.signup-form input[type="email"]:focus {
  border-color: var(--color-primary);
}

.signup-form button {
  padding: 12px 24px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  transition: background var(--transition-speed) ease;
  white-space: nowrap;
}

.signup-form button:hover {
  background: var(--color-primary-light);
}

.footer-signup {
  margin-top: 1rem;
}

.footer-signup p {
  font-size: 0.8rem;
  color: #666;
  margin: 0 0 0.5rem;
}

.footer-signup .signup-form {
  max-width: 340px;
}

.footer-signup .signup-form input[type="email"] {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.footer-signup .signup-form button {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ============================================
   Contact Form
   ============================================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid rgba(0, 170, 255, 0.3);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-speed) ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form[hidden] { display: none; }   /* beats .contact-form's display:flex */

.contact-status {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 620px;
  margin-top: 18px;
}
.contact-status[hidden] { display: none; }
.contact-status.is-ok { color: #5fe0a8; }
.contact-status.is-error { color: #ff8b96; }

/* Non-clickable "coming soon" pill, styled as a muted button. */
.btn.is-soon { opacity: 0.5; pointer-events: none; }

.contact-submit {
  align-self: flex-start;
  padding: 12px 32px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  transition: background var(--transition-speed) ease;
}

.contact-submit:hover {
  background: var(--color-primary-light);
}

/* ============================================
   About Page
   ============================================ */

/* About Page Body */
.about-body {
  line-height: 1.8;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.about-body p {
  margin-bottom: 1rem;
}

.about-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.about-body strong {
  color: var(--color-primary);
  font-weight: 600;
}

.about-cta-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.about-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition-speed) ease;
}

.about-cta:hover {
  background: var(--color-primary-light);
}

/* ============================================
   Lab — Card Icon (for SVG tool thumbnails)
   ============================================ */

.lab-card-icon {
  width: 240px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 170, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(0, 170, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Mix Analyzer
   ============================================ */

.analyzer-section {
  animation: fadeInUp 0.4s ease-out;
}

/* Drop zone */
.analyzer-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  border: 2px dashed rgba(0, 170, 255, 0.3);
  border-radius: var(--radius-panel);
  background: rgba(0, 170, 255, 0.03);
  cursor: pointer;
  transition: border-color var(--transition-speed) ease, background var(--transition-speed) ease;
  margin: 2rem 0 1.5rem;
}

.analyzer-dropzone:hover,
.analyzer-dropzone.dragover {
  border-color: var(--color-primary);
  background: rgba(0, 170, 255, 0.08);
}

.analyzer-dropzone:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.dropzone-icon {
  color: var(--color-primary);
  margin-bottom: 16px;
  opacity: 0.7;
}

.dropzone-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 4px;
}

.dropzone-subtext {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.analyzer-meta {
  text-align: center;
  margin-bottom: 2rem;
}

.analyzer-formats {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0 0 4px;
}

.analyzer-privacy {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

/* Processing state */
.analyzer-processing-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.analyzer-processing-file {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  word-break: break-all;
}

.analyzer-progress-track {
  width: 100%;
  max-width: 500px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.analyzer-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-primary);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.analyzer-progress-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* File info bar */
.analyzer-overview-panel {
  background: var(--color-bg-panel);
  border-radius: var(--radius-panel);
  border: 1px solid var(--color-border);
  padding: 20px 24px 24px;
  margin-bottom: 2rem;
}

.analyzer-file-info {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0 0 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.file-info-item {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.file-info-label {
  color: #666;
}

.file-info-value {
  color: var(--color-text);
  font-weight: 600;
}

/* Summary cards row */
.analyzer-summary-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.summary-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card);
  padding: 16px;
  text-align: center;
  animation: fadeInUp 0.4s ease-out;
}

.summary-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.summary-card-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.summary-card-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Status pill colors */
.status-green {
  background: rgba(76, 175, 80, 0.15);
  color: #66bb6a;
}

.status-yellow {
  background: rgba(255, 193, 7, 0.15);
  color: #ffd54f;
}

.status-orange {
  background: rgba(255, 152, 0, 0.15);
  color: #ffb74d;
}

.status-red {
  background: rgba(244, 67, 54, 0.15);
  color: #ef5350;
}

.status-blue {
  background: rgba(0, 170, 255, 0.15);
  color: var(--color-primary);
}

/* Findings section */
.analyzer-findings {
  background: var(--color-bg-panel);
  border-radius: var(--radius-panel);
  border: 1px solid rgba(0, 170, 255, 0.2);
  padding: 24px 30px;
  margin-bottom: 2rem;
}

.analyzer-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 16px;
}

.findings-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.finding-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.finding-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 2px;
}

.finding-icon.severity-info {
  background: rgba(0, 170, 255, 0.2);
  color: var(--color-primary);
}

.finding-icon.severity-notice {
  background: rgba(255, 193, 7, 0.2);
  color: #ffd54f;
}

.finding-icon.severity-warn {
  background: rgba(255, 152, 0, 0.2);
  color: #ffb74d;
}

.finding-icon.severity-alert {
  background: rgba(244, 67, 54, 0.2);
  color: #ef5350;
}

/* Combined detail panel */
.analyzer-detail-combined {
  background: var(--color-bg-panel);
  border-radius: var(--radius-panel);
  border: 1px solid var(--color-border);
  padding: 24px 30px;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}

.detail-section {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-section:nth-last-child(-n+2) {
  border-bottom: none;
}

/* Single last item spans full width */
.detail-section:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.detail-panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 170, 255, 0.1);
}

.detail-panel-body {
  font-size: 0.9rem;
  color: var(--color-text);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.detail-value {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Tonal balance bars (Canvas rendered, but also CSS fallback) */
.tonal-bars {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 80px;
  margin-top: 12px;
}

.tonal-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tonal-bar-track {
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.tonal-bar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  border-radius: 4px;
  transition: height 0.4s ease;
}

.tonal-bar-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.tonal-bar-pct {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Stereo width indicator */
.stereo-width-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  position: relative;
  margin: 12px 0 6px;
}

.stereo-width-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--color-primary);
  border-radius: 4px;
  transition: width 0.4s ease, left 0.4s ease;
}

.stereo-width-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #666;
}

/* Phase correlation bar */
.phase-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  position: relative;
  margin: 12px 0 6px;
}

.phase-bar-fill {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease, left 0.4s ease;
}

.phase-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #666;
}

/* Detail educational text */
.detail-timestamp {
  color: var(--color-text-muted, #888);
  font-size: 0.85em;
  margin-left: 6px;
}

.detail-explainer {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* CTA section */
.analyzer-cta {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-bg-panel);
  border-radius: var(--radius-panel);
  border: 1px solid rgba(0, 170, 255, 0.2);
  margin-bottom: 1.5rem;
}

.analyzer-cta-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.analyzer-cta-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Reset / analyze another */
.analyzer-reset-wrap {
  text-align: center;
  margin-bottom: 2rem;
}

.analyzer-reset-btn {
  padding: 12px 28px;
  background: transparent;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(0, 170, 255, 0.4);
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  transition: border-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.analyzer-reset-btn:hover {
  border-color: rgba(0, 170, 255, 0.7);
  color: #fff;
}

/* Error state */
.analyzer-error-box {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-bg-panel);
  border-radius: var(--radius-panel);
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.analyzer-error-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 95%;
  }

  .main-content {
    padding: 90px 0 30px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    background: rgba(15, 15, 25, 0.98);
    padding: 1rem 24px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links .nav-link:last-child {
    border-bottom: none;
  }

  .nav-icon {
    height: 35px;
  }

  .nav-logo {
    font-size: 1.6rem;
  }

  .hero {
    min-height: 45vh;
    padding: 100px 20px 30px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .card-flex {
    flex-direction: column;
  }

  .card-image {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1rem;
  }

  .card-excerpt {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .article-featured-image {
    max-width: 100%;
  }

  .article-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .article-meta {
    text-align: center;
    margin-bottom: 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .coming-soon-label {
    font-size: 1.3rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-right {
    align-items: center;
  }

  .footer-brand {
    align-items: center;
  }

  .signup-form {
    flex-direction: column;
    align-items: stretch;
  }

  .about-body h2 {
    font-size: 1.4rem;
  }

  .analyzer-summary-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .analyzer-detail-combined {
    grid-template-columns: 1fr;
  }

  .detail-section:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .detail-section:last-child {
    border-bottom: none;
  }

  .analyzer-dropzone {
    padding: 36px 20px;
  }

  .summary-card-value {
    font-size: 1.3rem;
  }

  .lab-card-icon {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .nav-slogan {
    display: none;
  }

  .nav-icon {
    height: 28px;
  }

  .nav-logo {
    font-size: 1.3rem;
  }

  .nav-container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .article-title {
    font-size: 1.6rem;
  }

  .footer-container {
    padding: 0 16px;
  }

  .footer-nav {
    gap: 1rem;
  }

  .analyzer-summary-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-card-value {
    font-size: 1.1rem;
  }

  .analyzer-cta-title {
    font-size: 1.2rem;
  }

  .analyzer-findings {
    padding: 20px 16px;
  }
}

/* ================================================================
   DESIGN SYSTEM v2 — "Instrument" (B · Index)
   Editorial/technical language: near-white headings, cyan as a
   precious accent, ui-monospace data labels, measurement texture.
   Appended as an override layer — earlier rules stay intact.
   ================================================================ */

:root {
  --ink: #F3F7FB;        /* near-white headings */
  --prose: #aebbd0;      /* blue-biased body */
  --muted: #8595ad;      /* mono labels */
  --faint: #5b6b85;      /* faint mono / ticks */
  --cyan: #00aaff;
  --cyan-l: #33cfff;
  --cyan-d: #0088ff;
  --hair: rgba(120, 160, 210, 0.14);
  --hair-strong: rgba(120, 170, 220, 0.26);
  --bg-0: #04070e;
  --bg-1: #0a1426;
  --panel: rgba(12, 18, 32, 0.72);
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, 'Menlo', 'Cascadia Mono', 'Roboto Mono', monospace;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --w-page: 1200px;
  --ease-2: cubic-bezier(.4, .1, .2, 1);

  /* refresh existing neutrals so inner pages stay cohesive */
  --color-text-muted: #9fb0c8;
  --color-bg-card: rgba(14, 20, 34, 0.72);
  --color-bg-card-hover: rgba(18, 26, 44, 0.82);
  --color-bg-panel: rgba(11, 17, 30, 0.82);
  --color-border: rgba(120, 160, 210, 0.16);
}

body {
  background-color: var(--bg-0);
  color: var(--prose);
  font-variant-numeric: tabular-nums;
}

/* gradient ground + faint measurement graticule */
.bg-fixed {
  background-image:
    radial-gradient(1200px 700px at 78% -8%, rgba(0, 120, 200, 0.16), transparent 60%),
    radial-gradient(900px 600px at 8% 4%, rgba(0, 90, 170, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 60%, var(--bg-0) 100%);
}
.bg-fixed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 170, 220, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 220, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 78%);
}

.wrap {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- header (v2) ---------- */
header.site {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(4, 7, 14, 0.9), rgba(4, 7, 14, 0.62));
  border-bottom: 1px solid var(--hair);
}
header.site .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.wordmark-icon { height: 34px; width: auto; display: block; }
.wordmark-text { display: flex; flex-direction: column; gap: 3px; }
.wordmark-name {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(100deg, #33cfff, #0088ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wordmark-slogan {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(120, 160, 210, 0.55);
  line-height: 1;
  white-space: nowrap;
}
header.site .navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  position: static;
  height: auto;
  width: auto;
  background: none;
  box-shadow: none;
}
header.site .navlinks a.nav-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease-2);
}
header.site .navlinks a.nav-link:hover { color: var(--ink); }
header.site .navlinks a.nav-link.active { color: var(--cyan-l); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--prose);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  header.site .navlinks {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6px 24px 16px;
    background: rgba(6, 10, 18, 0.98);
    border-bottom: 1px solid var(--hair);
    display: none;
  }
  header.site .navlinks.open { display: flex; }
  header.site .navlinks a.nav-link {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--hair);
  }
  header.site .navlinks a.nav-link:last-child { border-bottom: 0; }
}

/* inner pages: clear the fixed header */
.main-content { padding-top: 104px; }

/* ---------- buttons (v2) ---------- */
.btn {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-2), box-shadow 0.25s var(--ease-2), background 0.2s var(--ease-2), border-color 0.2s var(--ease-2);
}
.btn-primary {
  background: linear-gradient(100deg, #33cfff, #0088ff);
  color: #04101c;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(51, 207, 255, 0.4), 0 8px 30px -10px rgba(0, 140, 230, 0.65);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(51, 207, 255, 0.6), 0 12px 38px -10px rgba(0, 150, 240, 0.8); }
.btn-ghost { color: var(--prose); border: 1px solid var(--hair-strong); }
.btn-ghost:hover { border-color: rgba(51, 207, 255, 0.5); color: var(--ink); background: rgba(51, 207, 255, 0.05); }
.btn .arr { font-size: 13px; }

/* ---------- hero (v2) ---------- */
.hero {
  position: relative;
  display: block;
  text-align: left;
  min-height: auto;
  border-bottom: none;
  padding: 132px 0 64px;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; animation: fadeInUp 0.6s ease-out; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan-l);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.9rem, 7.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #9be8ff, #33cfff 55%, #0088ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--prose); max-width: 46ch; margin: 0 0 30px; line-height: 1.55; }

.metastrip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--hair);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 34px;
  max-width: 580px;
  background: rgba(8, 13, 24, 0.5);
}
.metastrip span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 14px;
  border-right: 1px solid var(--hair);
  white-space: nowrap;
}
.metastrip span:last-child { border-right: 0; }
.metastrip b { color: var(--cyan-l); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- section scaffolding (v2) ---------- */
section.band { padding: 74px 0; border-top: 1px solid var(--hair); position: relative; }
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px; }
.sec-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--cyan); font-weight: 600; }
.sec-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.sec-title { font-family: var(--sans); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -0.03em; color: var(--ink); margin: 0 0 8px; line-height: 1.05; border: none; padding: 0; }
.sec-lede { color: var(--prose); max-width: 56ch; margin: 0; font-size: 1.02rem; }
.sec-topline { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.count-readout { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); text-align: right; text-decoration: none; }
.count-readout b { color: var(--cyan-l); font-weight: 500; }

/* ---------- THE LINE / product index ---------- */
.line-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.pcard {
  grid-column: span 4;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 20px 20px 18px;
  min-height: 236px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.25s var(--ease-2), transform 0.25s var(--ease-2), background 0.25s var(--ease-2);
}
.pcard::before { content: ""; position: absolute; top: 10px; right: 10px; width: 12px; height: 12px; border-top: 1px solid var(--hair-strong); border-right: 1px solid var(--hair-strong); opacity: .7; }
.pcard:hover { border-color: rgba(51, 207, 255, 0.34); transform: translateY(-2px); background: rgba(14, 22, 38, 0.82); }
a.pcard:hover .pname, a.pcard:hover .flag-name { color: var(--cyan-l); }
.pcard-flag { grid-column: span 12; flex-direction: row; align-items: stretch; gap: 0; padding: 0; min-height: 320px; }
.pcard-half { grid-column: span 6; }
.pcard-ghost { align-items: center; justify-content: center; text-align: center; border-style: dashed; background: transparent; min-height: 200px; }
.pcard-ghost::before { display: none; }
.pcard-ghost:hover { transform: none; background: transparent; border-color: var(--hair-strong); }
.pcard-ghost .gh-title { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; color: var(--muted); }
.pcard-ghost .gh-sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-top: 9px; }
.pcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.chip { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--hair); padding: 4px 8px; border-radius: 99px; white-space: nowrap; }
.pname { font-family: var(--sans); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; color: var(--ink); margin: 0; line-height: 1.1; transition: color 0.2s var(--ease-2); }
.glyph { flex: 1; display: flex; align-items: center; justify-content: center; margin: 6px 0 14px; min-height: 88px; }
.glyph svg { width: 100%; height: 100%; max-height: 108px; display: block; }
.pspec { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--prose); line-height: 1.5; margin-bottom: 14px; }
.pspec .k { color: var(--faint); }
.pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--hair); }
.pill { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.pill.soon { color: var(--cyan-l); } .pill.soon .dot { background: var(--cyan-l); box-shadow: 0 0 8px rgba(51, 207, 255, 0.7); }
.pill.dev { color: #8fb0c8; } .pill.dev .dot { background: #6f93ad; }
.pill.concept { color: var(--faint); } .pill.concept .dot { background: transparent; border: 1px solid var(--faint); }
.pill.live { color: #5fe0a8; } .pill.live .dot { background: #5fe0a8; box-shadow: 0 0 8px rgba(95, 224, 168, 0.6); }
.figref { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--faint); }

.flag-left { flex: 1.05; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--hair); min-width: 0; }
.flag-right { flex: 1.25; position: relative; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(120% 120% at 70% 30%, rgba(0, 120, 210, 0.10), transparent 60%); min-width: 0; }
.flag-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan-l); margin-bottom: 14px; }
.flag-name { font-family: var(--sans); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.03em; color: var(--ink); margin: 0 0 10px; line-height: 1; transition: color 0.2s var(--ease-2); }
.flag-desc { color: var(--prose); font-size: 0.98rem; max-width: 40ch; margin: 0 0 22px; }
.flag-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--hair); border-radius: 4px; overflow: hidden; margin-bottom: 22px; }
.flag-specs div { padding: 10px 13px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.flag-specs div:nth-child(2n) { border-right: 0; }
.flag-specs div:nth-last-child(-n+2) { border-bottom: 0; }
.flag-specs .lab { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.flag-specs .val { font-family: var(--mono); font-size: 13px; color: var(--ink); font-weight: 500; }
.flag-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.flag-meter { width: 100%; max-width: 430px; height: auto; display: block; }
.flag-shot { width: 100%; max-width: 520px; height: auto; display: block; border-radius: 8px; border: 1px solid var(--hair); box-shadow: 0 14px 44px -18px rgba(0, 0, 0, 0.75); }

/* product intro page (article-style, not a card): open feature figure + notify block */
.product-figure {
  max-width: 680px;
  margin: 30px 0 38px;
  padding: 0;
  border: none;
  background: none;
}
.product-figure svg { width: 100%; height: auto; display: block; }
.notify-block { max-width: 640px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--hair); }
.notify-block .pill { margin-bottom: 14px; }
.notify-title { font-family: var(--sans); font-weight: 800; color: var(--ink); font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; margin: 0 0 8px; }
.notify-block > p { color: var(--prose); margin: 0 0 16px; font-size: 0.98rem; max-width: 52ch; }

/* ---------- THE LAB block ---------- */
.lab-block { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border: 1px solid var(--hair); border-radius: 6px; overflow: hidden; background: var(--panel); }
.lab-text { padding: 34px; border-right: 1px solid var(--hair); }
.lab-text h3 { font-family: var(--sans); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; color: var(--ink); margin: 6px 0 12px; }
.lab-text p { color: var(--prose); margin: 0 0 22px; max-width: 46ch; }
.lab-viz { position: relative; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(110% 110% at 60% 40%, rgba(0, 120, 210, 0.08), transparent 65%); }
.lab-viz svg { width: 100%; height: auto; max-width: 320px; display: block; }

/* ---------- JOURNAL ---------- */
.journal { display: flex; flex-direction: column; border-top: 1px solid var(--hair-strong); }
.jrow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; padding: 22px 6px; border-bottom: 1px solid var(--hair); text-decoration: none; transition: background 0.2s var(--ease-2), padding-left 0.25s var(--ease-2); }
.jrow:hover { background: rgba(14, 22, 38, 0.6); padding-left: 14px; }
.jrow .jnum { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); min-width: 104px; }
.jrow .jtitle { font-family: var(--sans); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: -0.02em; color: var(--ink); }
.jrow .jmeta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 3px; }
.jrow .jarr { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); transition: color 0.2s var(--ease-2), transform 0.2s var(--ease-2); }
.jrow:hover .jarr { color: var(--cyan-l); transform: translateX(3px); }

/* ---------- footer (v2) ---------- */
footer.site { border-top: 1px solid var(--hair); padding: 54px 0 40px; margin-top: auto; background: none; box-shadow: none; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot-grid p { max-width: 38ch; color: var(--muted); font-size: 0.92rem; margin: 14px 0 0; }
.foot-links { display: flex; gap: 30px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s var(--ease-2); }
.foot-col a:hover { color: var(--cyan-l); }
.foot-col .head { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.foot-social-v2 { display: flex; gap: 14px; align-items: center; margin-top: 18px; }
.foot-social-v2 a { color: var(--muted); transition: color 0.2s var(--ease-2); }
.foot-social-v2 a:hover { color: var(--cyan-l); }
.foot-social-v2 svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--hair); }
.foot-base span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.foot-base a { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); text-decoration: none; transition: color 0.2s var(--ease-2); }
.foot-base a:hover { color: var(--cyan-l); }

/* ---------- inner-page heading recolor (cyan -> near-white) ---------- */
.page-title,
.article-title,
.card-title,
.article-content h2,
.article-content h3,
.about-body h2,
.product-features h2,
.coming-soon-label { color: var(--ink); }
.section-title { color: var(--ink); border-bottom-color: var(--hair); }

/* ---------- v2 responsive ---------- */
@media (max-width: 920px) {
  .pcard { grid-column: span 6; }
  .pcard-flag { grid-column: span 12; }
  .wrap { padding: 0 24px; }
}
@media (max-width: 860px) {
  .pcard-flag { flex-direction: column; }
  .flag-left { border-right: 0; border-bottom: 1px solid var(--hair); }
}
@media (max-width: 760px) {
  .lab-block { grid-template-columns: 1fr; }
  .lab-text { border-right: 0; border-bottom: 1px solid var(--hair); }
}
@media (max-width: 560px) {
  .pcard, .pcard-half { grid-column: span 12; }
  .hero { padding: 110px 0 44px; }
  section.band { padding: 56px 0; }
  .jrow { grid-template-columns: auto 1fr; gap: 16px; }
  .jrow .jarr { display: none; }
  .wordmark-slogan { display: none; }
  .wordmark-icon { height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard:hover, .btn-primary:hover, .jrow:hover { transform: none; }
}

/* ================================================================
   DESIGN SYSTEM v2 — inner pages (Products, Metering, Articles,
   About, Contact, Lab). Builds on the components above.
   ================================================================ */

/* first section on an inner page clears the fixed header */
.band.first { padding-top: 118px; border-top: none; }
.page-lede { color: var(--prose); max-width: 62ch; margin: 16px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; }

/* mono eyebrow used on inner-page + article headers */
.article-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan-l); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.article-eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.article-meta-v2 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 14px 0 0; }
.article-hero-img { width: 100%; max-width: 760px; height: auto; border-radius: 8px; border: 1px solid var(--hair); margin: 8px 0 36px; display: block; box-shadow: 0 12px 44px -18px rgba(0, 0, 0, 0.65); }

/* article body: wider reading column + smaller right-floated lead image */
.prose.article-prose { max-width: 900px; display: flow-root; }
.prose img.article-figure {
  float: right;
  width: 300px;
  max-width: 40%;
  margin: 4px 0 22px 32px;
  border-radius: 8px;
  border: 1px solid var(--hair);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.7);
}
/* right-floated meter window (Metering page, article layout) */
.prose .meter-figure {
  float: right;
  width: 380px;
  max-width: 48%;
  height: auto;
  margin: 2px 0 18px 34px;
}
.article-prose h2 { clear: right; }
@media (max-width: 640px) {
  .prose img.article-figure { float: none; width: 100%; max-width: 100%; margin: 0 0 22px; }
  .prose .meter-figure { float: none; width: 100%; max-width: 100%; margin: 0 0 24px; }
}

/* long-form editorial prose (articles, about) */
.prose { max-width: 68ch; color: var(--prose); font-size: 1.05rem; line-height: 1.8; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.3rem; }
.prose h2 { font-family: var(--sans); font-weight: 800; color: var(--ink); font-size: clamp(1.45rem, 2.6vw, 1.95rem); letter-spacing: -0.02em; margin: 2.6rem 0 1rem; line-height: 1.15; }
.prose h3 { font-family: var(--sans); font-weight: 700; color: var(--ink); font-size: 1.25rem; letter-spacing: -0.01em; margin: 2rem 0 0.8rem; }
.prose h4 { font-family: var(--sans); font-weight: 700; color: var(--ink); font-size: 1.05rem; letter-spacing: -0.005em; margin: 1.7rem 0 0.6rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { color: var(--prose); }
.prose a { color: var(--cyan-l); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--cyan); }
.prose ul, .prose ol { color: var(--prose); padding-left: 1.3rem; margin: 0 0 1.3rem; }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote { border-left: 2px solid var(--cyan); padding-left: 1.1rem; margin: 1.6rem 0; color: var(--muted); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--hair); margin: 2.2rem 0; }
.prose img { max-width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--hair); margin: 1.4rem 0; }
.prose-table-wrap { overflow-x: auto; margin: 1.6rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 420px; }
.prose th, .prose td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--hair); }
.prose th { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.prose td { color: var(--prose); }

/* format / spec badges */
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-l); border: 1px solid var(--hair-strong); padding: 6px 11px; border-radius: 4px; }

/* FAQ */
.faq { border-top: 1px solid var(--hair-strong); max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--hair); padding: 20px 0; }
.faq-q { font-family: var(--sans); font-weight: 700; color: var(--ink); font-size: 1.05rem; margin: 0 0 8px; }
.faq-a { color: var(--prose); margin: 0; font-size: 0.96rem; line-height: 1.6; }

/* mono back link */
.backlink-v2 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; }
.backlink-v2:hover { color: var(--cyan-l); }

/* contact + signup forms refined to v2 neutrals */
.form-group label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.form-group input, .form-group textarea, .signup-form input[type="email"] { border-color: var(--hair-strong); background: rgba(8, 13, 24, 0.6); border-radius: 4px; }
.form-group input:focus, .form-group textarea:focus, .signup-form input[type="email"]:focus { border-color: var(--cyan); }

/* signup submit -> match the .btn-primary language (mono uppercase, cyan gradient) */
.signup-form button {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  background: linear-gradient(100deg, #33cfff, #0088ff);
  color: #04101c;
  border: none;
  border-radius: 3px;
  padding: 14px 22px;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(51, 207, 255, 0.4), 0 8px 30px -10px rgba(0, 140, 230, 0.65);
  transition: transform 0.2s var(--ease-2), box-shadow 0.25s var(--ease-2);
}
.signup-form button:hover {
  background: linear-gradient(100deg, #33cfff, #0088ff);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(51, 207, 255, 0.6), 0 12px 38px -10px rgba(0, 150, 240, 0.8);
}

/* ================================================================
   DESIGN SYSTEM v2 — Mix Analyzer report (results state)
   CSS-only realignment to the Instrument grammar. No markup/JS
   changes — analyzer.js only targets element IDs.
   ================================================================ */

/* headings: cyan -> near-white (cyan stays a precious accent) */
.analyzer-section-title { color: var(--ink); font-family: var(--sans); letter-spacing: -0.01em; }
.analyzer-processing-title { color: var(--ink); }
.detail-panel-title {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border-bottom-color: var(--hair);
}

/* mono "instrument" type for every label, tick and readout */
.summary-card-label,
.summary-card-status,
.detail-label,
.file-info-label,
.file-info-value,
.analyzer-formats,
.analyzer-privacy,
.analyzer-progress-label,
.analyzer-processing-file,
.detail-explainer,
.tonal-bar-label,
.tonal-bar-pct,
.stereo-width-labels,
.phase-bar-labels { font-family: var(--mono); }

.summary-card-label { color: var(--muted); letter-spacing: 0.12em; }
.summary-card-value,
.detail-value { font-family: var(--mono); font-weight: 600; }

/* panels + cards: blue-biased hairline grammar */
.analyzer-overview-panel,
.analyzer-findings,
.analyzer-detail-combined { border-color: var(--hair); background: var(--panel); }
.summary-card { border-color: var(--hair); background: rgba(8, 13, 24, 0.45); }
.summary-card:hover { border-color: var(--hair-strong); }
.detail-section { border-bottom-color: var(--hair); }
.detail-row { border-bottom-color: var(--hair); }

/* reset / retry buttons inherit the v2 ghost-button look */
.analyzer-reset-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-color: var(--hair-strong);
  color: var(--prose);
  border-radius: 3px;
}
.analyzer-reset-btn:hover { border-color: rgba(51, 207, 255, 0.5); color: var(--ink); background: rgba(51, 207, 255, 0.05); }

/* ================================================================
   DESIGN SYSTEM v2 — Support hub + product manual (docs layout)
   ================================================================ */

/* ---- Support hub ---- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.support-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 26px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  text-decoration: none;
  transition: border-color 0.2s var(--ease-2), background 0.2s var(--ease-2), transform 0.2s var(--ease-2);
}
.support-card:hover { border-color: rgba(51, 207, 255, 0.45); background: var(--color-bg-card-hover); transform: translateY(-2px); }
.support-card .sc-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-l); }
.support-card .sc-title { font-family: var(--sans); font-weight: 700; color: var(--ink); font-size: 1.2rem; letter-spacing: -0.01em; }
.support-card .sc-desc { color: var(--prose); font-size: 0.95rem; line-height: 1.6; }
.support-card .sc-go { margin-top: auto; padding-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.support-card:hover .sc-go { color: var(--cyan-l); }
@media (max-width: 720px) { .support-grid { grid-template-columns: 1fr; } }

/* ---- Manual: docs layout (sticky TOC + content) ---- */
/* The global `body { overflow-x: hidden }` turns body into a scroll container,
   which breaks `position: sticky` inside it. `overflow-x: clip` still prevents
   horizontal scroll but does NOT create a scroll container, so the sticky TOC
   can track the viewport. Scoped to the manual page only. */
body.manual-page { overflow-x: clip; }
.manual-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 56px; align-items: start; }
.manual-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
.manual-toc .toc-head { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.manual-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--hair); }
.manual-toc a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1px;
  border-left: 1px solid transparent; font-size: 0.875rem; color: var(--muted);
  text-decoration: none; line-height: 1.35;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.manual-toc a:hover { color: var(--ink); }
.manual-toc a.active { color: var(--cyan-l); border-left-color: var(--cyan); }
.manual-main { max-width: 820px; min-width: 0; }
.manual-main section { scroll-margin-top: 88px; }
.manual-main h2, .manual-main h3, .manual-main h4 { scroll-margin-top: 88px; }
.manual-main section + section h2 { border-top: 1px solid var(--hair); padding-top: 2.4rem; }
@media (max-width: 900px) {
  .manual-layout { grid-template-columns: 1fr; gap: 8px; }
  .manual-toc { position: static; max-height: none; overflow: visible; margin-bottom: 28px; padding: 18px 20px; border: 1px solid var(--hair); border-radius: 10px; background: rgba(8, 13, 24, 0.45); }
}

/* ---- Manual: components ---- */
.callout {
  border: 1px solid var(--hair-strong); border-left-width: 2px; border-radius: 8px;
  background: rgba(10, 18, 32, 0.5); padding: 15px 18px; margin: 1.6rem 0;
  font-size: 0.96rem; line-height: 1.65; color: var(--prose);
}
.callout .co-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.callout p { margin: 0 0 0.6rem; }
.callout p:last-child { margin-bottom: 0; }
.callout.note { border-left-color: var(--cyan); } .callout.note .co-label { color: var(--cyan-l); }
.callout.tip  { border-left-color: #5fe0a8; }    .callout.tip .co-label  { color: #5fe0a8; }
.callout.warn { border-left-color: #ffb020; }    .callout.warn .co-label { color: #ffb020; }

.kbd {
  font-family: var(--mono); font-size: 0.8rem; color: var(--ink);
  background: rgba(120, 160, 210, 0.1); border: 1px solid var(--hair-strong);
  border-bottom-width: 2px; border-radius: 5px; padding: 2px 7px; white-space: nowrap;
}
.prose code:not(.kbd) {
  font-family: var(--mono); font-size: 0.86em; color: var(--cyan-l);
  background: rgba(51, 207, 255, 0.08); border: 1px solid var(--hair);
  border-radius: 4px; padding: 1px 5px;
}

/* figures */
.manual-figure { margin: 1.9rem 0; }
.manual-figure figcaption { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 12px; text-align: center; }

/* colour-language zone list */
.zone-list { margin: 1.4rem 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.zone-list li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--hair); color: var(--prose); font-size: 0.96rem; line-height: 1.55; }
.zone-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; }
.zone-dot.red   { background: #ff5a6a; box-shadow: 0 0 10px rgba(255, 90, 106, 0.5); }
.zone-dot.amber { background: #ffb020; box-shadow: 0 0 10px rgba(255, 176, 32, 0.45); }
.zone-dot.green { background: #5fe0a8; box-shadow: 0 0 10px rgba(95, 224, 168, 0.45); }
.zone-list strong { color: var(--ink); font-weight: 600; }

/* ---- Manual: screenshots + callouts ---- */
.shot { border: 1px solid var(--hair-strong); border-radius: 12px; overflow: hidden; background: rgba(6, 11, 20, 0.6); box-shadow: 0 20px 60px -28px rgba(0, 0, 0, 0.8); }
.shot img { display: block; width: 100%; height: auto; }
.shot-cap { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 11px; text-align: center; }

/* close-up + explanation, side by side */
.detail-shot { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 28px; align-items: center; margin: 1.7rem 0; }
.detail-shot.narrow { grid-template-columns: minmax(0, 210px) 1fr; }
.detail-shot .shot { align-self: start; }
.detail-shot .ds-text > :first-child { margin-top: 0; }
.detail-shot .ds-text > :last-child { margin-bottom: 0; }
@media (max-width: 640px) { .detail-shot, .detail-shot.narrow { grid-template-columns: 1fr; gap: 14px; } }

/* two-up row (centre postures, themes) */
.shot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 1.7rem 0; align-items: start; }
.shot-row.trio { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .shot-row, .shot-row.trio { grid-template-columns: 1fr; } }

/* tall Settings-panel shot: float it so intro + tables flow beside it at native width */
.settings-shot { float: right; width: 240px; margin: 2px 0 18px 30px; }
@media (max-width: 820px) { .settings-shot { float: none; width: 100%; max-width: 240px; margin: 0 0 18px; } }

/* ================================================================
   PRODUCT RELEASE PAGE — Arcoline (products/metering.html)
   Reuses v2 tokens + the manual's .shot grammar; adds scoped helpers
   for the hero, split feature rows, the measurement grid and the
   closing download band.
   ================================================================ */

/* hero */
.prod-hero { max-width: 860px; }
.prod-hero .pill { margin: 18px 0 0; }
.prod-title { font-family: var(--sans); font-weight: 800; font-size: clamp(2.1rem, 4.8vw, 3.4rem); letter-spacing: -0.035em; color: var(--ink); line-height: 1.03; margin: 14px 0 18px; }
.prod-title em { font-style: normal; background: linear-gradient(100deg, #9be8ff, #33cfff 55%, #0088ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prod-sub { color: var(--prose); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.62; max-width: 58ch; margin: 0 0 26px; }
.prod-hero .cta-row { margin-bottom: 16px; }
.prod-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.prod-note b { color: var(--cyan-l); font-weight: 500; }

/* app-icon lockups (hero + flagship card) */
.prod-lockup { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.prod-appicon { width: 66px; height: 66px; border-radius: 15px; display: block; flex: none; box-shadow: 0 12px 34px -12px rgba(0, 130, 220, 0.7); }
.prod-wordmark { font-family: var(--sans); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.prod-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan-l); margin-top: 8px; }
.flag-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.flag-brand .flag-name { margin: 0; }
.flag-appicon { width: 46px; height: 46px; border-radius: 11px; display: block; flex: none; }
.prod-hero-shot { margin: 44px 0 0; }
.prod-hero-shot figcaption { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 12px; text-align: center; }

/* split feature row: media + copy, reversible */
.prod-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.prod-split + .prod-split { margin-top: 66px; }
.prod-split.rev .ps-media { order: 2; }
.ps-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan-l); margin-bottom: 12px; }
.ps-copy h3 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.95rem); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 12px; line-height: 1.12; }
.ps-copy p { color: var(--prose); font-size: 1.02rem; line-height: 1.7; margin: 0 0 14px; max-width: 48ch; }
.ps-copy p:last-child { margin-bottom: 0; }
.ps-media.narrow { max-width: 340px; margin: 0 auto; }

/* measurement grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.feature-card { border: 1px solid var(--hair); border-radius: 10px; background: var(--panel); padding: 22px 22px 24px; transition: border-color 0.2s var(--ease-2), transform 0.2s var(--ease-2); }
.feature-card:hover { border-color: var(--hair-strong); transform: translateY(-2px); }
.feature-card .fc-metric { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-l); margin-bottom: 11px; }
.feature-card .fc-name { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 9px; }
.feature-card p { color: var(--prose); font-size: 0.93rem; line-height: 1.6; margin: 0; }

/* closing download band */
.prod-cta { border: 1px solid var(--hair-strong); border-radius: 14px; background: radial-gradient(120% 150% at 50% -30%, rgba(0, 120, 210, 0.14), transparent 60%), var(--panel); padding: 46px 40px; text-align: center; }
.prod-cta .pill { justify-content: center; margin-bottom: 16px; }
.prod-cta h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 10px; border: none; padding: 0; }
.prod-cta > p { color: var(--prose); max-width: 52ch; margin: 0 auto 24px; font-size: 1rem; line-height: 1.6; }
.prod-cta .cta-row { justify-content: center; }
.prod-secondary { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 22px; }
.prod-secondary a { color: var(--cyan-l); text-decoration: none; }
.prod-secondary a:hover { color: var(--cyan); }

/* fine-print legal note under the download (EULA + licenses, per product).
   Scoped under .prod-cta so it beats the band's `.prod-cta > p` base rule. */
.prod-cta .prod-legal { font-size: 0.72rem; color: var(--faint); line-height: 1.5; margin: 22px auto 0; max-width: 460px; opacity: 0.8; }
.prod-cta .prod-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(120, 160, 210, 0.3); transition: color 0.2s var(--ease-2), text-decoration-color 0.2s var(--ease-2); }
.prod-cta .prod-legal a:hover { color: var(--cyan-l); text-decoration-color: currentColor; }

/* optional, non-blocking "get updates" signup at the foot of the download band */
.prod-updates { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--hair); }
.prod-updates-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.signup-form[hidden] { display: none; }               /* beats .signup-form's display:flex */
.signup-form button:disabled { opacity: .6; cursor: default; }
.signup-status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--muted); margin: 14px auto 0; max-width: 460px; line-height: 1.5; }
.signup-status[hidden] { display: none; }
.signup-status.is-ok { color: #5fe0a8; }
.signup-status.is-error { color: #ff8b96; }
.spec-strip { display: flex; flex-wrap: wrap; margin: 32px auto 0; border: 1px solid var(--hair); border-radius: 8px; overflow: hidden; max-width: 760px; }
.spec-strip div { flex: 1 1 150px; padding: 14px 16px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.spec-strip .lab { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.spec-strip .val { font-family: var(--mono); font-size: 12.5px; color: var(--ink); font-weight: 500; }

@media (max-width: 768px) {
  .prod-split { grid-template-columns: 1fr; gap: 22px; }
  .prod-split.rev .ps-media { order: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .prod-cta { padding: 34px 22px; }
}
