/* Inner pages (privacy, terms, after checkout, 404) in the landing's look: warm paper, deep
   green-grey ink, one green accent, Inter Tight for headings and Inter for text. The landing
   itself is the React app in ai-content-cleaner-website/. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}
:root {
  --ink: #17201d; --text: #2f3a37; --muted: #5d6965; --line: #e3dccd; --soft: #efe8dc;
  --accent: #3e9a7e; --accent-dark: #2c7560; --accent-soft: #e3ece5; --paper: #f7f4ee;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 16px/1.7 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-dark); }
a:hover { color: var(--ink); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.container { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Header, as on the landing */
.top { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 238, 0.85); backdrop-filter: blur(10px); }
.top-in { max-width: 1280px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-home { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 600 20px/1 var(--display); letter-spacing: -0.03em; }
.mark { display: grid; place-items: center; }
.mark svg { width: 24px; height: 24px; fill: var(--accent); }
.top-nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.top-nav a { color: var(--muted); text-decoration: none; }
.top-nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .top-nav a:not(.keep) { display: none; } }

/* Page body */
.exhibit { padding: 56px 0 80px; position: relative; }
.exlabel { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px !important; }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #8c958f; }
.exlabel-no { font-size: 13px; color: var(--muted); }
.ex-title { margin: 0 0 18px; color: var(--ink); font-family: var(--display); font-size: clamp(34px, 5vw, 52px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; }
.lede, .ex-statement { font-size: 19px; color: var(--muted); margin: 0 0 28px; }
.doc h2 { margin: 52px 0 12px; color: var(--ink); font: 600 23px/1.2 var(--display); letter-spacing: -0.03em; scroll-margin-top: 80px; }
.doc h3 { margin: 24px 0 6px; color: var(--ink); font-size: 17px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.four { display: grid; gap: 10px; margin: 0 0 12px; padding: 24px 26px; border-radius: 20px; background: var(--accent-soft); color: var(--ink); }
.four p { margin: 0; }
.stamp-line { font-size: 14px; color: var(--muted); }
.toc { columns: 2; column-gap: 32px; list-style: none; padding: 18px 22px !important; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); font-size: 15px; }
.toc li { break-inside: avoid; margin: 4px 0; }
.toc a { text-decoration: none; }
@media (max-width: 560px) { .toc { columns: 1; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin: 16px 0; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--soft); color: var(--ink); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font: 500 15px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-dark); color: var(--paper); }
.btn-sub { color: var(--muted); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.exhibit-num { position: absolute; right: 4vw; top: 10px; font-size: clamp(120px, 22vw, 260px); font-weight: 900; color: var(--accent-soft); line-height: 1; z-index: -1; user-select: none; }

/* After checkout */
.status-card { padding: 36px; background: #fbf9f5; border: 1px solid var(--line); border-radius: 28px; }
.state h1 { margin-top: 0; }
.mono-micro { font-size: 13px; color: var(--muted); }
.wait-line { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.wait-bar { position: relative; width: 160px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.wait-bar i { position: absolute; inset: 0; width: 40%; background: var(--accent); border-radius: 4px; animation: wait 1.4s ease-in-out infinite; }
@keyframes wait { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.license { margin-top: 28px; padding: 20px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.license h2 { margin: 0 0 10px; font-size: 17px; color: var(--ink); }
.license-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.license-key { flex: 1; min-width: 0; overflow-wrap: anywhere; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font: 14px/1.4 ui-monospace, Menlo, monospace; color: var(--ink); }
.hint { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
[hidden] { display: none !important; }

/* Footer, as on the landing */
.footer { border-top: 1px solid var(--line); background: var(--paper); padding: 32px 0; font-size: 14px; }
.footer-base { max-width: 1280px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 0 !important; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }
.footer-fine { color: var(--muted); font-size: 13px; }

/* Blog: the list of posts and a post. Pictures are the extension's own screens, 1280×800. */
.post-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 18px; }
.post-card { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 22px; background: #fbf9f5; text-decoration: none; color: inherit; }
.post-card:hover { border-color: var(--accent); color: inherit; }
.post-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 88% 40%; border-radius: 14px; display: block; }
.post-card h2 { margin: 0 0 6px; color: var(--ink); font: 600 21px/1.2 var(--display); letter-spacing: -0.03em; }
.post-card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
.post-card time { display: block; margin-top: 8px; font-size: 13px; color: #8c958f; }
@media (max-width: 600px) { .post-card { grid-template-columns: 1fr; } }
.post-meta { font-size: 14px; color: var(--muted); margin: -6px 0 26px; }
.doc figure { margin: 30px 0; }
.doc figure img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 18px 50px -24px rgba(23, 32, 29, 0.5); }
.doc figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.doc blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--ink); font-style: italic; }
.cta-box { margin: 48px 0 8px; padding: 28px; border-radius: 22px; background: var(--ink); color: #f7f4ee; }
.cta-box p { margin: 0 0 16px; color: rgba(247, 244, 238, 0.75); }
.cta-box strong { color: #fff; }
.cta-box .btn { background: #f7f4ee; color: var(--ink); }
.cta-box .btn:hover { background: #6fd1ad; color: var(--ink); }
.back { display: inline-block; margin-bottom: 18px; font-size: 14px; text-decoration: none; }
