.content-page {
    min-width: 320px;
    background: #faf8f3;
}

.content-header {
    position: relative;
    display: flex;
    min-height: 350px;
    align-items: flex-end;
    color: #fff;
    background: #111411 url('/assets/galpho-app-gallery.jpg') center 34% / cover no-repeat;
    isolation: isolate;
}

.content-header::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(180deg, rgba(18, 14, 12, .32), rgba(18, 14, 12, .94));
}

.content-header__inner {
    width: 100%;
    padding-top: 110px;
    padding-bottom: 48px;
}

.content-header__inner h1 {
    max-width: 820px;
    margin: 0;
    font-size: 64px;
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.content-header__inner > p:not(.eyebrow) {
    max-width: 680px;
    margin: 18px 0 0;
    color: #dfe5df;
    font-size: 18px;
    line-height: 1.55;
}

.content-header__inner--article {
    max-width: 980px;
    margin-inline: auto;
}

.content-back {
    display: inline-block;
    margin-bottom: 34px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.content-band {
    padding: 56px 0 80px;
}

.news-list {
    display: grid;
    border-top: 1px solid #cfd3cd;
}

.news-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 100px;
    gap: 26px;
    align-items: start;
    padding: 30px 0;
    border-bottom: 1px solid #cfd3cd;
}

.news-item time {
    color: #697069;
    font-size: 12px;
}

.news-item h2 {
    margin: 2px 0 9px;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0;
}

.news-item h2 a,
.news-item__link {
    color: #191c19;
    text-decoration: none;
}

.news-item h2 a:hover,
.news-item__link:hover {
    color: #c84519;
}

.news-item div > p:last-child {
    max-width: 760px;
    margin: 0;
    color: #5a625b;
    line-height: 1.6;
}

.news-item__link {
    font-size: 12px;
    font-weight: 750;
    text-align: right;
}

.content-empty {
    padding: 70px 0;
    text-align: center;
}

.content-empty h2 {
    margin: 0 0 8px;
    font-size: 25px;
    letter-spacing: 0;
}

.content-empty p {
    margin: 0;
    color: #697069;
}

.article-body {
    max-width: 820px;
    color: #303630;
    font-size: 18px;
    line-height: 1.85;
    white-space: normal;
}

.feedback-layout {
    display: grid;
    grid-template-columns: minmax(250px, .72fr) minmax(430px, 1.28fr);
    gap: 72px;
    align-items: start;
}

.feedback-context h2 {
    margin: 0 0 24px;
    font-size: 26px;
    letter-spacing: 0;
}

.feedback-context dl {
    margin: 0;
}

.feedback-context dl div {
    padding: 18px 0;
    border-top: 1px solid #cfd3cd;
}

.feedback-context dt {
    margin-bottom: 5px;
    font-weight: 750;
}

.feedback-context dd {
    margin: 0;
    color: #606861;
    line-height: 1.55;
}

.feedback-form {
    display: grid;
    gap: 16px;
    padding: 26px;
    background: #fff;
    border: 1px solid #d2d6d1;
    border-radius: 8px;
    box-shadow: 0 20px 54px rgba(45, 35, 28, .07);
}

.feedback-form label {
    display: grid;
    gap: 7px;
    color: #303630;
    font-size: 13px;
    font-weight: 700;
}

.feedback-form label span {
    color: #727972;
    font-weight: 400;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    width: 100%;
    min-height: 43px;
    padding: 10px 11px;
    color: #191c19;
    background: #fff;
    border: 1px solid #bfc5bf;
    border-radius: 5px;
    font: inherit;
    letter-spacing: 0;
    outline: none;
}

.feedback-form textarea {
    min-height: 170px;
    resize: vertical;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
    border-color: #27669a;
    box-shadow: 0 0 0 2px rgba(39, 102, 154, .14);
}

.feedback-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feedback-form .feedback-check {
    display: flex;
    min-height: 30px;
    grid-template-columns: none;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    font-weight: 500;
}

.feedback-check input {
    width: 17px;
    min-height: 17px;
    accent-color: #e7602b;
}

.feedback-form .button {
    width: fit-content;
    border: 0;
    cursor: pointer;
}

.feedback-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.content-success,
.content-errors {
    display: grid;
    gap: 3px;
    padding: 13px 14px;
    color: #0b5e4a;
    background: #e6f4ef;
    border: 1px solid #b7ddce;
    border-radius: 5px;
}

.content-errors {
    color: #8a3026;
    background: #fff0ed;
    border-color: #efc2ba;
}

.content-errors p {
    margin: 0;
}

.content-header--error {
    min-height: calc(100vh - 250px);
}

.content-header--error .button {
    margin-top: 24px;
}

@media (max-width: 760px) {
    .content-header {
        min-height: 315px;
    }

    .content-header__inner {
        padding-top: 100px;
        padding-bottom: 36px;
    }

    .content-header__inner h1 {
        font-size: 40px;
    }

    .content-header__inner > p:not(.eyebrow) {
        font-size: 16px;
    }

    .content-band {
        padding: 40px 0 60px;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 24px 0;
    }

    .news-item__link {
        text-align: left;
    }

    .feedback-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }
}

@media (max-width: 520px) {
    .feedback-form {
        padding: 19px;
    }

    .feedback-form__row {
        grid-template-columns: 1fr;
    }
}

/* LocalSend-style content page palette */
.content-page {
    background: #f9fafb;
    color: #111827;
}

.content-header {
    background-color: #050807;
}

.content-header::before {
    background: linear-gradient(180deg, rgba(5, 8, 7, 0.42), rgba(14, 21, 19, 0.96));
}

.content-header__inner > p:not(.eyebrow),
.article-body,
.news-item div > p:last-child,
.feedback-context dd,
.content-empty p {
    color: #4b5563;
}

.content-header__inner > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
}

.content-band {
    background: #f9fafb;
}

.news-list,
.news-item,
.feedback-context dl div {
    border-color: #d1d5db;
}

.news-item time {
    color: #6b7280;
}

.news-item h2 a,
.news-item__link,
.feedback-context h2,
.feedback-context dt {
    color: #111827;
}

.news-item h2 a:hover,
.news-item__link:hover {
    color: #0f766e;
}

.feedback-form {
    background: #ffffff;
    border-color: #d1d5db;
    border-radius: 8px;
    box-shadow: 0 20px 54px rgba(17, 24, 39, 0.07);
}

.feedback-form label {
    color: #111827;
}

.feedback-form label span {
    color: #6b7280;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    color: #111827;
    background: #ffffff;
    border-color: #d1d5db;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.16);
}

.feedback-check input {
    accent-color: #14b8a6;
}

.content-success {
    color: #05201c;
    background: #e7f3f0;
    border-color: #cce8e2;
}

.content-errors {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.faq-list summary::after {
    background: transparent;
    color: #006a60;
}
/* Galpho accent restore on content pages */
.news-item h2 a:hover,
.news-item__link:hover {
    color: #b6531e;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
    border-color: #ff8a3d;
    box-shadow: 0 0 0 2px rgba(255, 138, 61, 0.16);
}

.feedback-check input {
    accent-color: #ff8a3d;
}

.content-success {
    color: #0b5e4a;
    background: #e6f4ef;
    border-color: #b7ddce;
}

.faq-list summary::after {
    background: transparent;
    color: #b6531e;
}
/* Final dark LocalSend-style content pages with Galpho accents */
.content-page,
.content-band {
    background: #050807 !important;
    color: #f9fafb !important;
}

.content-header,
.content-header--error {
    background-color: #071210 !important;
}

.content-header::before {
    background: linear-gradient(180deg, rgba(5, 8, 7, 0.52), rgba(5, 8, 7, 0.96)) !important;
}

.content-header__inner h1,
.content-empty h2,
.feedback-context h2,
.feedback-context dt,
.news-item h2 a,
.news-item__link,
.feedback-form label {
    color: #f9fafb !important;
}

.content-header__inner > p:not(.eyebrow),
.article-body,
.news-item div > p:last-child,
.feedback-context dd,
.content-empty p,
.news-item time,
.feedback-form label span {
    color: #a0b0ad !important;
}

.news-list,
.news-item,
.feedback-context dl div {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.feedback-form {
    background: #0e1b18 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    background: #071210 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f9fafb !important;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
    border-color: #ff8a3d !important;
    box-shadow: 0 0 0 2px rgba(255, 138, 61, 0.18) !important;
}

.feedback-check input {
    accent-color: #ff8a3d !important;
}

.news-item h2 a:hover,
.news-item__link:hover,
.content-back {
    color: #ffb37d !important;
}

.content-success {
    color: #dffcf5 !important;
    background: #0d2a24 !important;
    border-color: rgba(130, 213, 200, 0.28) !important;
}

.content-errors {
    color: #fecaca !important;
    background: #2b1111 !important;
    border-color: rgba(254, 202, 202, 0.28) !important;
}