:root {
    --header-height: 66px;
    --off-white: #FBFBFB;
    --black: #000;
    --brown: #7a0a0a;
    --brown-hover: #a00e0e;
    --dark-gray: #222;
    --white: #fff;
}

/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Satoshi, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.5;
}

/* H1: 64, 48, 40 */
h1 {
    font-size: 64px;
    line-height: 1.15;
}

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 48px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 40px;
    }
}


/* H2: 48, 40, 32 */
h2 {
    font-size: 48px;
    line-height: 1.15;
}


@media screen and (max-width: 1024px) {
    h2 {
        font-size: 40px;
    }
}

@media screen and (max-width: 480px) {
    h2 {
        font-size: 32px;
    }
}
/* H3: 40, 32, 28 */
h3 {
    font-size: 40px;
    line-height: 1.15;
}

@media screen and (max-width: 1024px) {
    h3 {
        font-size: 32px;
    }
}

@media screen and (max-width: 480px) {
    h3 {
        font-size: 28px;
    }
}


/* H4: 32, 28, 24 */
h4 {
    font-size: 32px;
    line-height: 1.15;
}

@media screen and (max-width: 1024px) {
    h4 {
        font-size: 28px;
    }
}

@media screen and (max-width: 480px) {
    h4 {
        font-size: 24px;
    }
}
/* P: 20, 18, 16 */
p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 1em;
}

@media screen and (max-width: 1024px) {
    p {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    p {
        font-size: 16px;
    }
}


h1,
h2,
h3,
h4 {
    margin-bottom: 0.6em;
}


p {
    font-weight: 500;
}


h1 a, h2 a, h3 a {
    color: inherit;
}

/* Add top padding to body content to avoid header overlap */
body {
    padding-top: var(--header-height);
}

/* HEADER STYLES */
.newhome-header {
    width: 100%;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5vw;
    height: var(--header-height);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    height: 36px;
    width: auto;
    margin-right: 12px;
}



@media screen and (max-width:768px) {
    .logo {
        height: 30px;
    }
}


.header-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    margin: 0 0.5vw;
    transition: color 0.2s;
}

.header-link:hover {
    color: var(--brown);
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-link {
    font-size: 1.15rem;
}

.try-btn {
    font-size: 1.2rem;
}

.try-btn {
    background: var(--brown);
    white-space: nowrap;
    color: var(--white);
    width: auto;
    font-weight: 600;
    padding: 0.7em 2em;
    border-radius: 2em;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(122, 10, 10, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
    margin-left: 1vw;
    display: inline-block;
}

@media screen and (max-width:768px) {
    .try-btn {
        padding: 0.5em 1.6em;
        font-size: 16px;
    }
}

.try-btn:hover {
    background: var(--brown-hover);
    box-shadow: 0 4px 16px rgba(122, 10, 10, 0.15);
}


nav.mobile-menu a {
    font-size: 18px;
}

.logoutbtn {
    font-size: 18px;
}

.footer__logo-text {
    font-size: 1.25rem;
}

.footer__heading {
    font-size: 20px;
}

.footer__link {
    font-size: 16px;
}

.footer__address,
.footer__patents {
    font-size: 16px;
}

.footer__patents {
    margin-top: 20px;
}

.butt {
    font-size: 24px;
}



.desktop-only,
.desktop-only-inline {
    display: none;
}

nav.mobile-menu {
    padding-top: 1em;
    padding-bottom: 1em;
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    background-color: var(--white);
    z-index: 10;
}

nav.mobile-menu form {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

nav.mobile-menu a {
    display: block;
    padding: 0.5em;
    font-weight: 500;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

nav.mobile-menu a:hover,
nav.mobile-menu a:active {
    color: var(--brown);
}

nav.mobile-menu.active {
    display: flex;
}

@media screen and (min-width: 1280px) {
    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }
}

@media screen and (min-width: 1280px) {
    .desktop-only-inline {
        display: inline;
    }
}

.logoutbtn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

.logoutbtn:hover {
    color: var(--brown);
}

.footer {
    background-color: var(--brown);
    /* deep red */
    color: var(--white);
    padding: 2rem 1rem;
    font-family: sans-serif;
    min-height: 350px;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 50px;
}

.footer__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.footer__logo-img {
    width: 100px;
    height: auto;
    margin-right: 100px;
}

.footer__logo-text {
    font-weight: 500;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer__nav .footer__cols {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer__col {
    min-width: 120px;
}

.footer__heading {
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__item {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: inherit;
    text-decoration: none;
}

.footer__address {}

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


.dummy-page {
    max-width: 1280px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    margin-top: 100px;
    margin-bottom: 100px;
}

.butt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: var(--brown);
    color: var(--white);
    border: none;
    border-radius: 16px;
    padding: 16px 32px;
    cursor: pointer;
}

.butt:hover {
    background-color: var(--brown-hover);
}

.paper {
    background-image: url('/images/newhome/top/bg.webp');
    background-repeat: repeat;
}

.mt-2 {
    margin-top: 2em;
}