.tn-newsletter {
    --tn-primary: #a0785c;
    --tn-button: #a0785c;
    --tn-dark: #2c3830;
    --tn-ink: #20221f;
    --tn-soft: #f4f4f3;
    --tn-eyebrow-size: 11px;
    --tn-title-size: 44px;
    --tn-title-mobile-size: 34px;
    --tn-description-size: 15px;
    --tn-label-size: 11px;
    --tn-input-size: 15px;
    --tn-button-size: 11px;
    --tn-interests-size: 12px;
    --tn-consent-size: 11px;
    --tn-message-size: 13px;
    box-sizing: border-box;
    width: 100%;
    margin: 64px 0;
    scroll-margin-top: 120px;
    font-family: inherit;
}

.tn-newsletter *,
.tn-newsletter *::before,
.tn-newsletter *::after {
    box-sizing: border-box;
}

.tn-newsletter__inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(430px, 1.15fr);
    gap: clamp(34px, 5.5vw, 78px);
    align-items: center;
    padding: clamp(40px, 6vw, 74px);
    background: var(--tn-dark);
    color: #fff;
}

.tn-newsletter__inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -155px;
    right: -105px;
    width: 345px;
    height: 345px;
    border: 1px solid rgba(255, 255, 255, .09);
    transform: rotate(45deg);
    pointer-events: none;
}

.tn-newsletter__inner::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 92px;
    bottom: -195px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(160, 120, 92, .28);
    transform: rotate(45deg);
    pointer-events: none;
}

.tn-newsletter__copy,
.tn-newsletter__panel {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.tn-newsletter__eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: var(--tn-primary) !important;
    font-size: var(--tn-eyebrow-size) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.tn-newsletter__eyebrow::before {
    content: "";
    display: block;
    flex: 0 0 38px;
    width: 38px;
    height: 1px;
    background: var(--tn-primary);
}

.tn-newsletter__title {
    max-width: 650px;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: var(--tn-title-size) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em;
}

.tn-newsletter__description {
    max-width: 560px;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: var(--tn-description-size) !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
}

.tn-newsletter__panel {
    padding: clamp(25px, 4vw, 38px);
    background: #fff;
    box-shadow: 0 22px 58px rgba(11, 17, 13, .20);
}

.tn-newsletter__form {
    margin: 0 !important;
    padding: 0 !important;
}

.tn-newsletter__row {
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.tn-newsletter__field {
    flex: 1 1 auto;
    min-width: 0;
}

.tn-newsletter__label,
.tn-newsletter__interests-label {
    display: block;
    width: 100%;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: var(--tn-dark) !important;
    font-size: var(--tn-label-size) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tn-newsletter__input {
    display: block;
    width: 100%;
    min-height: 58px;
    margin: 0 !important;
    padding: 14px 17px !important;
    border: 1px solid #dededc !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    background: var(--tn-soft) !important;
    color: var(--tn-ink) !important;
    font-family: inherit !important;
    font-size: var(--tn-input-size) !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    box-shadow: none !important;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.tn-newsletter__input::placeholder {
    color: #727570 !important;
    opacity: 1;
}

.tn-newsletter__input:hover {
    background: #f0f0ef !important;
}

.tn-newsletter__input:focus {
    position: relative;
    z-index: 2;
    outline: 0;
    border-color: var(--tn-primary) !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px var(--tn-primary) !important;
}

.tn-newsletter__button {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 58px;
    margin: 0 !important;
    padding: 14px 22px !important;
    border: 1px solid var(--tn-button) !important;
    border-radius: 0 !important;
    background: var(--tn-button) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: var(--tn-button-size) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.tn-newsletter__button::after {
    display: none !important;
}

.tn-newsletter__button:hover,
.tn-newsletter__button:focus {
    border-color: var(--tn-dark) !important;
    background: var(--tn-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.tn-newsletter__button-arrow {
    display: inline-block;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease;
}

.tn-newsletter__button:hover .tn-newsletter__button-arrow,
.tn-newsletter__button:focus .tn-newsletter__button-arrow {
    transform: translateX(3px);
}

.tn-newsletter__interests {
    min-width: 0;
    margin: 20px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.tn-newsletter__required {
    color: var(--tn-primary);
}

.tn-newsletter__interests-help {
    margin: -2px 0 11px !important;
    padding: 0 !important;
    color: #737670 !important;
    font-size: var(--tn-interests-size) !important;
    line-height: 1.45 !important;
}

.tn-newsletter__interest-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.tn-newsletter__interest {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    margin: 0 !important;
    padding: 10px 11px !important;
    border: 1px solid #e0e0dd;
    border-radius: 0;
    background: #f7f7f6;
    color: #4f534e !important;
    font-size: var(--tn-interests-size) !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.tn-newsletter__interest:hover {
    border-color: #c8c9c5;
    background: #fff;
}

.tn-newsletter__interest:has(.tn-newsletter__interest-checkbox:checked),
.tn-newsletter__interest.is-selected {
    border-color: var(--tn-primary);
    background: #faf6f2;
    color: var(--tn-dark) !important;
}

.tn-newsletter__interest-checkbox,
.tn-newsletter__checkbox {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #b8bab5 !important;
    border-radius: 0 !important;
    background: #fff !important;
    cursor: pointer;
}

.tn-newsletter__checkbox {
    margin-top: 1px !important;
}

.tn-newsletter__interest-checkbox:checked,
.tn-newsletter__checkbox:checked {
    border-color: var(--tn-primary) !important;
    background: var(--tn-primary) !important;
}

.tn-newsletter__interest-checkbox:checked::after,
.tn-newsletter__checkbox:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.tn-newsletter__interest-checkbox:focus-visible,
.tn-newsletter__checkbox:focus-visible {
    outline: 2px solid var(--tn-primary);
    outline-offset: 2px;
}

.tn-newsletter__consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    color: #696b67 !important;
    font-size: var(--tn-consent-size) !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    cursor: pointer;
}

.tn-newsletter__message {
    margin: 0 0 18px !important;
    padding: 13px 15px !important;
    border: 0;
    border-left: 3px solid;
    border-radius: 0;
    background: #f4f4f4;
    font-size: var(--tn-message-size) !important;
    line-height: 1.5 !important;
}

.tn-newsletter__message--success {
    border-color: #258746;
    color: #185f31;
    background: #f0f8f2;
}

.tn-newsletter__message--info {
    border-color: var(--tn-primary);
    color: #72533d;
    background: #faf6f2;
}

.tn-newsletter__message--error {
    border-color: #b32d2e;
    color: #8a2424;
    background: #fff3f3;
}

.tn-newsletter__hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 1100px) {
    .tn-newsletter__inner {
        grid-template-columns: minmax(0, .78fr) minmax(390px, 1.22fr);
        gap: 34px;
    }

    .tn-newsletter__row {
        display: block;
    }

    .tn-newsletter__input {
        border-right: 1px solid #dededc !important;
    }

    .tn-newsletter__button {
        width: 100%;
        margin-top: 10px !important;
    }
}

@media (max-width: 860px) {
    .tn-newsletter__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tn-newsletter__description {
        max-width: 680px;
    }
}

@media (max-width: 700px) {
    .tn-newsletter {
        margin: 42px 0;
    }

    .tn-newsletter__inner {
        padding: 34px 22px;
    }

    .tn-newsletter__title {
        font-size: var(--tn-title-mobile-size) !important;
    }

    .tn-newsletter__panel {
        padding: 22px 18px;
    }

    .tn-newsletter__interest-options {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tn-newsletter__input,
    .tn-newsletter__interest,
    .tn-newsletter__button,
    .tn-newsletter__button-arrow {
        transition: none;
    }
}
