/* CertMonk site. One stylesheet, no external fonts, no scripts. */

:root {
  --deep: #0b2a26;
  --teal: #1f7a5e;
  --teal-dark: #17654d;
  --mint: #c4ead3;
  --ink: #16292c;
  --ember-1: #ffd36e;
  --ember-2: #ff9a3c;
  --ember-3: #e8561b;

  --bg: #f7fbf8;
  --surface: #ffffff;
  --text: #16292c;
  --muted: #4a5d5f;
  --border: #d5e6dc;
  --link: #17654d;
  --link-hover: #0b2a26;
  --note-bg: #eef8f2;
  --focus: #e8561b;

  --measure: 44rem;
  --radius: 12px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b2a26;
    --surface: #10352f;
    --text: #e6f4ec;
    --muted: #a9c7b8;
    --border: #255247;
    --link: #c4ead3;
    --link-hover: #ffd36e;
    --note-bg: #123a33;
    --focus: #ffd36e;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--focus);
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  background: var(--deep);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--ember-1), var(--ember-2), var(--ember-3)) 1;
}

.site-header .inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.brand {
  display: inline-block;
  border-radius: 6px;
}

.brand img {
  width: 150px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.site-nav li + li {
  margin-top: 0;
}

.site-nav a {
  color: #e6f4ec;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0;
}

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

.site-nav a:focus-visible,
.brand:focus-visible {
  outline-color: var(--ember-1);
}

/* Main content */

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.35rem;
  margin: 2.25rem 0 0.5rem;
  padding-top: 0.25rem;
}

h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.35rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

li + li {
  margin-top: 0.3rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  background: var(--note-bg);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.85rem 1rem;
  margin: 1.25rem 0;
}

.note.warn {
  border-left-color: var(--ember-3);
}

.note > :last-child {
  margin-bottom: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.card > :first-child {
  margin-top: 0;
}

.card > :last-child {
  margin-bottom: 0;
}

.toc {
  font-size: 0.95rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2 12rem;
  column-gap: 2rem;
}

.toc li + li {
  margin-top: 0.15rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  font-size: 0.97rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
}

/* Landing page */

.hero {
  text-align: center;
  padding-top: 1rem;
}

.hero-logo {
  width: min(100%, 420px);
  margin: 0 auto 1.25rem;
}

.hero h1 {
  font-size: clamp(1.6rem, 5.5vw, 2.3rem);
}

.badge {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--deep);
  color: #ffffff;
  font-weight: 600;
  border: 2px solid var(--ember-2);
}

.badge small {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--mint);
}

.features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.features li {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}

.features strong {
  display: block;
  color: var(--text);
}

.features span {
  color: var(--muted);
  font-size: 0.97rem;
}

@media (min-width: 40rem) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

/* Steps */

ol.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

ol.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  min-height: 2rem;
}

ol.steps > li + li {
  margin-top: 0.6rem;
}

ol.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--teal-dark);
  color: #ffffff;
}

/* FAQ */

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 1rem;
  margin: 0 0 0.75rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
}

details[open] summary {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

details > :last-child {
  margin-bottom: 1rem;
}

kbd,
code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  font-size: 0.92em;
  background: var(--note-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.05em 0.35em;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.93rem;
  color: var(--muted);
}

.site-footer .inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  text-align: center;
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.site-footer nav a {
  white-space: nowrap;
}

.site-footer .sep {
  margin: 0 0.35rem;
  color: var(--muted);
}

.disclaimer {
  font-size: 0.85rem;
  max-width: 44rem;
  margin: 0.75rem auto 0 !important;
}

/* App preview screenshots (added by the G3NO site session) */

.shots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 0.5rem;
}

.shots figure {
  margin: 0;
  text-align: center;
  flex: 0 1 200px;
}

.shots img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border: 6px solid var(--deep);
  box-shadow: 0 18px 40px -22px rgba(11, 42, 38, 0.55);
}

.shots figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.shots-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}


@media (max-width: 30rem) {
  .shots figure:not(:first-child) {
    display: none;
  }
}

/* Hero actions and games section (G3NO site session) */

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}

.button.primary,
.button.ghost {
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--ember-2), var(--ember-3));
  color: #ffffff;
  box-shadow: 0 10px 24px -12px rgba(232, 86, 27, 0.7);
}

.button.primary:hover {
  background: var(--ember-3);
  color: #ffffff;
  transform: translateY(-1px);
}

.button.ghost {
  background: transparent;
  color: var(--link);
  border-color: var(--border);
}

.button.ghost:hover {
  background: var(--surface);
  color: var(--link-hover);
  border-color: var(--teal);
  transform: translateY(-1px);
}

.availability {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.25rem 0 1rem;
}

.live-dot {
  display: inline-block;
  vertical-align: 0.05em;
  margin-right: 0.5rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2fbf71;
  box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.18);
  flex: none;
}

.games {
  margin: 1.5rem 0 2rem;
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: var(--radius);
  background: var(--deep);
  color: #e6f4ec;
}

.games h2 {
  color: #ffffff;
  margin-top: 0.25rem;
}

.games p {
  color: #cfe6da;
}

.games-kicker {
  display: inline-block;
  margin: 0;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--ember-2);
  color: #1a1a1a !important;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.games-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin: 1rem 0;
}

.games-list li {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(196, 234, 211, 0.18);
}

.games-list strong {
  display: block;
  color: var(--ember-1);
}

.games-list span {
  color: #cfe6da;
  font-size: 0.95rem;
}

.games-note {
  font-size: 0.9rem;
  margin-bottom: 0;
}

@media (min-width: 40rem) {
  .games-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* Launch promo (G3NO site session) */

.promo {
  display: inline-block;
  margin: 0.5rem 0 0.75rem;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  border: 1px dashed var(--ember-2);
  background: rgba(255, 154, 60, 0.08);
  font-size: 0.95rem;
  color: var(--text);
}

.promo-tag {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--ember-3);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}

.promo code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 800;
  padding: 0.05rem 0.4rem;
  border-radius: 6px;
  background: var(--deep);
  color: var(--ember-1);
  letter-spacing: 0.04em;
}

/* 2026-10-02: Google Play button, "Try a question" section */
.button.play {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  border-radius: 999px;
  padding: 0.5rem 1.4rem;
  background: #0b2a26;
  color: #ffffff;
  font-weight: 700;
  border: 2px solid #0b2a26;
  transition: transform 0.15s ease;
}
.button.play small { font-size: 0.62rem; letter-spacing: 0.06em; font-weight: 600; opacity: 0.85; }
.button.play:hover { color: #ffffff; transform: translateY(-1px); }
@media (prefers-color-scheme: dark) { .button.play { background: #e6f4ec; border-color: #e6f4ec; color: #0b2a26; } .button.play:hover { color: #0b2a26; } }
.try { margin: 2rem 0; }
.try h2 { margin-bottom: 0.25rem; }
.try > p { color: var(--muted); }
