﻿/* ==========================================================================
   Big Sky Dynamics Ã¢â‚¬â€ company / credibility surface (task-54, 2026-11-08)
   Layered on top of styles.css. Namespaced .co-* so it cannot collide with the
   commerce surface. Mobile-first safe at 390 / 768 / 1440:
   every grid collapses to one column, nothing is wider than its container.
   ========================================================================== */

/* ------------------------------- chrome ---------------------------------- */
.co-subnav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.co-subnav .wrap {
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.co-subnav .wrap::-webkit-scrollbar { display: none; }
.co-subnav a {
  display: inline-flex;
  align-items: center;
  padding: 13px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  flex: 0 0 auto;
}
.co-subnav a:hover { color: var(--ink); }
.co-subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--magenta); }
.co-subnav .co-subnav-label {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  padding: 13px 12px 13px 0; margin-right: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--muted-2, #8b90ad);
}

/* -------------------------------- hero ----------------------------------- */
.co-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}
.co-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 460px at 82% 14%, rgba(27, 27, 255, 0.38), transparent 62%),
    radial-gradient(900px 500px at 8% 108%, rgba(233, 30, 140, 0.16), transparent 60%),
    linear-gradient(112deg, #0b1220 0%, #0d1730 58%, #101a3a 100%);
}
.co-hero .wrap { padding: 52px 24px 46px; }
.co-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 38px;
  align-items: center;
}
.co-hero-grid > * { min-width: 0; }
.co-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c3c6ff;
}
.co-eyebrow::before {
  content: "";
  width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #8588ff, var(--magenta));
}
.co-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.95rem, 4.2vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -0.8px;
  overflow-wrap: anywhere;
}
.co-hero .co-card:not(.co-card--ink) h3 { color: var(--ink); }
.co-hero .co-fact { color: var(--ink); }
.co-hero .co-fact b { color: var(--ink); }
.co-hero h1 em {
  font-style: normal;
  color: #b9bcff;
}
.co-lede {
  max-width: 660px;
  color: #cfd3ea;
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.62;
}
.co-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.co-figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #111a2e;
  box-shadow: var(--shadow-lg);
}
.co-figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.co-figure figcaption {
  padding: 9px 12px;
  font-size: 11.5px;
  color: #aeb3cf;
  background: rgba(11, 18, 32, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.co-figure--square img { aspect-ratio: 1 / 1; }
.co-figure--wide img { aspect-ratio: 16 / 7; }

/* ------------------------------ page body -------------------------------- */
.co-main { display: block; }
.co-intro { max-width: 780px; }
.co-intro p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.co-intro p + p { margin-top: 12px; }

.co-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.co-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.co-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.co-grid > * { min-width: 0; }

.co-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-wrap: anywhere;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.co-card--link:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.co-card h2, .co-card h3 { font-size: 16.5px; line-height: 1.3; letter-spacing: -0.1px; }
.co-card p { color: var(--muted); font-size: 13.5px; line-height: 1.62; }
.co-card .co-link { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--blue); }
.co-card .co-link:hover { text-decoration: underline; }
.co-card--ink { background: var(--ink); color: #fff; border-color: #1e2a46; }
.co-card--ink h3 { color: #fff; }
.co-card--ink p { color: #b8bdd6; }
.co-card--ink .co-link { color: #b9bcff; }

.co-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  margin-bottom: 2px;
  border-radius: 10px;
  background: rgba(27, 27, 255, 0.09);
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}
.co-card--ink .co-icon { background: rgba(133, 136, 255, 0.16); color: #c3c6ff; }

/* fact strip */
.co-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 14px;
}
.co-fact {
  min-width: 0;
  padding: 18px 18px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.co-fact b { display: block; font-size: 26px; line-height: 1.1; letter-spacing: -0.8px; }
.co-fact b span { color: var(--blue); }
.co-fact small { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* value list */
.co-values { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.co-values li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink);
}
.co-values li span { font-weight: 700; color: var(--blue); }
.co-values li small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* people */
.co-person {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
}
.co-person + .co-person { margin-top: 18px; }
.co-avatar {
  width: 96px; height: 96px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #1b1bff 0%, #101a3a 62%, #0b1220 100%);
  color: #fff;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 1px;
}
.co-person h2 { font-size: 19px; letter-spacing: -0.2px; }
.co-person .co-role { margin: 3px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--magenta); }
.co-person p { color: var(--muted); font-size: 14px; line-height: 1.68; }
.co-person p + p { margin-top: 10px; }

/* timeline */
.co-timeline { margin: 0; padding: 0 0 0 24px; list-style: none; border-left: 2px solid var(--line); display: grid; gap: 20px; }
.co-timeline li { position: relative; min-width: 0; }
.co-timeline li::before {
  content: "";
  position: absolute;
  left: -32px; top: 4px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
}
.co-timeline b { display: block; font-size: 14px; }
.co-timeline span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); }

/* honest-claim note */
.co-note {
  display: flex;
  gap: 12px;
  padding: 15px 17px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--magenta);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.co-note strong { color: var(--ink); }
.co-note .co-note-mark { color: var(--magenta); font-weight: 800; }

/* tables */
.co-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.co-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.co-table th, .co-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.co-table th { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); background: #fbfbff; }
.co-table tr:last-child td { border-bottom: 0; }
.co-table td:first-child { font-weight: 700; color: var(--ink); }
.co-table td { color: var(--muted); }

/* swatches / brand */
.co-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  gap: 14px;
}
.co-swatch { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.co-swatch .chip-color { display: block; height: 62px; }
.co-swatch dl { padding: 11px 13px 13px; font-size: 12px; color: var(--muted); }
.co-swatch dt { font-weight: 700; color: var(--ink); font-size: 12.5px; }
.co-swatch dd { margin: 2px 0 0; }
.co-logo-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.co-logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 158px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}
.co-logo-tile--dark { background: var(--ink); border-color: #1e2a46; color: #fff; }
.co-logo-tile img { max-width: 196px; height: auto; }
.co-logo-tile small { font-size: 11.5px; color: var(--muted); }
.co-logo-tile--dark small { color: #b8bdd6; }
.co-logo-tile .co-dl {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 8px;
  border: 1.5px solid var(--line-strong);
  font-size: 12.5px; font-weight: 700; color: var(--ink);
}
.co-logo-tile .co-dl:hover { border-color: var(--blue); color: var(--blue); }
.co-logo-tile--dark .co-dl { border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.co-logo-tile--dark .co-dl:hover { border-color: #b9bcff; color: #b9bcff; }

/* calculator */
.co-calc { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 20px; align-items: start; }
.co-calc-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.co-field { display: grid; gap: 6px; min-width: 0; }
.co-field label { font-size: 12px; font-weight: 700; color: var(--ink); }
.co-field .co-hint { font-size: 11.5px; color: var(--muted); }
.co-field input {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
}
.co-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27, 27, 255, 0.14); }
.co-calc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.co-calc-out {
  padding: 24px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}
.co-calc-out h3 { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #b9bcff; }
.co-calc-big { margin: 10px 0 2px; font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -1px; line-height: 1.05; color: #fff; }
.co-calc-big small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: #b8bdd6; }
.co-calc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13.5px; color: #cfd3ea; }
.co-calc-row b { color: #fff; font-size: 15px; white-space: nowrap; }
.co-calc-note { margin-top: 12px; font-size: 11.5px; line-height: 1.55; color: #9aa0c0; }

/* news / media */
.co-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.co-news {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
}
.co-news img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.co-news-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.co-news-body h3 { font-size: 16px; line-height: 1.35; }
.co-news-body p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.co-news-body .co-link { margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 700; color: var(--blue); }

.co-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.co-meta .co-tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(27, 27, 255, 0.08);
  color: var(--blue);
  letter-spacing: 1px;
}

.co-press { margin: 0; padding: 0; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.co-press li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.co-press li:last-child { border-bottom: 0; }
.co-press time { font-size: 12px; font-weight: 700; color: var(--muted); }
.co-press h3 { font-size: 15.5px; line-height: 1.35; }
.co-press p { margin-top: 5px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.co-press .co-tag { display: inline-block; margin-top: 7px; }

/* workshops / events */
.co-workshop { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.co-workshop h3 { font-size: 16px; line-height: 1.35; }
.co-workshop p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.co-workshop-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); font-weight: 600; }
.co-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.co-topics span { padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; color: var(--muted); }
.co-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(27, 27, 255, 0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* CTA helpers */
.co-cta-band { border-radius: 14px; }


/* -------------------- footer policy strip (task-73) ---------------------- */
.foot-links {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  padding: 16px 24px 0; margin-top: 6px;
  font-size: 12px; color: #b8bdd6;
}
.foot-links a { color: #d5d9ec; font-weight: 600; }
.foot-links a:hover { color: #fff; }
.foot-links span { color: #6f7796; }
@media (max-width: 640px) { .foot-links { padding: 14px 16px 0; } }

/* ------------------------------ responsive ------------------------------- */
@media (max-width: 1120px) {
  .co-grid, .co-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .co-figure { max-width: 720px; }
}
@media (max-width: 820px) {
  .co-hero .wrap { padding: 44px 24px 40px; }
  .co-calc, .co-logo-box, .co-news-grid, .co-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .co-grid, .co-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-person { grid-template-columns: 74px minmax(0, 1fr); gap: 16px; padding: 20px; }
  .co-avatar { width: 74px; height: 74px; font-size: 22px; }
  .co-press li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 640px) {
  .co-hero .wrap { padding: 38px 16px 34px; }
  .co-grid, .co-grid--2, .co-grid--4, .co-logo-box, .co-news-grid { grid-template-columns: minmax(0, 1fr); }
  .co-card, .co-workshop, .co-calc-form, .co-calc-out, .co-person { padding: 18px; }
  .co-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .co-fact { padding: 14px; }
  .co-fact b { font-size: 22px; }
  .co-person { grid-template-columns: minmax(0, 1fr); }
  .co-avatar { width: 64px; height: 64px; font-size: 20px; }
  .co-values li { padding: 12px 14px; }
  .co-subnav a { padding: 11px 9px; }
  .co-subnav .co-subnav-label { display: none; }
  .co-calc-big { font-size: 2rem; }
}

/* footer legal-line trust link (task-73 /trust hub) */
.foot-bottom .legal a { color: #d5d9ec; font-weight: 600; }
.foot-bottom .legal a:hover { color: #fff; }
