/* CrestProof — static trust site styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1b2a4a;
  --slate:       #2c4a6e;
  --slate-light: #4a6fa5;
  --gray-50:     #f5f7fa;
  --gray-100:    #eaecf0;
  --gray-200:    #dde2eb;
  --gray-400:    #9aa0ac;
  --gray-600:    #5a6070;
  --gray-800:    #2d3140;
  --white:       #ffffff;
  --accent:      #eef1f6;
  --warn:        #b45309;
  --warn-bg:     #fef3c7;

  --font:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-w:  1060px;
  --radius: 5px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
}

a { color: var(--slate); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-logo span { color: rgba(255,255,255,0.45); font-weight: 400; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.84rem;
  padding: 5px 10px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  text-decoration: none;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #1b2a4a 0%, #1e3258 100%);
  color: var(--white);
  padding: 72px 24px 80px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 760px;
  margin: 0 auto 16px;
  letter-spacing: -0.025em;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-sub {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
  letter-spacing: 0.01em;
}
.btn:hover { opacity: 0.84; text-decoration: none; }

.btn-primary {
  background: var(--slate);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.26);
}

.btn-ghost {
  background: var(--accent);
  color: var(--navy);
  border: 1px solid var(--gray-200);
}

.btn-cta {
  background: var(--slate);
  color: var(--white);
  font-size: 0.95rem;
  padding: 13px 32px;
}

/* ── Main content wrappers ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px;
}

.section {
  padding: 64px 24px;
}
.section:nth-child(even) {
  background: var(--gray-50);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Section headings ── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

h3 {
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 1.0rem;
  color: var(--gray-600);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.card p {
  color: var(--gray-600);
  font-size: 0.92rem;
  margin-top: 6px;
  line-height: 1.65;
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step p { color: var(--gray-600); font-size: 0.92rem; line-height: 1.65; }

/* ── Deliverables / offer blocks ── */
.offer-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}

.offer-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.offer-header h3 { margin: 0; }

.price-tag {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.price-note {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-primary   { background: var(--navy); color: var(--white); }
.badge-secondary { background: var(--gray-100); color: var(--gray-600); }

.deliverable-list {
  list-style: none;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deliverable-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
}

.deliverable-list li::before {
  content: "✓";
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.deliverable-list li.excluded::before { content: "—"; color: var(--gray-400); }
.deliverable-list li.excluded { color: var(--gray-400); }

.offer-footer {
  padding: 12px 28px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
  font-size: 0.82rem;
  color: var(--gray-600);
}

/* ── Pricing tier grid (homepage + deliverables) ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--navy);
}

.pricing-card-header {
  padding: 22px 24px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.pricing-card.featured .pricing-card-header {
  background: var(--navy);
}

.pricing-card.featured .pricing-card-header h3,
.pricing-card.featured .pricing-card-header .price-tag {
  color: var(--white);
}

.pricing-card.featured .pricing-card-header .price-note {
  color: rgba(255,255,255,0.55);
}

.pricing-card-body {
  padding: 20px 24px;
  background: var(--white);
  flex: 1;
}

.pricing-card-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-card-body li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.pricing-card-body li::before {
  content: "–";
  color: var(--gray-400);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card.featured .pricing-card-body li::before {
  content: "✓";
  color: var(--navy);
  font-weight: 700;
}

.pricing-card-footer {
  padding: 12px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  font-size: 0.78rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ── Placeholder blocks ── */
.placeholder-block {
  background: var(--warn-bg);
  border: 2px dashed #d97706;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  margin: 28px 0;
}

.placeholder-block h3 {
  color: var(--warn);
  margin-bottom: 8px;
}

.placeholder-block p {
  color: #92400e;
  font-size: 0.9rem;
}

.placeholder-label {
  display: inline-block;
  background: #d97706;
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(160deg, #1b2a4a 0%, #1e3258 100%);
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,0.62); max-width: 540px; margin: 0 auto 32px; font-size: 1.0rem; }

/* ── Contact form ── */
.contact-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 200px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: 0.01em;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.15s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--slate);
  box-shadow: 0 0 0 3px rgba(44,74,110,0.1);
}

textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 4px;
  line-height: 1.5;
}

/* ── Trust signals ── */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: var(--gray-800);
  font-weight: 500;
}

.trust-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
}

/* ── Two-column layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* ── Attribute list (used in two-col right sides) ── */
.attr-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.attr-list li {
  border-left: 2px solid var(--gray-200);
  padding-left: 16px;
}

.attr-list li strong {
  display: block;
  font-size: 0.93rem;
  color: var(--navy);
  margin-bottom: 3px;
}

.attr-list li span {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ── Footer ── */
.site-footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  padding: 28px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
}

.site-footer a { color: var(--gray-600); }

/* ── Utility ── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--gray-600); }
.small { font-size: 0.84rem; }

hr.divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 48px 0;
}
