/* Shared public-site styles. Bootstrap and Font Awesome live in vendor/. */
:root {
    --frontpage-blue: #3d8cc5;
    --frontpage-orange: #ec971f;
    --frontpage-cream: #fcf7ef;
    --frontpage-border: #f8ecda;
}

html { font-size: 8px; scroll-behavior: smooth; }
body { padding-bottom: 140px; }
.btn, .form-control, body { font-size: 1.8rem; line-height: 1.8; }
.form-control { padding: 2rem 1rem; }

.site-header {
    background: var(--frontpage-cream);
    border-bottom: 2px solid var(--frontpage-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 10rem; }
.site-logo { display: block; flex-shrink: 0; }
.site-logo img { max-width: 100%; }
.site-navigation { display: flex; align-items: center; }
.registration-link { margin-left: 30px; margin-right: 15px; }
.mobile-login { display: none; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu-links {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 240px;
    margin: 2px 0 0;
    padding: 5px 0;
    list-style: none;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    z-index: 1001;
}
.user-menu-links a { display: block; padding: 6px 20px; color: #333; }
.user-menu-links a:hover, .user-menu-links a:focus { background: #f5f5f5; text-decoration: none; }
.user-menu-links li + li { border-top: 1px solid #e5e5e5; }

.intro { font-size: 3rem; line-height: inherit; font-weight: 400; margin: 8rem 0; text-align: center; }
.homepage-highlight { margin-bottom: 5rem; text-align: center; }
.homepage-highlight .icon { color: var(--frontpage-blue); display: block; font-size: 3rem; }
.homepage-highlight .title { color: var(--frontpage-blue); display: block; font-size: 2.5rem; line-height: inherit; margin: 0; }

.registration-wrapper { background: var(--frontpage-orange); color: white; margin: 5rem 0; padding: 5rem 0; scroll-margin-top: 12rem; }
.registration-box { text-align: center; }
.registration-box .motivation { font-size: 2.5rem; font-weight: 400; line-height: inherit; margin: 0 0 10px; }
.registration-box form { margin: 3rem 0; }
.registration-fields { display: flex; justify-content: center; gap: 5px; }
.registration-fields .form-group { margin-bottom: 0; min-width: 0; }
.registration-fields .form-control { border: 2px solid #c77c11; width: 100%; }
.registration-box .submit { margin: 2rem 0; }
.registration-box .submit button { width: 180px; }
.registration-box .terms, .registration-box .terms a.terms-link { color: #985e0d; }
.registration-box .terms a.terms-link { font-weight: 700; }

.pricing .title { color: inherit; font-size: 2.5rem; font-weight: 700; padding: 0 0 10px; }
.pricing .panel { border: 0; box-shadow: none; }
.pricing-explanation { padding-top: 3rem; }
.growth-wrapper { background: var(--frontpage-blue); color: white; margin: 3rem 0; padding: 3rem 0; }
.growth-intro { font-size: 3rem; padding-top: 5rem; padding-bottom: 5rem; text-align: center; }

.feature { margin: 4rem 0; padding: 4rem 0; }
.feature .lead { margin-top: 0; }
.feature .photos { margin-bottom: 6rem; }
.feature img { background: var(--frontpage-border); border: 2px solid var(--frontpage-border); padding: 5px; }
.calendar-photos-control { overflow: hidden; position: relative; }
.calendar-photos-control .calendar-desktop { margin-top: 10%; position: absolute; width: 80%; z-index: 1; }
.calendar-photos-control .calendar-mobile { float: right; position: relative; width: 40%; z-index: 2; }
.site-footer { margin-top: 5rem; }

.support-contact { padding-top: 1.8em; margin-bottom: 6rem; overflow-wrap: anywhere; }
.support-articles h1 { font-size: 24px; font-weight: 400; line-height: 1.1; margin: 20px 0 30px; }
.support-article-links p { margin-bottom: 10px; }
.help-article-links li { margin-bottom: 10px; }
.support-main { padding-top: 1.8em; }
.support-article { background: white; }
.support-article .entry-title { font-size: 24px; font-weight: 400; line-height: 1.1; margin: 20px 0 30px; }
.support-article-body img { max-width: 100%; height: auto; }
.support-article-body { overflow-wrap: anywhere; }
.list-articles { border-top: 1px solid #ddd; }
.list-article-link { border-bottom: 1px solid #ddd; display: block; padding: 6px 0; }
.list-article-link[aria-current="page"] { font-weight: 700; }

@media (min-width: 768px) {
    body { padding-top: 10rem; }
    .site-header { position: fixed; top: 0; width: 100%; z-index: 1000; }
    .feature .feature-content-right { padding-left: 10%; }
    .feature .feature-content-left { padding-right: 10%; }
}
@media (min-width: 992px) { html { font-size: 9px; } }
@media (min-width: 1200px) { html { font-size: 10px; } }
@media (max-width: 767px) {
    .site-header { background: white; border: 0; }
    .header-inner { flex-direction: column; gap: 20px; padding-top: 20px; }
    .site-navigation { flex-wrap: wrap; justify-content: center; }
    .site-navigation .btn-link { border: 1px solid #ccc; margin-right: 5px; color: #333; }
    .facebook-link span, .registration-link, .user-menu { display: none; }
    .mobile-login { display: inline-block; }
    .registration-fields { flex-direction: column; gap: 15px; }
    .registration-fields .form-control { height: auto; }
    .registration-wrapper { scroll-margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
