/* Atalaya Risk - main stylesheet */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.65 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #262626;
  background: #ffffff;
}
img { max-width: 100%; }
a { color: #1f4d3f; }
a:hover { color: #000; }

h1, h2, h3, .serif {
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  font-weight: normal;
  color: #1a1a1a;
}
h1 { font-size: 44px; line-height: 1.15; margin: 0 0 20px; }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 16px; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
p { margin: 0 0 16px; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 30px; }

/* top strip */
#topbar { background: #f3f3f0; font-size: 13px; color: #666; }
#topbar .container { display: flex; justify-content: flex-end; gap: 24px; padding-top: 7px; padding-bottom: 7px; }
#topbar a { color: #666; text-decoration: none; }

/* header */
#header { border-bottom: 1px solid #ddd; }
#header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; gap: 12px 30px; }
.brand { text-decoration: none; color: #1a1a1a; line-height: 1.1; }
.brand b { display: block; font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif; font-weight: normal; font-size: 26px; letter-spacing: 1px; }
.brand small { display: block; font-size: 11px; letter-spacing: 2px; color: #777; margin-top: 3px; }
#nav a { color: #333; text-decoration: none; font-size: 15px; margin-left: 26px; padding-bottom: 4px; }
#nav a:first-child { margin-left: 0; }
#nav a:hover, #nav a.current { border-bottom: 2px solid #b8862b; }

/* intro block */
.intro { background: #1f4d3f; color: #e9efe9; padding: 70px 0 64px; }
.intro h1 { color: #fff; max-width: 720px; }
.intro p { max-width: 600px; font-size: 18px; }
.intro a { color: #fff; }
.page-title { padding: 54px 0 34px; border-bottom: 1px solid #ddd; }
.page-title h1 { font-size: 38px; margin: 0 0 8px; }
.page-title p { color: #555; font-size: 18px; max-width: 640px; margin: 0; }

.block { padding: 56px 0; }
.block + .block { border-top: 1px solid #e6e6e6; }
.grey { background: #f7f7f5; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 28px; }
.three div { border-top: 3px solid #1f4d3f; padding-top: 16px; }
.three p { color: #4a4a4a; font-size: 15px; }

.side-by-side { display: grid; grid-template-columns: 260px 1fr; gap: 50px; }
.side-by-side h2 { font-size: 26px; }

.service { display: grid; grid-template-columns: 260px 1fr; gap: 50px; padding: 30px 0; border-top: 1px solid #ddd; }
.service:last-child { border-bottom: 1px solid #ddd; }
.service h3 { margin-top: 2px; }
.service ul { margin: 0; padding-left: 18px; color: #4a4a4a; }

.statement { font-size: 24px; line-height: 1.45; color: #1f4d3f; max-width: 760px; margin: 0; }

.button { display: inline-block; background: #1f4d3f; color: #fff; text-decoration: none; padding: 11px 20px; border-radius: 2px; font-size: 15px; }
.button:hover { background: #163a2f; color: #fff; }
.intro .button { background: #fff; color: #1f4d3f; }
.intro .button:hover { background: #e9efe9; color: #1f4d3f; }

dl.details { margin: 0; }
dl.details dt { font-size: 13px; color: #777; margin-top: 18px; }
dl.details dd { margin: 2px 0 0; font-size: 18px; }

.legal { max-width: 720px; }
.legal h2 { font-size: 21px; margin-top: 30px; }
.todo { background: #fff5d6; padding: 0 4px; }

/* footer */
#footer { background: #262626; color: #b5b5b5; font-size: 14px; margin-top: 0; padding: 40px 0 30px; }
#footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
#footer strong { color: #fff; font-weight: normal; display: block; margin-bottom: 6px; }
#footer a { color: #d6d6d6; text-decoration: none; display: block; }
#footer a:hover { color: #fff; text-decoration: underline; }
#footer .copy { border-top: 1px solid #3d3d3d; margin-top: 30px; padding-top: 16px; font-size: 13px; color: #8a8a8a; }

@media (max-width: 800px) {
  h1 { font-size: 34px; }
  .page-title h1 { font-size: 30px; }
  .container { padding: 0 20px; }
  #topbar .container { justify-content: flex-start; }
  #nav a { margin-left: 18px; }
  .three, .side-by-side, .service, #footer .cols { grid-template-columns: 1fr; gap: 20px; }
  .service { gap: 6px; }
  .intro { padding: 50px 0 46px; }
  .statement { font-size: 20px; }
}

/* insights */
.post { padding: 24px 0; border-top: 1px solid #ddd; max-width: 720px; }
.post:last-child { border-bottom: 1px solid #ddd; }
.post h3 { margin-bottom: 6px; }
.post h3 a { color: #1a1a1a; text-decoration: none; }
.post h3 a:hover { text-decoration: underline; }
.post p { color: #4a4a4a; margin: 0; }
.date { font-size: 13px; color: #777; margin-bottom: 6px; }
.article { max-width: 700px; }
.article h1 { font-size: 36px; }
.article h2 { font-size: 23px; margin-top: 34px; }
.article p, .article li { font-size: 17px; line-height: 1.75; }
.article li { margin-bottom: 8px; }
.article .back { margin-top: 40px; font-size: 15px; }
@media (max-width: 800px) { .article h1 { font-size: 28px; } }
