/* ================================================
   Office Tether — site.css
   Brand palette, layout, sections, and components
   Edit CSS variables below to update brand colours
   ================================================ */

/* ----- CSS Custom Properties (brand colours) ----- */
:root {
    --ot-navy:        #1b3a5c;
    --ot-blue:        #2563a8;
    --ot-blue-mid:    #3d7ec8;
    --ot-accent-bg:   #e8f0fb;
    --ot-accent-border: #c8d9f0;
    --ot-light-bg:    #f5f7fa;
    --ot-white:       #ffffff;
    --ot-text:        #1c2237;
    --ot-border:      #dce6f0;
    --ot-amber:       #e8a020;
    --ot-amber-dark:  #cf8f18;
}

/* ----- Base & typography ----- */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ot-text);
    background-color: var(--ot-white);
}

/* ----- Focus ring (accessibility) ----- */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--ot-blue);
}

/* ====================================================
   NAVBAR
   ==================================================== */
.ot-navbar {
    background-color: var(--ot-navy);
}

.ot-navbar .navbar-brand {
    font-size: 1.15rem;
    letter-spacing: .02em;
    color: #ffffff;
}

.ot-navbar .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: .9rem;
}

.ot-navbar .nav-link:hover,
.ot-navbar .nav-link:focus {
    color: #ffffff;
}

/* ====================================================
   HERO SECTION
   ==================================================== */
.ot-hero {
    background: linear-gradient(140deg, var(--ot-navy) 0%, #254f82 55%, #2d6bbf 100%);
    color: #ffffff;
    min-height: 82vh;
    padding: 5rem 0 4rem;
}

.ot-hero__headline {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.22;
    color: #ffffff;
}

.ot-hero__sub {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.ot-hero-illustration {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ot-hero-illustration svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(7, 26, 49, 0.18));
}

/* ====================================================
   BUTTONS
   ==================================================== */

/* Amber — primary call to action */
.btn-ot-primary {
    background-color: var(--ot-amber);
    border-color: var(--ot-amber);
    color: #1a1a2e;
    font-weight: 600;
}

.btn-ot-primary:hover,
.btn-ot-primary:focus {
    background-color: var(--ot-amber-dark);
    border-color: var(--ot-amber-dark);
    color: #1a1a2e;
}

/* Ghost white — secondary CTA on hero */
.btn-ot-outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
    font-weight: 500;
}

.btn-ot-outline:hover,
.btn-ot-outline:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* Navy solid — used on accent/light sections */
.btn-ot-navy {
    background-color: var(--ot-navy);
    border-color: var(--ot-navy);
    color: #ffffff;
    font-weight: 600;
}

.btn-ot-navy:hover,
.btn-ot-navy:focus {
    background-color: #162f4a;
    border-color: #162f4a;
    color: #ffffff;
}

/* Ghost white — used inside dark navy section */
.btn-ot-outline-light {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-weight: 500;
}

.btn-ot-outline-light:hover,
.btn-ot-outline-light:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* ====================================================
   SECTION BACKGROUNDS
   ==================================================== */
.ot-section-light  { background-color: var(--ot-light-bg); }
.ot-section-white  { background-color: var(--ot-white); }

.ot-section-accent {
    background-color: var(--ot-accent-bg);
    border-top: 1px solid var(--ot-accent-border);
    border-bottom: 1px solid var(--ot-accent-border);
}

.ot-section-navy   { background-color: var(--ot-navy); }

/* ====================================================
   SECTION HEADINGS
   ==================================================== */
.ot-section-heading {
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--ot-navy);
    margin-bottom: .6rem;
}

/* Variant for use on dark/navy backgrounds */
.ot-section-heading--light {
    color: #ffffff;
}

/* ====================================================
   SERVICE CARDS
   ==================================================== */
.ot-card {
    border: 1px solid var(--ot-border);
    border-radius: .5rem;
    transition: box-shadow .18s ease, transform .18s ease;
}

.ot-card:hover {
    box-shadow: 0 6px 22px rgba(27, 58, 92, 0.11);
    transform: translateY(-3px);
}

.ot-card__icon {
    font-size: 1.9rem;
    line-height: 1;
}

/* ====================================================
   CHECKLIST ITEMS (Free Check section)
   ==================================================== */
.ot-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding: .65rem .85rem;
    background: var(--ot-white);
    border: 1px solid var(--ot-accent-border);
    border-radius: .375rem;
    font-size: .93rem;
    color: #2c3e50;
}

.ot-check-icon {
    color: var(--ot-blue);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: .05rem;
}

/* ====================================================
   SUPPORT ITEMS (Setup & Support section)
   ==================================================== */
.ot-support-item {
    padding: 1.1rem 1.25rem;
    border-left: 3px solid var(--ot-blue-mid);
    background: var(--ot-light-bg);
    border-radius: 0 .375rem .375rem 0;
    height: 100%;
}

/* ====================================================
   AUDIENCE CHIPS (Who It's For section)
   ==================================================== */
.ot-audience-chip {
    display: inline-block;
    padding: .45rem .9rem;
    background: var(--ot-light-bg);
    border: 1px solid var(--ot-border);
    border-radius: 2rem;
    font-size: .875rem;
    color: var(--ot-navy);
    font-weight: 500;
    white-space: nowrap;
}

/* ====================================================
   GET IN TOUCH — contact sub-copy
   ==================================================== */
.ot-contact__sub {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ====================================================
   FOOTER
   ==================================================== */
.ot-footer {
    background-color: #eef2f7;
    border-top: 1px solid var(--ot-border);
}

.ot-footer__brand {
    color: var(--ot-navy);
}

.ot-footer a {
    color: var(--ot-blue);
    text-decoration: none;
}

.ot-footer a:hover {
    text-decoration: underline;
}

/* ====================================================
   RESPONSIVE ADJUSTMENTS
   ==================================================== */
@media (max-width: 767.98px) {
    .ot-hero {
        min-height: 70vh;
        padding: 3.5rem 0 3rem;
    }

    .ot-hero__headline {
        font-size: 1.45rem;
    }
}