/* ============================================================
   99creatix tool landing: QR Codes for Sheets
   Page-specific layer. The shared .c99 system loads site-wide;
   this carries only what is unique to the tool landing page.
   Selectors are doubled (.c99.c99-tool) so they outrank the
   homepage's .c99 rules, which print later in the site custom CSS.
   ============================================================ */

/* ---- values that differ from the homepage build ---- */
.c99.c99-tool .display { font-size: clamp(2.4rem, 7.5vw, 5.6rem); line-height: 0.88; }
.c99.c99-tool .opening .hero { padding-block: clamp(2.75rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem); }
.c99.c99-tool .hero__eyebrow { padding-bottom: 1.5rem; }
.c99.c99-tool .hero h1 { margin-bottom: 1.6rem; }
.c99.c99-tool .hero__sub { max-width: 52ch; margin: 0 0 2.2rem; }
.c99.c99-tool .hero__acts { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.c99.c99-tool .band__head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.c99.c99-tool .band__head p a { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--rule); }
.c99.c99-tool .band__head p a:hover { border-color: var(--blue); }
.c99.c99-tool .nav__mark { text-decoration: none; color: inherit; }

/* No animated canvas on this page: the tool is the argument, not the motion. */

/* ---- hero figures: four across, then two, then one ---- */
.c99.c99-tool .opening .figs { grid-template-columns: repeat(4, 1fr); }
.c99.c99-tool .opening .figs > div:nth-child(3) { border-left: 1px solid var(--panel-rule); padding-left: 1.25rem; border-top: 0; }
.c99.c99-tool .opening .figs > div:nth-child(4) { border-top: 0; }
@media (max-width: 860px) {
  .c99.c99-tool .opening .figs { grid-template-columns: repeat(2, 1fr); }
  .c99.c99-tool .opening .figs > div:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--panel-rule); }
  .c99.c99-tool .opening .figs > div:nth-child(4) { border-top: 1px solid var(--panel-rule); }
}
@media (max-width: 480px) {
  .c99.c99-tool .opening .figs { grid-template-columns: 1fr; }
  .c99.c99-tool .opening .figs > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--panel-rule); }
}

/* ---- three columns ---- */
.c99.c99-tool .cols3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.c99.c99-tool .cols3 > div { padding: 1.5rem 1.5rem 1.75rem 0; }
.c99.c99-tool .cols3 > div + div { border-left: 1px solid var(--rule); padding-left: 1.5rem; }
.c99.c99-tool .cols3 .k {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 0.9rem;
}
.c99.c99-tool .cols3 h3 { font-size: 1.22rem; letter-spacing: -0.03em; text-transform: uppercase; margin-bottom: 0.7rem; }
.c99.c99-tool .cols3 p { margin: 0; color: var(--ink-mute); font-size: 0.93rem; line-height: 1.55; }
@media (max-width: 820px) {
  .c99.c99-tool .cols3 { grid-template-columns: 1fr; }
  .c99.c99-tool .cols3 > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
}

/* ---- numbered steps ---- */
.c99.c99-tool .steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); max-width: 820px; }
.c99.c99-tool .steps li {
  display: grid; grid-template-columns: 4rem 1fr; gap: 1rem;
  padding: 1.35rem 0 1.5rem; border-bottom: 1px solid var(--rule);
}
.c99.c99-tool .steps b {
  font-family: var(--mono); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.04em;
  color: var(--blue); font-variant-numeric: tabular-nums; line-height: 1;
}
.c99.c99-tool .steps h3 { font-size: 1.1rem; letter-spacing: -0.025em; text-transform: uppercase; margin: 0.15rem 0 0.5rem; }
.c99.c99-tool .steps p { margin: 0; color: var(--ink-mute); font-size: 0.95rem; line-height: 1.6; max-width: 60ch; }
@media (max-width: 480px) { .c99.c99-tool .steps li { grid-template-columns: 3rem 1fr; } }

/* ---- permissions table ---- */
.c99.c99-tool .scopes {
  width: 100%; max-width: 820px; border-collapse: collapse;
  font-family: var(--mono); font-variant-numeric: tabular-nums; border-top: 1px solid var(--ink);
}
.c99.c99-tool .scopes th {
  text-align: left; font-weight: 400; font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); padding: 0.9rem 1rem 0.9rem 0;
  border-bottom: 1px solid var(--rule);
}
.c99.c99-tool .scopes td { vertical-align: top; padding: 1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--rule); font-size: 0.8rem; line-height: 1.6; }
.c99.c99-tool .scopes td:first-child { color: var(--blue); white-space: nowrap; width: 16rem; }
.c99.c99-tool .scopes td:last-child { font-family: var(--grot); font-size: 0.95rem; color: var(--ink-mute); }
.c99.c99-tool .scopes__note { max-width: 62ch; color: var(--ink-mute); margin: 1.6rem 0 0; font-size: 0.97rem; line-height: 1.65; }
.c99.c99-tool .scopes__note a { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--rule); }
.c99.c99-tool .scopes__note a:hover { border-color: var(--blue); }
@media (max-width: 640px) {
  .c99.c99-tool .scopes thead { display: none; }
  .c99.c99-tool .scopes tr { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
  .c99.c99-tool .scopes td { display: block; border: 0; padding: 0.15rem 0; width: auto; white-space: normal; }
}

/* ---- support FAQ, same pattern as the service pages ---- */
.c99.c99-tool .faq { border-top: 1px solid var(--ink); max-width: 820px; }
.c99.c99-tool .faq details { border-bottom: 1px solid var(--rule); }
.c99.c99-tool .faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: baseline;
  justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0;
  font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em;
}
.c99.c99-tool .faq summary::-webkit-details-marker { display: none; }
.c99.c99-tool .faq summary::after {
  content: "+"; font-family: var(--mono); color: var(--blue);
  font-weight: 500; font-size: 1.1rem; flex-shrink: 0;
}
.c99.c99-tool .faq details[open] summary::after { content: "\2212"; }
.c99.c99-tool .faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.c99.c99-tool .faq .a { padding: 0 0 1.35rem; max-width: 68ch; color: var(--ink-mute); font-size: 0.97rem; margin: 0; line-height: 1.65; }

/* ---- closer shares its dark band with the footer ---- */
.c99.c99-tool .closer { padding-block: clamp(3.5rem, 9vw, 7rem) 0; }
.c99.c99-tool .closer h2 { color: var(--panel-ink); }
.c99.c99-tool .bigfoot { margin-top: clamp(3rem, 7vw, 5rem); }
