/* MaxOffice page for maverickandmax.co.za. Upload with app.html. */

:root {
    --header-height: 76px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.light-mode {
    --bg: #ffffff;
    --bg-soft: hsl(235, 45%, 98%);
    --card: #ffffff;
    --text: hsl(235, 33%, 18%);
    --muted: hsl(235, 20%, 35%);
    --faint: hsl(235, 15%, 55%);
    --line: hsl(235, 30%, 92%);
    --accent: hsl(37, 86%, 50%);
    --accent-soft: rgba(237, 153, 20, 0.12);
    --glow: rgba(31, 34, 62, 0.05);
}

body.dark-mode {
    --bg: hsl(235, 33%, 8%);
    --bg-soft: hsl(235, 33%, 11%);
    --card: hsl(235, 33%, 10%);
    --text: hsl(0, 0%, 98%);
    --muted: hsl(235, 10%, 75%);
    --faint: hsl(235, 10%, 55%);
    --line: hsl(235, 20%, 18%);
    --accent: hsl(37, 86%, 50%);
    --accent-soft: rgba(237, 153, 20, 0.18);
    --glow: rgba(237, 153, 20, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

img { max-width: 100%; }

h1, h2, h3 { font-family: 'Outfit', sans-serif; font-weight: 700; letter-spacing: -0.03em; }

a { color: var(--accent); }

.radial {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 85% 10%, var(--glow), transparent 55%);
    pointer-events: none;
    z-index: -1;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    height: var(--header-height);
    background: #1f223e;
    border-bottom: 2px solid var(--accent);
    box-shadow: var(--shadow-md);
}

.header-inner,
.wrap {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    color: #fff;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.site-nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
}

body.light-mode .icon-sun { display: inline; }
body.light-mode .icon-moon { display: none; }
body.dark-mode .icon-sun { display: none; }
body.dark-mode .icon-moon { display: inline; }

main { padding: calc(var(--header-height) + 48px) 0 72px; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    gap: 28px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.05;
    margin: 14px 0 12px;
}

.hero h1 span { color: var(--accent); }

.lead {
    color: var(--muted);
    font-size: 18px;
    max-width: 460px;
    margin-bottom: 22px;
}

.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 196px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #1f223e;
    color: #fff;
    text-decoration: none;
    border: 1px solid #1f223e;
}

.store-btn i { font-size: 22px; }

.store-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn small { font-size: 11px; opacity: 0.8; }
.store-btn strong { font-family: 'Outfit', sans-serif; font-size: 16px; }

.store-btn:hover { background: #15182e; color: #fff; }

body.dark-mode .store-btn { background: #fff; color: #1f223e; border-color: #fff; }
body.dark-mode .store-btn:hover { background: #f4f1ea; color: #1f223e; }

.fine { color: var(--faint); font-size: 13px; max-width: 440px; }

.hero-visual img { width: 100%; height: auto; }
.hero-trio { display: block; }
.hero-single { display: none; width: min(280px, 78%); margin: 0 auto; }

.band {
    margin-top: 72px;
    scroll-margin-top: 96px;
}

.band h2 { font-size: 34px; margin-bottom: 8px; }
.band .intro { color: var(--muted); max-width: 640px; margin-bottom: 22px; }

.cards, .steps, .points { display: grid; gap: 16px; }
.cards { grid-template-columns: 1fr 1fr; }
.steps { grid-template-columns: repeat(3, 1fr); }
.points { grid-template-columns: 1fr 1fr; }

.card, .step, .point {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px;
    align-items: center;
    padding: 16px 18px 16px 6px;
    text-decoration: none;
    color: inherit;
}

.card img { width: 120px; height: auto; }
.card h3 { font-size: 22px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }
.card:hover { border-color: var(--accent); }

.feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 32px;
    align-items: center;
    margin: 28px 0;
}

.feature.reverse { grid-template-columns: 270px minmax(0, 1fr); }
.feature.reverse .copy { order: 2; }
.feature h3 { font-size: 28px; margin-bottom: 8px; }
.feature p { color: var(--muted); margin-bottom: 10px; }
.feature img { width: min(270px, 100%); height: auto; display: block; margin: 0 auto; }

.step, .point { padding: 20px 22px; }
.step b {
    display: block;
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.step h3, .point h3 { font-size: 18px; margin-bottom: 6px; }
.step p, .point p { color: var(--muted); font-size: 15px; }
.point i { color: var(--accent); margin-bottom: 8px; }

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 22px 0;
    color: var(--faint);
    font-size: 14px;
}

.site-footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer a { color: var(--faint); text-decoration: none; margin-left: 16px; }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 860px) {
    .site-header { height: auto; }
    .header-inner { flex-wrap: wrap; padding: 12px 0; height: auto; }
    .site-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
    main { padding-top: 132px; }
    .hero, .cards, .steps, .points, .feature, .feature.reverse { grid-template-columns: 1fr; }
    .feature.reverse .copy { order: 0; }
    .hero { text-align: center; }
    .lead, .fine, .store-row { margin-left: auto; margin-right: auto; }
    .store-row { justify-content: center; }
    .hero h1 { font-size: 36px; }
    .hero-trio { display: none; }
    .hero-single { display: block; }
    .site-footer .wrap { flex-direction: column; }
    .site-footer a { margin-left: 0; margin-right: 14px; }
}
