/* Landing pages for Long ChatGPT Conversations — shared styles */
:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #d1fae5;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --bg: #f9fafb;
  --card: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.site-nav { display: flex; align-items: center; gap: 1.1rem; margin-left: auto; font-size: .95rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--primary-dark); }
.btn {
  display: inline-block;
  padding: .6rem 1.1rem;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn:hover { background: var(--primary-dark); }
.btn.ghost { background: transparent; color: var(--primary-dark); border-color: var(--primary); }
.btn.ghost:hover { background: var(--primary-light); }

.hero { padding: 3.2rem 0 2.4rem; }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.2rem; align-items: center; }
.kicker {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: .25rem .6rem;
  border-radius: 999px;
  font-weight: 700;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.18; margin: .8rem 0 .9rem; }
.hero p.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 1.4rem; max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero img {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .12);
}

.section { padding: 2.4rem 0; }
.section:nth-child(even) { background: #fff; }
.section h2 { font-size: 1.55rem; margin: 0 0 1.2rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.2rem 1.25rem;
}
.card h3 { margin: 0 0 .5rem; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

.steps { counter-reset: step; display: grid; gap: .9rem; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem 1rem 3.4rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: .9rem;
}
.step h3 { margin: 0 0 .3rem; font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
th, td { padding: .7rem .85rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .93rem; vertical-align: top; }
th { background: #f3f4f6; }
tr:last-child td { border-bottom: 0; }

.faq { display: grid; gap: .6rem; max-width: 820px; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 1rem;
}
details summary { cursor: pointer; font-weight: 600; padding: .85rem 0; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; float: right; color: var(--primary-dark); font-weight: 700; }
details[open] summary::after { content: '−'; }
details p { margin: 0 0 .9rem; color: var(--muted); }

.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 14px;
  padding: 2.2rem;
  text-align: center;
  margin: 2.6rem 0;
}
.cta h2 { margin: 0 0 .5rem; font-size: 1.6rem; }
.cta p { margin: 0 auto 1.2rem; max-width: 56ch; opacity: .95; }
.cta .btn { background: #fff; color: var(--primary-dark); }
.cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta .actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }

.related { display: flex; flex-wrap: wrap; gap: .8rem; }
.related a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: .45rem .9rem;
  text-decoration: none;
  font-size: .92rem;
}

.site-footer { background: #111827; color: #d1d5db; padding: 2.2rem 0; margin-top: 2rem; font-size: .92rem; }
.site-footer a { color: #a7f3d0; text-decoration: none; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.site-footer ul { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .35rem; }
.site-footer h3 { margin: 0; font-size: .95rem; color: #fff; }

@media (max-width: 860px) {
  .hero .grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}

/* Blog */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { margin: 2rem 0 .7rem; font-size: 1.35rem; }
.article h3 { margin: 1.3rem 0 .5rem; font-size: 1.08rem; }
.article p, .article li { color: #374151; }
.article ul, .article ol { padding-left: 1.3rem; }
.article table { margin: 1.2rem 0; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.blog-grid .date { color: var(--muted); font-size: .82rem; margin: 0 0 .25rem; }
.blog-grid .card h3 a { text-decoration: none; color: var(--ink); }
.blog-grid .card h3 a:hover { color: var(--primary-dark); }

@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr; }
}
