/* The web demo in the page (home/tryit.js): the line that leads to it, the bundle picker over it, and its window.
   Shared by the home page and its variations; where it sits (its margins) is each page's own. */
.oss { padding: 0 24px; text-align: center; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.02em; }
.oss a, .tryit h2 a { color: var(--teal); font-style: italic; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-decoration-color 0.15s; }
.oss a:hover, .tryit h2 a:hover { text-decoration-color: currentColor; }
.oss em { color: var(--teal); }

.tryit { max-width: 1180px; margin-left: auto; margin-right: auto; padding: 0 24px; }
.tryit header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.tryit h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.tryit .window { transition: opacity 0.2s; }
.tryit.busy .window { opacity: 0.6; }

.bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 1.4rem; }
.bundle { position: relative; display: grid; }
.bundles button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: start; /* (title at the top whatever its description's length: a button centers what's in it) */
  column-gap: 0.55rem;
  row-gap: 0.3rem;
  text-align: left;
  font: inherit;
  color: var(--fg);
  padding: 14px 40px 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.bundles button:hover, .bundle:has(.open:hover) button { background: var(--wash); }
/* Its page in a new tab: beside the button, not in it (a link can't be inside a button), over its top-right corner. */
.bundles .open { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); transition: color 0.15s, border-color 0.15s; }
.bundles .open svg { width: 14px; height: 14px; }
.bundles .open:hover, .bundles .open:focus-visible { color: var(--teal); border-color: var(--teal); }
.bundles button[aria-checked="true"] { background: var(--paper); border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.bundles .icon { color: var(--teal); }
.bundles b { font-weight: 550; font-size: 0.95rem; }
.bundles span { grid-column: 1 / -1; color: var(--muted); font-size: 0.84rem; line-height: 1.45; }

@media (max-width: 760px) {
  .bundles { grid-template-columns: 1fr; }
}
