/* Bluconta public landing: "Esto es lo que Bluconta hace por ti", a showroom of two. Three pairs of sky
   cards, one pair at a time: the sentence on top and the product at work rising from the card's foot
   (the demos themselves are 06-app.css and 07-demos.css). The wide card holds the portal on a computer,
   the narrow one its phone layout. With JS the pairs share one grid cell, so the showroom is as tall as
   its tallest pair and changing pairs never moves the page; landing-showroom.js picks the pair. Without
   JS they sit one under the other. Then a ledger row of two smaller things. */

.feat-sec { padding-top: 104px; }
.show-tabs { display: none; }
.js .show-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 210px)); gap: 20px; margin-bottom: 24px; }
.show-tabs button {
  display: grid; gap: 10px; padding: 6px 0 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-3); white-space: nowrap; transition: color 200ms ease;
}
.show-tabs button:hover, .show-tabs [aria-selected="true"] { color: var(--ink); }
.show-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
/* The bar (.tab-bar, 02-hero.css) is full on the pair that shows; while the showroom moves on by itself
   it fills over that pair's time (landing-showroom.js sets the duration). */
.show-tabs [aria-selected="true"] .tab-bar > span { transform: scaleX(1); }
.show.is-auto [aria-selected="true"] .tab-bar > span { animation: fill 4000ms linear both; }

.show-panes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.show-pane { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; min-width: 0; }
.js .show-pane { grid-area: 1 / 1; transition: opacity 420ms ease, transform 560ms var(--ease), visibility 0s; }
/* landing-showroom.js makes each pair a focusable tab panel. */
.show-pane:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: var(--r-xl); }
.js .show-pane:not(.is-on) { visibility: hidden; opacity: 0; transform: translateY(12px); transition: opacity 220ms ease, transform 0s linear 220ms, visibility 0s linear 220ms; }
.show-card {
  display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; overflow: hidden;
  border-radius: var(--r-xl); background: linear-gradient(180deg, var(--sky-soft) 0%, #D6EAFF 100%);
}
.show-copy { display: grid; gap: 10px; align-content: start; padding: 34px 36px 24px; }
.show-copy p { margin: 0; max-width: 31em; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
/* The product stands on the sky itself and fills what the sentence leaves of the card. */
.show-card > .demo { align-self: stretch; }

/* Smaller things the product also does, as a ledger row under the showroom. */
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 56px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.extras li { display: grid; gap: 4px; align-content: start; padding: 24px 24px 0; border-left: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.extras li:first-child { padding-left: 0; border-left: 0; }
.extras svg { width: 24px; height: 24px; margin-bottom: 10px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.extras b { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.feat-note { margin: 40px 0 0; font-size: 13.5px; color: var(--ink-3); }

@media (max-width: 1000px) {
  .show-pane { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .feat-sec { padding-top: 72px; }
  .js .show-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
  /* A taller target for a thumb. */
  .show-tabs button { padding-top: 12px; font-size: 14px; }
  .show-panes, .show-pane { gap: 14px; }
  .show-card { border-radius: var(--r-l); }
  .show-copy { padding: 26px 22px 18px; }
  .show-copy p { font-size: 16px; }
  .extras { margin-top: 40px; }
  .extras li { padding: 20px 14px 0; font-size: 14px; }
  .extras b { font-size: 15px; }
}
