/* Revision: 2026-05-07 – Sealed Ledger rebrand: added hero subtitle/CTA, services grid, audience grid, process grid, why grid. Existing contact/credentials/form styles preserved. */
/* Revision: 2026-05-06 – Credentials section: compact (48px padding vs full --section-pad-y), light-background card around the Credly badge so the iframe's dark-on-light text is readable on the page's dark background, and a small intro line styled as muted secondary text. */
/* Revision: 2026-05-06 – Hero: nav lifted out of .site-header into its own .tool-nav-bar strip above the header (matches tool-page pattern). Header is no longer flex-stretched to 65vh; it now shrinks to its content with modest padding so the tagline sits just below the nav rather than centered inside a viewport-tall block. Removed flex/min-height/padding inflation from .site-header and reduced .hero-content padding. */
/* Revision: 2026-03-22 – Landing page specific styles for index.html */

/* ===== HERO ===== */
.site-header {
  position: relative;
  background-color: #161616;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.4) 100%),
    url('/images/desktop.jpg');
  background-position: center;
  background-size: auto, cover;
  background-repeat: no-repeat;
  background-blend-mode: normal;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  padding: 48px 24px;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 72px 24px;
  }
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  white-space: pre-line;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 32px;
}

@media (min-width: 768px)  { .hero-tagline { font-size: 38px; } }
@media (min-width: 1280px) { .hero-tagline { font-size: 44px; } }
@media (min-width: 1536px) { .hero-tagline { font-size: 48px; } }

/* ===== CONTACT SECTION ===== */
.contact-section {
  background-color: var(--color-bg);
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}

@media (max-width: 767px) {
  .contact-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ===== SECTION HEADING ===== */
.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  color: var(--color-text-muted);
  line-height: 1.4;
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 768px)  { .section-heading { font-size: 38px; } }
@media (min-width: 1280px) { .section-heading { font-size: 44px; } }
@media (min-width: 1536px) { .section-heading { font-size: 48px; } }

.heading-rule {
  margin-top: 24px;
  line-height: 0;
  text-align: center;
}

.heading-rule hr {
  display: inline-block;
  width: 50px;
  height: 0;
  border-bottom: 2px solid var(--color-hr);
}

/* ===== CREDENTIALS ===== */
.credentials-section {
  background-color: var(--color-bg);
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 767px) {
  .credentials-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

.credentials-section .section-heading {
  margin-bottom: 16px;
}

.credentials-intro {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.credentials-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Light card so the Credly iframe (designed for light backgrounds)
   renders with readable text. Sized to the badge dimensions. */
.credentials-grid > div {
  background-color: #f3f4f6;
  border-radius: 8px;
  padding: 16px;
  display: inline-block;
}

/* ===== CONTACT GRID ===== */
.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-form-wrap {
  width: 100%;
}

@media (min-width: 768px) {
  .contact-form-wrap {
    margin-left: 8.333%;
    flex-basis: 83.333%;
    max-width: 83.333%;
  }
}

@media (min-width: 1024px) {
  .contact-form-wrap {
    margin-left: 16.666%;
    flex-basis: 66.666%;
    max-width: 66.666%;
  }
}

/* ===== FORM SUBHEADING ===== */
.form-subheading {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  color: var(--color-text-light);
  line-height: 1.25;
  margin-bottom: 24px;
}

@media (min-width: 768px)  { .form-subheading { font-size: 22px; } }
@media (min-width: 1536px) { .form-subheading { font-size: 24px; } }

/* ===== FORM GROUPS ===== */
.form-group {
  margin-bottom: 24px;
}

/* ===== FLOAT LABEL INPUTS ===== */
.float-label-wrap {
  position: relative;
}

.float-label-wrap input {
  width: 100%;
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 23px 16px 7px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-dim);
  outline: none;
  transition: box-shadow 0.15s ease;
}

.float-label-wrap input:focus {
  box-shadow: inset 0 0 0 1px currentColor;
}

.float-label-wrap label {
  position: absolute;
  top: 33%;
  left: 16px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-dim);
  pointer-events: none;
  transition: all 0.15s ease;
}

.float-label-wrap input:focus + label,
.float-label-wrap input:not(:placeholder-shown) + label {
  font-size: 12px;
  top: 8px;
  color: var(--color-text-muted);
}

/* ===== TEXTAREA ===== */
textarea {
  width: 100%;
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-dim);
  line-height: 1.75;
  resize: vertical;
  outline: none;
  transition: box-shadow 0.15s ease;
}

textarea::placeholder { color: var(--color-text-dim); }
textarea:focus { box-shadow: inset 0 0 0 1px currentColor; }

/* ===== CHECKBOX ===== */
.opt-in-group {
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-box {
  display: inline-block;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  min-width: 19px;
  border: 1px solid var(--color-border-dim);
  border-radius: 2px;
  margin-top: 2px;
  margin-right: 8px;
  position: relative;
  background: transparent;
  box-shadow: 0px 1px 3px rgba(0,0,0,0.3);
  cursor: pointer;
}

.checkbox-label input:checked ~ .checkbox-box {
  border-color: var(--color-text-muted);
}

.checkbox-label input:checked ~ .checkbox-box::after {
  content: '';
  display: block;
  position: absolute;
  top: 3px;
  left: 7px;
  width: 4px;
  height: 8px;
  border: solid var(--color-text-muted);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* ===== SUBMIT BUTTON ===== */
.form-submit {
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.071em;
  text-transform: uppercase;
  color: var(--color-btn-text);
  background-color: var(--color-btn-bg);
  border: none;
  border-radius: 4px;
  padding: 8px 32px;
  min-height: 56px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
  width: auto;
}

.btn-primary:hover {
  background-color: var(--color-btn-hover);
  color: var(--color-btn-text);
}

/* ===== FORM MESSAGE ===== */
.form-message {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  min-height: 20px;
}

.form-message.success { color: #6ee79a; }
.form-message.error   { color: #f87171; }

/* ===== RECAPTCHA NOTE ===== */
.recaptcha-note {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: center;
  margin-top: 8px;
}

.recaptcha-note a { color: var(--color-text-muted); }
.recaptcha-note a:hover { color: var(--color-text-dim); }
/* ===== HERO SUBTITLE & CTA (Sealed Ledger rebrand) ===== */
.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.6;
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
}

@media (min-width: 768px)  { .hero-subtitle { font-size: 20px; } }
@media (min-width: 1280px) { .hero-subtitle { font-size: 22px; } }

.hero-cta {
  text-align: center;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .hero-cta { margin-top: 40px; }
}

/* ===== SHARED CARD GRIDS (services / audience / process / why) ===== */
.services-section,
.audience-section,
.process-section,
.why-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}

.services-section { background-color: var(--color-bg); }
.audience-section { background-color: var(--color-bg-section); }
.process-section  { background-color: var(--color-bg); }
.why-section      { background-color: var(--color-bg-section); }

@media (max-width: 767px) {
  .services-section,
  .audience-section,
  .process-section,
  .why-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.service-card {
  background-color: var(--color-bg-section);
  border: 1px solid var(--color-border-dim);
  border-radius: 8px;
  padding: 32px 28px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-2px);
}

.service-icon {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--color-text-light);
  line-height: 1;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.service-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* ===== AUDIENCE GRID ===== */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.audience-card {
  padding: 24px 8px;
  text-align: left;
  border-left: 2px solid var(--color-border-dim);
  padding-left: 24px;
}

@media (min-width: 768px) {
  .audience-card {
    border-left: none;
    border-top: 2px solid var(--color-border-dim);
    padding: 24px 8px 0;
  }
}

.audience-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.audience-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.65;
  margin: 0;
}

/* ===== PROCESS GRID ===== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.process-step {
  text-align: center;
  padding: 0 8px;
}

.process-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  color: var(--color-text-muted);
  line-height: 1;
  margin-bottom: 16px;
}

.process-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.process-step p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* ===== WHY GRID ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.why-item {
  text-align: left;
}

.why-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 10px;
  line-height: 1.3;
}

.why-item p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}