/* ============================================================
   FIRESLEEVE / S RILEY FABRICATIONS — shared site styles
   Plus Jakarta Sans typeface, multi-page site
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

:root {
  --bg:          #fbfbfd;
  --bg-dark:     #000000;
  --bg-grey:     #f5f5f7;
  --ink:         #1d1d1f;
  --ink-soft:    #6e6e73;
  --link:        #0066cc;
  --link-hov:    #0077ed;
  --rust:        #b8421c;
  --hairline:    #d2d2d7;
  --hairline-d:  #424245;

  --font-sf: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-brand: 'Barlow Condensed', 'Plus Jakarta Sans', Arial Narrow, sans-serif;
  --brand-orange: #e07010;
}

body {
  font-family: var(--font-sf);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.014em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hov); text-decoration: underline; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  position: relative;
}
.nav a, .nav button {
  color: #f5f5f7;
  font-size: 12px;
  letter-spacing: -0.01em;
  opacity: 0.8;
  transition: opacity 0.2s;
  text-decoration: none;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}
.nav a:hover, .nav button:hover { opacity: 1; color: #f5f5f7; text-decoration: none; }
.nav a.active { opacity: 1; }
.nav-logo {
  opacity: 1 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  text-decoration: none;
}
.nav-logo .logo-img {
  width: 32px;
  height: 32px;
  display: inline-block;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(220,100,0,0.45));
}
.nav-logo .logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .logo-text .brand-name {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-orange);
  display: block;
}
.nav-logo .logo-text .brand-sub {
  font-family: var(--font-brand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,245,247,0.55);
  display: block;
  margin-top: 1px;
}
.nav-logo .dot { display: none; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-mobile-toggle {
  display: none;
  font-size: 20px !important;
  opacity: 1 !important;
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dropdown-toggle::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
  margin-top: -3px;
  transition: transform 0.2s;
}
.has-dropdown[aria-expanded="true"] .dropdown-toggle::after {
  transform: rotate(-135deg);
  margin-top: 1px;
}

/* Apple-style full-width drawer dropdown */
.dropdown-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 0 0 18px 18px;
  padding: 36px 44px 40px;
  min-width: 760px;
  display: none;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.has-dropdown[aria-expanded="true"] .dropdown-panel { display: block; }

@media (max-width: 920px) {
  .dropdown-panel { display: none !important; }
}

.dropdown-eyebrow {
  font-size: 12px;
  color: #86868b;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 24px;
}
.dropdown-grid a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  opacity: 1;
  padding: 0;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.dropdown-grid a:hover { opacity: 0.7; text-decoration: none; }
.dp-thumb {
  width: 80px;
  height: 80px;
  background: #1d1d1f;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dp-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.dp-name {
  font-size: 14px;
  font-weight: 500;
  color: #f5f5f7;
  letter-spacing: -0.01em;
}
.dp-desc {
  font-size: 11px;
  color: #86868b;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 44px; left: 0; right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9998;
  padding: 24px 22px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: #f5f5f7;
  font-size: 17px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  letter-spacing: -0.022em;
}
.mobile-menu a:hover { color: #f5f5f7; text-decoration: none; }
.mobile-menu .mm-section {
  font-size: 12px;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 16px 0 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu .mm-product {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding-left: 0 !important;
}
.mobile-menu .mm-product .dp-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ============ PROMO BAR ============ */
.promo {
  background: var(--bg-grey);
  text-align: center;
  padding: 14px 22px;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.promo a { font-size: 14px; }

/* ============ TILE SYSTEM ============ */
.tiles {
  display: grid;
  gap: 12px;
  padding: 12px;
}
.tiles-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tiles-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px) {
  .tiles-row-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 734px) {
  .tiles-row, .tiles-row-3 { grid-template-columns: 1fr; }
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 56px 22px 0;
}
.tile-light { background: var(--bg-grey); color: var(--ink); }
.tile-dark  { background: var(--bg-dark);  color: #f5f5f7; }

.tile-eyebrow {
  font-size: 14px;
  line-height: 1.21;
  font-weight: 600;
  letter-spacing: -0.016em;
  margin-bottom: 8px;
  opacity: 0.85;
}
.tile h2 {
  font-size: 56px;
  line-height: 1.07143;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.tile h3 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.tile-sub {
  font-size: 21px;
  line-height: 1.19048;
  font-weight: 400;
  letter-spacing: 0.011em;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto;
}
.tile-dark .tile-sub { color: #a1a1a6; }

.tile-ctas {
  margin-top: 18px;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 980px;
  font-size: 17px;
  line-height: 1.17648;
  font-weight: 400;
  letter-spacing: -0.022em;
  transition: background 0.15s, color 0.15s;
}
.btn-fill { background: var(--link); color: #fff; }
.btn-fill:hover { background: var(--link-hov); color: #fff; text-decoration: none; }
.btn-link { color: var(--link); padding: 4px 0; }
.btn-link:hover { color: var(--link-hov); text-decoration: none; }
.btn-link::after {
  content: '›';
  margin-left: 4px;
  font-size: 19px;
  transition: transform 0.15s;
  display: inline-block;
}
.btn-link:hover::after { transform: translateX(2px); }

.tile-visual {
  margin-top: auto;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 30px;
  width: 100%;
}
.tile-visual img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
}
.tile-meta {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}
.tile-dark .tile-meta { color: #86868b; }

/* Full-bleed hero (homepage) */
.hero-fullbleed {
  background: var(--bg-grey);
  width: 100%;
  padding-top: 64px;
  overflow: hidden;
}
.hero-fullbleed-copy {
  text-align: center;
  padding: 0 22px 40px;
  max-width: 980px;
  margin: 0 auto;
}
.hero-fullbleed-copy h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
  color: var(--ink);
}
.hero-fullbleed-copy .tile-sub {
  font-size: 28px;
  line-height: 1.10722;
  letter-spacing: 0.004em;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto;
}
.hero-fullbleed-ctas {
  margin-top: 18px;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-fullbleed-img {
  width: 100%;
  line-height: 0;
}
.hero-fullbleed-img img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 1068px) {
  .hero-fullbleed-copy h1 { font-size: 52px; }
  .hero-fullbleed-copy .tile-sub { font-size: 24px; }
  .hero-fullbleed-img img { height: 500px; }
}
@media (max-width: 734px) {
  .hero-fullbleed { padding-top: 48px; }
  .hero-fullbleed-copy { padding-bottom: 32px; }
  .hero-fullbleed-copy h1 { font-size: 36px; line-height: 1.1; letter-spacing: -0.015em; }
  .hero-fullbleed-copy .tile-sub { font-size: 19px; }
  .hero-fullbleed-img img { height: 340px; }
}

/* Hero tile (legacy — used on product pages) */
.hero-tile {
  grid-column: 1 / -1;
  background: var(--bg-grey);
  color: var(--ink);
  border-radius: 18px;
  min-height: 692px;
  overflow: hidden;
  position: relative;
  text-align: center;
  padding: 64px 22px 0;
  display: flex;
  flex-direction: column;
}
.hero-tile.dark { background: var(--bg-dark); color: #f5f5f7; }
.hero-tile h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}
.hero-tile .tile-sub {
  font-size: 28px;
  line-height: 1.10722;
  letter-spacing: 0.004em;
  font-weight: 400;
}
.hero-tile.dark .tile-sub { color: #a1a1a6; }
.hero-tile .tile-visual img { max-height: 480px; }

@media (max-width: 1068px) {
  .hero-tile h1 { font-size: 52px; }
  .hero-tile .tile-sub { font-size: 24px; }
  .tile h2 { font-size: 48px; }
  .tile h3 { font-size: 32px; }
}
@media (max-width: 734px) {
  .hero-tile { min-height: 580px; padding: 48px 22px 0; }
  .hero-tile h1 { font-size: 36px; line-height: 1.1; letter-spacing: -0.015em; }
  .hero-tile .tile-sub { font-size: 19px; }
  .tile { min-height: 540px; padding: 48px 22px 0; }
  .tile h2 { font-size: 36px; line-height: 1.11; }
  .tile h3 { font-size: 28px; }
  .tile .tile-sub { font-size: 17px; }
}

/* ============ PRODUCT PAGE LAYOUT ============ */

/* Product hero (above the fold on a product page) */
.product-hero {
  background: var(--bg-grey);
  padding: 80px 22px 60px;
  text-align: center;
}
.product-hero.dark { background: var(--bg-dark); color: #f5f5f7; }
.product-hero.white { background: #ffffff; }
.product-hero .eyebrow {
  font-size: 17px;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.product-hero.dark .eyebrow { color: #86868b; }
.product-hero h1 {
  font-size: 80px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.product-hero .tagline {
  font-size: 28px;
  line-height: 1.10722;
  letter-spacing: 0.004em;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 28px;
}
.product-hero.dark .tagline { color: #a1a1a6; }
.product-hero .ctas {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.product-hero-img {
  max-width: 760px;
  margin: 0 auto;
}
.product-hero-img img {
  max-height: 460px;
  width: auto;
  margin: 0 auto;
}
@media (max-width: 1068px) {
  .product-hero h1 { font-size: 64px; }
  .product-hero .tagline { font-size: 24px; }
}
@media (max-width: 734px) {
  .product-hero { padding: 56px 22px 40px; }
  .product-hero h1 { font-size: 40px; line-height: 1.1; }
  .product-hero .tagline { font-size: 19px; }
  .product-hero-img img { max-height: 320px; }
}

/* What's it used for / overview band */
.overview {
  background: var(--bg);
  padding: 100px 22px;
  text-align: center;
}
.overview-inner { max-width: 760px; margin: 0 auto; }
.overview h2 {
  font-size: 48px;
  line-height: 1.0834933333;
  font-weight: 600;
  letter-spacing: -0.003em;
  margin-bottom: 20px;
}
.overview p {
  font-size: 21px;
  line-height: 1.381002381;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
@media (max-width: 734px) {
  .overview { padding: 70px 22px; }
  .overview h2 { font-size: 32px; }
  .overview p { font-size: 17px; }
}

/* Use cases (bullet grid) */
.use-cases {
  background: var(--bg-grey);
  padding: 100px 22px;
}
.use-cases-inner { max-width: 980px; margin: 0 auto; }
.use-cases h2 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.003em;
  text-align: center;
  margin-bottom: 60px;
}
@media (max-width: 734px) {
  .use-cases { padding: 70px 22px; }
  .use-cases h2 { font-size: 32px; margin-bottom: 40px; }
}
.use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 600px) { .use-grid { grid-template-columns: 1fr; } }
.use-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
}
.use-card .num {
  font-size: 13px;
  font-weight: 600;
  color: var(--rust);
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}
.use-card .ttl {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.use-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.47;
}

/* ============ SPEC TABLE ============ */
.spec-section {
  background: var(--bg);
  padding: 100px 22px 120px;
}
.spec-inner { max-width: 980px; margin: 0 auto; }
.spec-section h2 {
  font-size: 48px;
  line-height: 1.0834933333;
  font-weight: 600;
  letter-spacing: -0.003em;
  text-align: center;
  margin-bottom: 12px;
}
.spec-section .lede {
  font-size: 21px;
  line-height: 1.381002381;
  color: var(--ink-soft);
  text-align: center;
  max-width: 660px;
  margin: 0 auto 60px;
}
@media (max-width: 734px) {
  .spec-section { padding: 70px 22px; }
  .spec-section h2 { font-size: 32px; }
  .spec-section .lede { font-size: 17px; }
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-radius: 18px;
  overflow: hidden;
}
.spec-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 734px) {
  .spec-grid, .spec-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

.spec-cell {
  background: #fff;
  padding: 28px 24px 32px;
  text-align: left;
}
.spec-cell .l {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
  line-height: 1.4;
  min-height: 34px;
}
.spec-cell .v {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.spec-cell .v.lg { font-size: 32px; }
.spec-cell .v .u {
  font-size: 16px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-left: 2px;
}
.spec-cell .n {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* Detailed properties table (long list of test methods) */
.detail-table {
  margin-top: 32px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.dt-header, .dt-row {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.4fr;
  padding: 14px 24px;
  font-size: 14px;
  align-items: center;
  gap: 16px;
}
.dt-header {
  background: var(--bg-grey);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.dt-row {
  border-top: 1px solid var(--hairline);
}
.dt-row .prop { font-weight: 500; }
.dt-row .val { color: var(--ink); }
.dt-row .test { color: var(--ink-soft); font-size: 13px; }
@media (max-width: 600px) {
  .dt-header, .dt-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .dt-header .test, .dt-header .val { display: none; }
  .dt-row .test::before { content: 'Test: '; color: var(--ink-soft); }
  .dt-row .val::before { content: 'Value: '; color: var(--ink-soft); }
}

.standards {
  margin-top: 32px;
  text-align: center;
}
.standards-label {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.standards-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.standards-list span {
  font-size: 14px;
  padding: 6px 14px;
  border: 1px solid var(--hairline);
  border-radius: 980px;
  color: var(--ink);
  background: #fff;
}

/* Datasheet download CTA card */
.datasheet-cta {
  margin-top: 40px;
  background: var(--bg-grey);
  border-radius: 18px;
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.datasheet-cta .dc-text { flex: 1; min-width: 280px; }
.datasheet-cta h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.datasheet-cta p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* ============ COLOURS ON PRODUCT PAGE ============ */
.colours-band {
  background: var(--bg-grey);
  padding: 100px 22px;
  text-align: center;
}
.colours-band h2 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.003em;
  margin-bottom: 12px;
}
.colours-band .lede {
  font-size: 21px;
  color: var(--ink-soft);
  margin-bottom: 56px;
}
@media (max-width: 734px) {
  .colours-band { padding: 70px 22px; }
  .colours-band h2 { font-size: 32px; }
  .colours-band .lede { font-size: 17px; }
}
.colour-row {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.colour-row.single { grid-template-columns: repeat(1, minmax(0, 360px)); justify-content: center; }
.colour-row.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
@media (max-width: 734px) { .colour-row { grid-template-columns: repeat(2, 1fr); } }

.swatch {
  aspect-ratio: 4/5;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.swatch:hover { transform: scale(1.02); }
.swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55));
}
.swatch-text {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  text-align: center;
  z-index: 2;
  color: #fff;
}
.swatch-text .n {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.swatch-text .c {
  font-size: 13px;
  margin-top: 2px;
  opacity: 0.85;
}
.sw-rust   { background: linear-gradient(135deg, #d65a2e 0%, #8C2E12 100%); }
.sw-blue   { background: linear-gradient(135deg, #2664a3 0%, #0F2B47 100%); }
.sw-silver { background: linear-gradient(135deg, #d8d5ce 0%, #7a7670 100%); }
.sw-black  { background: linear-gradient(135deg, #2a2724 0%, #0a0807 100%); }

/* ============ STAT STRIP ============ */
.stat-strip {
  background: var(--bg);
  padding: 80px 22px;
  text-align: center;
}
.stat-strip-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0;
  max-width: 720px;
  margin: 0 auto 60px;
}
.stat-strip-title em {
  font-style: normal;
  color: var(--ink-soft);
}
.stat-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-grid.stat-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 820px;
}
@media (max-width: 734px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stat-grid.stat-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; }
  .stat-strip-title { font-size: 32px; }
}
.stat .num {
  font-size: 64px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.stat .num .unit {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  margin-left: 2px;
}
.stat .lbl {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
@media (max-width: 734px) {
  .stat .num { font-size: 48px; }
  .stat .num .unit { font-size: 22px; }
}

/* ============ SIZES BAND ============ */
.sizes-band {
  background: var(--bg-dark);
  color: #f5f5f7;
  padding: 80px 22px;
  text-align: center;
}
.sizes-band h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.003em;
  margin-bottom: 12px;
}
.sizes-band .lede {
  font-size: 19px;
  color: #a1a1a6;
  margin-bottom: 48px;
}
.sizes-pills {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.sizes-pills span {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 980px;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: #f5f5f7;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 734px) {
  .sizes-band h2 { font-size: 32px; }
}

/* ============ VALUES / CAPABILITIES ============ */
.values-section {
  background: var(--bg);
  padding: 100px 22px;
}
.values-inner { max-width: 980px; margin: 0 auto; text-align: center; }
.values-inner h2 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.003em;
  margin-bottom: 12px;
}
.values-inner > .lede {
  font-size: 21px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 60px;
}
@media (max-width: 734px) {
  .values-section { padding: 70px 22px; }
  .values-inner h2 { font-size: 32px; }
  .values-inner > .lede { font-size: 17px; }
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
}
@media (max-width: 734px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--bg-grey);
  border-radius: 18px;
  overflow: hidden;
}
.value-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #ddd;
}
.value-img img { width: 100%; height: 100%; object-fit: cover; }
.value-body { padding: 36px 32px 40px; }
.value-body h3 {
  font-size: 28px;
  line-height: 1.14286;
  font-weight: 600;
  letter-spacing: 0.007em;
  margin-bottom: 10px;
}
.value-body p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.47;
  margin-bottom: 16px;
}
.value-body ul { list-style: none; margin-top: 16px; }
.value-body ul li {
  font-size: 15px;
  color: var(--ink);
  padding: 8px 0 8px 22px;
  border-top: 1px solid var(--hairline);
  position: relative;
}
.value-body ul li::before { content: '+'; position: absolute; left: 0; color: var(--ink-soft); }
.value-body ul li:last-child { border-bottom: 1px solid var(--hairline); }

/* ============ PARTNERS ============ */
.partners {
  background: var(--bg-grey);
  padding: 80px 22px;
  text-align: center;
}
.partners h3 {
  font-size: 21px;
  color: var(--ink-soft);
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 0.011em;
}
.partners-row {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
}
.partners-row img {
  max-height: 60px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(1);
  transition: all 0.3s;
}
.partners-row img:hover { opacity: 1; filter: grayscale(0); }

/* ============ CTA STRIP (between sections, sends to contact) ============ */
.cta-strip {
  background: var(--bg);
  padding: 100px 22px;
  text-align: center;
}
.cta-strip h2 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.003em;
  margin-bottom: 16px;
}
.cta-strip p {
  font-size: 21px;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 32px;
}
.cta-strip .ctas { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 734px) {
  .cta-strip { padding: 70px 22px; }
  .cta-strip h2 { font-size: 32px; }
  .cta-strip p { font-size: 17px; }
}

/* ============ CONTACT ============ */
.contact-section {
  background: var(--bg);
  padding: 100px 22px;
}
.contact-inner { max-width: 980px; margin: 0 auto; text-align: center; }
.contact-section h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.contact-section h2 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.003em;
  margin-bottom: 12px;
}
.contact-section .lede {
  font-size: 21px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 50px;
}
@media (max-width: 734px) {
  .contact-section h1 { font-size: 40px; }
  .contact-section h2 { font-size: 32px; }
  .contact-section .lede { font-size: 17px; }
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 60px;
}
@media (max-width: 734px) { .contact-cards { grid-template-columns: 1fr; } }
.ccard {
  background: var(--bg-grey);
  border-radius: 18px;
  padding: 40px 28px;
  text-align: center;
}
.ccard .l { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.ccard .v {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.ccard .v a { color: var(--ink); }
.ccard .v a:hover { color: var(--link); text-decoration: none; }

.form {
  max-width: 660px;
  margin: 0 auto;
  background: var(--bg-grey);
  border-radius: 18px;
  padding: 48px 40px;
  text-align: left;
}
@media (max-width: 480px) { .form { padding: 32px 24px; } }
.form-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.007em;
  margin-bottom: 6px;
  text-align: center;
}
.form-sub {
  font-size: 15px;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 16px;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--link);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15);
}
.field textarea { min-height: 120px; resize: vertical; font-family: inherit; }
.form-submit {
  display: block;
  margin: 12px auto 0;
  background: var(--link);
  color: #fff;
  border-radius: 980px;
  padding: 12px 28px;
  font-size: 17px;
  transition: background 0.15s;
}
.form-submit:hover { background: var(--link-hov); }

/* ============ FOOTER ============ */
footer {
  background: var(--bg-grey);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: -0.01em;
  padding: 20px 22px 22px;
}
.foot-inner { max-width: 980px; margin: 0 auto; }
.foot-notes {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.foot-notes p { margin-bottom: 10px; font-size: 12px; color: var(--ink-soft); }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
}
@media (max-width: 734px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.foot-grid ul li { list-style: none; margin-bottom: 6px; }
.foot-grid ul li a { color: var(--ink-soft); font-size: 12px; }
.foot-grid ul li a:hover { text-decoration: underline; color: var(--ink-soft); }
.foot-bottom {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.foot-legal { display: flex; flex-wrap: wrap; gap: 0; }
.foot-legal a {
  color: var(--ink-soft);
  padding: 0 8px;
  border-right: 1px solid var(--hairline);
}
.foot-legal a:first-child { padding-left: 0; }
.foot-legal a:last-child { border-right: none; }

/* ============ Reveal animations ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
/* ============================================================
   INDUSTRIES SECTION — homepage + per-product industry tags
   ============================================================ */

.industries {
  background: var(--bg);
  padding: 120px 22px;
  text-align: center;
}
.industries-inner { max-width: 1100px; margin: 0 auto; }
.industries .eyebrow {
  font-size: 17px;
  color: var(--rust);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.industries h2 {
  font-size: 56px;
  line-height: 1.0714285714;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
}
.industries .lede {
  font-size: 21px;
  line-height: 1.381002381;
  color: var(--ink-soft);
  max-width: 660px;
  margin: 0 auto 64px;
}
@media (max-width: 734px) {
  .industries { padding: 80px 22px; }
  .industries h2 { font-size: 36px; }
  .industries .lede { font-size: 17px; margin-bottom: 48px; }
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 980px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }

.industry-card {
  background: var(--bg-grey);
  border-radius: 18px;
  padding: 36px 24px 32px;
  text-align: center;
  cursor: default;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.industry-card:hover {
  transform: translateY(-4px);
}

/* Video layer — sits behind content, hidden until hover */
.industry-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0s;
  pointer-events: none;
  border-radius: 18px;
  z-index: 0;
}
.industry-card.is-playing .industry-card__video {
  opacity: 1;
}

/* Dark scrim over video so text stays readable */
.industry-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 60%, rgba(0,0,0,0.18) 100%);
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0s;
  z-index: 1;
  pointer-events: none;
}
.industry-card.is-playing .industry-card__scrim {
  opacity: 1;
}

/* Content layer — sits above video */
.industry-card__content {
  position: relative;
  z-index: 2;
}

.industry-card.is-playing .industry-icon { color: rgba(255,255,255,0.9); }
.industry-card.is-playing h3 { color: #ffffff; }
.industry-card.is-playing p { color: rgba(255,255,255,0.8); }

.industry-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.industry-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}
.industry-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.21;
  margin-bottom: 8px;
  color: var(--ink);
  transition: color 0.2s;
}
.industry-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}

/* Per-product industry tag band */
.industry-tags {
  background: var(--bg);
  padding: 60px 22px 0;
  text-align: center;
}
.industry-tags-inner { max-width: 980px; margin: 0 auto; }
.industry-tags .label {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.industry-tags-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.industry-tags-list span {
  font-size: 13px;
  padding: 7px 16px;
  border: 1px solid var(--hairline);
  border-radius: 980px;
  color: var(--ink);
  background: #fff;
  letter-spacing: -0.005em;
}



#chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0,0,0,0.06);
  z-index: 9000;
  border: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s;
  font-family: var(--font-sf);
}
#chat-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0,0,0,0.06);
}
#chat-launcher svg {
  width: 26px;
  height: 26px;
  display: block;
}
#chat-launcher .cl-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--rust);
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  animation: cl-bounce 2.4s ease-in-out infinite;
}
@keyframes cl-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
#chat-launcher.hidden { display: none; }

#chat-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 100px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0,0,0,0.06);
  z-index: 9001;
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-sf);
  transform-origin: bottom right;
  animation: cw-open 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes cw-open {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
#chat-window.open { display: flex; }

@media (max-width: 480px) {
  #chat-window {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
    height: calc(100vh - 100px);
  }
  #chat-launcher { bottom: 18px; right: 18px; width: 56px; height: 56px; }
}

/* Chat header */
.cw-header {
  background: var(--ink);
  color: #fff;
  padding: 18px 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cw-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff6b35, #b8421c 60%, #7a2b11);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 14px rgba(184, 66, 28, 0.5);
}
.cw-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #34c759;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.cw-title {
  flex: 1;
  min-width: 0;
}
.cw-title h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}
.cw-title p {
  font-size: 12px;
  color: #a1a1a6;
  margin: 1px 0 0;
  letter-spacing: -0.005em;
}
.cw-close {
  background: none;
  border: none;
  color: #a1a1a6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.cw-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Chat body */
.cw-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 12px;
  background: var(--bg);
  scroll-behavior: smooth;
}
.cw-body::-webkit-scrollbar { width: 6px; }
.cw-body::-webkit-scrollbar-track { background: transparent; }
.cw-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }

.cw-msg {
  display: flex;
  margin-bottom: 12px;
  animation: msg-in 0.3s ease-out;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cw-msg-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  word-wrap: break-word;
}
.cw-msg.bot .cw-msg-bubble {
  background: var(--bg-grey);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.cw-msg.user {
  justify-content: flex-end;
}
.cw-msg.user .cw-msg-bubble {
  background: var(--link);
  color: #fff;
  border-bottom-right-radius: 6px;
}

/* Typing indicator */
.cw-typing {
  display: inline-flex;
  gap: 4px;
  padding: 4px 0;
}
.cw-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-soft);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.cw-typing span:nth-child(2) { animation-delay: 0.15s; }
.cw-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Quick reply chips */
.cw-chips {
  padding: 4px 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--bg);
}
.cw-chip {
  background: #fff;
  border: 1px solid var(--hairline);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
}
.cw-chip:hover {
  border-color: var(--link);
  color: var(--link);
}
.cw-chip.primary {
  background: var(--link);
  color: #fff;
  border-color: var(--link);
}
.cw-chip.primary:hover {
  background: var(--link-hov);
  border-color: var(--link-hov);
  color: #fff;
}

/* Input row */
.cw-input {
  border-top: 1px solid var(--hairline);
  padding: 12px 14px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: #fff;
}
.cw-input textarea {
  flex: 1;
  border: none;
  resize: none;
  font: inherit;
  font-size: 14.5px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
  outline: none;
  padding: 8px 4px;
  max-height: 100px;
  min-height: 22px;
  background: transparent;
  font-family: inherit;
}
.cw-input textarea::placeholder { color: var(--ink-soft); }
.cw-input textarea:disabled { opacity: 0.5; }
.cw-send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--link);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  transition: background 0.15s, opacity 0.15s, transform 0.15s;
}
.cw-send:hover { background: var(--link-hov); transform: scale(1.05); }
.cw-send:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
.cw-send svg { width: 16px; height: 16px; }

/* Footer note */
.cw-foot {
  padding: 8px 16px 10px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-soft);
  background: #fff;
  border-top: 1px solid var(--hairline);
  letter-spacing: -0.005em;
}

/* Summary card (final review) */
.cw-summary {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  letter-spacing: -0.005em;
  margin: 4px 0 8px;
}
.cw-summary .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline);
}
.cw-summary .row:last-child { border-bottom: none; }
.cw-summary .row .k { color: var(--ink-soft); flex-shrink: 0; }
.cw-summary .row .v { color: var(--ink); font-weight: 500; text-align: right; word-break: break-word; }
