/* /submit-project landing and /submit-project/start form. Brand tokens come from style.css. */
.sp { font-family: var(--font-body); color: var(--text-primary); scroll-behavior: smooth; }
.sp a { text-decoration: none; }
.sp [hidden] { display: none !important; }
.sp .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sp-wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-gutter); }
.sp-narrow { max-width: 860px; }
.sp-section { padding: 44px 0; }
.sp-alt { background: var(--background-secondary); border-block: 1px solid var(--border-default); }
.sp h1, .sp h2, .sp h3 { color: var(--text-heading); margin: 0; }
.sp h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.25; margin-bottom: 8px; }
.sp h3 { font-size: 1.05rem; line-height: 1.35; }
.sp-lead { color: var(--text-secondary); font-size: 1rem; line-height: 1.65; margin: 0 0 22px; max-width: 70ch; }
.sp-crumbs { display: flex; gap: 8px; font-size: .88rem; color: var(--text-muted); margin-bottom: 18px; }
.sp-crumbs a { color: var(--text-heading); font-weight: 700; }
.sp-crumbs span::before { content: "/"; margin-right: 8px; opacity: .5; }

/* Hero */
.sp-hero { background: #F7F5F2; border-bottom: 1px solid var(--border-default); padding: 34px 0 40px; }
.sp-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--brand-link); margin-bottom: 10px; }
.sp-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; letter-spacing: -.02em; max-width: 22ch; }
.sp-hero .sp-lead { margin-top: 14px; font-size: 1.05rem; }
.sp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.sp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 800; font-size: .98rem; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; font-family: inherit; }
.sp-btn--primary { background: var(--brand-primary); color: #fff; }
.sp-btn--primary:hover { background: var(--brand-primary-hover); }
.sp-btn--ghost { background: #fff; color: var(--brand-secondary); border-color: var(--brand-secondary); }
.sp-btn--ghost:hover { background: var(--brand-secondary); color: #fff; }
.sp-btn[disabled] { opacity: .6; cursor: not-allowed; }
.sp-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 22px 0 0; padding: 0; font-size: .92rem; font-weight: 700; color: var(--text-heading); }
.sp-trust li { display: inline-flex; align-items: center; gap: 8px; }
.sp-trust i { color: var(--brand-primary); }

/* Cards */
.sp-grid { display: grid; gap: 16px; }
.sp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-card { background: #fff; border: 1px solid var(--border-default); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.sp-card p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--text-secondary); }
.sp-card .sp-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-primary-light); color: var(--brand-primary-hover); display: grid; place-items: center; font-size: 1rem; }
.sp-card a.sp-card-link { margin-top: auto; padding-top: 6px; font-weight: 800; font-size: .9rem; color: var(--brand-link); }
.sp-card a.sp-card-link:hover { text-decoration: underline; color: var(--brand-primary-hover); }
.sp-inline-links { margin-top: 18px; font-size: .92rem; color: var(--text-secondary); }
.sp-inline-links a { color: var(--brand-link); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Pricing */
.sp-price { max-width: 760px; margin: 0 auto; background: #fff; border: 2px solid var(--brand-primary); border-radius: 16px; padding: 26px; box-shadow: 0 10px 30px rgba(11, 31, 51, .08); }
.sp-price-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border-default); }
.sp-price-name { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-link); }
.sp-price-amount { font-size: 2.4rem; font-weight: 800; color: var(--text-heading); line-height: 1; }
.sp-price-amount small { font-size: .95rem; font-weight: 600; color: var(--text-muted); }
.sp-checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 22px; }
.sp-checks li { display: flex; gap: 9px; font-size: .92rem; line-height: 1.45; color: var(--text-primary); }
.sp-checks i { color: #047857; margin-top: 3px; font-size: .78rem; }
.sp-price .sp-btn { width: 100%; margin-top: 20px; min-height: 52px; font-size: 1.05rem; }
.sp-fine { font-size: .82rem; color: var(--text-muted); line-height: 1.55; margin: 12px 0 0; }
.sp-center { text-align: center; }

/* Steps */
.sp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.sp-steps li { background: #fff; border: 1px solid var(--border-default); border-radius: 12px; padding: 18px; font-size: .94rem; line-height: 1.5; position: relative; counter-increment: step; }
.sp-steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-secondary); color: #fff; font-weight: 800; font-size: .88rem; margin-bottom: 10px; }

/* FAQ */
.sp-faq details { background: #fff; border: 1px solid var(--border-default); border-radius: 10px; margin-bottom: 10px; }
.sp-faq summary { cursor: pointer; list-style: none; padding: 15px 18px; font-weight: 800; color: var(--text-heading); display: flex; justify-content: space-between; gap: 14px; align-items: center; font-size: 1rem; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand-primary); flex: none; }
.sp-faq details[open] summary::after { content: "\2212"; }
.sp-faq details p { margin: 0; padding: 0 18px 16px; color: var(--text-secondary); font-size: .95rem; line-height: 1.65; }
.sp-faq details p a { color: var(--brand-link); text-decoration: underline; }
.sp-final { margin-top: 22px; background: var(--brand-secondary); color: #fff; border-radius: 14px; padding: 22px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.sp-final p { margin: 0; font-weight: 700; font-size: 1.05rem; }
.sp-risk { margin-top: 18px; font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

/* Multi-step form */
.sp-form-shell { max-width: 860px; margin: 0 auto; padding: 28px var(--container-gutter) 60px; }
.sp-progress { display: flex; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; }
.sp-progress li { flex: 1; text-align: center; font-size: .78rem; font-weight: 800; color: var(--text-muted); padding: 10px 6px; border-radius: 8px; background: #fff; border: 1px solid var(--border-default); }
.sp-progress li.is-current { color: #fff; background: var(--brand-secondary); border-color: var(--brand-secondary); }
.sp-progress li.is-done { color: var(--brand-secondary); background: var(--brand-primary-light); border-color: #F0C3A6; }
.sp-panel { background: #fff; border: 1px solid var(--border-default); border-radius: 14px; padding: 24px; }
.sp-panel h2 { margin-bottom: 4px; }
.sp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.sp-field { display: flex; flex-direction: column; gap: 5px; }
.sp-field--full { grid-column: 1 / -1; }
.sp-field label, .sp-field .sp-label { font-size: .86rem; font-weight: 800; color: var(--text-heading); }
.sp-field label span { font-weight: 500; color: var(--text-muted); }
.sp-field input, .sp-field select, .sp-field textarea { width: 100%; padding: 11px 13px; border: 1px solid #CBD5E1; border-radius: 9px; font: inherit; font-size: .97rem; background: #fff; color: var(--text-primary); }
.sp-field textarea { min-height: 96px; resize: vertical; }
.sp-field input:focus, .sp-field select:focus, .sp-field textarea:focus { outline: 2px solid rgba(185, 83, 31, .35); border-color: var(--brand-primary); }
.sp-field .is-invalid { border-color: #DC2626; }
.sp-help { font-size: .8rem; color: var(--text-muted); margin: 0; }
.sp-error { font-size: .82rem; color: #B91C1C; margin: 0; font-weight: 600; }
.sp-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.sp-type { position: relative; border: 2px solid var(--border-default); border-radius: 12px; padding: 16px; cursor: pointer; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.sp-type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sp-type strong { color: var(--text-heading); }
.sp-type span { font-size: .88rem; color: var(--text-secondary); }
.sp-type:has(input:checked) { border-color: var(--brand-primary); background: var(--brand-primary-light); }
.sp-type:has(input:focus-visible) { outline: 3px solid var(--brand-primary); outline-offset: 2px; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 24px; }
.sp-alert { border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; font-size: .93rem; }
.sp-alert--err { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.sp-summary { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; margin: 16px 0; font-size: .93rem; }
.sp-summary dt { font-weight: 800; color: var(--text-heading); }
.sp-summary dd { margin: 0; color: var(--text-secondary); word-break: break-word; }
.sp-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.5; margin-top: 10px; }
.sp-checkbox input { margin-top: 4px; flex: none; width: 18px; height: 18px; accent-color: var(--brand-primary); }
.sp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sp-repeat { display: grid; gap: 10px; margin-top: 10px; }
.sp-repeat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 8px; align-items: center; }
.sp-repeat-row input { padding: 9px 11px; border: 1px solid #CBD5E1; border-radius: 8px; font: inherit; font-size: .9rem; }
.sp-link-btn { background: none; border: 0; color: var(--brand-link); font-weight: 800; cursor: pointer; font: inherit; font-size: .88rem; padding: 6px 0; }
.sp-js .sp-step { display: none; }
.sp-js .sp-step.is-active { display: block; }

@media (max-width: 960px) {
    .sp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .sp-section { padding: 30px 0; }
    .sp-grid--4, .sp-grid--2, .sp-steps, .sp-checks, .sp-fields, .sp-types { grid-template-columns: 1fr; }
    .sp-btn { width: 100%; }
    .sp-cta-row { flex-direction: column; }
    .sp-price { padding: 20px 16px; }
    .sp-summary { grid-template-columns: 1fr; }
    .sp-progress li { font-size: .68rem; padding: 8px 2px; }
    .sp-repeat-row { grid-template-columns: 1fr 1fr; }
    .sp-panel { padding: 18px 14px; }
}
@media (prefers-reduced-motion: reduce) { .sp { scroll-behavior: auto; } }

/* Hero content is centred */
.sp-hero .sp-wrap { text-align: center; }
.sp-hero .sp-crumbs { justify-content: center; }
.sp-hero h1 { margin-inline: auto; max-width: 30ch; text-wrap: balance; }
.sp-hero .sp-lead { margin-inline: auto; }
.sp-hero .sp-cta-row, .sp-hero .sp-trust { justify-content: center; }

/* Two plan cards */
.sp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.sp-plans .sp-price { max-width: none; margin: 0; display: flex; flex-direction: column; }
.sp-plans .sp-checks { grid-template-columns: 1fr; align-content: start; margin-bottom: 22px; }
.sp-plans .sp-price .sp-btn { margin-top: auto; }
.sp-price--feature { border-color: var(--brand-secondary); }
@media (max-width: 860px) { .sp-plans { grid-template-columns: 1fr; } }
.sp-plan-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.sp-plan-pick label { position: relative; border: 2px solid var(--border-default); border-radius: 12px; padding: 14px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; background: #fff; }
.sp-plan-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sp-plan-pick label:has(input:checked) { border-color: var(--brand-primary); background: var(--brand-primary-light); }
.sp-plan-pick label:has(input:focus-visible) { outline: 3px solid var(--brand-primary); outline-offset: 2px; }
.sp-plan-pick strong { color: var(--text-heading); }
.sp-plan-pick span { font-size: .86rem; color: var(--text-secondary); }
@media (max-width: 640px) { .sp-plan-pick { grid-template-columns: 1fr; } }

/* Advertise page extras */
.ad-chips { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ad-chips li { background: #fff; border: 1px solid var(--border-default); border-radius: 10px; padding: 14px 16px; font-weight: 700; color: var(--text-heading); font-size: .95rem; display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.ad-chips i { color: var(--brand-primary); margin-top: 3px; }
.sp-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; border-radius: 12px; padding: 18px 20px; }
.sp-success p { margin: 6px 0 0; color: #047857; }
.ad-sticky { display: none; }
@media (max-width: 860px) { .ad-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .ad-chips { grid-template-columns: 1fr; }
    .ad-sticky { display: flex; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 40; justify-content: center; align-items: center; min-height: 48px; border-radius: 12px; background: var(--brand-primary); color: #fff; font-weight: 800; box-shadow: 0 10px 24px rgba(11, 31, 51, .25); transition: opacity .2s, transform .2s; text-decoration: none; }
    .ad-sticky.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
    .sp-advertise { padding-bottom: 70px; }
}


/* Landing page, second pass: hero with a facts panel, comparison table, standards and text steps. */
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: 32px 48px; align-items: center; }
.sp-hero h1 { max-width: 24ch; }
.sp-facts { background: #fff; border: 1px solid var(--border-default); border-top: 4px solid var(--brand-primary); border-radius: 14px; padding: 22px 24px; box-shadow: 0 10px 30px rgba(11, 31, 51, .07); }
.sp-facts-title { font-size: .78rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-link) !important; margin: 0 0 12px !important; }
.sp-facts dl { margin: 0; display: grid; gap: 14px; }
.sp-facts dt { font-weight: 800; color: var(--text-heading); font-size: 1.02rem; }
.sp-facts dd { margin: 2px 0 0; color: var(--text-secondary); font-size: .92rem; line-height: 1.5; }
.sp-facts dl > div + div { padding-top: 14px; border-top: 1px solid var(--border-default); }

.sp-table-wrap { margin-top: 20px; background: #fff; border: 1px solid var(--border-default); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(11, 31, 51, .06); }
.sp-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sp-table th, .sp-table td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border-default); }
.sp-table thead th { background: var(--brand-secondary); color: #fff; font-weight: 800; font-size: 1rem; border-bottom: 0; }
.sp-table thead th small { display: block; margin-top: 2px; font-weight: 600; font-size: .8rem; color: #CBD5E1; }
.sp-table thead th.is-feature { background: var(--brand-primary); }
.sp-table thead th.is-feature small { color: #FFE9DB; }
.sp-table tbody th { font-weight: 600; color: var(--text-heading); width: 46%; }
.sp-table tbody td { width: 27%; color: var(--text-primary); font-weight: 600; }
.sp-table tbody td.is-feature { background: var(--brand-primary-light); }
.sp-table tbody tr:last-child th, .sp-table tbody tr:last-child td { border-bottom: 0; }
.sp-yes { color: #047857; }
.sp-no { color: #94A3B8; }
.sp-na { color: var(--text-muted); font-weight: 500; font-size: .88rem; }
.sp-plan-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

.sp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 6px; }
.sp-panel-box { background: #fff; border: 1px solid var(--border-default); border-radius: 12px; padding: 20px 22px; }
.sp-panel-box h3 { margin-bottom: 10px; }
.sp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-list li { position: relative; padding-left: 26px; font-size: .94rem; line-height: 1.55; color: var(--text-primary); }
.sp-list li::before { position: absolute; left: 0; top: 2px; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; font-size: .8rem; }
.sp-list--yes li::before { content: "\f00c"; color: #047857; }
.sp-list--no li::before { content: "\f00d"; color: #B91C1C; }
.sp-callout { margin: 18px 0 0; padding: 14px 18px; background: #fff; border-left: 4px solid var(--brand-primary); border-radius: 8px; font-size: .92rem; line-height: 1.6; color: var(--text-secondary); }

.sp-steps--text li { padding: 20px; }
.sp-steps--text li h3 { margin-bottom: 6px; }
.sp-steps--text li p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--text-secondary); }

@media (max-width: 900px) {
    .sp-hero-grid { grid-template-columns: 1fr; }
    .sp-two { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .sp-table, .sp-table tbody, .sp-table tr, .sp-table th, .sp-table td { display: block; width: 100% !important; }
    .sp-table thead { display: none; }
    .sp-table tbody tr { border-bottom: 8px solid var(--background-secondary); }
    .sp-table tbody tr:last-child { border-bottom: 0; }
    .sp-table tbody th { padding: 14px 16px 6px; border-bottom: 0; font-size: .98rem; }
    .sp-table tbody td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 16px; border-bottom: 0; }
    .sp-table tbody td::before { content: attr(data-label); font-weight: 500; color: var(--text-muted); font-size: .86rem; }
    .sp-table tbody td.is-feature { background: var(--brand-primary-light); }
}

/* Hero without a side panel: the facts are a plain text row. */
.sp-facts-line { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border-default); font-size: .94rem; color: var(--text-secondary); }
.sp-facts-line strong { color: var(--text-heading); }

/* Three-plan table. */
.sp-table--3 tbody th { width: 28%; }
.sp-table--3 tbody td { width: 24%; }
.sp-table--3 thead th.is-start { background: var(--brand-secondary); }
.sp-table--3 thead th.is-feature { background: var(--brand-primary); }
.sp-table--3 thead th.is-premium { background: #7A2E0E; }
.sp-btn--dark { background: var(--brand-secondary); color: #fff; }
.sp-btn--dark:hover { background: #07131F; }

@media (min-width: 900px) { .sp-facts-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; } .sp-facts-line li { text-align: left; } }

/* Hero headline on two lines on desktop. */
.sp-hero h1 { max-width: 38ch; margin-inline: auto; text-wrap: balance; }
