* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: #fafafa;
  color: #111;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 640px; margin: 0 auto; padding: 110px 24px 64px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

.hero { margin-bottom: 72px; }

.kicker {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: #888; margin-bottom: 12px;
  padding-right: 150px;
}

h1 { font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }

.lede { font-size: 19px; color: #333; margin-top: 12px; max-width: 34em; }

.stats { display: flex; gap: 36px; margin: 32px 0; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.num { font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lbl { font-size: 13px; color: #777; }

nav { display: flex; gap: 12px; margin-top: 8px; }

.hero { position: relative; }
.icons { position: absolute; top: 0; right: 0; display: flex; gap: 16px; align-items: center; }
.icons a { text-decoration: none; color: #555; line-height: 0; }
.icons a:hover { color: #111; }
.icons i { font-size: 21px; }

.btn {
  display: inline-block; padding: 10px 22px; border-radius: 999px;
  background: #111; color: #fafafa !important; text-decoration: none;
  font-weight: 600; font-size: 15px; transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #333; transform: translateY(-1px); color: #fafafa !important; }
.btn.ghost { background: transparent; color: #111 !important; border: 1px solid #ccc; }
.btn.ghost:hover { border-color: #111; background: transparent; }

a { color: #111; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #555; }

section { margin-bottom: 56px; }

h2 {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: #888; margin-bottom: 22px;
}

.case {
  border: 1px solid #e7e7e7; border-radius: 14px; background: #fff;
  padding: 22px 24px; margin-bottom: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.case:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.06); }

.case-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.case h3 { font-size: 18px; font-weight: 650; }
.flag {
  flex-shrink: 0; font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: #555; border: 1px solid #ddd;
  border-radius: 999px; padding: 2px 10px;
}
.case p { color: #333; margin-top: 6px; font-size: 15px; }
.case .out { margin-top: 10px; font-weight: 600; color: #111; }

.cta p { color: #333; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  border: 1px solid #e7e7e7; border-radius: 14px; background: #fff;
  padding: 20px; margin-bottom: 16px;
}
.svc-grid .svc { margin-bottom: 0; }
.svc h3 { font-size: 15px; font-weight: 650; margin-bottom: 6px; }
.svc p { font-size: 14px; color: #444; }

.cta .btn { margin-top: 16px; }

footer {
  margin-top: 72px; padding-top: 24px; border-top: 1px solid #e5e5e5;
  color: #888; font-size: 14px;
}

@media (max-width: 480px) {
  main { padding: 72px 20px 48px; }
  h1 { font-size: 34px; }
  .stats { gap: 24px; }
  .svc-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
