/* ChatGPT Ads Product Feed Generator: page shell.
   The tool itself is styled by feed-forge.css, scoped under .ff.
   These variables intentionally mirror the tool's palette so the page
   and the tool read as one surface. */

:root {
  --ground: #f1f4f2;
  --surface: #ffffff;
  --line: #d2dad6;
  --line-soft: #e3e9e6;
  --ink: #0f1614;
  --ink2: #4a5652;
  --ink3: #77837e;
  --accent: #0c6b57;
  --accent-soft: #dbede6;
  --accent-line: #9cc9bc;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1060px;
  --r: 10px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.wrapper { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* --- Header --- */

.top {
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}

.top .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark .glyph {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: -0.05em;
}

.byline {
  font-size: 13px;
  color: var(--ink3);
}

.byline a { color: var(--ink2); }

/* --- Hero --- */

.hero { padding: 46px 0 26px; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 4px 11px;
  margin: 0 0 16px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 45px);
  line-height: 1.08;
  letter-spacing: -0.033em;
  font-weight: 800;
  max-width: 17ch;
}

.lede {
  margin: 0;
  font-size: clamp(16.5px, 2vw, 19px);
  line-height: 1.55;
  color: var(--ink2);
  max-width: 62ch;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink2);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

.pill:hover { border-color: var(--accent-line); color: var(--accent); }

/* --- Prose sections --- */

.prose { padding: 8px 0 0; }

.prose h2 {
  margin: 44px 0 12px;
  font-size: 21px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.prose h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.prose p {
  margin: 0 0 12px;
  color: var(--ink2);
  max-width: 72ch;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: 1px 5px;
}

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.cols > div {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 18px 18px 16px;
}

.cols p { margin: 0; font-size: 14.5px; }

/* --- FAQ --- */

.faq {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 18px;
}

.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 18px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 17px;
  color: var(--ink3);
  flex: none;
}

.faq details[open] summary::after { content: "\2212"; }

.faq details > div { padding: 0 18px 16px; }
.faq details p { margin: 0 0 10px; font-size: 14.5px; }
.faq details p:last-child { margin-bottom: 0; }

/* --- Footer --- */

.foot {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 26px 0 34px;
}

.foot .wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--ink3);
}

.foot a { color: var(--ink2); }

.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Legal page --- */

.legal { padding: 40px 0 0; max-width: 760px; }
.legal h1 { font-size: 30px; letter-spacing: -0.03em; margin: 0 0 4px; }
.legal .updated { font-size: 13px; color: var(--ink3); }
.legal h2 { font-size: 18px; margin: 32px 0 8px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink2); }
.legal ul { padding-left: 20px; }

@media (max-width: 640px) {
  .hero { padding: 34px 0 20px; }
  .top .wrapper { min-height: 54px; }
  .byline { display: none; }
}

/* --- Pricing --- */

.pricing {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 18px;
  font-size: 15px;
}

.pricing th,
.pricing td {
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.pricing thead th {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink3);
  font-weight: 500;
  background: var(--ground);
}

.pricing tbody tr:last-child td { border-bottom: 0; }
.pricing td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.pricing tbody tr:first-child td { color: var(--accent); font-weight: 600; }

.fineprint {
  font-size: 13px;
  color: var(--ink3);
  margin-top: 12px;
}
