/* /how-to-spot-ai-generated-images: a plain, modern article page. */
:root {
  --bg: #ffffff;
  --tint: #f6f7f9;
  --ink: #111318;
  --soft: #555b66;
  --line: #e3e6eb;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  --accent-soft: #fff1e6;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); }
a { color: var(--accent); }
img, svg { max-width: 100%; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
a:focus-visible, summary:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.site { display: flex; align-items: center; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 18px 20px; }
.site .brand { font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.nav-link { margin-left: auto; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; }
.nav-link:hover { border-color: var(--ink); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 5.4vw, 58px); font-weight: 800; margin: 0 0 20px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin: 0 0 12px; }
h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }

.top { max-width: 1120px; margin: 0 auto; padding: 32px 20px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.top-single { display: block; max-width: 860px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); margin: 0 0 12px; }
.lead { font-size: 19px; color: #2b2f37; margin: 0 0 16px; }
.byline { font-size: 14px; color: var(--soft); margin: 0; }

.btn { display: inline-block; font-weight: 700; font-size: 16px; background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 13px 22px; border-radius: 999px; }
.btn:hover { filter: brightness(.92); }

main { max-width: 1120px; margin: 0 auto; padding: 0 20px 40px; }
.block { padding: 56px 0; border-top: 1px solid var(--line); }
.sec-lead { font-size: 18px; color: var(--soft); max-width: 44em; margin: 0 0 28px; }

/* Figures and the example picture */
.figure { margin: 0; }
.figure-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.figure-frame svg { display: block; width: 100%; height: auto; }
.tags { list-style: none; margin: 0; padding: 0; }
.tags li { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; border: 2px solid #fff; font: 700 14px/24px var(--font); text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.figure figcaption { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 14px; font-size: 14px; color: var(--soft); }
.figure figcaption b { display: inline-block; min-width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: var(--accent); color: #fff; text-align: center; font-size: 12px; margin-right: 6px; }

/* Numbered steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: var(--tint); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps p { margin: 0; font-size: 16px; }
.note { margin: 24px 0 0; padding: 16px 20px; border-radius: var(--radius); background: var(--accent-soft); max-width: 46em; }

/* Tiles */
.tell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tell { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.tell p { margin: 0 0 10px; font-size: 16px; }
.tell p:last-child { margin-bottom: 0; }
.tno { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; }
.why { font-size: 14px !important; color: var(--soft); }

/* Checklist and meter */
.check-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
fieldset { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
legend { font-weight: 700; font-size: 14px; padding: 0 6px; }
fieldset label { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; padding: 8px 0; cursor: pointer; }
fieldset input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin: 2px 0 0; }
.meter { position: sticky; top: 20px; background: var(--tint); border-radius: var(--radius); padding: 22px; }
.meter-bar { height: 12px; border-radius: 999px; background: #dfe3e8; overflow: hidden; }
.meter-bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.meter-say { font-weight: 600; font-size: 17px; margin: 14px 0 0; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two p { margin: 0; }

.maker-inner { display: flex; gap: 28px; align-items: center; background: var(--accent-soft); border-radius: 20px; padding: 32px; }
.maker-inner img { width: 140px; height: 140px; object-fit: contain; flex: none; }
.maker p { margin: 0 0 18px; max-width: 44em; }

.faq details { border-bottom: 1px solid var(--line); max-width: 50em; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: #2b2f37; }

.more-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.more-list a { display: inline-block; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; }
.more-list a:hover { border-color: var(--accent); color: var(--accent); }

.site-foot { max-width: 1120px; margin: 0 auto; padding: 28px 20px 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.site-foot p { margin: 0 0 6px; }
.site-foot a { color: var(--soft); }

@media (max-width: 900px) {
  .top { grid-template-columns: 1fr; gap: 32px; }
  .steps, .tell-grid { grid-template-columns: 1fr; }
  .check-wrap, .two { grid-template-columns: 1fr; }
  .meter { position: static; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .figure figcaption, fieldset { grid-template-columns: 1fr; }
  .tags li { width: 24px; height: 24px; font-size: 12px; line-height: 20px; }
  .maker-inner { flex-direction: column; align-items: flex-start; padding: 22px; }
  .maker-inner img { width: 100px; height: 100px; }
}
@media (prefers-reduced-motion: reduce) { .meter-bar span { transition: none; } }
