/* Pipezoom marketing site: assets/css/components.css
   The parts every page shares: buttons, the site header with the theme
   switch, the mobile nav, icon tiles, check lists, the pill, cards, the CTA
   band and the site footer. Colors are tokens from tokens.css.
   Globals: .btn*, .icon-button, .site-header, .mobile-nav, .icon-tile, .check-list, .pill, .card, .fact, .cta-band, .site-footer.
   Notes: docs/notes/pipezoom.com/assets/css/components.css.md */

/* Buttons: the accent with white text and no border, or light with dark text. */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:var(--space-sm);
  min-height:var(--tap);
  padding:0 20px;
  border:0;
  border-radius:var(--radius-sm);
  font-family:inherit;
  font-size:15px;
  font-weight:600;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  transition:background-color var(--transition-fast);
}
.btn-primary{background:var(--accent-strong);color:var(--ink-inverse)}
.btn-primary:hover{background:var(--accent-hover);color:var(--ink-inverse)}
.btn-light{
  background:var(--btn-light-bg);
  color:var(--btn-light-ink);
  border:1px solid var(--btn-light-edge);
}
.btn-light:hover{background:var(--btn-light-hover);color:var(--btn-light-ink)}
.btn-block{width:100%}
.btn[disabled]{cursor:progress;opacity:0.7}

.button-row{display:flex;flex-wrap:wrap;gap:12px;margin:var(--space-lg) 0 0}
.center-row{justify-content:center;margin-top:var(--space-xl)}

.icon-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:var(--tap);
  height:var(--tap);
  padding:0;
  border:0;
  border-radius:var(--radius-sm);
  background:transparent;
  color:var(--shell-ink);
  font-size:18px;
  cursor:pointer;
  transition:background-color var(--transition-fast);
}
.icon-button:hover{background:var(--shell-high)}

/* Site header: the shell background in both themes. */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--shell-bg);
  color:var(--shell-ink);
  box-shadow:var(--shadow-sm);
}
.header-inner{display:flex;align-items:center;gap:var(--space-md);height:var(--header-h)}
.logo{display:inline-flex;align-items:center;min-height:var(--tap);flex:0 0 auto}
.logo-image{height:50px;width:auto}

.nav-main{display:none}
.nav-main ul{display:flex;gap:4px;margin:0;padding:0;list-style:none}
.nav-link{
  display:inline-flex;
  align-items:center;
  min-height:var(--tap);
  padding:0 14px;
  border-radius:var(--radius-pill);
  color:var(--shell-ink);
  font-size:15px;
  font-weight:500;
  text-decoration:none;
  transition:background-color var(--transition-fast);
}
.nav-link:hover{background:var(--shell-high);color:var(--shell-ink)}
.nav-link.is-active{background:var(--shell-high);font-weight:600}

.nav-actions{display:flex;align-items:center;gap:var(--space-sm);margin-left:auto}
.nav-btn{display:none}

.icon-moon,
.icon-close{display:none}
[data-theme="light"] .icon-sun{display:none}
[data-theme="light"] .icon-moon{display:inline}
.nav-toggle[aria-expanded="true"] .icon-open{display:none}
.nav-toggle[aria-expanded="true"] .icon-close{display:inline}

.site-header :focus-visible,
.mobile-nav :focus-visible,
.site-footer :focus-visible{outline-color:var(--shell-ink)}

/* Mobile nav: a panel below the header at widths under 900px. */
.mobile-nav{
  position:fixed;
  top:var(--header-h);
  right:0;
  bottom:0;
  left:0;
  z-index:99;
  overflow-y:auto;
  padding:var(--space-md) 0 var(--space-xl);
  background:var(--shell-bg);
  color:var(--shell-ink);
}
.mobile-nav[hidden]{display:none}
.mobile-nav-links{display:flex;flex-direction:column;gap:4px}
.mobile-nav-links a{
  display:flex;
  align-items:center;
  min-height:48px;
  padding:0 var(--space-md);
  border-radius:var(--radius-sm);
  color:var(--shell-ink);
  font-size:17px;
  font-weight:500;
  text-decoration:none;
}
.mobile-nav-links a:hover,
.mobile-nav-links a[aria-current="page"]{background:var(--shell-high)}
.mobile-nav-actions{display:grid;gap:12px;margin-top:var(--space-lg)}

@media (min-width:900px){
  .nav-main{display:block;margin-left:var(--space-lg)}
  .nav-btn{display:inline-flex}
  .nav-toggle{display:none}
  .mobile-nav{display:none}
}

/* Icon tile: a white glyph on a solid accent square. */
.icon-tile{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:var(--tap);
  height:var(--tap);
  border-radius:var(--radius-sm);
  background:var(--accent-strong);
  color:var(--ink-inverse);
  font-size:18px;
}

/* Check list: a white check in a solid accent circle, then the line. */
.check-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.check-list li{
  display:grid;
  grid-template-columns:22px 1fr;
  gap:12px;
  align-items:start;
  font-size:15px;
  line-height:1.5;
}
.check{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  margin-top:1px;
  border-radius:50%;
  background:var(--accent-strong);
  color:var(--ink-inverse);
  font-size:11px;
}

.pill{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border-radius:var(--radius-pill);
  background:var(--accent-strong);
  color:var(--ink-inverse);
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}

/* Cards: the raised background and a 1px --line border. */
.card,
.fact,
.note-card{
  background:var(--surface-raised);
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.card{padding:var(--space-lg)}
.card .icon-tile{margin-bottom:var(--space-md)}
.card h3{margin-bottom:var(--space-sm)}
.card p{margin:0;font-size:15px;line-height:1.6;color:var(--ink-soft)}

.fact{display:flex;gap:14px;align-items:flex-start;padding:20px}
.fact h3,
.fact h4,
.fact .fact-title{margin:0 0 4px;font-size:16px;font-weight:600;line-height:1.4}
.fact p{margin:0;font-size:15px;line-height:1.55;color:var(--ink-soft)}

.note-card{display:flex;gap:var(--space-md);align-items:flex-start;margin-top:var(--space-lg);padding:20px var(--space-lg)}
.note-card p{margin:0;color:var(--ink-soft)}
.note-card strong{color:var(--ink)}

.stack{display:grid;gap:var(--space-md)}

/* CTA band: the only gradient, 1 hue from the accent to the brand navy. */
.cta-band{
  padding:64px 0;
  background-color:var(--accent-strong);
  background-image:linear-gradient(135deg, var(--accent-strong), var(--brand-navy));
  color:var(--ink-inverse);
  text-align:center;
}
.cta-band h2{color:var(--ink-inverse)}
.cta-band p{max-width:620px;margin:0 auto var(--space-lg);color:var(--ink-inverse);font-size:17px}
.cta-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.cta-band :focus-visible{outline-color:var(--ink-inverse)}

/* Site footer: the shell background; 1 column under 720px, 2 from 720px, 4 from 900px. */
.site-footer{padding:56px 0 32px;background:var(--shell-bg);color:var(--shell-ink)}
.footer-grid{display:grid;grid-template-columns:1fr;gap:var(--space-xl)}
.footer-brand p{max-width:340px;color:var(--shell-ink-soft);font-size:15px}
.footer-brand .logo{margin-bottom:var(--space-md)}
.site-footer a{color:var(--shell-ink-soft);text-decoration-color:var(--shell-line-strong)}
.site-footer a:hover{color:var(--shell-ink);text-decoration-color:var(--shell-ink)}
.footer-title{margin:0 0 var(--space-sm);color:var(--shell-ink);font-size:15px;font-weight:600}
.footer-links{margin:0;padding:0;list-style:none}
.footer-links a{display:inline-flex;align-items:center;min-height:var(--tap);text-decoration:none}
.footer-bottom{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-md);
  margin-top:var(--space-2xl);
  color:var(--shell-ink-soft);
  font-size:14px;
}
.footer-legal{display:flex;gap:var(--space-sm)}
.footer-legal a{display:inline-flex;align-items:center;min-height:var(--tap);padding:0 var(--space-sm);text-decoration:none}

@media (min-width:720px){
  .footer-grid{grid-template-columns:repeat(2, 1fr)}
}
@media (min-width:900px){
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}
  .footer-links a{min-height:34px}
}
