/* Incineration — v1 draft styles
   Tokens per Marketing/incineration-website-design-tokens.md (pulled from ectobox.com) */

:root {
  --color-brand-red: #de392a;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-heading: #323031;
  --color-body: #33475b;
  --color-nav: #666666;

  --font-heading: "Montserrat", Helvetica, Arial, Lucida, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius: 4px;

  --space-xs: 0.44rem;
  --space-sm: 0.67rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.25rem;
  --space-2xl: 3.38rem;
  --space-3xl: 5.06rem;

  --max-width: 1080px;
  --max-width-narrow: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-md);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 var(--space-md); }

a { color: var(--color-brand-red); }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: var(--space-md);
  top: var(--space-md);
  background: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  z-index: 100;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.wrap-narrow { max-width: var(--max-width-narrow); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--color-white);
  border-bottom: 1px solid #eee;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.logo-mark {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-black);
  font-size: 0.95rem;
}

.header-inner .header-cta { display: none; }
@media (min-width: 640px) {
  .header-inner .header-cta { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-brand-red);
  color: var(--color-white);
}
.btn-primary:hover { background: #c2301f; }

.btn-large {
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
}

.btn-small {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
}

/* Hero */
.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: left;
}

.hero-category {
  color: var(--color-black);
  font-weight: 800;
  max-width: 16ch;
  font-size: 2rem;
}
@media (min-width: 640px) {
  .hero-category { font-size: 2.75rem; max-width: 18ch; }
}

.hero-lead {
  font-family: var(--font-heading);
  color: var(--color-brand-red);
  font-weight: 600;
  font-size: 1.15rem;
  max-width: 34ch;
  margin-top: calc(var(--space-sm) * -1);
}
@media (min-width: 640px) {
  .hero-lead { font-size: 1.4rem; }
}

.subhead {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-heading);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
}

.section:nth-of-type(even) {
  background: #fafafa;
}

/* Component list — numbered badges instead of a plain dash */
.component-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  counter-reset: component;
  display: grid;
  gap: var(--space-md);
}
.component-list li {
  position: relative;
  padding-left: 2.75rem;
  counter-increment: component;
  min-height: 1.9rem;
}
.component-list li::before {
  content: counter(component);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--color-brand-red);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Problem list — bolder, boxed */
.problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-sm);
}
.problem-list li {
  background: var(--color-white);
  border-left: 4px solid var(--color-brand-red);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  color: var(--color-heading);
  font-size: 1.05rem;
}

/* Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 800px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
  background: var(--color-white);
  border: 1px solid #eee;
  border-top: 3px solid var(--color-brand-red);
  border-radius: var(--radius);
  padding: var(--space-lg);
}
.pillar h3 { margin-bottom: var(--space-sm); }
.pillar p { margin-bottom: 0; }

/* Proof strip */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 700px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}

.proof-card {
  background: var(--color-white);
  border: 1px solid #eee;
  border-top: 3px solid var(--color-brand-red);
  border-radius: var(--radius);
  padding: var(--space-lg);
}
.proof-card p:last-child { margin-bottom: 0; }

.proof-card-stat {
  grid-column: 1 / -1;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: var(--color-brand-red);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-sm);
}

.proof-highlight {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.proof-detail {
  color: var(--color-body);
  font-size: 0.95rem;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}
.mini-list li {
  padding-left: var(--space-md);
  position: relative;
}
.mini-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-brand-red);
  font-weight: 700;
}

/* Use cases */
.use-case-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-2xl);
}
.use-case-row:last-child { margin-bottom: 0; }
@media (min-width: 700px) {
  .use-case-row { grid-template-columns: 440px 1fr; gap: var(--space-xl); }
}

.use-case-shot {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: var(--radius);
  display: block;
}

.flow-diagram {
  overflow-x: auto;
}

/* Requirements */
.requirements { color: var(--color-nav); font-size: 0.95rem; }

/* Contact form */
form {
  max-width: 480px;
}
.form-row {
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
label {
  font-weight: 600;
  color: var(--color-heading);
  font-size: 0.9rem;
}
input, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-brand-red);
}

.form-status {
  align-items: center;
  gap: var(--space-md);
  background: #fdf2f1;
  border: 1px solid var(--color-brand-red);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin-top: var(--space-md);
}
.form-status:not([hidden]) { display: flex; }
.form-status-icon {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-brand-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}
.form-status p {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
  font-size: 1.05rem;
}

.privacy-note {
  font-size: 0.8rem;
  color: var(--color-nav);
  margin-top: var(--space-md);
}

/* Other Ectobox products — brief, visually distinct cross-link */
.other-products {
  background: #f0f0f0;
  border-top: 1px solid #ddd;
  padding: var(--space-xl) 0;
}
.other-products h2 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}
.other-products p {
  margin-bottom: 0;
  color: var(--color-body);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--color-black);
  color: #aaa;
  padding: var(--space-xl) 0;
  font-size: 0.85rem;
}
.site-footer p { margin: 0 0 var(--space-sm); }
.footer-meta { color: #777; }
