html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
    line-height: 1.45;
    overscroll-behavior-y: none;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.grammit-header {
    width: 100%;
    background: #2c2c2c;
    border-bottom: 1px solid #2c2c2c;
    color: #ddd;
    line-height: 1.45px;
    display: block;
}

.grammit-header-inner {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 45px;
}

.grammit-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ddd;
    text-decoration: none;
    font-size: 26px;
    font-weight: 700;
}

.grammit-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.grammit-nav a {
    color: #ddd;
    text-decoration: none;

    font-size: 1rem;
    font-weight: 600;
}

.grammit-nav a:hover {
    color: #ffdf00;
}

.grammit-brand img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.grammit-chrome-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 54px;
    padding: 0 20px;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #ddd;
    background: transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.grammit-chrome-button:hover {
    background: #ffdf00;
    color: #111;
}

.bg-primary-color-dark {
    background: #ffdf00 !important;
    color: #111 !important;
}

.box {
    position: relative;
    min-height: 65vh;
    overflow: hidden;
    background: #2c2c2c;
}

.box-content {
    position: relative;
    z-index: 5;
    max-width: 1300px;
    min-height: 65vh;
    margin: 0 auto;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.box-text {
    max-width: 650px;
}

.box-text h1 {
    margin: 0 0 45px;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
}

.box-text p {
    margin: 0 0 25px;
    font-size: 24px;
    line-height: 1.55;
    color: #eeeeee;
}

.box-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 17px 28px;
    border-radius: 5px;
    background: #ffdf00;
    color: #111111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.box-button:hover {
    background: #ffe633;
    transform: translateY(-2px);
}

.box-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow:
        0 0 25px rgba(255, 223, 0, 0.25),
        0 20px 50px rgba(0, 0, 0, 0.5);
}

.uninstall-title {
    margin: 40px 24px 0;
    font-size: 32px;
    text-align: center;
}

.uninstall-container {
    box-sizing: border-box;
    max-width: 960px;
    margin: 0 auto 20px;
    padding: 0 24px;
    gap: 10px 48px;
    display: grid;
    /* minmax(0, 1fr) keeps wide children from stretching a track past the viewport */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.uninstall-container h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.questions {
    grid-column: 1;
    grid-row: 1;
}

.thank-you {
    grid-column: 2;
    grid-row: 1;
    margin-top: 30px;
}

.feedback {
    grid-column: 1;
    grid-row: 2;
}

.email {
    grid-column: 2;
    grid-row: 2;
}

.submit {
    grid-column: 1;
    grid-row: 3;
}

.thank-you-box {
    padding: 10px 30px;
    border: solid 1px #ddd;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    font-size: larger;
}

.field-label {
    margin-top: 15px;
}

textarea, input {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}

#feedback, #email {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 15px;
    padding: 15px;
    border: solid 1px #ccc;
    border-radius: 6px;
    line-height: 140%;
}

#feedback {
    resize: vertical;
}

.send-feedback {
    display: block;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 4px;
    color: #111;
    cursor: pointer;
}

.hidden {
    max-height: 0px !important;
}

.section {
    margin-top: 10px;
    margin-bottom: 10px;
}

.section input {
    margin-right: 12px;
    transform: scale(1.2);
}

.answer {
    transition: all;
    transition-duration: 300ms;
    overflow: hidden;
    max-height: 600px;
    background-color: #f6f9fe;
    border-radius: 8px;
    margin-top: 12px;
}

.answer-inner {
    padding: 12px 18px;
}

#feedback:focus {
    outline-color: #ffdf00;
}

#email:focus {
    outline-color: #ffdf00;
}

.examples {
    display: grid;
    padding: 20px 0px;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    padding: 40px 10%;
    gap: 3rem;
}

.row:nth-child(even) {
    background-color: #f7f7f7;
}

.row .text {
    max-width: 600px;
    justify-self: center;
}

.row .text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.row .text p {
    font-size: 18px;
    line-height: 1.6;
}

.example-images {
    width: 100%;
    max-width: 600px;
    height: auto;
    justify-self: center;
}

.example-images:nth-child(odd) {
    transform: rotate(-1.5deg);
}

.example-images:nth-child(even) {
    transform: rotate(1.5deg);
}

.content {
    padding: 50px 200px;
}

.content h2, .support-content h2{
    font-size: 36px;
}
.content ul, .content p {
    font-size: 16px;
}
.content h3, .support-content p {
    font-size: 20px;
}

.support-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0 24px;
}

.support-icon {
    width: 256px;
    height: 256px;
    opacity: .3;
    margin-left: 20px;
    margin-bottom: 20px;
    float: right;
}

.support-text a:hover {
    color:#ffdf00;
}

.grammit-footer {
    width: 100%;
    background-color: #2c2c2c;
    margin-top: auto;
}

.footer-inner {
    max-width: 1300px;
    margin: 0.5rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.grammit-footer a {
    color: #ddd;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}

.grammit-footer a:hover {
    color: #ffdf00;
}

@media (max-width: 900px) {
    .grammit-header {
        height: 90px;
    }
    .grammit-header-inner {
        height: 100%;
        padding: 0 20px;
    }
    .nav-left {
        gap: 20px;
    }
    .grammit-brand {
        font-size: 25px;
    }
    .grammit-brand img {
        width: 36px;
        height: 36px;
    }
    .grammit-nav {
        gap: 15px;
    }
    .grammit-nav a {
        font-size: 14px;
    }
    .grammit-chrome-button {
        height: 44px;
        padding: 0 15px;
        font-size: 12px;
    }
    .content {
        padding: 30px 40px;
    }
    .support-icon {
        width: 180px;
        height: 180px;
    }
    .box-content {
        grid-template-columns: 1fr;
        padding-top: 60px;
        text-align: center;
    }
    .box-text {
        margin: 0 auto;
    }
    .box-text h1 {
        font-size: 38px;
    }
    .box-text p {
        font-size: 20px;
    }
    .uninstall-container {
        grid-template-columns: minmax(0, 1fr);
        max-width: 500px;
    }
    .questions {
        grid-column: 1;
        grid-row: 1;
    }
    .feedback {
        grid-column: 1;
        grid-row: 2;
    }
    .email {
        grid-column: 1;
        grid-row: 3;
    }
    .submit {
        grid-column: 1;
        grid-row: 4;
    }
    .thank-you {
        grid-column: 1;
        grid-row: 5;
    }
    .row {
        grid-template-columns: 1fr;
    }
    .row .text {
        order: 1;
    }
    .row .example-images {
        order: 2;
    }
    .example-images {
        margin: 0px 40px;
    }

}


@media (max-width: 600px) {
    .grammit-header {
        height: 72px;
    }
    .grammit-header-inner {
        padding: 0 16px;
    }
    .grammit-brand {
        font-size: 22px;
        gap: 8px;
    }
    .grammit-brand img {
        width: 32px;
        height: 32px;
    }
    .grammit-chrome-button {
        height: 40px;
        padding: 0 12px;
        font-size: 11px;
    }
    .content {
        padding: 20px 24px;
    }
    .content h2, .support-content h2 {
        font-size: 28px;
    }
    .content h3, .support-content p {
        font-size: 18px;
    }
    .content ul {
        padding-left: 22px;
    }
    .support-icon {
        float: none;
        display: block;
        width: 120px;
        height: 120px;
        margin: 30px auto 0;
    }
    .box-text h1 {
        font-size: 32px;
    }
    .box-text p {
        font-size: 18px;
    }
    .uninstall-title {
        margin-top: 30px;
        font-size: 26px;
    }
    .uninstall-container {
        padding: 0 20px;
    }
    .uninstall-container h4 {
        font-size: 1.25rem;
    }
    .thank-you-box {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .grammit-chrome-button {
        display: none;
    }
}
