/* ===================================================================
   Nexus — marketing site
   Black-and-white SaaS, built for tattoo artists. Pink→purple accent
   is reserved for buttons and small marks only. Shared by /, /features,
   /pricing, /faq.
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Sacramento&display=swap');

:root {
  --ink:       #0C0C0E;   /* near-black text + dark cards */
  --card:      #141317;   /* hero / dark panels */
  --card-2:    #1C1B21;   /* raised tiles on dark */
  --paper:     #FAFAF8;   /* page background */
  --paper-2:   #F1F0EC;   /* alt section bg */
  --line:      rgba(0,0,0,0.10);
  --line-2:    rgba(255,255,255,0.10);
  --muted:     #6A6A72;   /* body on light */
  --muted-d:   #9A9AA4;   /* body on dark */
  --faint:     #A8A8B0;

  --grad: linear-gradient(100deg, #E85BC4 0%, #B34DB4 48%, #7B3FD0 100%);
  --accent:  #B34DB4;
  --pink:    #E85BC4;
  --grad-wordmark: linear-gradient(90deg, #E0577F 0%, #D30121 24%, #BA4696 50%, #9176DF 74%, #3693F5 100%);

  --display: "Inter Tight", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-lg: 30px;   /* big hero card */
  --r-md: 18px;   /* tiles, panels */
  --r-sm: 12px;
  --r-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* Utility face for eyebrows, labels, stats — the technical/tattoo-machine nod */
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .12s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -12px rgba(179,77,180,0.6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -14px rgba(179,77,180,0.75); }
/* On dark hero */
.btn-ghost-d { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.16); }
.btn-ghost-d:hover { background: rgba(255,255,255,0.12); }
/* On light */
.btn-dark { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -12px rgba(179,77,180,0.6); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -14px rgba(179,77,180,0.75); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }

/* ── Header ───────────────────────────────────────────────────────── */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding: 16px 0; transition: background .2s, box-shadow .2s; }
.hdr.is-stuck { background: rgba(250,250,248,0.85); backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 var(--line); }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700; font-size: 25px; line-height: 1; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad-wordmark); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; padding-right: 2px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 14.5px; color: var(--muted); transition: color .15s; }
.nav-link:hover, .nav-link.is-on { color: var(--ink); }
.hdr-cta { display: flex; align-items: center; gap: 14px; }
.hdr-login { font-size: 14.5px; font-weight: 500; color: var(--muted); }
.hdr-login:hover { color: var(--ink); }

/* ── HERO (dark rounded card floating in the light page) ──────────── */
.hero { padding: 96px 0 0; }
.hero-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, #201E27 0%, var(--card) 55%),
    var(--card);
  border-radius: var(--r-lg);
  padding: 68px 32px 60px;
  text-align: center;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.5);
}
/* faint dotted texture, like the reference's starfield but subtle */
.hero-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em;
  color: #fff; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-pill);
  padding: 7px 14px 7px 10px; margin-bottom: 30px;
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.chip-arrow { color: var(--muted-d); }

.hero h1 {
  font-family: var(--display); color: #fff; font-weight: 800;
  font-size: clamp(38px, 5.4vw, 68px); line-height: 1.0; letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* Tattoo lettering — script accent on the hero keyword */
.hero h1 .ink-script {
  font-family: "Sacramento", "Segoe Script", cursive; font-weight: 400;
  font-size: 1.3em; line-height: 0.8; letter-spacing: 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: inline-block; padding: 0 0.06em; transform: rotate(-4deg);
}
@media (prefers-reduced-motion: no-preference) { .hero h1 .ink-script { transition: transform .3s; } }
.hero-sub { font-size: 17px; line-height: 1.6; color: var(--muted-d); max-width: 540px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }

/* Floating feature tiles scattered behind the copy */
.float { position: absolute; z-index: 1; width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(155deg, var(--card-2), #131218);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center;
  box-shadow: 0 18px 30px -18px rgba(0,0,0,0.7);
}
.float svg { width: 24px; height: 24px; stroke: #fff; opacity: 0.9; }
.float.glow-p { box-shadow: 0 0 0 1px rgba(232,91,196,0.4), 0 16px 34px -14px rgba(232,91,196,0.55); }
.float.glow-v { box-shadow: 0 0 0 1px rgba(123,63,208,0.4), 0 16px 34px -14px rgba(123,63,208,0.55); }
.f1 { top: 84px;  left: 7%;  transform: rotate(-8deg); }
.f2 { top: 220px; left: 13%; transform: rotate(6deg); }
.f3 { top: 400px; left: 5%;  transform: rotate(4deg); }
.f4 { top: 96px;  right: 8%; transform: rotate(7deg); }
.f5 { top: 250px; right: 13%; transform: rotate(-6deg); }
.f6 { top: 410px; right: 6%; transform: rotate(-9deg); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .float { animation: bob 6s ease-in-out infinite; }
  .f2 { animation-delay: -1.2s; } .f3 { animation-delay: -2.4s; }
  .f4 { animation-delay: -0.6s; } .f5 { animation-delay: -1.8s; } .f6 { animation-delay: -3s; }
  @keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
}

/* Screenshot anchored at the bottom, breaking out of the card */
.hero-shot {
  position: relative; z-index: 2; max-width: 1100px; margin: 40px auto 0;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 50px 100px -45px rgba(0,0,0,0.75), 0 0 80px -14px rgba(232,91,196,0.3);
}
.hero-shot img { width: 100%; height: auto; display: block; }

/* ── Logo strip ───────────────────────────────────────────────────── */
.strip { padding: 40px 0 8px; }
.strip-label { text-align: center; margin-bottom: 22px; }
.strip-row { display: flex; align-items: center; justify-content: center; gap: 46px; flex-wrap: wrap; opacity: 0.7; }
.strip-row span { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--muted); letter-spacing: -0.01em; }

/* ── Sections ─────────────────────────────────────────────────────── */
.sec { padding: 96px 0; }
.sec-alt { background: var(--paper-2); }
.sec-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }
.sec-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 14px; }
.sec-head p { font-size: 16.5px; line-height: 1.6; color: var(--muted); }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px; transition: transform .16s, box-shadow .16s;
}
.fcard:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(0,0,0,0.25); }
.fcard-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); margin-bottom: 18px;
  box-shadow: 0 10px 22px -12px rgba(179,77,180,0.55);
}
.fcard-icon svg { width: 22px; height: 22px; stroke: #fff; }
.fcard h3 { font-family: var(--display); font-weight: 700; font-size: 18.5px; margin-bottom: 8px; letter-spacing: -0.01em; }
.fcard p { font-size: 14.5px; line-height: 1.62; color: var(--muted); }
.fcard-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-top: 14px; display: inline-block; }

/* How it works — numbered, because it's a real sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.step-n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 16px; display: block; }
.step h4 { font-family: var(--display); font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* Split: copy + screenshot */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-media { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.4); background: var(--ink); }
.split-media img { width: 100%; }
.split h3 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 16px; }
.split p { font-size: 16px; line-height: 1.66; color: var(--muted); margin-bottom: 14px; }
.split ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.split li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); }
.split li svg { width: 18px; height: 18px; stroke: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* Stats band (dark) */
.band {
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(232,91,196,0.10), transparent 60%),
    radial-gradient(100% 120% at 100% 120%, rgba(123,63,208,0.10), transparent 60%),
    #fff;
  color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 56px 40px;
}
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.band-n { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1; }
.band-n em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.band-l { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--muted); margin-top: 10px; text-transform: uppercase; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 800px; margin: 0 auto; }
.plan { border: 1px solid var(--line); border-radius: var(--r-md); padding: 34px 30px; background: #fff; position: relative; }
.plan.is-pro { background: #fff; color: var(--ink); border-color: var(--accent); box-shadow: 0 24px 50px -34px rgba(179,77,180,0.5); }
.plan-badge { position: absolute; top: 20px; right: 24px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 5px 10px; border-radius: var(--r-pill); }
.plan-name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.plan.is-pro .plan-name { color: var(--accent); }
.plan-price { font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: -0.03em; line-height: 1; }
.plan-price span { font-family: var(--body); font-size: 14px; font-weight: 400; color: var(--faint); letter-spacing: 0; }
.plan.is-pro .plan-price span { color: var(--faint); }
.plan-sub { font-size: 13px; color: var(--faint); margin-top: 10px; }
.plan-sub b { color: #2E9E70; font-weight: 600; }
.plan.is-pro .plan-sub b { color: #2E9E70; }
.plan ul { list-style: none; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 11px; }
.plan li { font-size: 14.5px; color: var(--muted); line-height: 1.5; padding-left: 22px; position: relative; }
.plan.is-pro li { color: var(--muted); }
.plan li::before { content: '+'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan .btn { width: 100%; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; text-align: left; }
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--muted); transition: transform .2s; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); stroke: var(--accent); }
.faq-a { display: none; padding: 0 0 22px; font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 92%; }
.faq-item.is-open .faq-a { display: block; }

/* CTA band */
.cta {
  background:
    radial-gradient(80% 140% at 50% 130%, rgba(179,77,180,0.16), transparent 68%),
    radial-gradient(60% 120% at 50% -20%, rgba(232,91,196,0.10), transparent 62%),
    var(--paper-2);
  color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 72px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-inner { position: relative; z-index: 1; }
.cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 14px; }
.cta p { font-size: 17px; color: var(--muted); max-width: 500px; margin: 0 auto 30px; }

/* ── Footer ───────────────────────────────────────────────────────── */
.ftr { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 8px; }
.ftr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.ftr-brand { max-width: 300px; }
.ftr-brand .brand { margin-bottom: 14px; }
.ftr-brand p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.ftr-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.ftr-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.ftr-col a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 10px; transition: color .15s; }
.ftr-col a:hover { color: var(--ink); }
.ftr-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ftr-bottom span { font-size: 13px; color: var(--faint); }

/* ── Reveal ───────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── Sub-page hero (smaller dark card) ────────────────────────────── */
.subhero { padding: 116px 0 0; }
.subhero-card {
  background:
    radial-gradient(100% 130% at 50% -20%, rgba(232,91,196,0.12), transparent 62%),
    radial-gradient(80% 120% at 100% 120%, rgba(123,63,208,0.12), transparent 60%),
    #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 60px 32px; text-align: center; color: var(--ink);
}
.subhero .eyebrow { color: var(--faint); display: block; margin-bottom: 14px; }
.subhero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 16px; }
.subhero p { font-size: 17px; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.6; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .band-grid { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .split-media { order: 0; }
  .nav-link { display: none; }
  .float { display: none; }        /* keep the hero clean on tablet/mobile */
}
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .hero-card { padding: 52px 18px 42px; border-radius: 22px; }
  .features, .steps, .plans { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .ftr-top { flex-direction: column; gap: 28px; }
  .band, .cta { border-radius: 22px; padding: 48px 24px; }
}

/* ═══════════════════════════════════════════════════════════════════
   Landing additions — hero note, honest-maths compare, testimonials
   (index.html only; new class names, no shared selectors touched)
   ═══════════════════════════════════════════════════════════════════ */

/* Sub-CTA reassurance line under the hero buttons */
.hero-note {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em;
  color: var(--muted-d); margin-top: 4px;
}

/* ── Honest maths: flat price vs per-booking cut ──────────────────── */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  max-width: 880px; margin: 0 auto;
}
.cmp {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 28px; background: #fff; position: relative;
  display: flex; flex-direction: column; gap: 12px;
}
.cmp-them { background: var(--paper-2); }
.cmp-us {
  border-color: var(--accent);
  box-shadow: 0 24px 50px -34px rgba(179,77,180,0.5);
  background:
    radial-gradient(120% 130% at 100% -10%, rgba(232,91,196,0.08), transparent 60%),
    #fff;
}
.cmp-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint);
}
.cmp-us .cmp-tag { color: var(--accent); }
.cmp-line {
  font-family: var(--display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.02em; line-height: 1.1;
}
.cmp-detail { font-size: 14.5px; line-height: 1.62; color: var(--muted); }
.cmp-detail em { font-style: italic; color: var(--ink); }
.cmp-foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}
.cmp-foot b { font-family: var(--display); font-weight: 800; color: var(--ink); }
.cmp-us .cmp-foot b {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.compare-note {
  text-align: center; font-size: 12.5px; color: var(--faint);
  max-width: 620px; margin: 22px auto 0; line-height: 1.5;
}

/* ── Testimonials ─────────────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 20px;
}
.quote blockquote {
  font-size: 15.5px; line-height: 1.6; color: var(--ink); letter-spacing: -0.005em;
}
.quote figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.q-name { font-family: var(--display); font-weight: 700; font-size: 14.5px; }
.q-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: var(--faint); }

@media (max-width: 980px) {
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .compare { grid-template-columns: 1fr; }
}


/* ═══ Tattoo personality — flash-sheet linework divider + dotwork shading ═══ */
.rule { display: flex; justify-content: center; align-items: center; padding: 6px 0; }
.rule svg { width: 360px; max-width: 72%; height: auto; }
.rule .rule-ln { stroke: var(--line); stroke-width: 1.4; }
.rule .rule-di { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.rule .rule-dot { fill: var(--accent); }
.rule .rule-dot-f { fill: var(--pink); opacity: .55; }

/* dotwork stipple on the closing CTA, echoing the hero */
.cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image: radial-gradient(rgba(12,12,14,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 95% at 50% 0%, #000 18%, transparent 72%);
  mask-image: radial-gradient(120% 95% at 50% 0%, #000 18%, transparent 72%);
}
