:root {
  --brand: #03acb8;
  --text: #1a1a1a;
  --muted: #555;
  --line: #e6e6e6;
  --bg: #ffffff;
  --footer: #313131;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img, iframe { max-width: 100%; height: auto; }
iframe { width: 100%; min-height: 200px; border: 0; }
a { color: var(--brand); }

h1, h2, h3, h4, h5, h6 {
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.25;
  margin: 1.4em 0 .5em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.35rem; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 95px;
  gap: 24px;
}
.logo img { display: block; width: 200px; height: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a,
.sub-toggle {
  display: block;
  padding: 8px 10px;
  font: 500 14px/27px Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.sub-toggle::after { content: " \25BE"; font-size: 11px; }
.main-nav .active > a,
.main-nav .active > .sub-toggle,
.main-nav [aria-current="page"] { color: var(--brand); }

.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 8px 0 !important;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}
.has-sub.open > .sub { display: block; }
.sub a { text-transform: none; font-weight: 400; font-size: 15px; padding: 6px 16px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span { display: block; height: 2px; margin: 5px 0; background: var(--text); }

/* Content */
.page { padding-top: 24px; padding-bottom: 56px; }
.page > :first-child { margin-top: 0; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { padding: 0 15px; flex: 0 0 100%; }
.w-1 { flex-basis: 8.333%; } .w-2 { flex-basis: 16.666%; } .w-3 { flex-basis: 25%; }
.w-4 { flex-basis: 33.333%; } .w-5 { flex-basis: 41.666%; } .w-6 { flex-basis: 50%; }
.w-7 { flex-basis: 58.333%; } .w-8 { flex-basis: 66.666%; } .w-9 { flex-basis: 75%; }
.w-10 { flex-basis: 83.333%; } .w-11 { flex-basis: 91.666%; } .w-12 { flex-basis: 100%; }

a.social {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 2px 10px;
  font-size: 14px;
  border: 1px solid var(--brand);
  border-radius: 99px;
  text-decoration: none;
}
.note { color: var(--muted); font-style: italic; }
blockquote { margin: 1em 0; padding-left: 16px; border-left: 3px solid var(--brand); }

/* Footer */
.site-footer {
  background: var(--footer);
  color: #fff;
  text-align: center;
  padding: 28px 0;
  font-size: 15px;
}
.site-footer p { margin: 12px 0 0; color: #ccc; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.footer-nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font: 500 13px/2 Roboto, Arial, sans-serif;
}

/* Mobile */
@media (max-width: 900px) {
  .header-inner { min-height: 70px; }
  .logo img { width: 160px; }
  .burger { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .main-nav a, .sub-toggle { width: 100%; text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .sub { position: static; box-shadow: none; border: 0; min-width: 0; padding: 0 0 0 16px !important; }
  .row { margin: 0; }
  .col { padding: 0; flex-basis: 100%; }
  h1 { font-size: 1.8rem; }
}
