/* =========================================================
   FAMILYTREESUPPORT
   FAMILY TREE SOFTWARE SUPPORT PAGE
========================================================= */

:root {

    --navy: #0b1f3a;
    --navy-light: #17385f;
    --navy-soft: #102b4e;

    --gold: #d9a441;
    --gold-light: #f3d58b;

    --cream: #f8f5ed;
    --white: #ffffff;

    --text: #243447;
    --muted: #5f6f7f;

    --green: #3c9b61;
    --green-light: #eaf6ee;

    --blue-light: #eef5fb;
    --border: #dce4eb;

    --purple: #7454a6;
    --orange: #d98432;
    --pink: #c75c75;

    --shadow-sm:
        0 5px 18px rgba(11, 31, 58, 0.07);

    --shadow:
        0 14px 40px rgba(11, 31, 58, 0.10);

    --radius: 18px;

    --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "DM Sans", sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.7;

    font-size: 17px;

    overflow-x: hidden;
}


img,
svg {
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


:focus-visible {
    outline: 4px solid rgba(217, 164, 65, .55);
    outline-offset: 4px;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3 {

    font-family: "Playfair Display", serif;

    color: var(--navy);

    line-height: 1.2;
}


h1 {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
}


h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}


h3 {
    font-size: 1.35rem;
}


p {
    color: var(--muted);
}


.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 0 auto;
}


.narrow-container {
    max-width: 850px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    background: rgba(255, 255, 255, .97);

    border-bottom: 1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 1000;

    backdrop-filter: blur(10px);
}


.nav-container {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.brand {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


.brand-tree {

    font-size: 42px;

    line-height: 1;
}


.brand-text {

    display: flex;

    flex-direction: column;
}


.brand-text strong {

    color: var(--navy);

    font-family: "Playfair Display", serif;

    font-size: 1.35rem;
}


.brand-text small {

    color: var(--muted);

    font-size: .72rem;
}


.main-nav {

    display: flex;

    align-items: center;

    gap: 20px;
}


.main-nav a {

    font-size: .88rem;

    font-weight: 600;

    color: var(--navy);

    padding: 8px 0;

    position: relative;

    white-space: nowrap;
}


.main-nav a:not(.nav-contact)::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 2px;

    background: var(--gold);

    transform: scaleX(0);

    transition: transform .25s ease;
}


.main-nav a:hover::after,
.main-nav a.active::after {

    transform: scaleX(1);
}


.nav-contact {

    background: var(--navy);

    color: white !important;

    padding: 11px 18px !important;

    border-radius: 9px;

    margin-left: 5px;
}


.nav-contact:hover {

    background: var(--navy-light);
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb-section {

    background: var(--cream);

    border-bottom: 1px solid #ece7da;
}


.breadcrumbs {

    min-height: 48px;

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: .88rem;

    color: var(--muted);

    overflow-x: auto;

    white-space: nowrap;
}


.breadcrumbs a {

    color: var(--navy);

    font-weight: 600;
}


.breadcrumbs a:hover {

    color: var(--gold);
}


/* =========================================================
   HERO
========================================================= */

.support-hero {

    background:
        linear-gradient(
            110deg,
            #f8f5ed 0%,
            #f8f5ed 48%,
            #edf5f9 100%
        );

    padding: 75px 0 85px;

    overflow: hidden;
}


.hero-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, .9fr);

    gap: 55px;

    align-items: center;
}


.eyebrow,
.section-label {

    display: inline-block;

    color: var(--green);

    font-size: .82rem;

    font-weight: 800;

    letter-spacing: .14em;

    margin-bottom: 14px;
}


.hero-content h1 {

    max-width: 720px;

    margin-bottom: 25px;
}


.hero-lead {

    max-width: 680px;

    font-size: 1.2rem;

    line-height: 1.75;

    margin-bottom: 30px;
}


.hero-buttons {

    display: flex;

    gap: 14px;

    flex-wrap: wrap;

    margin-bottom: 28px;
}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 50px;

    padding: 12px 22px;

    border-radius: 10px;

    font-weight: 700;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.btn:hover {

    transform: translateY(-2px);

    box-shadow: var(--shadow-sm);
}


.btn-primary {

    background: var(--navy);

    color: white;
}


.btn-primary:hover {

    background: var(--navy-light);
}


.btn-secondary {

    background: white;

    color: var(--navy);

    border: 1px solid var(--border);
}


.btn-secondary:hover {

    border-color: var(--gold);
}


.btn-light {

    background: white;

    color: var(--navy);
}


.trust-points {

    display: flex;

    flex-wrap: wrap;

    gap: 18px 25px;
}


.trust-points div {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: .9rem;

    font-weight: 600;

    color: var(--navy);
}


.check {

    width: 22px;

    height: 22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--green);

    color: white;

    font-size: .75rem;

    font-weight: 900;
}


/* =========================================================
   SVG ILLUSTRATION
========================================================= */

.hero-illustration {

    width: 100%;

    max-width: 650px;

    justify-self: end;
}


.family-tree-svg {

    width: 100%;

    height: auto;

    display: block;

    filter:
        drop-shadow(
            0 18px 30px rgba(11, 31, 58, .10)
        );
}


.support-bubble {

    filter:
        drop-shadow(
            0 5px 12px rgba(11, 31, 58, .08)
        );
}


/* =========================================================
   INTRO
========================================================= */

.intro-section {

    padding: 85px 0;

    text-align: center;
}


.intro-section h2 {

    margin-bottom: 25px;
}


.intro-section p {

    font-size: 1.08rem;

    margin-bottom: 18px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    text-align: center;

    max-width: 760px;

    margin: 0 auto 50px;
}


.section-heading h2 {

    margin-bottom: 15px;
}


.section-heading p {

    font-size: 1.05rem;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {

    background: #f4f8fb;

    padding: 90px 0;
}


.service-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.service-card {

    background: white;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.service-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow);
}


.service-icon {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eaf1f8;

    color: var(--navy);

    border-radius: 50%;

    font-size: 1.7rem;

    font-weight: 700;

    margin-bottom: 20px;
}


.service-icon.green {

    background: #e9f6ed;

    color: var(--green);
}


.service-icon.purple {

    background: #f0eafa;

    color: var(--purple);
}


.service-icon.orange {

    background: #fff0df;

    color: var(--orange);
}


.service-icon.blue {

    background: #e8f3fb;

    color: #236da4;
}


.service-icon.pink {

    background: #fbeaf0;

    color: var(--pink);
}


.service-card h3 {

    font-family: "DM Sans", sans-serif;

    font-size: 1.2rem;

    font-weight: 800;

    margin-bottom: 10px;
}


.service-card p {

    font-size: .96rem;

    margin-bottom: 20px;
}


.service-card a {

    color: var(--navy);

    font-weight: 700;

    font-size: .92rem;
}


.service-card a:hover {

    color: var(--gold);
}


/* =========================================================
   TUTORIAL
========================================================= */

.tutorial-section {

    padding: 90px 0;

    background: white;
}


.tutorial-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(280px, .7fr);

    gap: 60px;

    align-items: start;
}


.tutorial-content h2 {

    margin-bottom: 20px;
}


.tutorial-content > p {

    max-width: 800px;

    margin-bottom: 35px;

    font-size: 1.05rem;
}


.tutorial-steps {

    list-style: none;

    display: grid;

    gap: 22px;
}


.tutorial-steps li {

    display: grid;

    grid-template-columns: 45px 1fr;

    gap: 16px;

    align-items: start;
}


.step-number {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--navy);

    color: white;

    font-weight: 800;
}


.tutorial-steps h3 {

    font-family: "DM Sans", sans-serif;

    font-size: 1.08rem;

    font-weight: 800;

    margin-bottom: 3px;
}


.tutorial-steps p {

    font-size: .95rem;
}


.important-box {

    background:
        linear-gradient(
            145deg,
            #f8f5ed,
            #f3f8f4
        );

    border: 1px solid #e6dfcc;

    border-radius: var(--radius);

    padding: 32px;

    position: sticky;

    top: 110px;
}


.important-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--gold);

    color: white;

    border-radius: 50%;

    font-weight: 900;

    font-size: 1.4rem;

    margin-bottom: 18px;
}


.important-box h3 {

    margin-bottom: 12px;
}


.important-box p {

    margin-bottom: 18px;
}


.text-link {

    color: var(--navy);

    font-weight: 800;
}


/* =========================================================
   TOPICS
========================================================= */

.topics-section {

    padding: 90px 0;

    background: var(--cream);
}


.topic-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.topic-card {

    background: white;

    border: 1px solid #e5e0d5;

    border-radius: var(--radius);

    padding: 28px;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.topic-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow);
}


.topic-number {

    display: block;

    color: var(--gold);

    font-weight: 900;

    font-size: .85rem;

    margin-bottom: 14px;
}


.topic-card h3 {

    font-family: "DM Sans", sans-serif;

    font-size: 1.1rem;

    font-weight: 800;

    margin-bottom: 10px;
}


.topic-card p {

    font-size: .94rem;

    margin-bottom: 18px;
}


.topic-card strong {

    color: var(--navy);

    font-size: .9rem;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {

    padding: 90px 0;
}


.faq-list {

    max-width: 900px;

    margin: 0 auto;

    display: grid;

    gap: 12px;
}


.faq-list details {

    background: white;

    border: 1px solid var(--border);

    border-radius: 12px;

    overflow: hidden;
}


.faq-list summary {

    list-style: none;

    cursor: pointer;

    padding: 20px 24px;

    font-weight: 700;

    color: var(--navy);

    display: flex;

    justify-content: space-between;

    gap: 20px;
}


.faq-list summary::-webkit-details-marker {

    display: none;
}


.faq-list summary span {

    color: var(--gold);

    font-size: 1.3rem;
}


.faq-list details[open] summary {

    background: #f5f8fa;
}


.faq-list details p {

    padding: 0 24px 22px;

    font-size: .98rem;
}


.faq-more {

    text-align: center;

    margin-top: 35px;
}


/* =========================================================
   CTA
========================================================= */

.support-cta {

    background:
        linear-gradient(
            110deg,
            var(--navy),
            var(--navy-light)
        );

    padding: 70px 0;
}


.cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}


.cta-inner h2 {

    color: white;

    margin-bottom: 12px;
}


.cta-inner p {

    color: rgba(255,255,255,.82);

    max-width: 720px;
}


.section-label.light {

    color: var(--gold-light);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    background: #07182e;

    color: white;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 60px;

    padding: 60px 0;
}


.footer-brand > a {

    font-family: "Playfair Display", serif;

    color: white;

    font-size: 1.5rem;

    font-weight: 700;
}


.footer-brand p {

    color: rgba(255,255,255,.68);

    margin-top: 7px;
}


.footer-description {

    max-width: 360px;

    margin-top: 18px !important;

    font-size: .92rem;
}


.footer-links {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 9px;
}


.footer-links h3 {

    color: white;

    font-family: "DM Sans", sans-serif;

    font-size: 1rem;

    margin-bottom: 8px;
}


.footer-links a {

    color: rgba(255,255,255,.72);

    font-size: .9rem;
}


.footer-links a:hover {

    color: var(--gold-light);
}


.footer-bottom {

    border-top: 1px solid rgba(255,255,255,.12);

    padding: 20px 0;
}


.footer-bottom p {

    color: rgba(255,255,255,.58);

    font-size: .82rem;

    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .main-nav {

        gap: 13px;
    }

    .main-nav a {

        font-size: .8rem;
    }


    .hero-grid {

        grid-template-columns: 1fr;

    }

    .hero-content {

        text-align: center;
    }

    .hero-lead {

        margin-left: auto;

        margin-right: auto;
    }

    .hero-buttons,
    .trust-points {

        justify-content: center;
    }

    .hero-illustration {

        justify-self: center;

        max-width: 620px;
    }


    .service-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .topic-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 850px) {

    body {

        font-size: 16px;
    }


    .nav-container {

        min-height: 72px;
    }


    .main-nav {

        display: none;
    }


    .brand-text strong {

        font-size: 1.15rem;
    }


    .support-hero {

        padding: 55px 0;
    }


    .tutorial-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }


    .important-box {

        position: static;
    }


    .cta-inner {

        flex-direction: column;

        align-items: flex-start;
    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

        gap: 40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {

        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }


    h1 {

        font-size: 2.35rem;
    }


    h2 {

        font-size: 2rem;
    }


    .brand-tree {

        font-size: 34px;
    }


    .brand-text small {

        display: none;
    }


    .breadcrumb-section {

        display: none;
    }


    .support-hero {

        padding: 45px 0 55px;
    }


    .hero-lead {

        font-size: 1.05rem;
    }


    .hero-buttons {

        flex-direction: column;

        width: 100%;
    }


    .hero-buttons .btn {

        width: 100%;
    }


    .trust-points {

        flex-direction: column;

        align-items: center;

        gap: 10px;
    }


    .hero-illustration {

        margin-top: 10px;
    }


    .intro-section,
    .services-section,
    .tutorial-section,
    .topics-section,
    .faq-section {

        padding: 65px 0;
    }


    .service-grid,
    .topic-grid {

        grid-template-columns: 1fr;
    }


    .service-card,
    .topic-card {

        padding: 24px;
    }


    .tutorial-steps li {

        grid-template-columns: 40px 1fr;

        gap: 12px;
    }


    .step-number {

        width: 38px;

        height: 38px;
    }


    .important-box {

        padding: 25px;
    }


    .faq-list summary {

        padding: 17px;

        font-size: .95rem;
    }


    .faq-list details p {

        padding:
            0 17px 18px;
    }


    .support-cta {

        padding: 55px 0;
    }


    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

        padding: 45px 0;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    h1 {

        font-size: 2.05rem;
    }


    h2 {

        font-size: 1.8rem;
    }


    .brand-text strong {

        font-size: 1rem;
    }


    .hero-lead {

        font-size: 1rem;
    }


    .section-label {

        font-size: .74rem;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {

        transition: none !important;

        animation: none !important;
    }

}




