/* 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; }
/* Keyboard focus ring for page content (links, buttons). Mouse clicks show none. */
main a:focus-visible, main button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.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); }
/* Phones: let the headline wrap on its own; the desktop line break leaves a one-word line at 390px. */
@media (max-width: 560px) { .hero h1 br { display: none; } }
.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 rgba(232, 238, 245, 0.32); } /* button edge ≥ 3:1 on the dark background (WCAG 1.4.11) */
.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); } /* decorative arrow: screen readers skip it */
.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); }

/* home: three steps in one row on wide screens; real product screenshots */
@media (min-width: 760px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.showcase { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .showcase { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); } }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.shot-phone img { max-width: 320px; margin: 0 auto; border-radius: 28px; }
.shot figcaption { margin-top: .6rem; color: var(--muted, #9aa3ad); font-size: .95rem; line-height: 1.45; }
.shot figcaption b { color: var(--text, #e8e6e1); font-weight: 600; }

/* Product pages (WEB-5): hero with a real screenshot, feature cards with captions, the scan-check-see flow */
.ph { display: grid; gap: 1.5rem 2.5rem; align-items: center; }
@media (min-width: 860px) {
  .ph { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
  .ph.ph-phone { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}
.ph .shot img { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.ph .shot-phone img { max-width: 300px; }
.ph .chip { display: inline-block; margin-top: 1rem; }
.features { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { margin: 0; display: flex; flex-direction: column; gap: 0.85rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.feature img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.feature.phone img { max-width: 220px; margin-inline: auto; border-radius: 22px; }
.feature figcaption { font-size: 0.95rem; line-height: 1.5; color: var(--body); }
.feature figcaption b { display: block; margin-bottom: 0.2rem; font-size: 1.05rem; color: var(--fg); }
.feature.text { align-self: start; }
.flow { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .flow { grid-template-columns: 1fr; } }
.flow li { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.flow li.here { border-color: rgba(254, 196, 38, 0.6); background: rgba(254, 196, 38, 0.06); }
.flow .step { display: block; margin-bottom: 0.3rem; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.flow .here .step { color: var(--accent); }
.flow b { display: block; margin-bottom: 0.25rem; color: var(--fg); }
.flow p { margin: 0; font-size: 0.95rem; }
.flow a { color: var(--fg); }

/* Locked product mottos: centered, neutral grey, Inter Light. OpenWall shows as "Powered by" + its coral word mark (own page excepted). */
.product-motto { margin: .6rem 0 0; text-align: center; font-weight: 300; letter-spacing: .12em; color: #E6E6E6; font-size: 1.05rem; }
.product-powered { margin: .5rem 0 0; text-align: center; font-weight: 300; letter-spacing: .08em; color: #b3b3b3; font-size: .8rem; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.product-powered img { height: 18px; width: auto; display: inline-block; }

/* Phones: headings wrap, long words break, buttons stack full-width. */
@media (max-width: 480px) {
  h1, h2, h3 { overflow-wrap: anywhere; }
  .btns { flex-direction: column; align-items: stretch; }
  .btns .btn { width: 100%; text-align: center; box-sizing: border-box; }
}
