:root {
  color-scheme: dark;
  --bg: #090b0e;
  --bg-raise: #10141a;
  --card: #151a21;
  --line: rgba(244, 241, 234, 0.14);
  --line-strong: rgba(244, 241, 234, 0.28);
  --text: #f4f1ea;
  --muted: #c8c1b6;
  --faint: #a39c91;
  --brass: #e4b56a;
  --brass-2: #f0d7a8;
  --teal: #8fd0c6;
  --ink: #1a140c;
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2122;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2122;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2122;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2122;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 88% -12%, rgba(228, 181, 106, 0.16), transparent 42%),
    radial-gradient(ellipse at -8% 18%, rgba(143, 208, 198, 0.08), transparent 34%),
    linear-gradient(rgba(244, 241, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 430;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
.brand-fallback {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.96;
}

h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-2);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 580;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p {
  margin: 0;
}

a {
  color: var(--brass-2);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 0;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--brass);
  color: var(--ink);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(9, 11, 14, 0.92);
  background-image:
    linear-gradient(rgba(9, 11, 14, 0.78), rgba(9, 11, 14, 0.9)),
    url("/assets/img/circuit.svg");
  background-size: auto, 220px 220px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-rail,
.eyebrow,
.meta,
.specs dt,
.status,
.shot figcaption,
.photo-slot strong,
.legal,
.header-rail p {
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 8px;
  color: var(--muted);
  font-size: 0.68rem;
}

.header-rail p {
  margin: 0;
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.brand-badge,
.brand-badge img {
  display: block;
  width: 37px;
  height: 37px;
}

.brand-badge img {
  border-radius: 50%;
}

.brand-wordmark {
  display: block;
  width: 165px;
  height: auto;
}

.site-nav ul,
.footer-nav ul,
.index-nav ol,
.log-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.site-nav a,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.footer-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--brass);
}

main {
  flex: 1 0 auto;
  padding-bottom: 72px;
}

.hero {
  display: grid;
  gap: 32px;
  padding: 42px 0 12px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.72rem;
}

.lede {
  max-width: 42rem;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.button-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 580;
}

.button {
  background: var(--brass);
  color: var(--ink);
}

.button:hover {
  background: var(--brass-2);
  color: var(--ink);
}

.button-quiet,
.button.button-quiet {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.button-quiet:hover {
  border-color: var(--brass);
  color: var(--text);
}

.hero-figure,
.shot,
.catalog-card,
.panel,
.droid-teaser,
.product {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(21, 26, 33, 0.9);
  box-shadow: var(--shadow);
}

.hero-figure {
  margin: 0;
  overflow: hidden;
}

.media,
.hero-figure .media {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-raise);
  background-image:
    linear-gradient(rgba(244, 241, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}

.hero-figure .media {
  aspect-ratio: 5 / 4;
}

.hero-figure picture,
.media picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-figure img,
.media img,
.shot img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.shot figcaption,
.hero-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin: 0;
  padding: 12px 14px;
  color: var(--faint);
  font-size: 0.68rem;
}

.facts {
  margin-top: 28px;
}

.facts h2,
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.facts ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.facts li {
  min-height: 92px;
  padding: 16px;
  background: var(--card);
}

.facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  margin-top: 72px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.catalog {
  display: grid;
  gap: 14px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.catalog-card:hover {
  border-color: rgba(228, 181, 106, 0.75);
  color: inherit;
}

.catalog-card .media {
  aspect-ratio: 4 / 3;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.card-body p {
  color: var(--muted);
}

.card-kicker,
.card-spec {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.droid-teaser {
  display: grid;
  gap: 22px;
  margin-top: 72px;
  padding: 22px;
}

.droid-teaser p {
  margin-top: 14px;
  color: var(--muted);
}

.schematic-frame {
  margin: 0;
  background: var(--bg-raise);
  border: 1px solid var(--line);
}

.schematic-frame img {
  display: block;
  height: auto;
}

.schematic-frame figcaption {
  padding: 4px 14px 16px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.log-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.log-list h2,
.log-list h3 {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 580;
  letter-spacing: -0.01em;
}

.log-list h2 a,
.log-list h3 a {
  color: var(--brass-2);
  text-underline-offset: 0.15em;
}

.log-list h3 a:hover {
  color: var(--text);
}

.log-list article,
.log-row {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(21, 26, 33, 0.9);
}

.log-list time,
.post-meta time {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.log-list p,
.post-body p,
.narrow p {
  margin-top: 12px;
  color: var(--muted);
}

.page-head {
  padding: 42px 0 8px;
}

.page-head .lede {
  margin-top: 16px;
}

.index-nav {
  margin-top: 28px;
}

.index-nav ol {
  display: grid;
  gap: 8px;
}

.index-nav a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  background: rgba(21, 26, 33, 0.75);
}

.index-nav a:hover {
  border-color: var(--brass);
}

.index-nav span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding: 18px;
  scroll-margin-top: 108px;
}

.product-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.product-copy > p,
.narrow p,
.post-body p {
  color: var(--muted);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 0.68rem;
}

.status-soon {
  color: var(--brass-2);
  border-color: rgba(228, 181, 106, 0.55);
}

.status-next {
  color: var(--teal);
  border-color: rgba(143, 208, 198, 0.55);
}

.gallery {
  display: grid;
  gap: 12px;
}

.shot {
  margin: 0;
  overflow: hidden;
}

.shot .media {
  aspect-ratio: 4 / 3;
}

.specs {
  display: grid;
  margin: 4px 0 0;
}

.specs div {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.specs dt {
  margin: 0;
  color: var(--brass);
  font-size: 0.68rem;
}

.specs dd {
  margin: 0;
}

.photo-slot {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-height: 148px;
  padding: 22px;
  border: 1px dashed rgba(228, 181, 106, 0.55);
  border-radius: 4px;
  background-color: rgba(16, 20, 26, 0.55);
  background-image:
    linear-gradient(rgba(244, 241, 234, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  text-align: center;
}

.photo-slot strong {
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 400;
}

.photo-slot p {
  max-width: 36rem;
  color: var(--muted);
}

.feature-list {
  margin: 8px 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 6px;
}

.panel {
  margin-top: 28px;
  padding: 28px 22px;
}

.panel p + p {
  margin-top: 12px;
}

.narrow {
  max-width: 42rem;
}

.post {
  max-width: 42rem;
  padding-top: 42px;
}

.post-body {
  margin-top: 8px;
}

.post-body a {
  color: var(--brass-2);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
}

.footer-brand p + p,
.legal {
  color: var(--faint);
  font-size: 0.75rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
}

.missing h1 {
  font-size: clamp(4.5rem, 16vw, 8rem);
}

[id] {
  scroll-margin-top: 108px;
}

@media (min-width: 720px) {
  .brand {
    gap: 10px;
  }

  .brand-badge,
  .brand-badge img {
    width: 44px;
    height: 44px;
  }

  .brand-wordmark {
    width: 196px;
  }

  .facts ul {
    grid-template-columns: 1fr 1fr;
  }

  .specs div {
    grid-template-columns: minmax(8.5rem, 0.38fr) 1fr;
    gap: 16px;
    align-items: baseline;
  }

  .log-list article {
    grid-template-columns: 11rem 1fr;
    gap: 18px;
    align-items: start;
  }

  .index-nav ol {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .legal {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: end;
    min-height: calc(100vh - 140px);
    padding-top: 56px;
  }

  .facts ul,
  .catalog {
    grid-template-columns: repeat(3, 1fr);
  }

  .facts ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .droid-teaser {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    padding: 28px;
  }

  .product {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
    padding: 22px;
  }

  .gallery {
    grid-column: 1;
  }

  .shot-lead {
    grid-column: 1 / -1;
  }

  .product-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .photo-slot {
    grid-column: 1 / -1;
  }

  .gallery-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Design page (one enclosure per page, e.g. /enclosures/esp32-30-pin/) */

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--faint);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover,
.crumbs a[aria-current="page"] {
  color: var(--text);
}

.design-hero {
  display: grid;
  gap: 28px;
  padding: 22px 0 8px;
}

.design-cover .media {
  aspect-ratio: 3 / 4;
}

.design-intro h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
}

.design-intro .lede {
  margin-top: 18px;
}

.design-intro .status-row {
  margin-top: 22px;
}

.design-body {
  display: grid;
  gap: 28px;
  margin-top: 56px;
}

.design-copy h2,
.spec-card h2,
.download h2,
.photos h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.design-copy > * + h2 {
  margin-top: 44px;
}

.design-copy > p {
  margin-top: 14px;
  color: var(--muted);
}

.design-copy .feature-list {
  margin-top: 14px;
}

.feature-list ul {
  margin: 6px 0 0;
  padding-left: 1.1rem;
}

.feature-list ul li {
  margin-top: 4px;
}

.design-copy .tip {
  padding: 12px 14px;
  border-left: 2px solid var(--brass);
  background: var(--bg-raise);
}

.tip strong {
  color: var(--brass-2);
  font-weight: 580;
}

.spec-card {
  display: grid;
  align-self: start;
  gap: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(21, 26, 33, 0.9);
  box-shadow: var(--shadow);
}

.spec-card h2 {
  font-size: 1.6rem;
}

.spec-card .specs {
  margin-top: 10px;
}

.spec-card p {
  margin-top: 10px;
  color: var(--muted);
}

.spec-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.spec-list li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.download {
  margin-top: 56px;
}

.download > p {
  margin-top: 12px;
  color: var(--muted);
}

.download .actions {
  margin-top: 18px;
}

.button-pending,
.button.button-pending,
.button.button-pending:hover {
  background: transparent;
  border: 1px dashed rgba(228, 181, 106, 0.55);
  color: var(--brass-2);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: default;
}

.photos .meta {
  color: var(--faint);
  font-size: 0.68rem;
}

.photo-group {
  margin: 28px 0 14px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Justified rows: width follows each photo's shape, so a row shares one height. */
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-grid::after {
  content: "";
  flex-grow: 1000;
}

.photo-grid li {
  display: flex;
  flex-grow: var(--ar);
  flex-basis: calc(var(--ar) * 150px);
  min-width: 0;
}

.photo-grid .shot {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.photo-grid .shot figcaption {
  flex: 1;
  align-content: flex-start;
}

.photo-tall {
  --ar: 0.75;
}

.photo-wide {
  --ar: 1.3333;
}

.photo-link {
  display: block;
  background: var(--bg-raise);
}

.photo-grid .shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

.product-copy h2 a {
  color: inherit;
  text-decoration: none;
}

.product-copy h2 a:hover {
  color: var(--brass-2);
}

@media (min-width: 720px) {
  .design-cover .media {
    aspect-ratio: 4 / 3;
  }

  .photo-grid li {
    flex-basis: calc(var(--ar) * 240px);
  }
}

@media (min-width: 960px) {
  .design-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: center;
    padding-top: 28px;
  }

  .design-body {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise 680ms ease both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
  }

  .site-header,
  .actions,
  .site-footer {
    position: static;
    background: #fff;
  }

  a {
    color: #111;
  }
}

/* In-development card (e.g. Desk Scout on /droid/) */

.dev-card {
  max-width: 46rem;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 4px;
  background: rgba(21, 26, 33, 0.9);
  box-shadow: var(--shadow);
}

.dev-card h2 {
  margin-top: 16px;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.dev-card p:not(.status) {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

@media (min-width: 720px) {
  .dev-card {
    padding: 28px 32px;
  }
}

/* /droid/ rework: later section and text-only home teaser */

.droid-later h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.droid-later .schematic-frame {
  margin-top: 24px;
}

/* Desk Scout concept sketch: white line art on a light panel */

.sketch-panel {
  margin: 0;
}

.dev-card .sketch-panel {
  margin-top: 18px;
}

.sketch-panel img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.sketch-panel figcaption {
  margin-top: 10px;
  color: var(--faint);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Accessibility utility: hidden visually, still read by screen readers */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Outbound link that opens in a new tab */

.button-external {
  gap: 6px;
}

.external-icon {
  font-size: 0.95em;
  line-height: 1;
}

/* Support email: footer line and the line under a design's Download button */

.footer-contact {
  color: var(--muted);
  font-size: 0.9rem;
}

.download > .support-line {
  margin-top: 18px;
}

@media (min-width: 720px) {
  .footer-contact {
    grid-column: 1 / -1;
  }
}
