:root {
  /* Palette */
  --bg: #faf8f3;
  --bg-elevated: #ffffff;
  --bg-dark: #0d1117;
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --text-muted: #8a8780;
  --border: #e8e4da;
  --border-strong: #d4cfc0;
  --accent: #1b3a5f;
  --accent-hover: #15304f;
  --copper: #a0552a;
  --emerald: #10b981;
  --brand-font: Montserrat;

  /* Typography */
  --font-display: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
    text-decoration: none;
}
.brand__logo {
    height: 32px;
    width: auto;
    flex-shrink: 0;
    display: block;
}
.brand__name {
    font-family: var(--brand-font);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    line-height: 1;
}
.brand__name-accent {
    color: var(--copper);
}
.site-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}
.site-nav a {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--text-primary); }

/* --- Hero --- */
.hero {
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 30%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(27, 58, 95, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0 0 clamp(1.75rem, 3vw, 2.25rem);
  max-width: 18ch;
  color: var(--text-primary);
}
.hero__headline em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 52ch;
  margin: 0 0 clamp(2.25rem, 4vw, 3rem);
  font-weight: 400;
}
.hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--text-primary);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn--secondary:hover {
  border-color: var(--text-primary);
  transform: translateY(-1px);
}
.btn__arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}
.btn:hover .btn__arrow { transform: translateX(3px); }
.hero__microcopy {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0;
}

/* --- Section base --- */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--border);
}
.section__eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.section__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0 0 1rem;
  max-width: 22ch;
}
.section__heading em { font-style: italic; color: var(--accent); }
.section__intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0 0 clamp(3rem, 5vw, 4rem);
}

/* --- Products --- */
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 820px) {
  .products__grid { grid-template-columns: 1fr; }
}
.product-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1.75rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px -16px rgba(10, 10, 10, 0.12);
}
.product-card__thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}
/* 360Converter thumbnail */
.thumb--converter {
  background: linear-gradient(135deg, #fdfcf7 0%, #f0ece0 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.thumb--converter .waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
}
.thumb--converter .waveform span {
  flex: 1;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.55;
}
.thumb--converter .transcript {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.thumb--converter .transcript .ts {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  margin-right: 0.5rem;
}
.thumb--converter .transcript .speaker {
  color: var(--accent);
  font-weight: 500;
}
/* Vault AI thumbnail */
.thumb--vault {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #e6edf3;
}
.thumb--vault .doc-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 11px;
  color: #8b949e;
  font-family: var(--font-body);
  margin-bottom: 0.4rem;
}
.thumb--vault .doc-row .dot {
  width: 6px; height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  flex-shrink: 0;
}
.thumb--vault .answer {
  font-size: 12px;
  line-height: 1.55;
  color: #c9d1d9;
  border-left: 2px solid var(--emerald);
  padding-left: 0.75rem;
}
.thumb--vault .answer em { color: var(--emerald); font-style: normal; font-weight: 500; }

.product-card__tag {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.product-card__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0 0 0.5rem;
}
.product-card__title em { font-style: italic; color: var(--accent); }
.product-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.product-card__capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.capability {
  font-size: 12.5px;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
}
.product-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.18s ease;
}
.product-card__link:hover { gap: 0.7rem; }

/* --- Why offline-first --- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 820px) {
  .why__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.reason__number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.reason__title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
  color: var(--text-primary);
}
.reason__body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* --- Trust strip --- */
.trust {
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.25rem;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}
.trust__row .dot {
  width: 3px; height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  opacity: 0.6;
}

/* --- Closing CTA --- */
.closing {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0 0 1rem;
}
.closing__heading em { font-style: italic; color: var(--accent); }
.closing__body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 50ch;
  margin: 0 auto 2.25rem;
}
.closing__ctas {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Footer --- */
.site-footer {
  background: var(--text-primary);
  color: #d4d0c5;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.site-footer a { color: #d4d0c5; transition: color 0.15s ease; }
.site-footer a:hover { color: #faf8f3; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}
.footer__brand .brand { margin-bottom: 0.75rem; }
.footer__brand .brand__name { color: var(--bg); }
.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: #b6b1a3;
  margin: 0 0 0.5rem;
  max-width: 32ch;
}
.footer__location {
  font-size: 13px;
  color: #8a8780;
  margin: 0;
}
.footer__col h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8780;
  font-weight: 500;
  margin: 0 0 1rem;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__col li a {
  font-size: 14.5px;
}
.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 13px;
  color: #8a8780;
}

/* --- Subtle entrance --- */
@media (prefers-reduced-motion: no-preference) {
  .hero__headline, .hero__sub, .hero__ctas, .hero__microcopy, .hero__eyebrow {
    opacity: 0;
    transform: translateY(8px);
    animation: rise 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
  }
  .hero__eyebrow { animation-delay: 0.05s; }
  .hero__headline { animation-delay: 0.15s; }
  .hero__sub { animation-delay: 0.3s; }
  .hero__ctas { animation-delay: 0.4s; }
  .hero__microcopy { animation-delay: 0.5s; }
  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ============================================================
 * CONTACT PAGE styles — append to web/css/site.css
 * ============================================================ */

/* Active nav state (shared, all pages) */
.site-nav a.is-active { color: var(--text-primary); }

/* Page header (re-used by /contact, and later /about, /privacy, /terms) */
.page-header {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: 20%; right: -10%;
  width: 45%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(27, 58, 95, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.page-header__eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}
.page-header__heading {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0 0 1.25rem;
  max-width: 14ch;
  color: var(--text-primary);
}
.page-header__heading em { font-style: italic; color: var(--accent); }
.page-header__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0;
}

/* Contact section */
.contact-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Form card */
.contact-form-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 0.35rem;
}
.contact-form-wrap h2 em { font-style: italic; color: var(--accent); }
.contact-form-wrap__intro {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field > label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
  letter-spacing: -0.005em;
}
.form-field > label .req {
  color: var(--accent);
  margin-left: 2px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: var(--font-body);
}
.form-field textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27, 58, 95, 0.1);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23525252' stroke-width='1.5' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
.contact-form__submit {
  margin-top: 0.5rem;
  align-self: flex-start;
}
.contact-form__notice {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  line-height: 1.5;
}
.contact-form__notice-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-form__notice-link:hover { color: var(--text-secondary); }

.form-errors {
  background: #fef3f2;
  border: 1px solid #fbcfc3;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 14.5px;
  color: #9b2c1a;
}
.form-errors p { margin: 0 0 0.4rem; font-weight: 500; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-errors li { margin-bottom: 0.2rem; }

/* Sidebar */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.aside-group__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
  font-weight: 500;
}
.aside-group__email {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin: 0;
  display: inline-block;
  transition: color 0.15s ease;
}
.aside-group__email:hover { color: var(--accent-hover); }
.aside-group__body {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0.4rem 0 0;
}
.aside-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}
.aside-product + .aside-product { margin-top: 1.4rem; }
.aside-product__name {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: var(--text-primary);
}
.aside-product__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}
.aside-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.18s ease;
}
.aside-link:hover { gap: 0.6rem; }
.aside-link .btn__arrow { font-size: 14px; }

.address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.address strong {
  color: var(--text-primary);
  font-weight: 500;
}
.hours {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0.85rem 0 0;
}

/* ============================================================
 * PRODUCTS PAGE styles — append to web/css/site.css
 * ============================================================ */

/* Product detail section (zigzag layout) */
.product-detail {
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--border);
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .product-detail__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Reversed layout for Vault AI section */
.product-detail--reversed .product-detail__visual { order: 2; }
.product-detail--reversed .product-detail__content { order: 1; }
@media (max-width: 900px) {
  .product-detail--reversed .product-detail__visual,
  .product-detail--reversed .product-detail__content { order: unset; }
}

/* Visual side */
.product-detail__visual {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

/* Content side */
.product-detail__eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.product-detail__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}
.product-detail__heading em { font-style: italic; color: var(--accent); }
.product-detail__lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 1.75rem;
}

/* Feature list (arrow markers) */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.feature-list li {
  font-size: 15px;
  color: var(--text-primary);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}
.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 500;
}

/* ---- 360Converter large mockup ---- */
.thumb--converter-large {
  background: linear-gradient(135deg, #fdfcf7 0%, #f0ece0 100%);
  padding: 0;
}
.thumb--converter-large .mockup-bar {
  background: rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  color: var(--text-muted);
}
.mockup-bar__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mockup-bar__dot--red    { background: #ed6a5e; }
.mockup-bar__dot--yellow { background: #f4be4f; }
.mockup-bar__dot--green  { background: #61c554; }
.mockup-bar__dot--gray   { background: #3a3f47; }
.mockup-bar__title {
  margin-left: 0.6rem;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.01em;
}

.thumb--converter-large .waveform-large {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 56px;
  padding: 1.25rem 1.5rem 0.75rem;
}
.thumb--converter-large .waveform-large span {
  flex: 1;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.5;
}

.thumb--converter-large .transcript-large {
  padding: 0.5rem 1.5rem 1rem;
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
}
.thumb--converter-large .transcript-large .ts {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  margin-right: 0.6rem;
  font-size: 11px;
}
.thumb--converter-large .transcript-large .speaker {
  color: var(--accent);
  font-weight: 500;
  margin-right: 0.4rem;
}

.thumb--converter-large .mockup-status {
  padding: 0.7rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.02);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--green   { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,0.15); }
.status-dot--emerald { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,0.18); }

/* ---- Vault AI large mockup ---- */
.thumb--vault-large {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  color: #e6edf3;
  padding: 0;
}
.thumb--vault-large .mockup-bar--dark {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  color: #8b949e;
}
.mockup-bar__title--dark { color: #c9d1d9; }

.thumb--vault-large .vault-collection {
  padding: 1rem 1.5rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.vault-collection__label {
  font-size: 11.5px;
  color: #8b949e;
  margin: 0;
  font-family: var(--font-body);
}

.thumb--vault-large .vault-prompt {
  padding: 1rem 1.5rem;
  font-size: 13.5px;
  color: #e6edf3;
  font-family: var(--font-body);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.vault-prompt__caret {
  color: var(--emerald);
  font-weight: 600;
  flex-shrink: 0;
}

.thumb--vault-large .vault-answer {
  padding: 1rem 1.5rem;
  font-size: 12.5px;
  line-height: 1.6;
  color: #c9d1d9;
  flex: 1;
  border-left: 2px solid var(--emerald);
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  margin-top: 0.5rem;
  padding-left: 0.85rem;
  padding-right: 0;
}
.thumb--vault-large .vault-answer p { margin: 0 0 0.5rem; }
.thumb--vault-large .vault-answer p:last-child { margin-bottom: 0; }
.thumb--vault-large .vault-answer strong { color: var(--emerald); font-weight: 500; }

.thumb--vault-large .mockup-status--dark {
  padding: 0.7rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11.5px;
  color: #8b949e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  margin-top: auto;
}

/* ---- Comparison ("Which is right for you") ---- */
.comparison__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2.5rem;
}
@media (max-width: 820px) {
  .comparison__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.comparison__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}
.comparison__title em { font-style: italic; color: var(--accent); }
.comparison__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.comparison__list li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.55;
}
.comparison__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 500;
}
.comparison__note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
 * ABOUT PAGE styles — append to web/css/site.css
 * ============================================================ */

/* Prose blocks — comfortable reading-column layout for narrative sections */
.prose {
  max-width: 68ch;
}
.prose p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
}
.prose p:last-child { margin-bottom: 0; }
.prose p strong {
  color: var(--text-primary);
  font-weight: 500;
}
.prose__lede {
  font-size: 1.2rem !important;
  color: var(--text-primary) !important;
  line-height: 1.55 !important;
  margin-bottom: 1.75rem !important;
}
.prose__pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.45rem !important;
  line-height: 1.4 !important;
  color: var(--text-primary) !important;
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  margin-top: 2rem !important;
  margin-bottom: 0 !important;
  max-width: 50ch;
}
.prose__link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.prose__link:hover { color: var(--accent-hover); }

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: var(--border-strong);
}
.timeline__item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 2rem;
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline__year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.01em;
}
.timeline__content h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.timeline__content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 55ch;
}
@media (max-width: 620px) {
  .timeline {
    padding-left: 1.5rem;
  }
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-bottom: 2rem;
  }
  .timeline__item::before {
    left: -1.5rem;
  }
  .timeline__year {
    font-size: 1.65rem;
    margin-bottom: 0.25rem;
  }
}

/* Studio grid (founder + office) */
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2.5rem;
}
@media (max-width: 820px) {
  .studio-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.studio-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2rem);
}
.studio-card__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
  font-weight: 500;
}
.studio-card__name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0 0 1rem;
}
.studio-card__bio {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.studio-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 62ch;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  line-height: 1.55;
}

/* ============================================================
 * LEGAL PAGES styles (Privacy, Terms) — append to web/css/site.css
 * ============================================================ */

/* "Last updated" stamp under page-header lead */
.last-updated {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 1.5rem 0 0;
  font-family: var(--font-body);
}

/* Table of contents (legal-toc-wrap is the section, legal-toc is the nav) */
.legal-toc-wrap {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.legal-toc {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.legal-toc__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 0.25rem;
}
.legal-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.legal-toc__list li {
  display: inline-block;
}
.legal-toc__list li::after {
  content: "·";
  color: var(--text-muted);
  margin: 0 0.55rem;
  opacity: 0.6;
}
.legal-toc__list li:last-child::after { content: ""; margin: 0; }
.legal-toc__list a {
  color: var(--text-secondary);
  font-size: 14.5px;
  transition: color 0.15s ease;
}
.legal-toc__list a:hover { color: var(--accent); }

/* H3 sub-heading inside .prose (used for "Information you provide" etc.) */
.prose h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 1.75rem 0 0.65rem;
  letter-spacing: -0.005em;
}
.prose h3:first-child { margin-top: 0; }

/* Bulleted lists inside .prose */
.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}
.prose ul li {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.prose ul li strong {
  color: var(--text-primary);
  font-weight: 500;
}
.prose ul li:last-child { margin-bottom: 0; }

/* Smooth scroll for ToC anchor jumps */
html {
  scroll-padding-top: 84px;  /* clears the sticky header */
}

/* ============================================================
 * ERROR PAGE styles — append to web/css/site.css
 * ============================================================ */

.error-page {
  padding: clamp(5rem, 12vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.error-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 760px;
}
@media (max-width: 620px) {
  .error-links { grid-template-columns: 1fr; }
}

.error-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.error-link:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -12px rgba(10, 10, 10, 0.1);
}
.error-link__label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.015em;
}
.error-link__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Image-based product thumbnails */
.product-card__thumb--image,
.product-detail__visual--image {
    padding: 0;
    background: var(--bg-elevated);
}
.product-card__thumb--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.product-detail__visual--image {
    min-height: auto;
    display: block;
}
.product-detail__visual--image img {
    width: 100%;
    height: auto;
    display: block;
}

/* === Hover-to-zoom for product image thumbnails === */
.product-card__thumb--image,
.product-detail__visual--image {
    cursor: zoom-in;
    position: relative;
}

.zoom-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.25s ease;
}

.zoom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.97);
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.25s ease,
                transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.zoom-popup img {
    display: block;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 25px 80px -16px rgba(0, 0, 0, 0.5);
}

.product-card__thumb--image:hover .zoom-backdrop,
.product-card__thumb--image:hover .zoom-popup,
.product-detail__visual--image:hover .zoom-backdrop,
.product-detail__visual--image:hover .zoom-popup {
    opacity: 1;
}
.product-card__thumb--image:hover .zoom-popup,
.product-detail__visual--image:hover .zoom-popup {
    transform: translate(-50%, -50%) scale(1);
}

/* Touch devices: no hover, disable the popup */
@media (hover: none), (max-width: 820px) {
    .zoom-backdrop, .zoom-popup { display: none; }
    .product-card__thumb--image,
    .product-detail__visual--image { cursor: default; }
}
