/* ==========================================================================
   RGBSPOT — sections.css
   Hero, cards, process, stats, pricing, tables, FAQ, forms, legal
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(52px, 7vw, 96px) clamp(56px, 7vw, 100px); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -30% -10% auto -20%;
  height: 620px;
  background: radial-gradient(48% 52% at 22% 34%, rgba(255,90,31,.16), transparent 68%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  position: relative;
}
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 30px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1.5px solid var(--hair);
  background: var(--paper-2);
  border-radius: 999px;
  font-size: .81rem; font-weight: 600;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); display: block; flex: none; }
.pill--green i { background: var(--green); }
.band-dark .pill { background: #131313; border-color: var(--hair-dark); color: #E7E2D9; }

.hero__proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(38px, 5vw, 60px);
}
.proof-item {
  padding: 22px 20px 0 0;
  border-top: 2px solid var(--ink);
  transition: border-color .3s var(--ease);
}
.proof-item + .proof-item { padding-left: 24px; }
.proof-item:hover { border-top-color: var(--orange); }
.proof-item strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.8vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/* the counter span must NOT inherit the label styling below */
.proof-item strong span { display: inline; font-size: inherit; color: inherit; margin: 0; }
.proof-item > span {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
}

.hero__art { position: relative; }
.hero__art svg {
  width: 100%;
  height: auto;          /* height derives from the svg's width/height attrs */
  display: block;
  filter: drop-shadow(0 34px 50px rgba(10,10,10,.14));
}
/* Reserve the stat strip's height before the counters run */
.proof-item strong { min-height: 1em; }
.proof-item > span { min-height: 2.9em; }

/* Floating stat chip over artwork */
.chip {
  position: absolute;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.chip b { display: block; font-family: var(--display); font-size: 1.25rem; letter-spacing: -.03em; }
.chip span { font-size: .74rem; color: var(--muted); font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.chip--a { top: 6%; right: -2%; }
.chip--b { bottom: 8%; left: -4%; animation-delay: 1.4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* ---------- Cards ---------- */
.card {
  background: var(--paper-2);
  border: 1.5px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 34px);
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: var(--shadow-lift); }
.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card__num {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .14em;
  color: var(--orange); display: block; margin-bottom: 16px;
}
.card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--orange-tint); color: var(--orange-dk);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }
.band-dark .card { background: #121212; border-color: var(--hair-dark); }
.band-dark .card p { color: #A9A297; }
.band-dark .card:hover { border-color: var(--orange); }
.band-dark .card__icon { background: rgba(255,90,31,.14); color: #FF8A55; }

.card--flag { border-color: var(--ink); box-shadow: var(--shadow); }
.flag {
  position: absolute; top: -12px; left: 26px;
  background: var(--orange); color: #fff;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}

/* ---------- Problem list ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 70px); align-items: start; }
.checklist li {
  display: flex; gap: 14px; padding: 15px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 1rem;
}
.band-dark .checklist li { border-color: var(--hair-dark); }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--orange); }
.checklist b { display: block; margin-bottom: 3px; }
.checklist span { color: var(--muted); font-size: .94rem; }
.band-dark .checklist span { color: #A9A297; }

/* ---------- Process ---------- */
.process { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 88px 1fr;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(24px, 3vw, 34px) 0;
  border-top: 1px solid var(--hair);
  transition: background .3s;
}
.band-dark .step { border-color: var(--hair-dark); }
.step:last-child { border-bottom: 1px solid var(--hair); }
.band-dark .step:last-child { border-color: var(--hair-dark); }
.step__n {
  font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.9rem);
  letter-spacing: -.05em; color: var(--hair); line-height: 1;
  transition: color .35s;
}
.band-dark .step__n { color: #2E2B27; }
.step:hover .step__n { color: var(--orange); }
.step h3 { font-size: 1.24rem; margin-bottom: 9px; }
.step p { color: var(--muted); margin: 0; max-width: 66ch; font-size: .97rem; }
.band-dark .step p { color: #A9A297; }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair-dark); border: 1px solid var(--hair-dark); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--ink); padding: clamp(24px, 3vw, 38px); }
.stat b { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; color: #fff; display: block; line-height: 1; }
.stat b em { font-style: normal; color: var(--orange); }
.stat span { display: block; margin-top: 12px; font-size: .9rem; color: #A9A297; }

/* ---------- DA tier grid ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.tier {
  background: var(--paper-2);
  border: 1.5px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease);
}
.tier:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: var(--shadow-lift); }
.tier__da { font-family: var(--display); font-size: 2.1rem; letter-spacing: -.04em; line-height: 1; }
.tier__da em { font-style: normal; color: var(--orange); font-size: 1.2rem; }
.tier__meta { font-size: .9rem; color: var(--muted); }
.tier__meta li { padding: 5px 0; display: flex; gap: 9px; align-items: flex-start; }
.tier__meta li::before { content: "→"; color: var(--orange); flex: none; }
.tier__price { font-family: var(--mono); font-size: .9rem; letter-spacing: .04em; padding-top: 12px; border-top: 1px solid var(--hair); }
.tier__price b { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.03em; }
.tier .btn { margin-top: auto; }

/* ---------- Pricing packages ---------- */
.pack-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.pack {
  background: var(--paper-2);
  border: 1.5px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.pack:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); border-color: var(--ink); }
.pack--best { border-color: var(--ink); background: var(--ink); color: #DCD6CC; box-shadow: var(--shadow-lift); }
.pack--best h3 { color: #fff; }
.pack--best .pack__price { color: #fff; }
.pack--best .pack__list li { border-color: var(--hair-dark); color: #C6BFB4; }
.pack--best .pack__hint { color: #9C958A; }
.pack h3 { font-size: 1.18rem; margin-bottom: 6px; }
.pack__tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); display: block; margin-bottom: 14px; }
.pack--best .pack__tag { color: #FF8A55; }
.pack__price { font-family: var(--display); font-size: 2.5rem; letter-spacing: -.04em; line-height: 1; margin-bottom: 4px; }
.pack__price sup { font-size: 1.1rem; top: -.7em; font-weight: 600; }
.pack__hint { font-size: .8rem; color: var(--muted); margin-bottom: 20px; display: block; }
.pack__list { margin: 18px 0 24px; }
.pack__list li { font-size: .88rem; padding: 8px 0; border-bottom: 1px solid var(--hair); display: flex; gap: 8px; }
.pack__list li:last-child { border-bottom: 0; }
.pack__list li::before { content: "✓"; color: var(--orange); font-weight: 700; flex: none; }
.pack .btn { margin-top: auto; }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; border: 1.5px solid var(--hair); border-radius: var(--radius-lg); background: var(--paper-2); }
table.compare { width: 100%; border-collapse: collapse; min-width: 900px; font-size: .9rem; }
table.compare th, table.compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--hair); }
table.compare thead th { background: var(--ink); color: #fff; font-family: var(--display); font-size: 1rem; letter-spacing: -.02em; position: sticky; top: 0; }
table.compare thead th small { display: block; font-family: var(--mono); font-size: .72rem; color: var(--orange); font-weight: 400; letter-spacing: .08em; margin-top: 4px; }
table.compare th:first-child, table.compare td:first-child { text-align: left; font-weight: 600; width: 30%; }
table.compare tbody tr:hover td { background: #FFF8F4; }
table.compare .grp td { background: var(--paper-3); font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.compare tbody tr:hover .grp td { background: var(--paper-3); }
.yes { color: var(--green); font-weight: 700; }
.no { color: #C9C2B6; font-weight: 700; }
.hl { background: #FFFAF7; }

/* ---------- Logo strip ---------- */
.outlets { display: flex; flex-wrap: wrap; gap: 12px; }
.outlet {
  border: 1.5px solid var(--hair-dark);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .04em;
  color: #CFC8BD;
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.outlet:hover { border-color: var(--orange); color: #fff; transform: translateY(-3px); }

/* ---------- Quote / proof ---------- */
.quote {
  border-left: 3px solid var(--orange);
  padding: 6px 0 6px 26px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  letter-spacing: -.02em;
  line-height: 1.35;
}
.quote cite { display: block; margin-top: 16px; font-family: var(--body); font-size: .9rem; font-style: normal; color: var(--muted); letter-spacing: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hair); max-width: 880px; }
.faq__item { border-bottom: 1px solid var(--hair); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; text-align: left;
  font-family: var(--display); font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink);
}
.faq__q i {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--ink); position: relative; transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.faq__q i::before, .faq__q i::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--ink); transition: background .3s, transform .3s var(--ease);
}
.faq__q i::before { width: 11px; height: 1.7px; }
.faq__q i::after { width: 1.7px; height: 11px; }
.faq__q[aria-expanded="true"] i { background: var(--orange); border-color: var(--orange); transform: rotate(90deg); }
.faq__q[aria-expanded="true"] i::before,
.faq__q[aria-expanded="true"] i::after { background: #fff; }
.faq__q[aria-expanded="true"] i::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 72ch; font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: auto -10% -60% 40%;
  height: 480px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,90,31,.28), transparent 70%);
}
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }

/* ---------- Form ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card {
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field > label, .fieldset-label {
  display: block; font-size: .84rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em;
}
.field .req { color: var(--orange); }
.input, .textarea, select.input {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--hair); border-radius: 11px;
  background: var(--paper);
  font: inherit; font-size: .96rem; color: var(--ink);
  transition: border-color .22s, background .22s, box-shadow .22s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(255,90,31,.13); }
.textarea { min-height: 118px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }

fieldset { border: 0; margin: 0 0 20px; padding: 0; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt-grid--2 { grid-template-columns: repeat(2, 1fr); }
.opt-grid--1 { grid-template-columns: 1fr; }
.opt {
  position: relative; display: block;
}
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--hair); border-radius: 11px;
  font-size: .9rem; font-weight: 500; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.opt span::before {
  content: ""; width: 16px; height: 16px; flex: none;
  border: 1.5px solid var(--hair); border-radius: 50%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.opt--check span::before { border-radius: 5px; }
.opt input:checked + span { border-color: var(--orange); background: #FFF6F1; }
.opt input:checked + span::before { border-color: var(--orange); background: var(--orange); box-shadow: inset 0 0 0 3px #fff; }
.opt--check input:checked + span::before { box-shadow: inset 0 0 0 2px #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.opt span:hover { border-color: var(--ink); }
.opt small { color: var(--muted); font-weight: 400; margin-left: auto; font-family: var(--mono); font-size: .78rem; }

.conditional { display: none; animation: fadeUp .4s var(--ease); }
.conditional.is-on { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--green); }
.form-status { margin-top: 16px; font-size: .93rem; font-weight: 600; display: none; padding: 13px 15px; border-radius: 11px; }
.form-status.ok { display: block; background: #E9F6EE; color: var(--green); border: 1.5px solid #BCE3CC; }
.form-status.err { display: block; background: #FDECE6; color: var(--orange-dk); border: 1.5px solid #F7C7B4; }

.aside-card { background: var(--ink); color: #B7B0A5; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); }
.aside-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.aside-card li { padding: 11px 0; border-bottom: 1px solid var(--hair-dark); font-size: .93rem; display: flex; gap: 10px; }
.aside-card li:last-child { border-bottom: 0; }
.aside-card li b { color: #fff; }
.aside-card li::before { content: "—"; color: var(--orange); }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding-block: clamp(48px, 6vw, 84px) clamp(34px, 4vw, 52px); border-bottom: 1px solid var(--hair); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: -40% 40% auto -6%; height: 460px;
  background: radial-gradient(46% 50% at 40% 40%, rgba(255,90,31,.13), transparent 70%);
}
.page-head .wrap { position: relative; }
.crumb { font-family: var(--mono); font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.crumb a:hover { color: var(--orange); }

/* ---------- Legal ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin: 44px 0 14px; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 1rem; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.legal li { padding: 4px 0; }
.legal .updated { font-family: var(--mono); font-size: .8rem; color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Form: honeypots + inline hints ---------- */
/* Decoy fields. Removed from the tab order and from assistive tech, but still
   present in the DOM so automated fillers walk straight into them. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.field-hint {
  display: block;
  margin-top: 7px;
  font-size: .81rem;
  font-weight: 600;
  min-height: 1.1em;
}
.field-hint.is-ok { color: var(--green); }
.field-hint.is-warn { color: var(--orange-dk); }
.field-hint.is-ok::before { content: "✓ "; }

/* ---------- Contact page ---------- */
.contact-shell { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.contact-mail {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px dashed var(--hair);
  border-radius: var(--radius);
  background: var(--paper-3);
  font-size: .88rem;
  color: var(--muted);
}
.contact-mail a { font-family: var(--mono); color: var(--ink); border-bottom: 1px solid var(--hair); }
.contact-mail a:hover { color: var(--orange); border-color: var(--orange); }
.contact-points li { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.contact-points li:last-child { border-bottom: 0; }
.contact-points b { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: 4px; }
.contact-points span { color: var(--muted); font-size: .94rem; }
