/* ByLock — landing page
   Circa-2014 flat design: Bootstrap-ish grid, Lato + Open Sans, ghost buttons. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #555;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  margin: 0 0 15px;
}

a { color: #1f55a8; text-decoration: none; transition: color .2s; }
a:hover { color: #123a7a; text-decoration: underline; }

img { max-width: 100%; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { padding: 0 15px; }
.col-6 { width: 50%; }
.col-4 { width: 33.3333%; }
.col-3 { width: 25%; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 11px 26px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  transition: all .2s;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: #f39c12;
  color: #fff;
  border-bottom: 3px solid #c87f0a;
}
.btn-primary:hover { background: #f5ab35; color: #fff; }
.btn-primary:active { border-bottom-width: 1px; transform: translateY(2px); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.8);
}
.btn-ghost:hover { background: #fff; color: #1f55a8; }

.btn-blue {
  background: #1f55a8;
  color: #fff;
  border-bottom: 3px solid #123a7a;
}
.btn-blue:hover { background: #2a63bd; color: #fff; }

/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 40, 92, .96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; color: #fff; }
.brand:hover { text-decoration: none; color: #fff; }
.brand img { width: 34px; height: 34px; margin-right: 8px; filter: drop-shadow(0 0 1px rgba(255,255,255,.6)); }

.wordmark {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -.5px;
  position: relative;
  padding-left: 14px;
}
.wordmark .by {
  position: absolute;
  left: 0; top: -3px;
  font-family: "Kaushan Script", cursive;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
}

.nav-links { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin-left: 26px; }
.nav-links a {
  color: rgba(255,255,255,.8);
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links .btn { padding: 8px 18px; color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 4px;
  color: #fff;
  font-size: 18px;
  padding: 4px 10px;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 140px 0 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31,85,168,.94) 0%, rgba(11,35,80,.97) 100%),
    url("../img/in-hand.webp") center/cover no-repeat;
  overflow: hidden;
}
.hero .row { align-items: center; }
.hero h1 {
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.hero h1 strong { font-weight: 900; }
.hero .lead {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,.85);
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-cta { margin-bottom: 26px; }
.hero-cta .btn { margin: 0 10px 10px 0; }

.label-beta {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.store-badge {
  display: flex;
  align-items: center;
  background: #000;
  color: #fff;
  border: 1px solid #888;
  border-radius: 7px;
  padding: 6px 14px 6px 10px;
  min-width: 150px;
  opacity: .9;
}
.store-badge:hover { opacity: 1; color: #fff; text-decoration: none; }
.store-badge .fa { font-size: 28px; margin-right: 10px; }
.store-badge small { display: block; font-size: 10px; line-height: 1.1; color: #ccc; }
.store-badge span { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }

/* CSS iPhone 6 mockup */
.phone {
  position: relative;
  width: 280px;
  height: 560px;
  margin: 0 auto -110px;
  background: #e9eaec;
  border-radius: 42px;
  padding: 70px 14px;
  box-shadow: 0 0 0 2px #c5c7ca, 0 25px 50px rgba(0,0,0,.45);
}
.phone::before { /* earpiece */
  content: "";
  position: absolute;
  top: 32px; left: 50%;
  width: 50px; height: 5px;
  margin-left: -25px;
  background: #555;
  border-radius: 3px;
}
.phone::after { /* home button */
  content: "";
  position: absolute;
  bottom: 14px; left: 50%;
  width: 44px; height: 44px;
  margin-left: -22px;
  border: 2px solid #c5c7ca;
  border-radius: 50%;
}
.screen {
  height: 100%;
  background: #1f4fa3;
  color: #fff;
  text-align: center;
  font-size: 11px;
  border: 1px solid #333;
}
.statusbar {
  display: flex;
  justify-content: space-between;
  padding: 2px 6px;
  font-size: 9px;
  color: rgba(255,255,255,.9);
}
.app-logo { padding: 22px 0 8px; }
.app-logo img { width: 52px; filter: drop-shadow(0 0 1px rgba(255,255,255,.7)); }
.app-logo .wordmark { display: inline-block; font-size: 22px; margin-top: 2px; }
.app-logo .wordmark .by { font-size: 11px; top: -2px; }
.app-field {
  display: flex;
  margin: 10px 16px 0;
  height: 34px;
}
.app-field i {
  width: 36px;
  border: 1px solid rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  margin-right: 5px;
}
.app-field div {
  flex: 1;
  border: 1px solid rgba(255,255,255,.55);
  text-align: left;
  padding: 8px;
  color: rgba(255,255,255,.4);
}
.app-btn {
  margin: 12px 16px 0;
  border: 1px solid rgba(255,255,255,.55);
  padding: 8px;
  font-size: 12px;
}
.app-link { margin-top: 10px; font-size: 11px; }

/* ---------- Strip ---------- */

.strip {
  background: #f39c12;
  color: #fff;
  padding: 24px 0;
  position: relative;
  z-index: 1;
}
.strip .row { align-items: center; }
.strip .item { font-family: "Lato", sans-serif; font-size: 15px; font-weight: 700; }
.strip .item .fa { font-size: 22px; margin-right: 8px; vertical-align: -2px; }

/* ---------- Sections ---------- */

section { padding: 90px 0; }
.section-grey { background: #f5f6f7; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-title h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #f39c12;
  margin: 16px auto 0;
}
.section-title p { font-size: 17px; color: #888; max-width: 620px; margin: 0 auto; }

/* Features */
.feature { text-align: center; padding: 0 10px; margin-bottom: 40px; }
.feature .icon {
  width: 90px; height: 90px;
  line-height: 90px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #1f55a8;
  color: #fff;
  font-size: 36px;
  box-shadow: 0 0 0 6px #e3ebf7;
  transition: transform .3s;
}
.feature:hover .icon { transform: rotate(360deg); }
.feature h3 { font-size: 19px; font-weight: 700; }

/* Story */
.story .row { align-items: center; }
.story img {
  border: 6px solid #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.story h2 { font-size: 30px; font-weight: 300; }
.story h2 strong { font-weight: 900; }
.story blockquote {
  margin: 25px 0 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid #f39c12;
  font-style: italic;
  color: #777;
}
.story blockquote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: #999; }

/* Steps */
.step { text-align: center; }
.step .num {
  display: inline-block;
  width: 54px; height: 54px;
  line-height: 50px;
  border: 2px solid #1f55a8;
  border-radius: 50%;
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #1f55a8;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; }

/* Pricing */
.plan {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 30px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.plan:hover { box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.plan-head { background: #2c3e50; color: #fff; padding: 22px 10px; }
.plan-head h3 { color: #fff; text-transform: uppercase; letter-spacing: 2px; font-size: 16px; margin: 0 0 6px; }
.plan-price { font-family: "Lato", sans-serif; font-size: 42px; font-weight: 900; line-height: 1; }
.plan-price small { font-size: 14px; font-weight: 400; opacity: .7; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { padding: 12px; border-bottom: 1px solid #eee; }
.plan li .fa-check { color: #27ae60; margin-right: 6px; }
.plan li .fa-times { color: #ccc; margin-right: 6px; }
.plan .btn { margin: 24px 0; }
.plan.featured { border-color: #1f55a8; }
.plan.featured .plan-head { background: #1f55a8; }
.plan .ribbon {
  display: inline-block;
  background: #f39c12;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

/* Team */
.member { text-align: center; margin-bottom: 30px; }
.avatar {
  width: 140px; height: 140px;
  line-height: 140px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  font-family: "Lato", sans-serif;
  font-size: 44px;
  font-weight: 300;
  color: #fff;
  overflow: hidden;
}
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 18px; margin-bottom: 2px; }
.member .role { color: #f39c12; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.member p { font-size: 14px; color: #888; }
.social a {
  display: inline-block;
  width: 32px; height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  background: #ddd;
  color: #fff;
  margin: 0 2px;
}
.social a:hover { background: #1f55a8; text-decoration: none; }

/* Signup band */
.signup {
  background: #1f55a8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40' fill='%23ffffff' fill-opacity='.04'/%3E%3C/svg%3E");
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.signup h2 { color: #fff; font-weight: 300; font-size: 30px; }
.signup p { color: rgba(255,255,255,.8); }
.signup form { display: flex; justify-content: center; max-width: 520px; margin: 25px auto 0; }
.signup input {
  flex: 1;
  border: 0;
  border-radius: 4px 0 0 4px;
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  min-width: 0;
}
.signup .btn { border-radius: 0 4px 4px 0; }
.form-note { margin-top: 14px; font-size: 13px; min-height: 20px; }

/* Contact */
.contact-card {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-top: 3px solid #1f55a8;
  border-radius: 3px;
  padding: 24px;
  margin-bottom: 30px;
  height: calc(100% - 30px);
}
.contact-card .fa { font-size: 26px; color: #1f55a8; margin-bottom: 10px; }
.contact-card h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.contact-card p { font-size: 14px; margin: 0 0 8px; color: #888; }
.contact-card a { font-weight: 600; word-break: break-all; }
.contact-card code {
  display: block;
  margin-top: 8px;
  background: #f5f6f7;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  padding: 6px 8px;
  font-size: 11px;
  color: #c7254e;
  word-break: break-all;
}

.contact-bottom { margin-top: 30px; }
.office { list-style: none; padding: 0; margin: 0; }
.office li { display: flex; margin-bottom: 18px; }
.office .fa {
  width: 40px; height: 40px;
  line-height: 40px;
  text-align: center;
  background: #1f55a8;
  color: #fff;
  border-radius: 3px;
  margin-right: 14px;
  flex-shrink: 0;
}
.office strong { display: block; color: #333; }

.contact-form label { display: block; font-weight: 600; font-size: 13px; color: #333; margin-bottom: 5px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: #555;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: #66afe9;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
.contact-form textarea { height: 130px; resize: vertical; }
.alert-success {
  display: none;
  background: #dff0d8;
  border: 1px solid #d6e9c6;
  color: #3c763d;
  padding: 12px 15px;
  border-radius: 4px;
  margin-top: 15px;
}

/* Footer */
footer {
  background: #1c2733;
  color: #8a96a3;
  padding: 50px 0 0;
  font-size: 14px;
}
footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
footer ul { list-style: none; padding: 0; margin: 0 0 30px; }
footer li { margin-bottom: 6px; }
footer a { color: #8a96a3; }
footer a:hover { color: #fff; }
footer .brand { margin-bottom: 14px; }
footer .social a { background: #2c3a48; color: #8a96a3; }
footer .social a:hover { background: #f39c12; color: #fff; }
.copyright {
  border-top: 1px solid #2c3a48;
  padding: 18px 0;
  margin-top: 10px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 40px; height: 40px;
  line-height: 38px;
  text-align: center;
  background: rgba(0,0,0,.5);
  color: #fff;
  border-radius: 3px;
  display: none;
  z-index: 50;
}
.to-top:hover { background: #f39c12; color: #fff; }

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .col-3 { width: 50%; }
  .hero h1 { font-size: 40px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #0e285c;
    padding: 10px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { margin: 0; padding: 8px 20px; }
}

@media (max-width: 767px) {
  .col-6, .col-4, .col-3 { width: 100%; }
  .hero { padding-top: 110px; text-align: center; }
  .hero h1 { font-size: 34px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .strip .item { margin: 6px 0; text-align: center; }
  section { padding: 60px 0; }
  .story img { margin-bottom: 30px; }
  .signup form { flex-direction: column; }
  .signup input { border-radius: 4px; height: 46px; margin-bottom: 10px; }
  .signup .btn { border-radius: 4px; }
  .contact-card { height: auto; }
}
