/* CascadeCheckout — shared SEO page stylesheet.
   Vanilla CSS, tokens mirror tailwind.config.js. Static HTML pages under
   /shopify-payments-banned/, /pricing/, /faq/, etc. link to this file so
   design stays consistent with the React marketing site without Tailwind
   at runtime. */

:root {
  --bg: #F2ECE0;
  --bg-alt: #EBE4D2;
  --bg-bone: #F7F3EA;
  --ink-900: #14110D;
  --ink-700: #2C2820;
  --ink-500: #5A5346;
  --ink-300: #B8B0A0;
  --ink-100: #E8E2D2;
  --brand: #0046FF;
  --brand-ink: #261559;
  --brand-600: #003ADB;
  --lime: #9CFF3E;
  --lime-600: #7CDB1E;
  --coral: #FF7E1B;
  --flame: #FF3EA5;
  --cyan: #3EE0FF;
  --plum: #5226D0;
  --border: #E9EAEB;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 1px 2px rgba(15,23,42,0.04), 0 4px 16px rgba(38,21,89,0.06);
  --shadow-card: 0 2px 4px rgba(15,23,42,0.04), 0 12px 32px rgba(38,21,89,0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink-900);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, .font-display {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: -0.028em;
  font-optical-sizing: auto;
  color: var(--ink-900);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; line-height: 1.1; margin-top: 1.8em; }
h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; line-height: 1.2; margin-top: 1.4em; }

p, li { font-size: 16px; line-height: 1.65; color: var(--ink-700); margin: 0 0 1em; }
li { margin-bottom: 0.5em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }

a { color: var(--brand); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }

.font-serif-italic { font-family: "Instrument Serif", Georgia, serif; font-style: italic; letter-spacing: -0.015em; }
.font-mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }

::selection { background: var(--brand); color: #fff; }

/* --- Header --- */
.seo-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 236, 224, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.seo-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.seo-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-decoration: none;
}
.seo-logo img { height: 26px; width: auto; }
.seo-nav { display: flex; gap: 20px; font-size: 14px; }
.seo-nav a { color: var(--ink-700); font-weight: 500; }
.seo-nav a:hover { color: var(--brand); text-decoration: none; }
.seo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--brand-600);
  box-shadow: 0 8px 24px rgba(0,70,255,0.18);
}
.seo-cta:hover { background: var(--brand-600); text-decoration: none; color: #fff; }
@media (max-width: 720px) { .seo-nav { display: none; } }

/* --- Hero --- */
.seo-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px circle at 10% 0%, rgba(0,70,255,0.10), transparent 55%),
    radial-gradient(700px circle at 90% 60%, rgba(156,255,62,0.14), transparent 55%);
}
.eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-ink);
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 60ch;
  margin: 0 0 1.4em;
}

/* --- Sections --- */
section.slab { padding: 56px 0; border-bottom: 1px solid var(--border); }
section.slab.dark {
  background: var(--ink-900);
  color: #E8E2D2;
  border-color: rgba(255,255,255,0.08);
}
section.slab.dark h1,
section.slab.dark h2,
section.slab.dark h3 { color: #fff; }
section.slab.dark p, section.slab.dark li { color: rgba(232,226,210,0.75); }
section.slab.dark a { color: var(--lime); }
section.slab.cream { background: var(--bg-bone); }

/* --- Cards --- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.card + .card { margin-top: 16px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* --- Steps --- */
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  margin-bottom: 12px;
}
.step h3 { margin-top: 0; }

/* --- CTA block --- */
.cta-block {
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0;
}
.cta-block h3 { color: #fff; margin: 0; font-size: 22px; }
.cta-block p { color: rgba(255,255,255,0.7); margin: 4px 0 0; }
.cta-block .seo-cta { background: var(--lime); color: var(--ink-900); border-color: var(--lime-600); box-shadow: 0 8px 24px rgba(156,255,62,0.28); }
.cta-block .seo-cta:hover { background: var(--lime-600); color: var(--ink-900); }

/* --- Not-list (what we do NOT do) --- */
.not-list { list-style: none; padding: 0; }
.not-list li {
  padding: 10px 14px;
  border-left: 3px solid var(--flame);
  background: #fff;
  border-radius: 6px;
  margin-bottom: 8px;
  color: var(--ink-700);
  font-size: 15px;
}

/* --- FAQ --- */
details.faq {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 10px;
}
details.faq summary {
  cursor: pointer;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; font-weight: 400; color: var(--brand); font-size: 22px; line-height: 0.8; }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin-top: 10px; }

/* --- Pricing --- */
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 12px 40px rgba(0,70,255,0.14);
  position: relative;
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--lime);
  color: var(--ink-900);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.price-tier { font-family: "JetBrains Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand-ink); }
.price-amount { font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 44px; font-weight: 800; margin: 8px 0 2px; letter-spacing: -0.03em; }
.price-note { color: var(--ink-500); font-size: 13px; margin-bottom: 16px; }
.price-card ul { padding-left: 18px; margin-bottom: 20px; }
.price-card li { font-size: 14px; color: var(--ink-700); }
.price-card .seo-cta { margin-top: auto; align-self: flex-start; }

/* --- Callout --- */
.callout {
  border-left: 3px solid var(--brand);
  background: #fff;
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
  box-shadow: var(--shadow-soft);
}
.callout p:last-child { margin-bottom: 0; }

/* --- Footer --- */
.seo-footer {
  background: var(--ink-900);
  color: #E8E2D2;
  padding: 48px 0 24px;
  margin-top: 0;
}
.seo-footer .wrap { padding: 0 20px; }
.seo-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .seo-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .seo-footer-grid { grid-template-columns: 1fr; } }
.seo-footer h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lime);
  margin: 0 0 14px;
}
.seo-footer ul { list-style: none; padding: 0; margin: 0; }
.seo-footer li { margin-bottom: 8px; font-size: 14px; }
.seo-footer a { color: rgba(232,226,210,0.7); font-weight: 400; }
.seo-footer a:hover { color: var(--lime); text-decoration: none; }
.seo-footer .brand-blurb { font-size: 14px; color: rgba(232,226,210,0.7); margin: 12px 0 0; max-width: 32ch; }
.seo-footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(232,226,210,0.5);
}
