/* Clevis marketing — shared styles for the home page and industry pages. */
:root {
  --ink: #213c4a;
  --steel: #688a9d;
  --orange: #df8048;
  --cream: #f4f1eb;
}
* {
  margin: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
}

/* Scroll reveal — content drifts up and fades in as it enters the viewport. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px 40px;
  text-align: center;
}
.hero img.banner {
  width: 100%;
  max-width: 640px;
  border-radius: 16px;
  margin-bottom: 36px;
}
h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 em {
  color: var(--orange);
  font-style: normal;
}
p.sub {
  color: var(--steel);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.5;
}
.cta,
.cta2 {
  display: inline-block;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  margin: 0 6px 8px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cta {
  background: var(--orange);
  color: #fff;
}
.cta:hover {
  background: #c96a33;
}
.cta2 {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(104, 138, 157, 0.4);
}
.cta2:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 48px;
  text-align: left;
}
@media (min-width: 820px) {
  .points {
    grid-template-columns: repeat(3, 1fr);
  }
}
.point {
  background: #fff;
  border: 1px solid rgba(104, 138, 157, 0.25);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, transform 0.15s, opacity 0.6s ease;
}
.point:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.point h3 {
  font-size: 15px;
  margin-bottom: 6px;
}
.point p {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.5;
}
.point .more {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
}
.details {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}
.detail {
  background: #fff;
  border: 1px solid rgba(104, 138, 157, 0.25);
  border-radius: 18px;
  padding: 32px 28px;
  margin-bottom: 20px;
  scroll-margin-top: 24px;
}
.detail h2 {
  font-size: 24px;
  margin-bottom: 4px;
}
.detail .kicker {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.detail p {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.detail ul {
  margin: 0 0 4px 18px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.7;
}

/* The "straight deal" strip — true claims only. */
.deal {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 20px 32px;
}
.deal .strip {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  text-align: center;
}
.deal h2 {
  font-size: 22px;
  margin-bottom: 14px;
}
.deal .items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.deal .items span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
}

.demo {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px 72px;
  text-align: center;
  scroll-margin-top: 24px;
}
.demo h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.demo p.lead {
  color: var(--steel);
  margin-bottom: 24px;
  line-height: 1.5;
}
.demo form {
  background: #fff;
  border: 1px solid rgba(104, 138, 157, 0.25);
  border-radius: 18px;
  padding: 24px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.demo .full {
  grid-column: 1 / -1;
}
.demo label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}
.demo input,
.demo textarea,
.demo select {
  width: 100%;
  border: 1px solid rgba(104, 138, 157, 0.4);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  background: var(--cream);
}
.demo textarea {
  resize: vertical;
  min-height: 72px;
}
.demo button {
  grid-column: 1 / -1;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
.demo button:hover {
  background: #c96a33;
}
.demo button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.demo .note {
  grid-column: 1 / -1;
  font-size: 13px;
  margin: 0;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: var(--steel);
}
footer a {
  color: var(--steel);
}
.industries {
  margin-top: 6px;
}
@media (max-width: 560px) {
  .demo form {
    grid-template-columns: 1fr;
  }
}

/* Watch it work: the walkthrough reel (bundled from src/demos.tsx, styled under #reel). */
.howto {
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 20px 56px;
}
.howto h2 {
  font-size: clamp(24px, 4vw, 34px);
  text-align: center;
  margin-bottom: 8px;
}
.howto p.lead {
  color: var(--steel);
  text-align: center;
  font-size: 17px;
  line-height: 1.5;
  max-width: 560px;
  margin: 0 auto 22px;
}
#reel {
  min-height: 520px;
}
