/* Features, How it works, Security and FAQ pages (November 2026 rewrite). Builds on home_page.css and public_site.css. */
.inner-hero{position:relative;padding:96px max(4vw,16px) 64px;background:radial-gradient(circle at 85% 0%,rgba(54,208,226,.16),transparent 55%),linear-gradient(180deg,#081a2b,var(--bg,#07111f));border-bottom:1px solid #164f67}
.inner-hero-inner{max-width:1180px;margin:0 auto}
.inner-hero h1{max-width:900px;margin:10px 0 16px;font-size:clamp(2.1rem,4.4vw,3.6rem);line-height:1.08}
.inner-hero h1 span{color:#72edf5}
.inner-hero .lead{max-width:760px;margin:0;color:var(--muted);font-size:1.15rem}
.page-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.page-hero-actions .button{width:auto;min-width:200px}

.page-anchors{display:flex;flex-wrap:wrap;gap:10px;max-width:1180px;margin:28px auto 0}
.page-anchors a{padding:8px 16px;border:1px solid var(--line);border-radius:999px;background:#0b1d30;color:var(--text);font-weight:700;font-size:.92rem;text-decoration:none}
.page-anchors a:hover,.page-anchors a:focus-visible{border-color:var(--accent);color:#72edf5}

.page-block{padding-top:72px;padding-bottom:24px}
.page-block>h2,.page-block .page-block-title{max-width:860px}
.page-block h2,.home-showcase h2,.faq-section h2{line-height:1.15}
.home-step-list li{align-content:start}
.page-block-lead{max-width:760px;color:var(--muted);font-size:1.05rem}
.home-feature-grid.is-four,.home-step-list.is-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-feature-grid article .tag,.page-card .tag{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:#2a2410;color:#ffd166;font-size:.72rem;font-weight:800;letter-spacing:.03em;vertical-align:middle}

/* The life of an overdue invoice */
.invoice-life{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:0;max-width:980px}
.invoice-life li{position:relative;display:grid;grid-template-columns:140px minmax(0,1fr);gap:20px;padding:0 0 26px}
.invoice-life li::before{content:"";position:absolute;left:150px;top:10px;bottom:-4px;width:2px;background:#1d4a63}
.invoice-life li:last-child::before{display:none}
.invoice-life .when{padding-top:4px;color:#72edf5;font-weight:800;font-size:.9rem;text-align:right}
.invoice-life .what{position:relative;margin-left:22px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,var(--surface),#091a2b)}
.invoice-life .what::before{content:"";position:absolute;left:-30px;top:12px;width:14px;height:14px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(54,208,226,.18)}
.invoice-life h3{margin:0 0 8px;font-size:1.1rem}
.invoice-life p{margin:4px 0 0;color:var(--muted)}
.invoice-life p b{color:var(--text)}
.page-callout{max-width:980px;margin:8px 0 0;padding:18px 22px;border:1px solid #1d4a63;border-left:4px solid var(--accent);border-radius:14px;background:#081a2b;color:var(--muted)}
.page-callout b{color:var(--text)}

/* Simple card list used on Security */
.page-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:28px}
.page-card{padding:24px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,var(--surface),#091a2b)}
.page-card h3{margin:0 0 10px}
.page-card p{margin:0 0 10px;color:var(--muted)}
.page-card ul{margin:0;padding-left:20px;color:var(--muted)}
.page-card li{margin:4px 0}
.page-card a{color:#72edf5;font-weight:800}

/* FAQ */
.faq-section{padding-top:48px;padding-bottom:8px}
.faq-section h2{margin-bottom:6px}
.faq-section .home-faq-list{margin-top:18px}
.faq-section .home-faq-list details p a{color:#72edf5;font-weight:700}

@media(max-width:1050px){
  .home-feature-grid.is-four,.home-step-list.is-four{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .page-columns{grid-template-columns:1fr}
  .invoice-life li{grid-template-columns:1fr;gap:6px;padding-left:24px}
  .invoice-life li::before{left:6px;top:6px}
  .invoice-life .when{text-align:left}
  .invoice-life .what{margin-left:0}
  .invoice-life .what::before{left:-24px;top:-22px}
}
@media(max-width:640px){
  .inner-hero{padding:64px 16px 44px}
  .page-hero-actions .button{width:100%}
  .page-block{padding-top:52px}
  .home-feature-grid.is-four,.home-step-list.is-four{grid-template-columns:1fr}
}

/* Background pictures, as on the other public pages: dark on the left behind the text, picture on the right. */
.inner-hero.hero-features,.inner-hero.hero-hiw,.inner-hero.hero-security,.inner-hero.hero-faq,.inner-hero.hero-dso{min-height:560px;display:flex;align-items:center;background-size:cover;background-position:center right}
.inner-hero.hero-features .inner-hero-inner,.inner-hero.hero-hiw .inner-hero-inner,.inner-hero.hero-security .inner-hero-inner,.inner-hero.hero-faq .inner-hero-inner,.inner-hero.hero-dso .inner-hero-inner{width:100%}
.hero-features{background-image:linear-gradient(90deg,rgba(2,11,24,.97) 0%,rgba(2,11,24,.9) 42%,rgba(2,11,24,.35) 72%,rgba(2,11,24,.18) 100%),url('/static/control360-features-cashflow-background.webp')}
.hero-hiw{background-image:linear-gradient(90deg,rgba(2,11,24,.98) 0%,rgba(2,11,24,.92) 40%,rgba(2,11,24,.45) 68%,rgba(2,11,24,.15) 100%),url('/static/control360-cashflow-journey-background.webp')}
.hero-security{background-image:linear-gradient(90deg,rgba(2,11,24,.98) 0%,rgba(2,11,24,.92) 40%,rgba(2,11,24,.45) 68%,rgba(2,11,24,.13) 100%),url('/static/control360-security-privacy-background.webp')}
.hero-faq{background-image:linear-gradient(90deg,rgba(2,11,24,.98) 0%,rgba(2,11,24,.92) 40%,rgba(2,11,24,.45) 68%,rgba(2,11,24,.12) 100%),url('/static/control360-faq-knowledge-network-background.webp')}
.hero-dso{background-image:linear-gradient(90deg,rgba(2,11,24,.98) 0%,rgba(2,11,24,.92) 40%,rgba(2,11,24,.45) 68%,rgba(2,11,24,.15) 100%),url('/static/control360-pricing-growth-background.webp')}
@media(max-width:1050px){
  .inner-hero.hero-features,.inner-hero.hero-hiw,.inner-hero.hero-security,.inner-hero.hero-faq,.inner-hero.hero-dso{min-height:0;background-position:70% center}
  .hero-features{background-image:linear-gradient(180deg,rgba(2,11,24,.55) 0%,rgba(2,11,24,.92) 45%,rgba(2,11,24,.98) 100%),url('/static/control360-features-cashflow-background.webp')}
  .hero-hiw{background-image:linear-gradient(180deg,rgba(2,11,24,.55) 0%,rgba(2,11,24,.92) 45%,rgba(2,11,24,.98) 100%),url('/static/control360-cashflow-journey-background.webp')}
  .hero-security{background-image:linear-gradient(180deg,rgba(2,11,24,.55) 0%,rgba(2,11,24,.92) 45%,rgba(2,11,24,.98) 100%),url('/static/control360-security-privacy-background.webp')}
  .hero-faq{background-image:linear-gradient(180deg,rgba(2,11,24,.55) 0%,rgba(2,11,24,.92) 45%,rgba(2,11,24,.98) 100%),url('/static/control360-faq-knowledge-network-background.webp')}
  .hero-dso{background-image:linear-gradient(180deg,rgba(2,11,24,.55) 0%,rgba(2,11,24,.92) 45%,rgba(2,11,24,.98) 100%),url('/static/control360-pricing-growth-background.webp')}
}
