/* click2ink: the site's pages and articles (sitepages.py), over the home page's look (home.css). */

/* ---------- a page's top ---------- */
.page-hero { position: relative; max-width: 1180px; margin: 0 auto; padding: 46px 20px 12px; text-align: center; }
.page-hero.narrow { max-width: 760px; padding-bottom: 40px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); }
.page-hero .lead { margin: 18px auto 24px; max-width: 40em; }
.page-hero .hero-cta { justify-content: center; }
.page-hero::before { content: ''; position: absolute; inset: -60px 10% auto; height: 340px; background: radial-gradient(ellipse at 50% 30%, rgba(255, 106, 48, 0.16), transparent 70%); pointer-events: none; z-index: -1; }

/* ---------- a page's sections (how it works, features, pricing, FAQ) ---------- */
.band { max-width: 1180px; margin: 0 auto; padding: 64px 20px 0; }
.band > h2 { margin: 0 0 10px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; font-weight: 800; text-align: center; }
.band > .sub { margin-bottom: 30px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 46px; }
.split.flip > :first-child { order: 2; }
.split h2, .split h3 { margin: 0 0 10px; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.25; }
.split p { color: #cfc9c2; margin: 0 0 12px; }
.split ul { margin: 0; padding-inline-start: 20px; color: #cfc9c2; }
.split li { margin-bottom: 6px; }
.step-no { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 11px; background: rgba(255, 106, 48, 0.14); color: var(--accent-2); font-family: var(--display); font-size: 18px; font-weight: 800; }
.shot { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); background: var(--panel); }
.shot img { width: 100%; height: auto; }
.shot figcaption, .prose figcaption { padding: 10px 14px 12px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.tile .ico { font-size: 26px; }
.tile h3 { margin: 10px 0 6px; font-size: 18.5px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile a { color: var(--accent-2); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 28px; color: #cfc9c2; }
.checks li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; color: var(--accent-2); font-weight: 800; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.compare th { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.compare td:first-child { font-weight: 500; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }

/* ---------- an article ---------- */
.article-wrap { max-width: 1180px; margin: 0 auto; padding: 22px 20px 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin: 0 auto 26px; max-width: 760px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: #cfc9c2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.article { max-width: 760px; margin: 0 auto; }
.article-head .eyebrow a { color: inherit; text-decoration: none; }
.article-head h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; }
.article-meta { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.article-hero { margin: 26px 0 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.article-hero img { width: 100%; height: auto; }
.toc { margin: 28px 0 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.toc-title { margin: 0 0 8px; font-weight: 700; font-size: 14px; color: var(--accent-2); text-transform: uppercase; letter-spacing: 0.06em; }
.toc ol { margin: 0; padding-inline-start: 20px; columns: 2; column-gap: 28px; }
.toc li { margin-bottom: 6px; break-inside: avoid; font-size: 15px; }
.toc a { color: #d9d3cc; text-decoration: none; }
.toc a:hover { color: var(--accent-2); text-decoration: underline; }

/* ---------- the reading text ---------- */
.prose { margin-top: 30px; font-size: 17.5px; line-height: 1.75; color: #ddd7d0; }
.prose .lead { margin: 0 0 8px; font-size: 20px; line-height: 1.65; color: var(--text); max-width: none; }
.prose h2 { margin: 52px 0 14px; font-size: clamp(25px, 2.8vw, 31px); line-height: 1.25; color: var(--text); scroll-margin-top: 90px; }
.prose h3 { margin: 30px 0 10px; font-size: 21px; line-height: 1.3; color: var(--text); }
.prose p { margin: 0 0 16px; }
.prose a { color: var(--accent-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: #ffd2a0; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 18px; padding-inline-start: 24px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent-2); }
.prose figure { margin: 30px 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.prose figure img { width: 100%; height: auto; }
.prose table { width: 100%; margin: 22px 0 26px; border-collapse: collapse; font-size: 15.5px; line-height: 1.55; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.prose th { background: var(--panel); color: var(--text); font-weight: 700; }
.prose blockquote { margin: 22px 0; padding: 4px 18px; border-inline-start: 3px solid var(--accent); color: var(--text); }
.prose .note { margin: 26px 0; padding: 16px 20px; border-radius: 16px; background: rgba(255, 106, 48, 0.08); border: 1px solid rgba(255, 106, 48, 0.35); }
.prose .note p { margin: 0; }
.prose .faq { margin-top: 56px; max-width: none; display: block; }
.prose .faq h2 { margin-top: 0; }
.prose .faq h3 { margin: 22px 0 6px; font-size: 18.5px; }
.prose .faq p { color: #cfc9c2; }

/* ---------- the calls to action in a page ---------- */
.cta-describe { margin: 34px 0; padding: 22px 22px 20px; border-radius: 20px; border: 1px solid rgba(255, 106, 48, 0.5); background: linear-gradient(160deg, rgba(255, 106, 48, 0.14), rgba(21, 20, 26, 0.9) 60%); box-shadow: 0 20px 60px rgba(255, 106, 48, 0.08); }
.cta-title { margin: 0 0 4px !important; font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--text); }
.cta-sub { margin: 0 0 14px !important; color: #cfc9c2; font-size: 15.5px; line-height: 1.55; }
.cta-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.cta-row textarea { width: 100%; resize: none; padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); color: var(--text); font: inherit; font-size: 15.5px; line-height: 1.45; outline: none; }
.cta-row textarea:focus { border-color: var(--accent-2); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 40px 0; padding: 24px 26px; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(255, 106, 48, 0.22), transparent 60%), var(--panel); }
.cta-band .cta-sub { margin: 0 !important; }
.band .cta-band { margin: 56px 0 0; }

/* ---------- cards: the articles ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); text-decoration: none; transition: transform 0.15s, border-color 0.15s; }
.card:hover { transform: translateY(-2px); border-color: rgba(255, 180, 107, 0.6); }
.card img { width: 100%; aspect-ratio: 1200 / 630; height: auto; object-fit: cover; }
.card-cluster { padding: 14px 16px 0; color: var(--accent-2); font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.card-title { padding: 4px 16px 0; color: var(--text); font-size: 17.5px; font-weight: 700; line-height: 1.35; }
.card-desc { padding: 6px 16px 16px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.related { max-width: 1180px; margin: 70px auto 0; }
.related h2 { margin: 0 0 18px; font-size: 26px; }
.cluster { margin-top: 56px; }
.cluster h2 { margin: 0 0 18px; font-size: clamp(24px, 2.8vw, 30px); text-align: start; }
.cluster-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.cluster-nav a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: #d9d3cc; text-decoration: none; font-size: 14.5px; }
.cluster-nav a:hover { border-color: var(--accent-2); color: var(--text); }

/* ---------- the FAQ page ---------- */
.faq-groups { max-width: 860px; margin: 0 auto; }
.faq-groups section { margin-top: 46px; }
.faq-groups h2 { margin: 0 0 14px; font-size: 26px; }
.faq-groups .faq { margin: 0; max-width: none; }
.faq-groups details p a, .faq details p a { color: var(--accent-2); }

/* ---------- the footer ---------- */
.site-foot { margin-top: 70px; border-top: 1px solid var(--line); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 40px 20px 10px; display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 30px; }
.foot-brand .wordmark { font-size: 22px; }
.foot-brand p { margin: 12px 0 16px; font-size: 14.5px; max-width: 26em; }
.site-foot nav { display: flex; flex-direction: column; gap: 9px; }
.site-foot h2 { margin: 0 0 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-2); }
.site-foot nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.site-foot nav a:hover { color: var(--text); }
.foot-copy { max-width: 1180px; margin: 0 auto; padding: 16px 20px 36px; font-size: 13.5px; }

/* (a phone: the start button at the bottom of the screen, on the site's pages) */
.sticky-start { display: none; }

@media (max-width: 980px) {
  .split, .grid-3 { grid-template-columns: 1fr; gap: 22px; }
  .split.flip > :first-child { order: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding-top: 26px; }
  .band { padding: 48px 16px 0; }
  .article-wrap { padding: 16px 16px 0; }
  .prose { font-size: 17px; }
  .prose .lead { font-size: 18.5px; }
  .toc ol { columns: 1; }
  .cards { grid-template-columns: 1fr; }
  .cta-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: stretch; text-align: center; }
  .foot-in { grid-template-columns: 1fr; padding: 30px 16px 6px; }
  .foot-copy { padding: 12px 16px 90px; }
  /* (beside the help chat's button, at the right: /help/support.js) */
  .sticky-start { display: flex; justify-content: center; position: fixed; inset: auto 74px 12px 12px; z-index: 30; padding: 13px 18px; border-radius: 999px; background: linear-gradient(160deg, #ff8a45, var(--accent) 60%, #ef4d22); color: var(--accent-ink); font-weight: 800; text-decoration: none; box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5); transition: transform 0.2s, opacity 0.2s; }
  .sticky-start.away { transform: translateY(140%); opacity: 0; pointer-events: none; }
}
