/* DigitalStackr — shared styles */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #16181c;
  --muted: #5b6068;
  --line: #e6e8ec;
  --accent: #0b76ef;
  --card: #f7f8fa;
  --max: 62rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f12;
    --fg: #e9ebef;
    --muted: #9aa1ab;
    --line: #23272e;
    --accent: #62a8ff;
    --card: #14171c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* header */
header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 10;
}
.nav { display: flex; align-items: center; justify-content: space-between;
       gap: 1rem; padding: .9rem 0; flex-wrap: wrap; }
/* Logo mark beside the wordmark. The mark is a white glyph on a black
   square, so it needs no extra treatment on the dark theme; on light it
   gets a subtle rounded crop so it does not read as a floating black box. */
.brand { display: inline-flex; align-items: center; gap: .55rem;
         font-weight: 700; letter-spacing: -.02em; font-size: 1.15rem;
         text-decoration: none; color: var(--fg); }
.nav ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }

/* type */
h1 { font-size: clamp(1.9rem, 5vw, 2.75rem); line-height: 1.15;
     letter-spacing: -.03em; margin: 2.5rem 0 .75rem; }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: -.02em; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
p  { margin: 0 0 1rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 44rem; }
.muted { color: var(--muted); }
a { color: var(--accent); }

/* layout bits */
section { padding: 1rem 0 2rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.15rem;
}
.card .price { font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.card p { margin: .4rem 0 0; color: var(--muted); font-size: .95rem; }
.tag { display: inline-block; font-size: .72rem; text-transform: uppercase;
       letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line);
       border-radius: 999px; padding: .15rem .55rem; margin-bottom: .5rem; }
.btn {
  display: inline-block; background: var(--fg); color: var(--bg);
  text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .6rem 1.1rem; border-radius: 9px; margin-top: .9rem;
}
.btn.secondary { background: transparent; color: var(--fg); border: 1px solid var(--line); }
ul.plain { padding-left: 1.1rem; }
ul.plain li { margin: .35rem 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: .85rem 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin-top: .6rem; color: var(--muted); }

footer {
  border-top: 1px solid var(--line); margin-top: 3rem;
  padding: 2rem 0 3rem; color: var(--muted); font-size: .9rem;
}
footer a { color: var(--muted); }
footer .cols { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }

.brand-mark {
  width: 44px; height: 44px; border-radius: 9px;
  object-fit: cover; display: block; flex: none;
}
