/* Brand assets: the inline SVG art (home page and social cards), the frame around a capture and the product icons.
   Everything reads the tokens, so it follows the dark scheme. The art is static, decorative and always aria-hidden. */

.hero-art {
  display: block;
  inline-size: 100%;
  max-inline-size: 40rem;
  block-size: auto;
}

.art-field {
  fill: var(--color-accent-subtle);
}

.art-soft {
  fill: var(--color-surface);
  opacity: 0.5;
}

.art-page {
  fill: var(--color-surface);
  stroke: var(--color-border-strong);
  stroke-width: 1.5;
}

.art-page-on {
  stroke: var(--color-accent);
}

.art-line {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 6;
  stroke-linecap: round;
}

.art-line-on {
  stroke: var(--color-accent);
  opacity: 0.55;
}

.art-line-head {
  opacity: 1;
}

.art-block {
  fill: var(--color-accent-subtle);
}

.art-link {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-divider {
  display: block;
  inline-size: 6rem;
  block-size: auto;
}

.art-rule {
  stroke: var(--color-border-strong);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.art-dot {
  fill: var(--color-accent);
}

/* A capture in a plain browser frame. The frame is one surface: no card around it. */
.frame {
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-1);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-sunken);
  border-bottom: 1px solid var(--color-border);
}

.frame-dots {
  display: flex;
  gap: var(--space-2);
}

.frame-dots span {
  inline-size: 0.625rem;
  block-size: 0.625rem;
  border-radius: var(--radius-full);
  background: var(--color-border-strong);
  opacity: 0.55;
}

.frame-url {
  min-inline-size: 0;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

.frame figcaption {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* One icon style: 24 px grid, 1.5 stroke, round caps and joins (public/img/icons/*.svg). The file is a mask, the colour
   is the text colour. */
.icon {
  flex: none;
  display: inline-block;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-check { --icon: url("/img/icons/check.svg"); }
.icon-calculator { --icon: url("/img/icons/calculator.svg"); }
.icon-install { --icon: url("/img/icons/install.svg"); }
.icon-pricing { --icon: url("/img/icons/pricing.svg"); }
.icon-signup { --icon: url("/img/icons/signup.svg"); }

.home-links a {
  gap: var(--space-3);
}

.home-links .icon {
  color: var(--color-accent);
}

/* The icon sits first in the link, so the row aligns on centres: an empty box has no text baseline. */
@media (min-width: 40rem) {
  .home-links li {
    align-items: center;
  }
}
