/* ==============================================================
   Many Hat Services — Support Centre (help.mhits.au)
   Design tokens mirrored from the main site: /Main Site/assets/css/style.css
=================================================================== */

:root {
    --dark1: #1C1C1C;
    --dark2: #454545;
    --light_white: #212529;
    --primary_color: #7866e1;
    --primary_light: #F3F6FD;
    --primary_light2: rgb(120 102 225 / 10%);
    --gray: #D9D9D9;
    --font_syne: 'Syne', sans-serif;
    --font_yantramanv: 'Yantramanav', sans-serif;
    --font_dm: 'DM Sans', sans-serif;
    --yellow_color: #FFD600;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
ul, ol { list-style: none; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

html { scroll-behavior: smooth; color-scheme: light; }

body {
    font-family: var(--font_dm);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--light_white);
    background: #ffffff;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.custom-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* Accessible skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--dark1);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 3px solid var(--primary_color);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ==============================================================
    # Buttons
=================================================================== */
.theme-btn {
    font-family: var(--font_dm);
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    background: var(--primary_color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: .3s;
    z-index: 1;
    overflow: hidden;
    gap: 10px;
    border: none;
}
.theme-btn::after, .theme-btn::before {
    content: '';
    width: 50%;
    height: 0;
    background: var(--dark1);
    border-radius: 30px 0 0 30px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: .3s;
}
.theme-btn::after {
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
    border-radius: 0 30px 30px 0;
}
.theme-btn:hover { color: #ffffff; }
.theme-btn:hover::after, .theme-btn:hover::before { height: 100%; }
.theme-btn svg { transition: transform .5s; flex-shrink: 0; }
.theme-btn:hover svg { transform: rotate(45deg); }

.theme-btn2 {
    background: var(--primary_light2);
    color: var(--primary_color);
}
.theme-btn2::after, .theme-btn2::before { background: var(--primary_color); }
.theme-btn2:hover { color: #ffffff; }

/* Placeholder: destination URL not yet confirmed. Swap href + remove
   .is-placeholder and the .badge-soon span to make it live. */
.theme-btn.is-placeholder {
    background: rgb(28 28 28 / 8%);
    color: var(--dark2);
    cursor: not-allowed;
}
.theme-btn.is-placeholder::after,
.theme-btn.is-placeholder::before { background: var(--dark2); }
.theme-btn.is-placeholder:hover { color: #ffffff; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==============================================================
    # Section headings
=================================================================== */
.section-subtitle {
    font-family: var(--font_syne);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 5px;
    color: var(--primary_color);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-title {
    font-family: var(--font_yantramanv);
    font-size: 60px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -1px;
    color: var(--dark1);
}

/* ==============================================================
    # Header
=================================================================== */
.header-area {
    border-bottom: 1px solid var(--gray);
    position: sticky;
    top: 0;
    z-index: 1024;
    background: #ffffff;
}
.header-area .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.header-area .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark1);
    padding: 16px 28px;
    align-self: stretch;
}
.header-area .logo img { width: 112px; height: auto; }

.header-right {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 0;
}
.header-right .phone-number {
    font-size: 16px;
    color: var(--dark1);
    line-height: 1.35;
    border-left: 1px solid var(--gray);
    padding-left: 28px;
}
.header-right .phone-number a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary_color);
    font-weight: 700;
}
.header-right .phone-number a:hover { color: var(--dark1); }
.header-right .phone-number span { display: block; white-space: nowrap; }

/* ==============================================================
    # Hero
=================================================================== */
main { flex: 1; }

.hero-area {
    background: linear-gradient(180deg, rgba(243, 246, 253, 0.7) 0%, rgba(243, 246, 253, 0) 86.26%);
    padding: 90px 0 24px;
    text-align: center;
}
.hero-area p.lead {
    font-size: 18px;
    color: var(--dark2);
    max-width: 640px;
    margin: 22px auto 0;
}

/* ==============================================================
    # Support option cards
=================================================================== */
.options-area { padding: 56px 0 90px; }

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.option-card {
    background: var(--primary_light);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: .3s;
}
.option-card:hover {
    border-color: var(--primary_color);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -18px rgba(120, 102, 225, .45);
}

.option-card .icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    color: var(--primary_color);
    flex-shrink: 0;
}
.option-card .icon svg { width: 32px; height: 32px; }

.option-card h2 {
    font-family: var(--font_yantramanv);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark1);
    margin-bottom: 12px;
}
.option-card p {
    font-size: 16px;
    color: var(--dark2);
    margin-bottom: 28px;
}
.option-card .theme-btn { margin-top: auto; }

.option-card .badge-soon {
    display: inline-block;
    font-family: var(--font_syne);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark2);
    background: rgb(28 28 28 / 8%);
    border-radius: 20px;
    padding: 5px 12px;
    margin-bottom: 14px;
}

/* ==============================================================
    # Contact strip
=================================================================== */
.contact-strip { padding-bottom: 90px; }
.contact-strip-inner {
    background: var(--dark1);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}
.contact-strip h2 {
    font-family: var(--font_yantramanv);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 8px;
}
.contact-strip p {
    color: rgb(249 249 249 / 70%);
    font-size: 16px;
    max-width: 440px;
}
.contact-methods { display: flex; gap: 44px; flex-wrap: wrap; }
.contact-method span {
    display: block;
    font-family: var(--font_syne);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary_color);
    margin-bottom: 8px;
}
.contact-method a {
    font-family: var(--font_yantramanv);
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    overflow-wrap: anywhere;
    line-height: 1.3;
}
.contact-method a:hover { color: var(--primary_color); }

/* ==============================================================
    # Footer
=================================================================== */
.footer-area {
    background: var(--dark1);
    padding: 64px 0 0;
    margin-top: auto;
}
.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 48px;
}
.footer-area .logo img { width: 230px; height: auto; }
.footer-area .footer-tagline {
    color: rgb(249 249 249 / 70%);
    margin-top: 20px;
    max-width: 320px;
}
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-links h3 {
    font-family: var(--font_syne);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary_color);
    margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-links li {
    color: rgb(249 249 249 / 80%);
    font-size: 16px;
}
.footer-links a:hover { color: #ffffff; }

.copyright-area {
    border-top: 1px solid rgb(249 249 249 / 12%);
    padding: 26px 0 34px;
}
.copyright-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.copyright-area p {
    font-size: 16px;
    color: rgb(249 249 249 / 80%);
}
.copyright-area a { color: rgb(249 249 249 / 80%); }
.copyright-area a:hover { color: #ffffff; }

/* ==============================================================
    # Responsive
=================================================================== */
@media (max-width: 1100px) {
    .section-title { font-size: 48px; }
}
@media (max-width: 900px) {
    .options-grid { grid-template-columns: 1fr; }
    .contact-strip-inner { padding: 36px; }
}
@media (max-width: 767px) {
    .section-title { font-size: 38px; letter-spacing: -0.5px; }
    .hero-area { padding: 56px 0 16px; }
    .hero-area p.lead { font-size: 16px; }
    .options-area { padding: 36px 0 60px; }
    .option-card { padding: 28px; }
    .option-card h2 { font-size: 24px; }
    .theme-btn { font-size: 16px; padding: 12px 22px; width: 100%; }
    .header-right .phone-number { display: none; }
    .header-area .logo { padding: 12px 20px; }
    .header-area .logo img { width: 92px; }
    .contact-strip h2 { font-size: 28px; }
    .contact-methods { gap: 24px; }
    .contact-method a { font-size: 19px; }
    .footer-area .logo img { width: 180px; }
    .footer-links { gap: 36px; }
}

/* ==============================================================
    # Downloads page
=================================================================== */
.breadcrumb-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--dark2);
    margin-bottom: 24px;
    transition: .3s;
}
.breadcrumb-back:hover { color: var(--primary_color); }
.breadcrumb-back svg { transition: transform .3s; }
.breadcrumb-back:hover svg { transform: translateX(-4px); }

.hero-area.hero-compact { padding: 52px 0 20px; text-align: left; }
.hero-area.hero-compact p.lead { margin-left: 0; margin-right: 0; }

.downloads-area { padding: 44px 0 90px; }
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.download-card {
    background: var(--primary_light);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: .3s;
}
.download-card:hover {
    border-color: var(--primary_color);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -18px rgba(120, 102, 225, .45);
}
.download-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--primary_color);
}
.download-card .icon svg { width: 28px; height: 28px; }
.download-card h2 {
    font-family: var(--font_yantramanv);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark1);
    margin-bottom: 6px;
}
.download-card .meta {
    font-size: 14px;
    color: var(--dark2);
    margin-bottom: 22px;
}
.download-card .theme-btn { margin-top: auto; width: 100%; font-size: 16px; padding: 12px 20px; }

/* Help panel under the downloads */
.download-help {
    margin-top: 44px;
    border: 1px solid var(--gray);
    border-radius: 20px;
    padding: 36px 40px;
}
.download-help h2 {
    font-family: var(--font_yantramanv);
    font-size: 26px;
    font-weight: 700;
    color: var(--dark1);
    margin-bottom: 20px;
}
.download-help ol { padding-left: 20px; list-style: decimal; }
.download-help li {
    color: var(--dark2);
    margin-bottom: 10px;
    padding-left: 6px;
}
.download-help .note {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
    font-size: 15px;
    color: var(--dark2);
}
.download-help .note strong { color: var(--dark1); }

@media (max-width: 1100px) {
    .downloads-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .downloads-grid { grid-template-columns: 1fr; }
    .downloads-area { padding: 28px 0 60px; }
    .download-card { padding: 26px; }
    .download-help { padding: 26px; }
    .download-help h2 { font-size: 22px; }
    .hero-area.hero-compact { padding: 36px 0 12px; }
}
