/* Infinizy homepage design layer
   Loaded after the legacy theme so future homepage changes stay isolated. */

:root {
  --infinizy-accent: #f7941d;
  --infinizy-ink: #222;
  --infinizy-body: #555;
  --infinizy-muted: #777;
  --infinizy-border: #e9e9e9;
  --infinizy-surface: #fff;
  --infinizy-soft: #f8f8f8;
  --infinizy-dark: #111;
  --infinizy-radius: 4px;
  --infinizy-shadow: 0 4px 18px rgba(0, 0, 0, .055);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 72px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
  color: var(--infinizy-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Type hierarchy */
.slide-text h1,
.slide-text h2 {
  color: #fff;
  font-family: "Manrope", "Roboto", Arial, sans-serif;
  font-size: clamp(2rem, 4.15vw, 3rem);
  letter-spacing: -.04em;
  line-height: 1.08;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-headline .hero-lead,
.hero-headline .hero-emphasis {
  display: block;
}
.hero-headline .hero-lead {
  font-weight: 600;
  letter-spacing: -.032em;
}
.hero-headline .hero-emphasis {
  margin-top: .12em;
  color: var(--infinizy-accent);
  font-weight: 800;
  letter-spacing: -.048em;
}
.hero-headline-center .hero-lead,
.hero-headline-center .hero-emphasis {
  margin-left: auto;
  margin-right: auto;
}

.slide-text > p {
  max-width: 880px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.72;
}
.slide-text.center > p { margin-left: auto; margin-right: auto; }
.infinizy-note {
  max-width: 880px;
  margin-top: 17px;
  color: #f7f7f7;
  font-size: 15px;
  line-height: 1.7;
}
.infinizy-note strong { font-weight: 700; }

.section-title { margin-bottom: 44px; }
.section-title h2 {
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.22;
  text-wrap: balance;
}
.section-title h2 span { font-weight: 900; }
.section-title p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.75;
}

.single-about h3,
.process-step h3,
.offer-box h3,
.industry-card h3,
.faq-card h3,
.form-helper h3,
.proof-card h3,
#footer-top .single-widget h2 {
  font-weight: 700;
  line-height: 1.3;
}
.offer-box > p strong,
.industry-product,
.sample-label,
.value-item h3,
.sample-row strong,
.signal-badge { font-weight: 700; }

/* Consistent cards and equal-height desktop rows */
.card-grid { display: flex; flex-wrap: wrap; }
.card-grid > [class*="col-"] { display: flex; }
.card-grid .single-about,
.card-grid .process-step,
.card-grid .offer-box,
.card-grid .industry-card,
.card-grid .faq-card,
.card-grid .proof-card { width: 100%; height: auto; }

.single-about,
.process-step,
.offer-box,
.industry-card,
.faq-card,
.proof-card,
.form-helper,
.sample-card {
  border-radius: var(--infinizy-radius);
}
.single-about { min-height: 205px; margin-bottom: 25px; }
.single-about h3 { margin-bottom: 12px; font-size: 20px; }
.process-step,
.offer-box,
.faq-card,
.proof-card,
.form-helper {
  background: var(--infinizy-surface);
  border: 1px solid var(--infinizy-border);
  box-shadow: var(--infinizy-shadow);
}
.process-step { min-height: 235px; margin-bottom: 25px; padding: 25px; }
.process-step .step-number {
  display: inline-block;
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: var(--infinizy-accent);
  color: #fff;
  font-weight: 700;
  line-height: 42px;
  text-align: center;
}
.offer-box { min-height: 350px; margin-bottom: 25px; padding: 30px; }
.offer-box h3 { margin-bottom: 12px; font-size: 22px; }
.offer-box ul,
.form-helper ul,
.proof-card ul { margin-bottom: 0; padding-left: 0; list-style: none; }
.offer-box li,
.form-helper li,
.proof-card li { margin-bottom: 10px; line-height: 1.65; }
.offer-box li:last-child,
.form-helper li:last-child,
.proof-card li:last-child { margin-bottom: 0; }
.offer-box i,
.form-helper i,
.proof-card i { margin-right: 8px; color: var(--infinizy-accent); }

.dark-section { background: var(--infinizy-dark); color: #fff; }
.dark-section .section-title h2,
.dark-section .section-title p,
.dark-section h3,
.dark-section p,
.dark-section li { color: #fff; }
.industry-card {
  display: flex;
  flex-direction: column;
  min-height: 235px;
  margin-bottom: 25px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.industry-card h3 { margin-bottom: 10px; font-size: 20px; }
.industry-card .industry-product {
  display: inline-block;
  margin-top: auto;
  padding-top: 8px;
  color: var(--infinizy-accent);
}

.value-strip { padding: 22px 0; border-bottom: 1px solid #eee; background: #fff; }
.value-item { padding: 10px 15px; text-align: center; }
.value-item h3 { margin: 0; color: var(--infinizy-accent); font-size: 20px; }
.value-item p { margin: 6px 0 0; color: var(--infinizy-body); }

.sample-card {
  padding: 30px;
  border-left: 5px solid var(--infinizy-accent);
  background: #fff;
  box-shadow: 0 5px 22px rgba(0,0,0,.08);
}
.sample-row { padding: 10px 0; border-bottom: 1px solid #eee; line-height: 1.65; }
.sample-row:last-child { border-bottom: 0; }
.sample-label { display: inline-block; min-width: 170px; color: var(--infinizy-ink); }
.signal-badge {
  padding: 5px 10px;
  border-radius: 14px;
  background: var(--infinizy-accent);
  color: #fff;
  font-size: 12px;
}

.faq-card { min-height: 190px; margin-bottom: 20px; padding: 24px; }
.faq-card h3 { font-size: 19px; }
.form-helper { margin-bottom: 25px; padding: 25px; }
.proof-section { background: var(--infinizy-soft); }
.proof-card { min-height: 290px; margin-bottom: 25px; padding: 28px 30px; }
.proof-card ul { margin-top: 18px; }
.proof-note { margin: 5px 0 0; font-size: 15px; }

/* Calls to action and forms */
.slide-button .button,
#contact .button,
.button.primary {
  font-weight: 700;
  letter-spacing: .015em;
}
.micro-copy { margin-top: 10px; color: var(--infinizy-muted); font-size: 13px; }
.form input,
.form textarea { transition: border-color .2s ease, box-shadow .2s ease; }
.form input:focus,
.form textarea:focus {
  border-color: var(--infinizy-accent);
  box-shadow: 0 0 0 3px rgba(247,148,29,.14);
}

/* Contact form feedback */
#contact-form .form-status {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--infinizy-radius);
  font-size: 14px;
  line-height: 1.5;
}
#contact-form .form-status.is-error {
  border-color: #f1c7c7;
  background: #fff5f5;
  color: #9b2c2c;
}
#contact-form .form-status.is-success {
  border-color: #bfe5cb;
  background: #f3fbf6;
  color: #276749;
}
#contact-form .field-error {
  display: block;
  margin-top: 6px;
  padding-left: 40px;
  color: #c53030;
  font-size: 13px;
  line-height: 1.45;
}
#contact-form .turnstile-wrap .field-error {
  padding-left: 0;
}
#contact-form .form-group.has-error input,
#contact-form .form-group.has-error textarea {
  border-color: #e57373;
  box-shadow: 0 0 0 3px rgba(229,115,115,.14);
}
#contact-form .turnstile-wrap {
  margin-bottom: 0;
}
#contact-form button[type="submit"].is-loading,
#contact-form button[type="submit"]:disabled {
  opacity: .72;
  cursor: not-allowed;
}
#contact-form button[type="submit"].is-loading i {
  display: none;
}

/* Footer */
.footer-links a { display: inline-block; margin-right: 18px; margin-bottom: 8px; color: #fff; }
#footer-top .about p,
#footer-top .contact li { line-height: 1.75; }
#footer .social { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
#footer .social li { margin: 0; }

/* Keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(247,148,29,.55);
  outline-offset: 3px;
}

/* Responsive refinements */
@media (max-width: 991px) {
  .card-grid > [class*="col-"] { display: flex; }
  .section-title p { max-width: 680px; }
}
@media (max-width: 767px) {
  .card-grid { display: block; }
  .card-grid > [class*="col-"] { display: block; }
  .slide-text h1,
  .slide-text h2 { font-size: clamp(1.95rem, 9vw, 2.35rem) !important; line-height: 1.16; }
  .slide-text > p { font-size: 16px; line-height: 1.65; }
  .section-title { margin-bottom: 34px; }
  .section-title h2 { font-size: 27px; line-height: 1.24; }
  .section-title p { font-size: 15px; line-height: 1.68; }
  .single-about,
  .offer-box,
  .process-step,
  .industry-card,
  .faq-card,
  .proof-card { min-height: 0; }
  .offer-box,
  .sample-card,
  .proof-card { padding: 24px; }
  .value-item h3 { font-size: 18px; }
  .sample-label { display: block; min-width: 0; margin-bottom: 3px; }
  #footer .social { justify-content: flex-start; margin-top: 12px; }
}

/* Respect system accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Final hero parity: keep Slide 2 visually identical to Slide 1 while preserving semantic H2 */
#j-slider .slide-text h1,
#j-slider .slide-text h2 {
  font-family: "Roboto", Arial, sans-serif;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: normal;
  text-transform: uppercase;
  margin: 0 0 20px;
}

#j-slider .slide-text h1 span,
#j-slider .slide-text h2 span {
  display: block;
  position: relative;
  margin-top: 0;
  margin-bottom: 15px;
  color: #eee;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  #j-slider .slide-text h1,
  #j-slider .slide-text h2 {
    font-size: 35px;
  }
}

@media (max-width: 767px) {
  #j-slider .slide-text h1,
  #j-slider .slide-text h2 {
    font-size: 16px !important;
    line-height: 1.2;
    margin-bottom: 5px;
  }

  #j-slider .slide-text h1 span,
  #j-slider .slide-text h2 span {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
}

/* Expanded sample intelligence report */
.sample-report { padding: 0; overflow: hidden; }
.sample-report-header { display:flex; justify-content:space-between; align-items:center; gap:30px; padding:28px 30px; border-bottom:1px solid #e9edf2; }
.sample-report-header h3 { margin:6px 0 4px; }
.sample-report-header p { margin:0; }
.sample-kicker { font-size:12px; letter-spacing:1.2px; text-transform:uppercase; font-weight:700; }
.sample-score { min-width:135px; text-align:center; }
.sample-score strong { display:block; font-size:34px; line-height:1; }
.sample-score span { display:block; font-size:12px; margin:7px 0 10px; text-transform:uppercase; letter-spacing:.7px; }
.sample-score em { font-style:normal; display:inline-block; }
.sample-block { padding:24px 30px; border-bottom:1px solid #e9edf2; }
.sample-block:last-child { border-bottom:0; }
.sample-block h4 { margin:0 0 16px; font-size:18px; }
.sample-insight-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px 22px; }
.sample-insight-grid i { margin-right:7px; }
.sample-summary { margin:18px 0 0; padding:15px 17px; background:rgba(0,0,0,.025); border-left:3px solid currentColor; }
.sample-table-wrap { overflow-x:auto; }
.sample-table { width:100%; border-collapse:collapse; min-width:650px; }
.sample-table th,.sample-table td { text-align:left; padding:11px 12px; border-bottom:1px solid #e9edf2; vertical-align:top; }
.sample-table th { font-size:12px; text-transform:uppercase; letter-spacing:.6px; }
.verified-text { font-weight:700; }
.sample-two-col { display:grid; grid-template-columns:1fr 1fr; }
.sample-two-col .sample-block:first-child { border-right:1px solid #e9edf2; }
.sample-tags { display:flex; flex-wrap:wrap; gap:8px; }
.sample-tags span { padding:7px 11px; border:1px solid #dfe5eb; border-radius:3px; font-size:13px; }
.sample-list { margin:0; padding-left:18px; }
.sample-list li { margin:0 0 8px; }
.sample-recommendation { background:rgba(0,0,0,.018); }
.sample-confidence-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.sample-confidence-grid div { text-align:center; padding:15px 10px; border:1px solid #e2e7ec; border-radius:4px; }
.sample-confidence-grid strong,.sample-confidence-grid span { display:block; }
.sample-confidence-grid strong { font-size:18px; margin-bottom:5px; }
.sample-confidence-grid span { font-size:12px; text-transform:uppercase; letter-spacing:.5px; }
.sample-delivery { margin:18px 0 0; }
@media (max-width:767px) {
  .sample-report-header { align-items:flex-start; flex-direction:column; padding:22px 20px; }
  .sample-score { text-align:left; }
  .sample-block { padding:21px 20px; }
  .sample-insight-grid,.sample-two-col,.sample-confidence-grid { grid-template-columns:1fr; }
  .sample-two-col .sample-block:first-child { border-right:0; }
}
