:root {
  --ink: #1c1c19;
  --muted: #5f5e58;
  --accent: #5c2d82;
  --gold: #c5a047;
  --bg: #f7f4ef;
  --paper: #fbf8f4;
  --soft: #efe8dc;
  --line: #e0d4c0;
  --ink-inv: #f7f4ef;
  --footer: #1a1224;
  --serif: Palatino, "Palatino Linotype", "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 22px; }

/* —— Parent company chrome —— */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  display: block;
  height: 2rem;
  width: auto;
}
.brand:hover { text-decoration: none; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand-llc {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
nav[aria-label="Site"] {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px 14px;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
nav[aria-label="Site"] a {
  margin: 0;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
nav[aria-label="Site"] a:hover { color: var(--ink); text-decoration: none; }
nav[aria-label="Site"] a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.hero { padding: 56px 0 12px; }
.hero h1 {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.15;
}
.hero p, .hero .lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 32em;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}


/* Home masthead: full-width gold wordmark banner */
.masthead {
  background: #c5a047;
  width: 100%;
  margin: 0;
  padding: 22px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.masthead-wordmark {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.45em;
  flex-wrap: nowrap;
  max-width: 100%;
}
.masthead .brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 6.4vw, 3.1rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1c1c19;
  white-space: nowrap;
  line-height: 1.1;
}
.masthead .brand-llc {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(0.62rem, 2.1vw, 1rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3a3016;
  white-space: nowrap;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 8px 0 0;
}
@media (min-width: 760px) {
  .brand-grid { grid-template-columns: 1fr 1fr; }
}

.content { padding: 12px 0 72px; }
.content h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 2.2em 0 0.7em;
}
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 1.05rem; margin: 1.5em 0 0.45em; }
.content p, .content li { font-size: 1.02rem; }
.content ul, .content ol { padding-left: 1.25em; }
.content li { margin: 0.4em 0; }
.updated { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.4em; }
.section-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.6em 0;
}

/* Home: company facts + product card */
.facts {
  display: grid;
  grid-template-columns: 10.5rem 1fr;
  gap: 8px 18px;
  margin: 0;
}
.facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.35em;
}
.facts dd { margin: 0; }
.facts dd + dt { margin-top: 0.6em; }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0 0 20px;
  margin: 0;
  min-width: 0;
}
.product-card .brand-art {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 260px;
  padding: 16px;
  background: #fff;
  overflow: hidden;
}
.product-card .brand-art.brand-art-dark { background: #000; }
.product-card .brand-art img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 0;
}
.product-card .product-body { padding: 4px 22px 0; }
.product-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 12px 0 6px;
}
.product-card p { margin: 0 0 10px; color: var(--muted); }
.product-card p:last-child { margin-bottom: 0; }
.product-card .product-link {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
}
.product-card .product-link:hover { text-decoration: underline; }

.who-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin: 0 0 0.4em;
}
.who-split .media { margin: 0; }
.who-split .media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 0;
  border: 1px solid var(--line);
}

.brand-hero,
.brand-art-block {
  margin: 0 0 1.6em;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
}
.brand-hero.brand-art-dark,
.brand-art-block.brand-art-dark { background: #000; }
.brand-hero img,
.brand-art-block img {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
}
.brand-hero img { max-height: 520px; }
.brand-art-block img { max-height: 420px; }

/* Shared content components (legal + product) */
.cards, .price-grid, .tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 8px;
}
.card, .price-card, .tool-card {
  background: var(--soft);
  border-radius: 4px;
  padding: 18px 20px;
}
.card h2, .card h3, .tool-card h3 { margin: 0 0 8px; font-size: 1.05rem; font-family: var(--sans); }
.card p, .tool-card p { margin: 0; color: var(--muted); }
.price-card h3 { margin: 0 0 4px; font-size: 1.05rem; font-family: var(--sans); }
.price-card .price {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}
.price-card .cadence { color: var(--muted); font-size: 0.92rem; margin: 0 0 12px; }
.price-card ul { margin: 0; padding-left: 1.15em; }
.price-card li { margin: 0.3em 0; font-size: 0.95rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: center;
  margin: 1.4em 0 2em;
}
.split.flip { grid-template-columns: 1fr 1.05fr; }
.split .copy p:last-child { margin-bottom: 0; }
.media { margin: 0; }
.media img { width: 100%; border-radius: 4px; background: var(--soft); }
.banner { margin: 0; }
.banner img { width: 100%; border-radius: 0; background: #000; }

.app-lockup {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 22px 0 8px;
}
.app-lockup img { width: 72px; height: 72px; border-radius: 16px; }
.app-lockup h2 { margin: 0 0 4px; }
.app-lockup p { margin: 0; color: var(--muted); }

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--ink-inv);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}
.store-btn:hover { text-decoration: none; opacity: 0.92; }
.store-btn.is-disabled,
.store-btn[aria-disabled="true"] {
  background: var(--soft);
  color: var(--muted);
  pointer-events: none;
}
.store-btn svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.store-btn .ms-logo { width: 18px; height: 18px; }

.stamp-cats, .lang-list, .swatches, .use-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.stamp-cats li, .lang-list li, .use-list li {
  background: var(--soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  margin: 0;
}
.swatches { gap: 10px 18px; }
.swatches li { display: flex; align-items: center; gap: 8px; margin: 0; }
.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  display: inline-block;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; color: var(--ink); }
address { font-style: normal; color: var(--ink); }

.site-footer {
  background: var(--footer);
  color: #b0aea6;
  padding: 40px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px 32px;
  margin-bottom: 28px;
}
.site-footer p { margin: 0 0 8px; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer a { color: #d9d6cc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .footer-brand { margin-bottom: 8px; color: var(--ink-inv); }
.site-footer .brand-name { color: var(--ink-inv); }
.site-footer .brand-llc { color: #b0aea6; }
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.copyright {
  border-top: 1px solid #2c2b27;
  padding-top: 18px;
  font-size: 0.82rem;
}

/* —— Derosity product page under the Fastenated shell —— */
body.page-derosity main {
  --accent: #0b74de;
  --bg: #ffffff;
  --soft: #f4f7fb;
  --line: #e6e9ee;
  --muted: #5b616b;
  --ink: #14161a;
  background: #fff;
  font-family: var(--sans);
}
body.page-derosity main .hero h1,
body.page-derosity main .content h2 {
  font-family: var(--sans);
  letter-spacing: -0.03em;
}
body.page-derosity main .card,
body.page-derosity main .price-card,
body.page-derosity main .tool-card {
  border-radius: 12px;
}
body.page-derosity main .media img { border-radius: 12px; }
body.page-derosity main .store-btn { border-radius: 10px; background: #14161a; color: #fff; }
body.page-derosity main .store-btn.is-disabled,
body.page-derosity main .store-btn[aria-disabled="true"] {
  background: var(--soft);
  color: var(--muted);
}
body.page-derosity main a { color: #0b74de; }


@media (max-width: 720px) {
  nav[aria-label="Site"] {
    gap: 0 8px;
    justify-content: space-between;
  }
  nav[aria-label="Site"] a {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
  }
}
@media (min-width: 820px) {
  .site-header .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  nav[aria-label="Site"] {
    width: auto;
    padding-top: 0;
    border-top: 0;
  }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .facts { grid-template-columns: 1fr; gap: 2px 0; }
  .facts dt { padding-top: 0; }
  .facts dd + dt { margin-top: 1em; }
}
@media (max-width: 640px) {
  .cards, .price-grid, .tool-grid, .split, .split.flip, .who-split {
    grid-template-columns: 1fr;
  }
  .split .copy { order: 1; }
  .split .media { order: 2; }
  .who-split .copy { order: 1; }
  .who-split .media { order: 2; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 2rem; }
  .app-lockup img { width: 64px; height: 64px; }
}


@media (min-width: 600px) {
}

figcaption, .art-caption {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 8px 0 0;
  text-align: center;
}
.who-split figcaption, .who-split .art-caption { text-align: left; }

.brand-hero .brand-art-dark,
.brand-art-block .brand-art-dark {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
}
.brand-hero figcaption,
.brand-art-block figcaption {
  width: 100%;
  background: #fff;
  padding-top: 8px;
}

.mascot-block {
  margin: 8px 0 0;
  text-align: center;
}
.mascot-block .mascot-art {
  margin: 0 auto 12px;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
}
.mascot-block .mascot-art img {
  margin: 0 auto;
}
.mascot-block h2 { margin-bottom: 8px; }
.mascot-block .mascot-tagline {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}
.mascot-block p { margin: 0 auto; max-width: 28em; color: var(--muted); }

.offering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 1.6em;
}
.offering-grid .brand-art-block { margin: 0; }
