:root {
  --accent: #029fe7;
  --ink: #16202a;
  --muted: #5b6b78;
  --border: #e6ebf0;
  --bg-alt: #f7f9fb;
  --radius: 10px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(22, 32, 42, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header .logo { flex-shrink: 0; display: flex; align-items: center; }
.site-header .logo img { height: 40px; width: auto; border-radius: 6px; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--accent); text-decoration: none; }

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 640px) 1fr;
  align-items: center;
  gap: 0;
  border-bottom: 4px solid var(--accent);
  overflow: hidden;
}
.hero .side { height: 100%; min-height: 320px; overflow: hidden; }
.hero .side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .side.left img { object-position: right center; }
.hero .side.right img { object-position: left center; }
.hero .mid { text-align: center; padding: 40px 28px; }
.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 20px;
  color: var(--ink);
  font-weight: 800;
}
.hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

/* generic sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--bg-alt); }
section.block h2 {
  font-size: 2rem;
  margin: 0 0 8px;
  text-align: center;
}
section.block .kicker {
  text-align: center;
  color: var(--muted);
  margin: 0 0 40px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* how-we-work cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card .num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--accent);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* two-column feature row */
.feature-row {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}
.feature-row .col { flex: 1 1 320px; }
.feature-row h2 { text-align: left; margin-bottom: 16px; }
.feature-row img { border-radius: var(--radius); width: 100%; height: auto; object-fit: cover; }

/* contact / footer info block */
.contact-block {
  background: var(--ink);
  color: #fff;
  padding: 48px 0;
}
.contact-block .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.contact-block h4 {
  margin: 0 0 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9db4c4;
}
.contact-block p { margin: 0; font-size: 0.95rem; }
.contact-block a { color: #fff; }

/* footer */
.site-footer {
  padding: 48px 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand img { height: 36px; width: auto; margin-bottom: 12px; border-radius: 6px; }
.footer-name { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.footer-address { margin: 0; max-width: 260px; }
.footer-col h5 {
  margin: 0 0 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.footer-col a { display: block; color: var(--muted); margin-bottom: 8px; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* legal document pages (privacy / terms) */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal h1 {
  font-size: 2.1rem;
  margin: 0 0 8px;
  text-align: center;
}
.legal .meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  margin: 24px 0 32px;
  font-size: 0.9rem;
}
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p { margin: 0 0 14px; color: var(--ink); }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .caps { font-weight: 700; }
.legal address { font-style: normal; margin: 0 0 14px; }
.legal hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.legal .badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.legal .note-text { color: var(--muted); font-size: 0.9rem; }
.legal .table-container { overflow-x: auto; margin: 16px 0 24px; }
.legal .table-container table { margin: 0; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}
.legal table caption { caption-side: top; text-align: left; font-weight: 600; margin-bottom: 8px; }
.legal th, .legal td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.legal th { background: var(--bg-alt); }

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .hero .side { min-height: 160px; }
  .hero .mid { padding: 32px 20px; }
  .hero h1 { font-size: 2rem; }
  section.block { padding: 40px 0; }
}
