/* IDVerse static page - visual recreation */

:root {
  --navy: #002f6c;
  --teal: #00778b;
  --red: #ed1c24;
  --dark: #444444;
  --grey-bg: #f1f1f1;
  --text: #333333;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; height: auto; border: 0; display: block; }

sup { font-size: .6em; vertical-align: super; line-height: 0; }

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.25;
}

h1 { font-size: 38px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; font-weight: 400; }
h4 { font-size: 20px; }

p { margin: 0 0 16px; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stripe { padding: 60px 0; }
.stripe.border-top { border-top: 1px solid #d8d8d8; }
.center { text-align: center; }

.large-font { font-size: 20px; line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover { background: #c4161c; color: #fff; text-decoration: none; }
.btn-red img { display: inline-block; vertical-align: middle; margin-right: 8px; width: 16px; }

.link-arrow {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
}
.link-arrow::after { content: " ›"; font-size: 1.2em; }

/* ---------- Brand bar ---------- */
.brand-bar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 22px 0;
}
.brand-logo { width: 194px; height: auto; }

/* ---------- Title stripe ---------- */
.title-stripe {
  background: var(--dark);
  color: #fff;
}
.title-bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 90px;
  padding-right: 0;
}
.title-stripe h1 {
  color: #fff;
  font-weight: 400;
  font-size: 32px;
  margin: 0;
  align-self: center;
}
.title-actions { display: flex; align-items: stretch; gap: 40px; }
.title-actions .phone { font-size: 20px; align-self: center; }
.title-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  padding: 0 34px;
}
.title-cta:hover { background: #c4161c; color: #fff; text-decoration: none; }
.title-cta img { width: 20px; }

/* ---------- Mantle ---------- */
.mantle {
  background-image: url("images/idverse-mantle-1230x420.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 0;
}
.mantle-boxes { max-width: 600px; }
.mantle-title {
  background: var(--teal);
  padding: 26px 30px;
}
.mantle-title h2 {
  color: #fff;
  font-weight: 400;
  font-size: 32px;
  margin: 0;
}
.mantle-copy {
  background: #fff;
  padding: 26px 34px;
  max-width: 388px;
}
.mantle-copy p { font-size: 16px; }
.mantle-copy .link-arrow { font-weight: 400; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 50px; align-items: center; }
.intro-head { display: flex; gap: 26px; align-items: flex-start; margin-bottom: 26px; }
.intro-icon { width: 120px; flex: none; }
.intro-text h3 { color: var(--teal); font-weight: 600; font-size: 20px; }
.intro-image img { width: 100%; border-radius: 2px; }

/* ---------- Grids and boxes ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.box { background: #fff; }
.box.padded { padding: 30px; }
.box.teal { background: var(--teal); color: #fff; }
.box.teal strong { color: #fff; }

.highlight { text-align: center; background: rgba(255, 255, 255, .95); color: var(--text); }
.highlight img { margin: 0 auto 16px; height: 78px; width: auto; }
.highlight h4 { margin-bottom: 10px; }
.highlight p { margin: 0; }

/* ---------- Background-image stripes ---------- */
.bg-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg-1 { background-image: url("images/idverse-background.jpg"); }
.bg-2 { background-image: url("images/idverse-background2.jpg"); }
.bg-3 { background-image: url("images/idverse-background-1.jpg"); }
.bg-4 { background-image: url("images/idverse-background-2.jpg"); }

.white, .white h2, .white h3, .white h4 { color: #fff; }
.white .highlight, .white .highlight h4, .white .highlight p { color: var(--text); }
.hero-body { max-width: 900px; margin: 0 auto 40px; }

.banner-stripe { padding: 90px 0; }
.banner-text { font-size: 44px; font-weight: 700; color: #fff; letter-spacing: .5px; }

/* ---------- Teal CTA stripes ---------- */
.teal-stripe { background: var(--teal); color: #fff; }
.teal-stripe h2, .teal-stripe h3 { color: #fff; }
.teal-stripe h3 { max-width: 900px; margin: 0 auto 28px; font-size: 20px; }
.teal-stripe h2 { max-width: 1000px; margin: 0 auto 28px; }

.dark-stripe { background: var(--dark); color: #fff; padding: 36px 0; }
.dark-stripe h2 { color: #fff; margin: 0; }

/* ---------- What sets IDVerse apart ---------- */
.apart-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.apart-image img { width: 100%; }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}
.feature-list img { width: 100px; flex: none; }
.feature-list p { margin: 0; font-size: 17px; }

.fraudhub { margin-top: 50px; max-width: 950px; }
.fraudhub h3 { font-size: 22px; margin-bottom: 24px; }

/* ---------- Tabs (CSS only) ---------- */
.tabs { margin-top: 40px; }
.tabs > input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.tab-labels {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #d8d8d8;
}
.tab-labels label {
  padding: 14px 26px;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  margin-bottom: -1px;
  border-radius: 4px 4px 0 0;
}
.tab-labels label:hover { background: #f5f5f5; }

.tab-panel { display: none; padding: 40px 0 0; }
#tab1:checked ~ .tab-panels .panel1,
#tab2:checked ~ .tab-panels .panel2,
#tab3:checked ~ .tab-panels .panel3,
#tab4:checked ~ .tab-panels .panel4 { display: block; }

#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"],
#tab4:checked ~ .tab-labels label[for="tab4"] {
  background: #fff;
  border-color: #d8d8d8;
  border-bottom: 3px solid var(--red);
}

.tab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tab-grid p { font-size: 17px; }

.how-head { align-items: center; }

/* ---------- Compliance ---------- */
.compliance { background: var(--grey-bg); }
.compliance h2 { max-width: 1000px; margin: 0 auto 40px; }
.iso-grid { gap: 30px; }
.iso-col { display: flex; flex-direction: column; gap: 15px; }
.iso-box {
  border: 3px solid #a5a5a5;
  background: #fff;
  padding: 12px 20px;
  font-size: 20px;
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Awards ---------- */
.awards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
  margin-top: 30px;
}
.awards img { width: 150px; height: auto; }

.legal { font-size: 13px; color: #666; max-width: 1000px; margin: 0 auto; }

/* ---------- Product collection ---------- */
.product-collection {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.product-collection li {
  border: 1px solid #e0e0e0;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.product-collection h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.product-collection p { flex: 1; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4, .product-collection { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .banner-text { font-size: 30px; }
  .stripe { padding: 40px 0; }
  .intro-grid,
  .apart-grid,
  .tab-grid { grid-template-columns: 1fr; gap: 30px; }
  .mantle-copy { max-width: none; padding: 24px; }
  .mantle-title h2 { font-size: 26px; }
  .grid-3, .grid-4, .product-collection { grid-template-columns: 1fr; }
  .intro-head { flex-direction: column; }
  .feature-list img { width: 70px; }
  .title-bar { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 16px; }
  .title-cta { padding: 12px 24px; }
}
