/*
Theme Name: Trusted Images
Theme URI: https://trusted-images.com
Author: Trusted Images
Description: Lightweight marketing theme for Trusted Images.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: trusted-images
*/

:root {
  --ink: #142027;
  --ink-strong: #071115;
  --muted: #5c6b72;
  --line: #dce5df;
  --paper: #ffffff;
  --soft: #f3f7f4;
  --green: #248b38;
  --green-dark: #176b2a;
  --green-soft: #dff1df;
  --warm: #b8742b;
  --warm-soft: #f6eadb;
  --shadow: 0 18px 48px rgba(11, 29, 36, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink-strong);
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 229, 223, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.site-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-strong);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(20, 32, 39, 0.12);
}

.brand-name {
  display: block;
  font-weight: 800;
  line-height: 1;
}

.brand-tag {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 0.6rem 0.75rem;
  border-radius: 7px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  background: var(--soft);
  color: var(--green-dark);
}

.button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--green-dark);
  border-radius: 7px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--ink-strong);
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus {
  background: var(--soft);
  color: var(--ink-strong);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(223, 241, 223, 0.76), rgba(246, 234, 219, 0.58) 48%, rgba(255, 255, 255, 0.88)),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(68px, 9vw, 112px) 0 clamp(42px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2.75rem, 5.5vw, 5.4rem);
  line-height: 1;
}

.hero-lede,
.page-hero p {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: #304148;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2.2rem;
}

.trust-strip strong {
  display: block;
  color: var(--ink-strong);
  font-size: 1.8rem;
  line-height: 1;
}

.trust-strip span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.signal-panel {
  border: 1px solid rgba(20, 32, 39, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-panel img {
  display: block;
  width: 100%;
  padding: 26px;
  background: #fff;
}

.signal-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.signal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: #fbfdfb;
}

.signal-item span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.signal-item strong {
  color: var(--ink-strong);
}

.band {
  padding: clamp(64px, 9vw, 104px) 0;
}

.band.soft {
  background: var(--soft);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head h2,
.entry-content h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
}

.section-head p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
}

.panel h3,
.step h3 {
  margin: 0 0 0.6rem;
  color: var(--ink-strong);
  font-size: 1.15rem;
}

.panel p,
.step p {
  margin: 0;
  color: var(--muted);
}

.step-number {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 900;
}

.proof-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-strong);
  color: #eef5ef;
}

.proof-band .section-head h2,
.proof-band h3 {
  color: #fff;
}

.proof-band .section-head p,
.proof-band p {
  color: #c5d1cc;
}

.proof-band .panel {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.13);
}

.cta-band {
  background: linear-gradient(135deg, var(--green-soft), #fff 54%, var(--warm-soft));
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(26px, 5vw, 42px);
}

.cta-box h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.cta-box p {
  margin: 0.85rem 0 0;
  max-width: 720px;
  color: var(--muted);
}

.page-hero {
  padding: clamp(64px, 9vw, 104px) 0 42px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.entry-wrap {
  max-width: 860px;
  padding: 56px 0 86px;
}

.entry-content h2 {
  margin-top: 2.1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.entry-content h3 {
  margin-top: 1.6rem;
  color: var(--ink-strong);
}

.entry-content p,
.entry-content li {
  color: #3a4b52;
}

.entry-content ul {
  padding-left: 1.2rem;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f8faf8;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--green-dark);
}

@media (max-width: 880px) {
  .header-inner,
  .site-nav,
  .footer-inner,
  .cta-box {
    align-items: flex-start;
  }

  .header-inner,
  .footer-inner,
  .cta-box {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero-grid,
  .grid.three,
  .grid.two,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 24px, 1160px);
  }

  .brand-tag {
    letter-spacing: 0.12em;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .panel,
  .step,
  .cta-box {
    padding: 20px;
  }
}
