/* rescue.sectorflow.ai. Tokens from BRAND.md. One theme. Layout: dark hero band, then alternating white, tinted and dark bands. */
:root {
  --brand-primary: #1a6fc4;
  --brand-light: #2ea0e0;
  --brand-bright: #35b8f0;
  --brand-dark: #0b1628;
  --brand-charcoal: #1e2a3a;
  --brand-text: #3a4a5c;
  --brand-muted: #6b7b8d;
  --brand-bg: #ffffff;
  --brand-bg-alt: #f2f4f7;
  --border: #d1d5db;
  --text-meta: #5c6b7d;
  --ok: #16a34a;
  --maxw: 1120px;
  --radius: 8px;
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--brand-text); background: var(--brand-bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 0.75rem; color: var(--brand-primary); }
h1 { font-size: 2.75rem; font-weight: 700; color: var(--brand-dark); letter-spacing: -0.01em; }
h2 { font-size: 1.5rem; font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 500; color: var(--brand-dark); }
p { margin: 0 0 1rem; }
a { color: var(--brand-primary); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand-primary); color: #fff; padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header { border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.site-header img { width: 144px; height: 32px; display: block; }
.site-header nav { display: flex; gap: 1.5rem; align-items: center; font-size: 0.95rem; }
.site-header nav a { color: var(--brand-text); text-decoration: none; }
.site-header nav a:hover { color: var(--brand-primary); }
.tag { font-size: 0.8rem; color: var(--text-meta); border: 1px solid var(--border); border-radius: 999px; padding: 0.1rem 0.6rem; margin-left: 0.5rem; }

.btn { display: inline-block; background: var(--brand-primary); color: #fff; text-decoration: none; font-weight: 600; padding: 0.8rem 1.4rem; border-radius: 6px; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--brand-light); }
.btn.ghost { background: transparent; color: var(--brand-primary); border: 1px solid var(--brand-primary); }
.btn.ghost:hover { background: var(--brand-bg-alt); }
.btn:disabled { opacity: 0.6; cursor: wait; }

section { padding: 4rem 0; }
section.alt { background: var(--brand-bg-alt); }
section.dark { background: var(--brand-dark); color: #dbe4ee; }
section.dark h2 { color: #fff; }
.lead { font-size: 1.2rem; color: var(--brand-text); max-width: 46rem; }
.meta { font-size: 0.875rem; color: var(--text-meta); }

.hero { padding: 4.5rem 0 3.5rem; background: var(--brand-dark); color: #dbe4ee; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(53,184,240,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(53,184,240,0.06) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
.hero .accent { height: 4px; width: 72px; background: linear-gradient(135deg, #1a6fc4 0%, #35b8f0 100%); margin-bottom: 1.25rem; border-radius: 2px; }
.hero .eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-bright); margin-bottom: 0.75rem; }
.hero h1 { color: #fff; font-size: 3.25rem; max-width: 11em; text-wrap: balance; }
.hero .lead { color: #c3d0de; }
.hero .cta { margin-top: 1.5rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.hero .cta .meta { margin: 0; color: #8aa0b8; }
.hero-art { position: relative; aspect-ratio: 5 / 4; max-width: 100%; border: 1px solid rgba(53,184,240,0.25); border-radius: 12px; background: rgba(11,22,40,0.6); box-shadow: 0 30px 60px rgba(0,0,0,0.35); overflow: hidden; }
.hero-art canvas { display: block; width: 100%; height: 100%; }
.hero-art .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.45rem 0.9rem; font-size: 0.75rem; color: #8aa0b8; background: linear-gradient(transparent, rgba(11,22,40,0.9)); }
.logos { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 2rem; font-size: 0.85rem; color: #8aa0b8; align-items: center; }
.logos span { border: 1px solid rgba(255,255,255,0.14); border-radius: 6px; padding: 0.2rem 0.55rem; background: rgba(255,255,255,0.05); color: #dbe4ee; font-weight: 500; }
.logos .lbl { border: 0; background: none; padding: 0; color: #8aa0b8; font-weight: 400; }
section.tint { background: #e8f1fb; }
.three .card { border-top: 4px solid var(--brand-primary); }
.three .card:nth-child(2) { border-top-color: var(--brand-light); }
.three .card:nth-child(3) { border-top-color: var(--brand-bright); }
.step { border-left: 3px solid var(--brand-light); }
.pull { background: var(--brand-dark); color: #dbe4ee; border-radius: var(--radius); padding: 1.5rem 1.75rem; font-size: 1.15rem; line-height: 1.5; }
.pull b { color: #fff; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.card .num { font-size: 0.8rem; font-weight: 600; color: var(--brand-primary); letter-spacing: 0.06em; text-transform: uppercase; }
.card h3 { margin-top: 0.4rem; }
.card p:last-child { margin-bottom: 0; }

.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; font-size: 0.92rem; }
.step b { display: block; color: var(--brand-dark); margin-bottom: 0.25rem; }
.step .when { display: block; font-size: 0.8rem; color: var(--text-meta); margin-bottom: 0.4rem; }

.shot { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--text-meta); border-top: 1px solid var(--border); }
.twocol { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--brand-primary); color: #fff; font-weight: 600; font-size: 0.9rem; }
tbody tr:nth-child(even) td { background: var(--brand-bg-alt); }
tr:last-child td { border-bottom: 0; }
td.price, th.price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pricing-note { margin-top: 1rem; }

.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
ul.plain { padding-left: 1.2rem; margin: 0; }
ul.plain li { margin-bottom: 0.5rem; }

details { border-bottom: 1px solid var(--border); padding: 0.9rem 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--brand-dark); list-style: none; display: flex; justify-content: space-between; }
details summary::after { content: "+"; color: var(--brand-primary); }
details[open] summary::after { content: "\2013"; }
details p { margin: 0.6rem 0 0; }

.guarantee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.guarantee .card { background: var(--brand-charcoal); border-color: #2a3646; color: #dbe4ee; }
.guarantee .card h3 { color: #fff; }

footer { padding: 2.5rem 0; background: var(--brand-dark); font-size: 0.875rem; color: #8aa0b8; }
footer .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
footer img { width: 144px; height: 32px; display: block; }
footer a { color: #dbe4ee; }
footer a:hover { color: #fff; }

/* Start page */
.form { max-width: 720px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 500; color: var(--brand-dark); margin: 1rem 0 0.35rem; font-size: 0.95rem; }
label .opt { font-weight: 400; color: var(--text-meta); }
input[type=text], input[type=email], input[type=number], select, textarea { width: 100%; font: inherit; padding: 0.65rem 0.75rem; border: 1px solid var(--border); border-radius: 6px; color: var(--brand-dark); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-light); outline-offset: 1px; border-color: var(--brand-light); }
.drop { border: 2px dashed var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; background: var(--brand-bg-alt); cursor: pointer; }
.drop.on { border-color: var(--brand-primary); background: #e8f1fb; }
.drop input { display: none; }
.files { list-style: none; padding: 0; margin: 0.75rem 0 0; font-size: 0.9rem; }
.files li { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1.25rem; font-size: 0.92rem; }
.check input { margin-top: 0.3rem; }
.notice { border: 1px solid var(--border); border-left: 4px solid var(--brand-primary); background: #fff; padding: 1rem 1.25rem; border-radius: 6px; margin-top: 1.5rem; }
.notice.ok { border-left-color: var(--ok); }
.notice.err { border-left-color: #dc2626; }
.aside { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.aside ol { padding-left: 1.2rem; margin: 0.5rem 0 0; }
.aside li { margin-bottom: 0.5rem; }
.start-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }

@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .hero-art { aspect-ratio: 4 / 3; }
  .three, .guarantee, .gallery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .twocol, .lists, .start-grid, .form .row { grid-template-columns: 1fr; }
  section { padding: 3rem 0; }
  .site-header nav { gap: 1rem; font-size: 0.9rem; }
  .site-header nav .hide-sm { display: none; }
  .site-header nav .btn { padding: 0.55rem 0.9rem; font-size: 0.9rem; white-space: nowrap; }
}

/* Lightbox: any .shot image expands on click */
.shot img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; background: rgba(11,22,40,0.92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 2rem; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(96vw, 1400px); max-height: 90vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); background: #fff; }
.lightbox figcaption { position: absolute; left: 0; right: 0; bottom: 0.75rem; text-align: center; color: #dbe4ee; font-size: 0.9rem; }
.lightbox .close { position: absolute; top: 0.75rem; right: 1rem; color: #fff; font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer; }
