/* Iverza site styles */
:root {
  --ink: #1C2230;
  --muted: #4B5568;
  --blue: #3341F0;
  --periwinkle: #8F98F7;
  --gray: #9AA3B5;
  --tint: #F3F4FB;
  --line: #E3E6EF;
  --white: #FFFFFF;
  --on-dark-muted: #C9CEDA;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', 'Avenir Next', 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

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

h1, h2, h3 { margin: 0; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.2; }
h3 { font-size: 22px; line-height: 1.3; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.band { background: var(--tint); }
.section-intro { margin: 12px 0 24px; font-size: 18px; color: var(--muted); max-width: 640px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  font: inherit; font-weight: 600; line-height: 1.2; white-space: nowrap;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-lg { padding: 14px 28px; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #2531C9; color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand span { font-size: 24px; font-weight: 600; letter-spacing: 1px; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.main-nav a:not(.btn):hover { color: var(--blue); }

/* Hero */
.hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 80px;
}
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.6px; color: var(--muted); }
.hero h1 { margin-top: 16px; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; }
.lead { margin: 22px 0 0; font-size: 19px; color: var(--muted); max-width: 560px; }
.button-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { background: var(--tint); height: 400px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.hero-art svg { width: 100%; height: 100%; }

/* Service cards */
.cards { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--white); border-top: 4px solid var(--ink); padding: 28px; }
.card h3 { margin: 16px 0 8px; }
.card p { margin: 0 0 14px; color: var(--muted); }
.card ul { margin: 0; padding-left: 20px; }

/* Steps */
.steps {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px;
}
.steps li { border-top: 2px solid var(--gray); padding-top: 16px; }
.step-num { font-size: 14px; font-weight: 700; color: var(--blue); }
.steps h3 { margin: 4px 0 6px; font-size: 20px; }
.steps p { margin: 0; color: var(--muted); }

/* Platforms */
.platforms { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platforms-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding-top: 36px; padding-bottom: 36px; }
.platforms-title { font-size: 14px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); }
.platform-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 17px; font-weight: 600; }

/* Two-column sections */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; }
.align-center { align-items: center; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--tint); padding: 8px 16px; font-weight: 500; }

.ruled-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ruled-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }

/* About */
.person { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.person img {
  width: 120px; height: 120px; flex: none; border-radius: 50%;
  object-fit: cover; object-position: center 35%; border: 4px solid var(--white);
}
.person-text { flex: 1 1 240px; min-width: 0; }
.person-text p { margin: 0; }
.person-name { font-size: 20px; font-weight: 700; }
.person-title { color: var(--blue); font-weight: 600; }
.person-bio { margin-top: 6px !important; color: var(--muted); }
.badges { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li {
  display: inline-flex; align-items: center; background: var(--white); border: 1px solid #D5D9E6;
  padding: 6px 12px; font-size: 13px; line-height: 1.3; font-weight: 600; white-space: nowrap;
}

/* Contact */
.contact { background: var(--ink); color: var(--white); }
.contact h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; }
.contact-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.contact-intro { margin: 12px 0 24px; font-size: 18px; color: var(--on-dark-muted); }
.contact-direct { margin: 0; font-size: 18px; line-height: 2; }
.contact-direct a { color: var(--white); font-weight: 600; text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; color: var(--white); }

.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid transparent; padding: 12px 14px; min-height: 48px;
}
.field input:focus, .field textarea:focus { border-color: var(--periwinkle); outline: none; }
.contact-form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid #343B4D; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--white); }

/* Simple content pages (privacy policy) */
.page { max-width: 760px; padding-top: 64px; padding-bottom: 80px; }
.page h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; margin-bottom: 16px; }
.page h2 { font-size: 22px; margin-top: 32px; }
.page p, .page li { color: var(--muted); }
