/* tesaurex.com — page composition (Columbia Canvas)
   One grid, one heading alignment, predictable vertical rhythm. No
   staggered indentation, no section drifting off its own margin. */

/* ══════════════════════════════════════════════════════════ HOMEPAGE ══ */

.hero {
  padding-block: clamp(1.9rem, 1.2rem + 2.2vw, 3.1rem)
                 clamp(2.6rem, 1.8rem + 2.6vw, 4rem);
}

.hero h1 {
  max-width: 20ch;
  margin-bottom: 1rem;
}

.hero h1 .accent {
  color: var(--ink-3);
}

.hero-lede {
  max-width: 46ch;
  font-size: var(--t-lede);
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: clamp(1.75rem, 1.1rem + 2vw, 2.75rem);
}

/* ---- The one contained product surface in the hero ------------------ */

.stage {
  display: grid;
  gap: clamp(1.4rem, 0.9rem + 1.6vw, 2.5rem);
  padding: clamp(1.1rem, 0.75rem + 1.2vw, 1.7rem);
  background: var(--white);
  border-radius: var(--r-stage);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1000px) {
  .stage {
    grid-template-columns: minmax(0, 1.32fr) minmax(310px, 1fr);
    align-items: center;
  }
}

.stage-info {
  padding-right: clamp(0rem, 0.6vw, 0.75rem);
}

.stage-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.stage-name {
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem);
  font-weight: 660;
  letter-spacing: -0.022em;
  margin: 0;
}

.stage-lede {
  font-size: 1.06rem;
  font-weight: 560;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.stage-desc {
  font-size: var(--t-small);
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 0.7rem;
  max-width: 44ch;
}

.stage-apps {
  font-size: var(--t-small);
  color: var(--ink-2);
  margin-bottom: 1.15rem;
}

.stage-apps strong {
  color: var(--ink);
  font-weight: 620;
}

.stage-compat {
  margin-top: 0.85rem;
  font-size: var(--t-micro);
  color: var(--ink-3);
}

/* ---- Privacy promise ------------------------------------------------- */

.privacy-promise {
  background: var(--blue-white);
  border-block: 1px solid var(--line-soft);
}

.promise {
  max-width: 40rem;
}

.promise h2 {
  margin-bottom: 0.75rem;
}

.promise-copy {
  font-size: var(--t-lede);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38rem;
}

.promise-action {
  margin-top: 1.35rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 620;
  font-size: 1.02rem;
  min-height: 44px;
}

.link-arrow::after {
  content: "→";
  transition: transform 160ms ease;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* ---- Five principles: one fixed number column, one text start -------- */

.ledger {
  border-top: 1px solid var(--line);
}

.ledger li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0 1rem;
  align-items: start;
  padding-block: clamp(1.4rem, 1rem + 1.3vw, 2.1rem);
  border-bottom: 1px solid var(--line);
}

.ledger .num {
  font-family: var(--mono);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--azure-ink);
  padding-top: 0.32em;
}

.ledger h3 {
  margin-bottom: 0.4rem;
}

.ledger p {
  color: var(--ink-2);
  max-width: 62ch;
  font-size: var(--t-small);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .ledger li {
    grid-template-columns: 3.75rem minmax(0, 27ch) minmax(0, 1fr);
    gap: 0 clamp(1.5rem, 3vw, 3rem);
    align-items: baseline;
  }

  .ledger .ledger-body {
    display: contents;
  }

  .ledger h3 {
    margin-bottom: 0;
  }
}

/* ---- Closing ---------------------------------------------------------- */

/* The ledger already closes with a rule, so the closing band adds no
   second divider — one line, one gap, not two. */
.closing-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.closing-inner h2 {
  margin-bottom: 0.4rem;
}

.closing-inner p {
  color: var(--ink-2);
  max-width: 44ch;
}

/* ══════════════════════════════════════════════════ PROJECT TESORO ══ */

.product-hero {
  padding-block: clamp(1.9rem, 1.2rem + 2.2vw, 3.1rem)
                 clamp(2.4rem, 1.7rem + 2.4vw, 3.75rem);
}

.product-hero .title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.product-hero h1 {
  max-width: 18ch;
  margin-bottom: 0.9rem;
}

.product-hero .lede {
  max-width: 48ch;
  font-size: var(--t-lede);
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 1.4rem;
}

.product-hero .meta-line {
  margin-top: 0.95rem;
  font-size: var(--t-micro);
  color: var(--ink-3);
  max-width: 52ch;
}

.product-hero .island-stage {
  margin-top: clamp(1.9rem, 1.3rem + 2vw, 3rem);
}

/* ---- Upcoming improvements ------------------------------------------
   Deliberately light: two ruled editorial rows on the Columbia canvas,
   no card, no band, no timeline, no meter. It must read as a footnote to
   the hero above it, not as a competing feature section. */

.upcoming {
  border-top: 1px solid var(--line-soft);
}

.upcoming-head {
  margin-bottom: clamp(1.1rem, 0.8rem + 1vw, 1.6rem);
}

.upcoming-head h2 {
  /* One step below the page's other h2s — this section is a footnote. */
  font-size: clamp(1.32rem, 1.15rem + 0.55vw, 1.65rem);
}

.upcoming-list {
  border-top: 1px solid var(--line);
  /* Rules stay close to the text they divide, so the section reads as a
     short note rather than a full-width feature band. */
  max-width: 54rem;
}

.upcoming-list > li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0 1rem;
  align-items: start;
  padding-block: clamp(1.05rem, 0.85rem + 0.7vw, 1.5rem);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .upcoming-list > li {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 0 clamp(1.5rem, 3vw, 3rem);
  }
}

.upcoming-list .num {
  font-family: var(--mono);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--azure-ink);
  padding-top: 0.3em;
}

.upcoming-list h3 {
  margin-bottom: 0.3rem;
}

.upcoming-list p {
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.55;
  max-width: 58ch;
}

/* Text, not a colour chip — the words carry the state. */
.upcoming-status {
  margin-top: 0.45rem;
  font-size: var(--t-micro);
  font-weight: 640;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.upcoming-note {
  margin-top: 1.05rem;
  font-size: var(--t-micro);
  color: var(--ink-3);
}

/* ---- Shared: alternating light bands --------------------------------- */

.band-white {
  background: var(--white);
  border-block: 1px solid var(--line-soft);
}

.band-blue {
  background: var(--blue-white);
  border-block: 1px solid var(--line-soft);
}

/* ---- The island in use ----------------------------------------------- */

.use-grid {
  display: grid;
  gap: clamp(1.6rem, 1rem + 2vw, 2.75rem);
}

@media (min-width: 860px) {
  .use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.use-item h3 {
  margin: 1rem 0 0.35rem;
}

.use-item p {
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.6;
  max-width: 52ch;
}

.use-item .island-plate {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}

.use-item .island-plate img {
  width: 100%;
}

/* Compact islands attach to the top of their plate, exactly as they attach
   to the top of a display — never floating in the middle of a box. */
.island-plate.is-compact {
  padding: 0 clamp(1rem, 3vw, 2.4rem) clamp(1.1rem, 2.5vw, 2rem);
}

.island-plate.is-compact img {
  margin-inline: auto;
  width: min(100%, 21rem);
}

/* Enlarged visualizer states, side by side. */
.vis-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 2vw, 1.1rem);
}

.vis-pair img {
  width: 100%;
  border-radius: var(--r-media);
}

.vis-pair figcaption {
  margin-top: 0.55rem;
  font-size: var(--t-micro);
}

/* ---- Feature rows (visualizer, artwork & orb) ------------------------- */

.feature-row {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .feature-row.is-reversed .feature-media {
    order: -1;
  }
}

.feature-copy h2 {
  margin-bottom: 0.75rem;
}

.feature-copy p {
  color: var(--ink-2);
  font-size: var(--t-body);
  line-height: 1.62;
  max-width: 46ch;
  margin-bottom: 0.85rem;
}

.spec-list {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.spec-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--t-small);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--azure);
}

.spec-list strong {
  color: var(--ink);
  font-weight: 620;
}


/* ---- Supported applications: aligned rows, capabilities only ---------
   Each app states what it provides. No matrix of blanks — an app is not
   defined by the columns it cannot fill. */

.app-rows {
  border-top: 1px solid var(--line);
}

.app-rows > li {
  display: grid;
  gap: 0.75rem;
  padding-block: clamp(1.35rem, 1rem + 1.1vw, 1.9rem);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 780px) {
  .app-rows > li {
    grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
    gap: 0 clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
  }
}

.app-rows h3 {
  margin: 0;
}

.cap-list {
  display: grid;
  gap: 0.45rem 1.5rem;
}

@media (min-width: 560px) {
  .cap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cap-list li {
  position: relative;
  padding-left: 1.45rem;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--ink-2);
}

/* Never colour alone — the glyph carries the meaning, not the hue. */
.cap-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--azure-ink);
  font-weight: 700;
}

.works-note {
  margin-top: 1.25rem;
  font-size: var(--t-small);
  color: var(--ink-2);
  max-width: 64ch;
}

/* ---- Two-column prose lists (quiet, privacy, limitations) ------------- */

.point-grid {
  display: grid;
  gap: clamp(1.2rem, 0.8rem + 1.4vw, 2rem) clamp(1.5rem, 3vw, 3.25rem);
}

@media (min-width: 780px) {
  .point-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.point-grid h3 {
  margin-bottom: 0.35rem;
}

.point-grid p {
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.6;
  max-width: 48ch;
}

/* ---- Privacy section on the product page ----------------------------- */

.privacy-section .promise-copy {
  margin-bottom: 1.6rem;
}

.privacy-cols {
  display: grid;
  gap: clamp(1.4rem, 1rem + 1.6vw, 2.5rem);
  margin-bottom: 1.6rem;
}

@media (min-width: 780px) {
  .privacy-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.privacy-cols h3 {
  margin-bottom: 0.7rem;
}

.check-list {
  display: grid;
  gap: 0.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  font-size: var(--t-small);
  line-height: 1.55;
  color: var(--ink-2);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--azure-ink);
  font-weight: 700;
}

.check-list.is-never li::before {
  content: "—";
  color: var(--ink-3);
}

/* ---- Progressive disclosure ------------------------------------------ */

.disclosure {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 0.5rem;
}

.disclosure + .disclosure {
  border-top: 0;
  margin-top: 0;
}

.disclosure > summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-block: 1.05rem;
  min-height: 48px;
  cursor: pointer;
  font-weight: 620;
  font-size: var(--t-body);
  color: var(--ink);
  list-style: none;
}

.disclosure > summary::-webkit-details-marker {
  display: none;
}

.disclosure > summary::before {
  content: "+";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--azure-wash);
  color: var(--azure-ink);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

.disclosure[open] > summary::before {
  content: "–";
}

.disclosure > summary:hover {
  color: var(--azure-ink);
}

.disclosure .disclosure-body {
  padding-bottom: 1.3rem;
}

.disclosure .disclosure-body p,
.disclosure .disclosure-body li {
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.62;
  max-width: 68ch;
}

.disclosure .disclosure-body p + p {
  margin-top: 0.7rem;
}

.disclosure .disclosure-body ul {
  display: grid;
  gap: 0.55rem;
}

.disclosure .disclosure-body li {
  position: relative;
  padding-left: 1.5rem;
}

.disclosure .disclosure-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--columbia-deep);
}

/* ---- Installation ----------------------------------------------------- */

.install-figure {
  max-width: 52rem;
  margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.75rem);
}

.install-grid {
  display: grid;
  gap: clamp(1.2rem, 0.8rem + 1.4vw, 2.5rem)
       clamp(1.6rem, 1rem + 2vw, 3.5rem);
}

@media (min-width: 860px) {
  .install-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.install-steps {
  counter-reset: step;
  display: grid;
  gap: 0.7rem;
}

.install-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.1rem;
  font-size: var(--t-small);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 48ch;
}

.install-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.76rem;
  font-weight: 660;
  color: var(--ink);
  font-family: var(--mono);
}

.install-note {
  font-size: var(--t-small);
  color: var(--ink-2);
  max-width: 52ch;
}

/* ---- Private-beta support: Feedback Portal --------------------------
   Heading, one short explanation, one restrained "Coming Soon" label.
   No second disabled action repeating the same status. */

.support-copy {
  max-width: 44rem;
}

.support-copy h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.support-copy p {
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 46ch;
}

/* ---- Download --------------------------------------------------------- */

.download-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
}

.download-copy {
  flex: 1 1 24rem;
}

.download-copy h2 {
  margin-bottom: 0.6rem;
}

.download-copy p {
  color: var(--ink-2);
  max-width: 46ch;
}

.download-cta {
  flex: 0 1 22rem;
}

.download-cta .meta-line {
  margin-top: 0.85rem;
  font-size: var(--t-small);
  color: var(--ink-2);
  max-width: 34ch;
}

/* ══════════════════════════════════════════════════════════ PRIVACY ══ */

.privacy-doc {
  max-width: 44rem;
}

.privacy-doc .lede {
  font-size: var(--t-lede);
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 0.9rem;
}

.privacy-doc .updated {
  font-size: var(--t-micro);
  color: var(--ink-3);
}

.privacy-doc section {
  padding-top: clamp(2rem, 1.4rem + 1.8vw, 3rem);
}

.privacy-doc section + section {
  border-top: 1px solid var(--line);
  margin-top: clamp(2rem, 1.4rem + 1.8vw, 3rem);
  padding-top: clamp(2rem, 1.4rem + 1.8vw, 3rem);
}

.privacy-doc h2 {
  font-size: clamp(1.32rem, 1.15rem + 0.55vw, 1.65rem);
  margin-bottom: 0.75rem;
}

.privacy-doc p {
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.privacy-doc p:last-child {
  margin-bottom: 0;
}

.privacy-doc strong {
  color: var(--ink);
  font-weight: 620;
}

/* ══════════════════════════════════════════ RESPONSIVE GUARD RAILS ══ */

@media (max-width: 999px) {
  .stage-info {
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .site-header .wrap {
    min-height: 54px;
    gap: 0.6rem;
  }

  .site-nav {
    gap: 0.85rem;
    font-size: 0.86rem;
  }

  .brand-home .wordmark {
    height: 15px;
  }

  .hero h1 {
    max-width: 100%;
  }
}

/* Below this width the wordmark and three nav items cannot share one row.
   Rather than stacking into a tall sticky header — expensive on a phone —
   the secondary link steps out. Both destinations stay reachable from the
   footer and from the page content, and the header stays one compact row. */
@media (max-width: 540px) {
  .site-nav .nav-secondary {
    display: none;
  }
}

/* On the narrowest phones the mark alone carries the identity. */
@media (max-width: 380px) {
  .brand-home .wordmark {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    max-width: 100%;
  }

  .ledger li {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }

  .closing-inner .btn-row,
  .download-cta .btn {
    width: 100%;
  }

  .closing-inner .btn-row .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 460px) {
  .btn {
    padding-inline: 1.15rem;
  }
}

@media (max-width: 380px) {
  .site-nav {
    font-size: 0.8rem;
  }

  .btn-sm {
    padding-inline: 0.8rem;
  }
}
