﻿/* Home: J.D. Power "New look. Same trusted voice." layout */

@font-face {
    font-family: 'Neulis Sans';
    src: url('fonts/NeulisSans-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --jdp-power-teal: #00838F;
    --jdp-power-black: #1A1A1A;
    --jdp-pure-white: #FFFFFF;
    --jdp-font-display: 'Neulis Sans', 'Helvetica Neue', Arial, sans-serif;
    --jdp-font-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--jdp-pure-white);
    color: var(--jdp-power-black);
}

body {
    font-family: var(--jdp-font-body);
    -webkit-font-smoothing: antialiased;
}

.page {
    box-sizing: border-box;
    padding: 24px 10%;
}

.logo-link {
    display: block;
    width: 272px;
    max-width: 60%;
    margin: 0 0 32px;
}

.logo {
    display: block;
    width: 100%;
    height: auto;
}

h1 {
    margin: 0 0 56px;
    font-family: var(--jdp-font-display);
    font-weight: 900;
    font-size: clamp(40px, 11vw, 86px);
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.copy p:last-child {
    margin-bottom: 0;
}

/* The band image starts with the top of the trophy, so it sits right under the copy:
   the only space between the text and the teal block is the white strip in the image
   beside the trophy, which keeps the trophy clear of the text. */
.band {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 16px;
}

.copy p {
    margin: 0 0 22px;
    font-size: clamp(18px, 3.2vw, 25px);
    font-weight: 400;
    line-height: 1.52;
}

@media (max-width: 600px) {
    .page {
        padding: 16px 24px;
    }

    .logo-link {
        margin-bottom: 24px;
    }

    h1 {
        margin-bottom: 36px;
    }
}
