/* ================================================
   INFOSERV — Shared inner-page styles
   (team, case-studies, careers, legal pages)
   ================================================ */

/* ── Page Hero ── */
.page-hero {
  background: var(--ink-2);
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(10,243,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-sm { padding: 4.5rem 2rem 3rem; }
.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.eyebrow-page {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1rem;
}
.eyebrow-page::before {
  content: ''; display: block; width: 18px; height: 2px;
  background: var(--green); border-radius: 9999px;
}
.page-hero-inner h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: var(--white); margin-bottom: 1.125rem;
}
.page-hero-inner h1 .accent { color: var(--green); }
.page-hero-inner p {
  font-size: 1.0625rem; color: rgba(255,255,255,.55); line-height: 1.75; max-width: 640px;
}
.policy-date { font-size: .875rem; color: rgba(255,255,255,.35); margin-top: .5rem; }

/* ── Page content wrapper ── */
.page-content { padding: 4rem 0 6rem; background: var(--off); }
.page-container {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; flex-direction: column; gap: 4rem;
}
.page-container-narrow { max-width: 800px; }

.section-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dd); margin-bottom: .75rem;
}
.section-h2-page {
  font-family: var(--display); font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -.025em;
  color: var(--ink); margin-bottom: 1rem;
}
.section-h2-page .accent { color: var(--green-dd); }
.section-sub-page { font-size: 1rem; color: var(--grey-4); line-height: 1.75; max-width: 600px; }

/* ── Values strip (Team page) ── */
.values-strip {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem;
}
.value-item {
  background: var(--white); border: 1.5px solid var(--grey-1);
  border-radius: 16px; padding: 1.75rem;
  display: flex; flex-direction: column; gap: .875rem;
  transition: all .35s var(--ease); box-shadow: var(--shadow-sm);
}
.value-item:hover { border-color: var(--green-bdr); transform: translateY(-4px); box-shadow: var(--shadow-md) }
.vi-icon {
  width: 44px; height: 44px; background: var(--green-tint);
  border: 1px solid var(--green-bdr); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.vi-icon svg { width: 20px; height: 20px; color: var(--green-dd); stroke: var(--green-dd) }
.value-item strong { font-family: var(--display); font-size: .9375rem; font-weight: 700; color: var(--ink) }
.value-item p { font-size: .875rem; color: var(--grey-4); line-height: 1.65; margin: 0 }

/* ── Team section ── */
.team-section { display: flex; flex-direction: column; gap: 2rem; }
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.team-card {
  background: var(--white); border: 1.5px solid var(--grey-1);
  border-radius: 20px; padding: 2rem;
  display: flex; gap: 1.5rem; align-items: flex-start;
  transition: all .35s var(--ease); box-shadow: var(--shadow-sm);
}
.team-card:hover { border-color: var(--green-bdr); transform: translateY(-4px); box-shadow: var(--shadow-md) }
.tc-avatar {
  width: 80px; height: 80px; border-radius: 16px; flex-shrink: 0;
  overflow: hidden;
}
.tc-avatar img { width: 100%; height: 100%; object-fit: cover }
.placeholder-avatar {
  background: linear-gradient(135deg, var(--ink-2), var(--ink));
  display: flex; align-items: center; justify-content: center;
}
.placeholder-avatar span {
  font-family: var(--display); font-size: .9rem; font-weight: 800;
  color: var(--green); letter-spacing: .04em;
}
.tc-info { flex: 1; min-width: 0 }
.tc-name { font-family: var(--display); font-size: 1.0625rem; font-weight: 800; color: var(--ink); margin-bottom: .2rem }
.tc-role { font-size: .8125rem; font-weight: 600; color: var(--green-dd); margin-bottom: .75rem; }
.tc-bio { font-size: .875rem; color: var(--grey-4); line-height: 1.65; margin-bottom: .875rem }
.tc-certs { display: flex; gap: .4rem; flex-wrap: wrap }
.cert-badge {
  padding: .2rem .6rem; background: var(--off2);
  border: 1px solid var(--grey-1); border-radius: 9999px;
  font-size: .7rem; font-weight: 700; color: var(--grey-4); letter-spacing: .04em;
}
.team-note {
  display: flex; align-items: flex-start; gap: .875rem;
  background: var(--green-pale); border: 1px solid var(--green-bdr);
  border-radius: 12px; padding: 1.25rem 1.5rem;
  font-size: .875rem; color: var(--grey-4); line-height: 1.65;
}
.team-note svg { width: 18px; height: 18px; color: var(--green-dd); flex-shrink: 0; margin-top: 2px }
.team-note code { background: var(--off2); padding: .1rem .4rem; border-radius: 4px; font-size: .8rem }

/* ── Case Studies ── */
.cs-card {
  background: var(--white); border: 1.5px solid var(--grey-1);
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .35s var(--ease);
}
.cs-card:hover { box-shadow: var(--shadow-lg) }
.cs-card.cs-featured { border-color: var(--green-bdr) }
.cs-header { padding: 2.5rem 2.5rem 0 }
.cs-tag {
  display: inline-block; margin-bottom: 1rem;
  padding: .25rem .75rem; background: var(--green-tint);
  border: 1px solid var(--green-bdr); border-radius: 9999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--green-ddd);
}
.cs-title {
  font-family: var(--display); font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.025em;
  color: var(--ink); margin-bottom: 1rem;
}
.cs-lead { font-size: 1rem; color: var(--grey-4); line-height: 1.75; max-width: 700px }
.cs-metrics {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: var(--grey-1); margin: 2rem 0 0;
}
.cs-metric {
  background: var(--ink-2); padding: 1.5rem 2rem;
  display: flex; flex-direction: column; gap: .375rem;
}
.csm-val {
  font-family: var(--display); font-size: 2rem; font-weight: 900;
  color: var(--green); line-height: 1;
}
.csm-label { font-size: .8rem; color: rgba(255,255,255,.45); line-height: 1.4 }
.cs-body { padding: 2.5rem }
.cs-section + .cs-section { margin-top: 2rem }
.cs-section h3 {
  font-family: var(--display); font-size: 1.125rem; font-weight: 800;
  color: var(--ink); margin-bottom: .875rem; letter-spacing: -.02em;
}
.cs-section p {
  font-size: .9375rem; color: var(--grey-4); line-height: 1.8;
  margin-bottom: .875rem;
}
.cs-section p:last-child { margin-bottom: 0 }
.cs-what-grid { display: flex; flex-direction: column; gap: 1.25rem; margin-top: .5rem }
.cs-what-item { display: flex; gap: 1rem; align-items: flex-start }
.cwi-icon {
  width: 40px; height: 40px; background: var(--green-tint);
  border: 1px solid var(--green-bdr); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cwi-icon svg { width: 18px; height: 18px; color: var(--green-dd); stroke: var(--green-dd) }
.cs-what-item strong { display: block; font-weight: 700; color: var(--ink); margin-bottom: .375rem; font-size: .9375rem }
.cs-what-item p { margin: 0; font-size: .875rem }
.cs-footer {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--grey-1);
  background: var(--off);
}
.cs-read-more {
  font-size: .875rem; font-weight: 700; color: var(--green-dd);
  transition: gap .25s var(--ease); display: inline-flex; gap: .375rem;
}
.cs-read-more:hover { gap: .625rem }

/* ── Careers ── */
.careers-why { display: flex; flex-direction: column; gap: 2rem }
.why-grid-careers { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem }
.wgc-item {
  background: var(--white); border: 1.5px solid var(--grey-1);
  border-radius: 16px; padding: 1.75rem;
  display: flex; flex-direction: column; gap: .875rem;
  box-shadow: var(--shadow-sm); transition: all .35s var(--ease);
}
.wgc-item:hover { border-color: var(--green-bdr); transform: translateY(-4px) }
.wgc-icon {
  width: 44px; height: 44px; background: var(--green-tint);
  border: 1px solid var(--green-bdr); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.wgc-icon svg { width: 20px; height: 20px; color: var(--green-dd); stroke: var(--green-dd) }
.wgc-item strong { font-family: var(--display); font-size: .9375rem; font-weight: 700; color: var(--ink) }
.wgc-item p { font-size: .875rem; color: var(--grey-4); line-height: 1.65; margin: 0 }
.open-roles { display: flex; flex-direction: column; gap: 2rem }
.roles-list { display: flex; flex-direction: column; gap: 1.25rem }
.role-card {
  background: var(--white); border: 1.5px solid var(--grey-1);
  border-radius: 20px; padding: 2rem;
  box-shadow: var(--shadow-sm); transition: all .35s var(--ease);
}
.role-card:hover { border-color: var(--green-bdr); box-shadow: var(--shadow-md) }
.role-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; flex-wrap: wrap }
.role-title { font-family: var(--display); font-size: 1.125rem; font-weight: 800; color: var(--ink); margin-bottom: .375rem }
.role-meta { display: flex; gap: .75rem; flex-wrap: wrap }
.role-type, .role-location {
  font-size: .75rem; font-weight: 600; padding: .25rem .625rem;
  border-radius: 9999px;
}
.role-type { background: var(--green-tint); color: var(--green-ddd); border: 1px solid var(--green-bdr) }
.role-location { background: var(--off2); color: var(--grey-4); border: 1px solid var(--grey-1) }
.role-apply {
  padding: .625rem 1.25rem; background: var(--green); color: var(--ink);
  font-size: .875rem; font-weight: 700; border-radius: 9999px;
  white-space: nowrap; transition: all .3s var(--ease); flex-shrink: 0;
}
.role-apply:hover { background: var(--green-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,200,34,0.25) }
.role-desc { font-size: .9375rem; color: var(--grey-4); line-height: 1.75; margin-bottom: 1.25rem }
.role-requirements strong { font-size: .875rem; font-weight: 700; color: var(--ink); display: block; margin-bottom: .5rem }
.role-requirements ul { display: flex; flex-direction: column; gap: .4rem }
.role-requirements ul li {
  font-size: .875rem; color: var(--grey-4); padding-left: 1.125rem; position: relative;
}
.role-requirements ul li::before {
  content: ''; position: absolute; left: 0; top: .65em;
  width: 5px; height: 5px; background: var(--green-d); border-radius: 50%;
}
.no-role-box {
  background: var(--ink-2); border-radius: 20px; padding: 2rem 2.5rem;
}
.no-role-box h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: .75rem }
.no-role-box p { font-size: .9375rem; color: rgba(255,255,255,.45); line-height: 1.75 }
.no-role-box a { color: var(--green); font-weight: 700 }

/* ── Legal pages ── */
.legal-body {
  background: var(--white); border: 1.5px solid var(--grey-1);
  border-radius: 20px; padding: 3rem;
  box-shadow: var(--shadow-sm);
  font-size: 1rem; color: var(--grey-4); line-height: 1.8;
}
.legal-body > * + * { margin-top: 1.5rem }
.legal-body h2 {
  font-family: var(--display); font-size: 1.25rem; font-weight: 800;
  color: var(--ink); margin-top: 2.5rem; margin-bottom: .75rem; letter-spacing: -.02em;
}
.legal-body h2:first-of-type { margin-top: 0 }
.legal-body p { color: var(--grey-4) }
.legal-body strong { color: var(--ink); font-weight: 700 }
.legal-body a { color: var(--green-dd); font-weight: 600; text-decoration: underline; text-decoration-color: var(--green-bdr) }
.legal-body a:hover { text-decoration-color: var(--green-d) }
.legal-body ul { display: flex; flex-direction: column; gap: .5rem; padding-left: 0 }
.legal-body ul li {
  padding-left: 1.25rem; position: relative; color: var(--grey-4); font-size: .9375rem;
}
.legal-body ul li::before {
  content: ''; position: absolute; left: 0; top: .7em;
  width: 6px; height: 6px; background: var(--green-d); border-radius: 50%;
}

/* Cookie table */
.cookie-table {
  background: var(--off); border: 1px solid var(--grey-1);
  border-radius: 12px; overflow: hidden; margin: 1.5rem 0;
}
.ct-header {
  display: grid; grid-template-columns: 160px 1fr 120px;
  background: var(--ink-2); padding: .875rem 1.25rem; gap: 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
.ct-row {
  display: grid; grid-template-columns: 160px 1fr 120px;
  padding: 1rem 1.25rem; gap: 1rem;
  border-top: 1px solid var(--grey-1);
  font-size: .875rem; color: var(--grey-4); align-items: start;
}
.ct-type {
  padding: .25rem .625rem; border-radius: 9999px;
  font-size: .72rem; font-weight: 700; width: fit-content;
}
.ct-type.essential { background: var(--green-tint); color: var(--green-ddd); border: 1px solid var(--green-bdr) }
.ct-type.analytics { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE }
.ct-type.preferences { background: #FFF7ED; color: #C2410C; border: 1px solid #FED7AA }

/* ── Page CTA block ── */
.page-cta-block { margin-top: 1rem }
.pcb-inner {
  background: var(--ink-2); border-radius: 24px;
  padding: 3.5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.pcb-inner h2 {
  font-family: var(--display); font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800; color: var(--white); letter-spacing: -.025em; line-height: 1.15;
}
.pcb-inner p { font-size: 1rem; color: rgba(255,255,255,.45); max-width: 480px; line-height: 1.75 }

/* ── Responsive ── */
@media(max-width: 1024px) {
  .values-strip { grid-template-columns: repeat(2,1fr) }
  .why-grid-careers { grid-template-columns: repeat(2,1fr) }
  .team-grid { grid-template-columns: 1fr }
  .cs-metrics { grid-template-columns: 1fr }
}
@media(max-width: 768px) {
  .page-hero { padding: 4.5rem 1.25rem 3rem }
  .page-container { padding: 0 1.25rem }
  .legal-body { padding: 1.75rem 1.25rem }
  .cs-body, .cs-header { padding: 1.5rem }
  .cs-footer { padding: 1.25rem 1.5rem }
  .ct-header, .ct-row { grid-template-columns: 1fr }
  .pcb-inner { padding: 2.5rem 1.5rem }
  .role-top { flex-direction: column }
  .values-strip { grid-template-columns: 1fr }
  .why-grid-careers { grid-template-columns: 1fr }
}
