/* www.gwench.com content pages (v1). Header and footer come from gwench-shell.css/js. */
:root {
  --bg: #0b0f14;
  --fg: #e8eef5;
  --body: #b8c4d4;
  --muted: #8b9bb0;
  --accent: #fec426;
  --line: rgba(232, 238, 245, 0.08);
  --card: rgba(255, 255, 255, 0.03);
  --pad: clamp(16px, 4vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: radial-gradient(ellipse 70% 40% at 50% -10%, rgba(254, 196, 38, 0.1), transparent 60%), var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #111; padding: 0.5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2 * var(--pad), 1080px); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--pad), 720px); margin-inline: auto; }

h1, h2, h3 { color: var(--fg); line-height: 1.25; letter-spacing: -0.01em; }
h1 { margin: 0 0 1rem; font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 600; }
h2 { margin: 0 0 0.75rem; font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 600; }
h3 { margin: 0 0 0.4rem; font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.eyebrow { margin: 0 0 0.75rem; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 1.15rem; max-width: 40rem; }
.muted { color: var(--muted); }

.hero { padding: clamp(3rem, 9vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero.center { text-align: center; }
.hero.center .lead { margin-inline: auto; }
.section { padding: clamp(2.25rem, 6vw, 3.5rem) 0; border-top: 1px solid var(--line); }

.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero.center .btns { justify-content: center; }
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.card p:last-child { margin-bottom: 0; }

/* Products page and product pages: the only places with product logos and wordmarks */
.product-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.product {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: inherit;
}
.product:hover { text-decoration: none; border-color: rgba(254, 196, 38, 0.45); }
.product-brand { display: flex; align-items: center; gap: 0.8rem; min-height: 44px; }
.product-brand .glyph { width: 44px; height: 44px; }
.product-brand .wordmark { height: 26px; width: auto; }
.product-brand .letter {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
  font-weight: 300;
  font-size: 1.4rem;
}
.product-brand .name { font-size: 1.45rem; font-weight: 300; }
.product p { margin: 0; }
.chip { align-self: flex-start; padding: 0.15rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.75rem; color: var(--muted); }
.product-hero .product-brand .glyph { width: 72px; height: 72px; }
.product-hero .product-brand .wordmark { height: 40px; }
.product-hero .product-brand .letter { width: 72px; height: 72px; font-size: 2.2rem; }
.product-hero .product-brand .name { font-size: 2.2rem; }

.values { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 1.2rem; color: var(--fg); }
.values li + li::before { content: "→"; margin-right: 1.25rem; color: var(--accent); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.steps li { counter-increment: s; padding-left: 2.2rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 0.85rem; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { color: var(--muted); }
