/* -------------------------------------------------
   WSV, Inc.
   Corporate Website
-------------------------------------------------- */

:root {
    --background: #ffffff;
    --background-soft: #f6f7f8;
    --text: #111111;
    --text-secondary: #5f6368;
    --border: #e5e7eb;
    --dark: #101214;
    --dark-secondary: #b7bcc2;
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}


/* -------------------------------------------------
   Header
-------------------------------------------------- */

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: auto;
    height: 48px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.55;
}


/* -------------------------------------------------
   Hero
-------------------------------------------------- */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    padding-top: 110px;
    padding-bottom: 120px;
}

.eyebrow,
.section-label {
    margin-bottom: 22px;
    color: #74797f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.17em;
}


.hero h1 {
    max-width: 900px;
    font-size: clamp(46px, 6.2vw, 82px);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.hero-description {
    max-width: 700px;
    margin-top: 34px;
    color: var(--text-secondary);
    font-size: 21px;
    line-height: 1.6;
}

.primary-button {
    display: inline-block;
    margin-top: 42px;
    padding: 13px 22px;
    background: var(--text);
    border-radius: 7px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.primary-button:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}


/* -------------------------------------------------
   General Sections
-------------------------------------------------- */

.section {
    padding: 120px 0;
}

.section-soft {
    background: var(--background-soft);
}

.section h2 {
    margin-bottom: 28px;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 620;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.section p {
    margin-bottom: 22px;
    color: var(--text-secondary);
}

.section-label {
    margin-bottom: 20px !important;
}


/* -------------------------------------------------
   Principles
-------------------------------------------------- */

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 58px;
}

.principle {
    padding-top: 26px;
    border-top: 1px solid #cfd3d7;
}

.principle-number {
    display: block;
    margin-bottom: 46px;
    color: #8a8f94;
    font-size: 13px;
    font-weight: 600;
}

.principle h3 {
    margin-bottom: 13px;
    font-size: 22px;
    font-weight: 600;
}

.principle p {
    max-width: 310px;
    font-size: 16px;
}


/* -------------------------------------------------
   Product
-------------------------------------------------- */

.product-card {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 70px;
    margin-top: 46px;
    padding: 70px;
    background: var(--background-soft);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.product-content {
    max-width: 650px;
}

.product-logo {
    display: block;
    width: min(300px, 100%);
    height: auto;
    margin-bottom: 26px;
    object-fit: contain;
    object-position: left center;
}

.product-tagline {
    margin-bottom: 28px !important;
    color: var(--text) !important;
    font-size: 22px;
    font-weight: 500;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.product-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-app-icon {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: contain;
}


/* -------------------------------------------------
   Company
-------------------------------------------------- */

.section-dark {
    background: var(--dark);
    color: #fff;
}

.section-dark h2 {
    color: #fff;
}

.section-dark p {
    max-width: 560px;
    color: var(--dark-secondary);
}

.section-label-light {
    color: #8e949b !important;
}

.company-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 90px;
    align-items: start;
}

.company-details {
    border-top: 1px solid #363a3e;
}

.company-details > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #363a3e;
    font-size: 15px;
}

.detail-label {
    color: #858b91;
}


/* -------------------------------------------------
   Contact
-------------------------------------------------- */

.contact-section {
    text-align: center;
}

.contact-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-note {
    margin-top: 14px;
    color: #8a8f94 !important;
    font-size: 14px;
}

/* -------------------------------------------------
   Footer
-------------------------------------------------- */

.site-footer {
    padding: 42px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand p {
    font-size: 14px;
    font-weight: 600;
}

.footer-logo {
    width: auto;
    height: 30px;
    object-fit: contain;
}

.copyright {
    color: #777c81;
    font-size: 13px;
}


/* -------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 800px) {

    .container {
        width: min(calc(100% - 36px), var(--max-width));
    }

    .header-inner {
        min-height: 74px;
    }

    .brand-logo {
        height: 40px;
    }

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .hero-description {
        font-size: 19px;
    }

    .section {
        padding: 86px 0;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .principle-number {
        margin-bottom: 25px;
    }

    .product-card {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 42px 30px;
    }

    .product-mark {
    justify-content: flex-start;
    }

    .product-app-icon {
        width: 110px;
        height: 110px;
    }

    .company-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 520px) {

    .main-nav a:nth-child(1),
    .main-nav a:nth-child(2) {
        display: none;
    }

    .hero h1 {
        font-size: 43px;
    }

    .company-details > div {
        grid-template-columns: 100px 1fr;
    }
}
