/* Shared marketing-page sections used by /examples/ and /pricing/. */
:root {
  --ok: #1f8a4c;
  --radius: 20px;
  --forest: #0f2b23;
  --shadow-sm: 0 1px 2px rgba(20, 19, 15, 0.04), 0 0 0 1px rgba(20, 19, 15, 0.07);
}
.page-head h1 {
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.section {
  padding: 72px 0 96px;
}
.section-head { max-width: 64ch; margin: 0 auto 40px; }
.section-head.center { text-align: center; }
.section-head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.section-head p { margin: 14px 0 0; color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }

.examples { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.example {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}
.example::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--accent);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.example:hover { text-decoration: none; box-shadow: 0 18px 40px rgba(20, 19, 15, 0.1), 0 0 0 1px rgba(240, 81, 43, 0.28); }
.example:hover::after { opacity: 1; }
.example img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.example .open {
  position: absolute;
  left: 50%;
  top: 28.125%;
  transform: translate(-50%, -50%) scale(0.96);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(20, 19, 15, 0.82);
  color: #fff;
  font: 600 13px/1 var(--font-sans);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.example:hover .open { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.example .meta { padding: 16px 18px 18px; }
.example .meta h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.example .meta h3::after { content: "\2192"; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity 0.2s, transform 0.2s; }
.example:hover .meta h3 { color: var(--accent-ink); }
.example:hover .meta h3::after { opacity: 1; transform: translateX(0); }
.example .meta p { color: var(--muted); font-size: 14.5px; margin: 4px 0 0; }

.card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.plans { align-items: stretch; max-width: 860px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; padding: 36px; }
.plan h3 { margin: 0; font-family: var(--font-sans); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.plan .price { font-family: var(--font-display); font-size: 56px; font-weight: 800; letter-spacing: -0.04em; margin: 12px 0 6px; line-height: 1; }
.plan .price .cur { font-family: var(--font-sans); font-weight: 600; font-size: 0.7em; vertical-align: 0.18em; margin-right: 2px; }
.plan .price small { font-family: inherit; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan > p { margin: 0; font-size: 16px; color: var(--ink-2); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; color: var(--ink-2); font-size: 15.5px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 10px; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.featured { background: var(--ink); color: #fff; box-shadow: 0 30px 60px rgba(20, 19, 15, 0.25); position: relative; }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured > p, .plan.featured ul, .plan.featured .price small { color: rgba(255, 255, 255, 0.75); }
.plan.featured li::before { color: #ffb39e; }
.plan.featured .btn-primary { background: var(--accent); }
.plan.featured .btn-primary:hover { background: #fff; color: var(--ink); }
.plan.featured::before {
  content: "Most popular";
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  transform: rotate(2deg);
}
.fine { margin: 22px auto 0; max-width: 720px; font-size: 14.5px; color: var(--muted); text-align: center; line-height: 1.55; }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 19px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-ink); font-size: 24px; font-weight: 300; flex: none; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

.dark {
  background-color: var(--forest);
  color: #fff;
  border: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 14px);
}
.band { padding: 110px 0; text-align: center; }
.band h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}
.band p { color: rgba(255, 255, 255, 0.75); margin: 20px auto 34px; max-width: 56ch; font-size: 19px; }
.band .btn-primary { background: var(--accent); }
.band .btn-primary:hover { background: #fff; color: var(--ink); }

.more-row { display: flex; justify-content: center; margin-top: 36px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
