/*
 * Tema visual global ViolaoFacil.com.br — curso de violão.
 * Carregar DEPOIS da folha de estilos atual em layout.php.
 * Paleta: creme, cacau, terracota e mel; sem azul como cor de marca.
 */
:root {
    color-scheme: light;
    --brand-cream: #F7F2E9;
    --brand-paper: #FFFCF7;
    --brand-surface: #FFFFFF;
    --brand-surface-warm: #F1E9DD;
    --brand-ink: #30231E;
    --brand-muted: #75665D;
    --brand-line: #E6D9CA;
    --brand-terracotta: #B65F40;
    --brand-terracotta-dark: #91472F;
    --brand-honey: #D6A354;
    --brand-sage: #6E7259;
    --brand-shadow: 0 18px 50px rgba(54, 37, 29, .09);
    --brand-radius-sm: 12px;
    --brand-radius-md: 20px;
    --brand-radius-lg: 30px;

    /* Aliases para folhas antigas que usam tokens comuns. */
    --primary: var(--brand-terracotta);
    --primary-color: var(--brand-terracotta);
    --brand: var(--brand-terracotta);
    --accent: var(--brand-terracotta);
    --blue: var(--brand-terracotta);
    --blue-600: var(--brand-terracotta-dark);
    --text: var(--brand-ink);
    --muted: var(--brand-muted);
    --background: var(--brand-cream);
    --surface: var(--brand-paper);
    --border: var(--brand-line);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    background: var(--brand-cream);
    color: var(--brand-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: var(--brand-ink);
    background: #EAD2B8;
}

a {
    color: var(--brand-terracotta-dark);
    text-decoration-color: rgba(145, 71, 47, .35);
    text-underline-offset: .18em;
}

a:hover {
    color: var(--brand-terracotta-dark);
}

:focus-visible {
    outline: 3px solid var(--brand-honey);
    outline-offset: 3px;
}

/* Recolore componentes comuns sem depender do HTML de uma página específica. */
header,
.site-header,
.site-nav {
    color: var(--brand-ink);
    background-color: rgba(255, 252, 247, .96);
    border-color: var(--brand-line);
}

button,
input[type="submit"],
input[type="button"],
.btn-primary,
.button-primary,
.primary-button {
    border-color: var(--brand-terracotta) !important;
    background-color: var(--brand-terracotta) !important;
    color: #FFFFFF !important;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn-primary:hover,
.button-primary:hover,
.primary-button:hover {
    border-color: var(--brand-terracotta-dark) !important;
    background-color: var(--brand-terracotta-dark) !important;
}

input,
textarea,
select {
    color: var(--brand-ink);
    background-color: var(--brand-paper);
    border-color: var(--brand-line);
}

/* Cartões em destaque que também aparecem nas páginas já existentes. */
.song-card.spotlight,
.spotlight {
    border-color: var(--brand-terracotta) !important;
    background: linear-gradient(135deg, var(--brand-terracotta-dark), var(--brand-terracotta)) !important;
    color: #FFFFFF !important;
}

.paper-section {
    background-color: var(--brand-surface-warm);
}

/* Acessibilidade: link para pular navegação no novo conteúdo. */
.gl-skip-link {
    position: absolute;
    z-index: 1000;
    top: .5rem;
    left: .5rem;
    padding: .7rem 1rem;
    transform: translateY(-150%);
    border-radius: 999px;
    background: var(--brand-ink);
    color: #FFFFFF;
}

.gl-skip-link:focus {
    transform: translateY(0);
}

/* ---------- Landing do curso ---------- */
.guitar-landing {
    overflow: clip;
    background: var(--brand-cream);
    color: var(--brand-ink);
}

.guitar-landing * {
    box-sizing: border-box;
}

.gl-shell {
    width: min(100% - 2rem, 1160px);
    margin-inline: auto;
}

.gl-section {
    padding-block: 4.25rem;
}

.gl-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 3.5rem 0 3rem;
    background:
        radial-gradient(ellipse at 92% 12%, rgba(214, 163, 84, .19), transparent 35%),
        radial-gradient(ellipse at 6% 92%, rgba(182, 95, 64, .12), transparent 34%),
        var(--brand-cream);
}

.gl-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.gl-hero-copy {
    max-width: 660px;
}

.gl-kicker {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1rem;
    color: var(--brand-terracotta-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.35;
}

.gl-kicker-dot {
    width: .55rem;
    height: .55rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--brand-honey);
    box-shadow: 0 0 0 5px rgba(214, 163, 84, .16);
}

.gl-hero h1 {
    max-width: 12ch;
    margin: 0;
    color: var(--brand-ink);
    font-size: clamp(2.55rem, 10vw, 5.6rem);
    font-weight: 780;
    letter-spacing: -.065em;
    line-height: .99;
}

.gl-lead {
    max-width: 43rem;
    margin: 1.35rem 0 0;
    color: var(--brand-muted);
    font-size: clamp(1.02rem, 2.3vw, 1.18rem);
    line-height: 1.72;
}

.gl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.65rem;
}

.gl-button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: .85rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .94rem;
    font-weight: 750;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.gl-button:hover {
    transform: translateY(-2px);
}

.gl-button-primary {
    border-color: var(--brand-terracotta);
    background: var(--brand-terracotta);
    box-shadow: 0 9px 22px rgba(145, 71, 47, .2);
    color: #FFFFFF !important;
}

.gl-button-primary:hover {
    border-color: var(--brand-terracotta-dark);
    background: var(--brand-terracotta-dark);
    color: #FFFFFF !important;
}

.gl-button-quiet {
    border-color: var(--brand-line);
    background: rgba(255, 252, 247, .7);
    color: var(--brand-ink) !important;
}

.gl-button-quiet:hover {
    background: var(--brand-paper);
}

.gl-proof-points {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem 1.5rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.gl-proof-points li {
    display: grid;
    gap: .1rem;
}

.gl-proof-points strong {
    color: var(--brand-ink);
    font-size: 1.02rem;
    letter-spacing: -.025em;
}

.gl-proof-points span {
    color: var(--brand-muted);
    font-size: .78rem;
}

.gl-product {
    position: relative;
    width: min(100%, 470px);
    justify-self: center;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: var(--brand-radius-lg);
    background: linear-gradient(145deg, #433029, #2F231F 68%);
    box-shadow: 0 28px 75px rgba(53, 36, 29, .24);
    color: #FFF9EF;
    transform: rotate(.6deg);
}

.gl-product-topline,
.gl-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gl-product-topline {
    min-height: 2rem;
    color: #DCC8B7;
}

.gl-window-dots {
    display: flex;
    gap: .28rem;
}

.gl-window-dots i {
    width: .38rem;
    height: .38rem;
    border-radius: 50%;
    background: #8A6D5C;
}

.gl-window-dots i:first-child {
    background: var(--brand-honey);
}

.gl-product-label,
.gl-product-overline,
.gl-product-footer,
.gl-next-lesson small {
    font-size: .59rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.gl-product-mark {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border-radius: .65rem;
    background: var(--brand-terracotta);
    color: white;
}

.gl-product-welcome {
    margin-top: .8rem;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1.35rem;
    background: linear-gradient(120deg, rgba(182, 95, 64, .42), rgba(214, 163, 84, .2));
}

.gl-product-overline {
    color: #EBC99F;
}

.gl-product-welcome h2 {
    margin: .55rem 0 .25rem;
    color: #FFF9EF;
    font-size: 1.55rem;
    letter-spacing: -.04em;
}

.gl-product-welcome p {
    margin: 0;
    color: #E7D6C8;
    font-size: .84rem;
}

.gl-next-lesson {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: .8rem;
    padding: .8rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .07);
}

.gl-play-icon {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .8rem;
    background: var(--brand-honey);
    color: var(--brand-ink);
    font-size: .75rem;
}

.gl-next-lesson > span:nth-child(2) {
    display: grid;
    gap: .25rem;
}

.gl-next-lesson small {
    color: #CFB9A8;
}

.gl-next-lesson strong {
    color: #FFF9EF;
    font-size: .87rem;
}

.gl-arrow {
    margin-left: auto;
    color: #E9C691;
}

.gl-mini-chords {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .55rem;
    margin-top: .8rem;
}

.gl-mini-chords > span {
    display: grid;
    gap: .35rem;
    justify-items: center;
    padding: .65rem .4rem .55rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: .8rem;
    background: rgba(255, 255, 255, .055);
}

.gl-mini-chords b {
    color: #F3D9B8;
    font-size: .78rem;
}

.gl-mini-chords i {
    position: relative;
    display: block;
    width: 2.3rem;
    height: 1.5rem;
    border: 1px solid rgba(236, 215, 195, .72);
    border-radius: .12rem;
    background: repeating-linear-gradient(to bottom, transparent 0 calc(25% - 1px), rgba(236, 215, 195, .55) calc(25% - 1px) 25%);
}

.gl-mini-chords i::before {
    position: absolute;
    inset: 0;
    content: "";
    background: repeating-linear-gradient(to right, transparent 0 calc(20% - 1px), rgba(236, 215, 195, .55) calc(20% - 1px) 20%);
}

.gl-mini-chords em {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: .3rem;
    height: .3rem;
    margin: .1rem .17rem 0;
    border-radius: 50%;
    background: var(--brand-honey);
}

.gl-product-footer {
    gap: .35rem;
    margin-top: .85rem;
    padding: .2rem .2rem 0;
    color: #C6AE9D;
    font-size: .49rem;
}

.gl-product-footer span:last-child {
    color: var(--brand-honey);
    font-size: .9rem;
}

.gl-product-sticker {
    position: absolute;
    top: 5.4rem;
    right: -.65rem;
    display: grid;
    width: 4.1rem;
    height: 4.1rem;
    place-content: center;
    border: 4px solid var(--brand-cream);
    border-radius: 50%;
    background: var(--brand-honey);
    color: var(--brand-ink);
    font-size: .68rem;
    font-weight: 850;
    line-height: 1.08;
    text-align: center;
    transform: rotate(8deg);
}

.gl-hero-decoration {
    position: absolute;
    z-index: -1;
    width: 11rem;
    height: 11rem;
    border: 1px solid rgba(182, 95, 64, .17);
    border-radius: 50%;
}

.gl-decoration-one {
    top: 12%;
    right: -7rem;
}

.gl-decoration-two {
    bottom: -9rem;
    left: -7rem;
    width: 15rem;
    height: 15rem;
    border-color: rgba(214, 163, 84, .24);
}

.gl-section-heading {
    max-width: 710px;
    margin-bottom: 1.8rem;
}

.gl-section-heading h2,
.gl-free-heading h2,
.gl-plan-copy h2 {
    margin: 0;
    color: var(--brand-ink);
    font-size: clamp(1.85rem, 6.2vw, 3.4rem);
    font-weight: 760;
    letter-spacing: -.055em;
    line-height: 1.04;
}

.gl-section-heading > p:last-child,
.gl-free-heading > div > p:last-child,
.gl-plan-copy > p:not(.gl-kicker) {
    max-width: 42rem;
    margin: .9rem 0 0;
    color: var(--brand-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.gl-benefits {
    background: var(--brand-paper);
}

.gl-benefit-grid {
    display: grid;
    gap: .85rem;
}

.gl-benefit-card {
    padding: 1.25rem;
    border: 1px solid var(--brand-line);
    border-radius: var(--brand-radius-md);
    background: #FFFFFF;
}

.gl-benefit-featured {
    border-color: rgba(182, 95, 64, .35);
    background: #F8EDE5;
}

.gl-icon-tile {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: .9rem;
    background: #F1E4D4;
    color: var(--brand-terracotta-dark);
    font-size: .86rem;
    font-weight: 850;
}

.gl-benefit-card h3 {
    margin: 1rem 0 .4rem;
    font-size: 1.15rem;
    letter-spacing: -.025em;
}

.gl-benefit-card p {
    margin: 0;
    color: var(--brand-muted);
    font-size: .92rem;
    line-height: 1.65;
}

.gl-path-section {
    background: var(--brand-cream);
}

.gl-section-heading-split {
    display: grid;
    gap: .8rem;
    align-items: end;
    max-width: none;
}

.gl-section-heading-split > p {
    margin: 0 !important;
}

.gl-module-grid {
    display: grid;
    gap: .65rem;
}

.gl-module-card {
    border: 1px solid var(--brand-line);
    border-radius: var(--brand-radius-sm);
    background: rgba(255, 252, 247, .86);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.gl-module-card[open] {
    border-color: rgba(182, 95, 64, .44);
    box-shadow: 0 9px 24px rgba(54, 37, 29, .055);
}

.gl-module-card summary {
    display: flex;
    min-height: 4rem;
    align-items: center;
    gap: .75rem;
    padding: .8rem .9rem;
    cursor: pointer;
    list-style: none;
}

.gl-module-card summary::-webkit-details-marker {
    display: none;
}

.gl-module-number {
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .7rem;
    background: var(--brand-surface-warm);
    color: var(--brand-terracotta-dark);
    font-size: .7rem;
    font-weight: 850;
}

.gl-module-title {
    flex: 1;
    font-size: .9rem;
    font-weight: 720;
    line-height: 1.35;
}

.gl-module-toggle {
    color: var(--brand-terracotta-dark);
    font-size: 1.35rem;
    transition: transform .18s ease;
}

.gl-module-card[open] .gl-module-toggle {
    transform: rotate(45deg);
}

.gl-module-card ul {
    display: grid;
    gap: .6rem;
    margin: 0;
    padding: 0 1rem 1rem 3.75rem;
    list-style: none;
}

.gl-module-card li {
    display: flex;
    gap: .55rem;
    color: var(--brand-muted);
    font-size: .84rem;
    line-height: 1.45;
}

.gl-module-card li span {
    color: var(--brand-terracotta);
}

.gl-how-section {
    background: var(--brand-surface-warm);
}

.gl-how-layout {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.gl-steps {
    display: grid;
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gl-steps li {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1rem;
    border: 1px solid rgba(230, 217, 202, .9);
    border-radius: var(--brand-radius-sm);
    background: rgba(255, 252, 247, .82);
}

.gl-steps li > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-terracotta);
    color: white;
    font-size: .83rem;
    font-weight: 800;
}

.gl-steps strong {
    font-size: .94rem;
}

.gl-steps p {
    margin: .25rem 0 0;
    color: var(--brand-muted);
    font-size: .86rem;
    line-height: 1.5;
}

.gl-plan-section {
    background: var(--brand-paper);
}

.gl-plan-card {
    display: grid;
    gap: 2rem;
    padding: 1.25rem;
    border-radius: var(--brand-radius-lg);
    background: linear-gradient(140deg, #382921, #4B3429);
    box-shadow: var(--brand-shadow);
    color: #FFF9EF;
}

.gl-plan-copy .gl-kicker {
    color: #E8BB85;
}

.gl-plan-copy h2 {
    max-width: 12ch;
    color: #FFF9EF;
}

.gl-plan-copy > p:not(.gl-kicker) {
    color: #E4D3C4;
}

.gl-plan-includes {
    display: grid;
    gap: .7rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.gl-plan-includes li {
    display: flex;
    gap: .65rem;
    color: #F4E7D9;
    font-size: .9rem;
}

.gl-plan-includes span {
    color: #E8BB85;
    font-weight: 900;
}

.gl-price-box {
    align-self: center;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: var(--brand-radius-md);
    background: var(--brand-paper);
    color: var(--brand-ink);
}

.gl-price-caption {
    color: var(--brand-terracotta-dark);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .13em;
}

.gl-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem;
    margin: .55rem 0 0;
}

.gl-price strong {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
    letter-spacing: -.07em;
    line-height: 1;
}

.gl-price span {
    color: var(--brand-muted);
    font-size: 1rem;
}

.gl-price-note {
    margin: .7rem 0 1rem;
    color: var(--brand-muted);
    font-size: .84rem;
}

.gl-button-full {
    width: 100%;
    min-height: 3.5rem;
    border-radius: .95rem;
}

.gl-price-box > small {
    display: block;
    margin-top: .75rem;
    color: var(--brand-muted);
    font-size: .72rem;
    text-align: center;
}

.gl-faq-section {
    background: var(--brand-cream);
}

.gl-faq-layout {
    display: grid;
    gap: 1rem;
}

.gl-faq-list {
    display: grid;
    gap: .55rem;
}

.gl-faq-list details {
    padding: 0 1rem;
    border: 1px solid var(--brand-line);
    border-radius: var(--brand-radius-sm);
    background: var(--brand-paper);
}

.gl-faq-list summary {
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-size: .92rem;
    font-weight: 720;
    list-style: none;
}

.gl-faq-list summary::-webkit-details-marker {
    display: none;
}

.gl-faq-list summary span {
    color: var(--brand-terracotta-dark);
    font-size: 1.25rem;
}

.gl-faq-list details[open] summary span {
    transform: rotate(45deg);
}

.gl-faq-list details p {
    margin: 0 0 1rem;
    color: var(--brand-muted);
    font-size: .88rem;
    line-height: 1.6;
}

.gl-free-section {
    padding-bottom: 5rem;
    background: #EFE5D8;
}

.gl-free-heading {
    display: grid;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.35rem;
}

.gl-free-heading h2 {
    max-width: 14ch;
}

.gl-free-heading > div > p:last-child {
    max-width: 42rem;
}

.gl-text-link,
.gl-free-footer a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--brand-terracotta-dark);
    font-size: .9rem;
    font-weight: 780;
    text-decoration: none;
}

.gl-category-row {
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    margin: 1rem 0 1.1rem;
    padding: .1rem .05rem .55rem;
    scrollbar-width: thin;
}

.gl-category-row a {
    display: inline-flex;
    min-height: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem;
    border: 1px solid rgba(145, 71, 47, .2);
    border-radius: 999px;
    background: rgba(255, 252, 247, .7);
    color: var(--brand-ink);
    font-size: .79rem;
    font-weight: 680;
    text-decoration: none;
}

.gl-category-row a span {
    color: var(--brand-terracotta);
}

.gl-song-grid {
    display: grid;
    gap: .6rem;
}

.gl-song-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid rgba(145, 71, 47, .13);
    border-radius: var(--brand-radius-sm);
    background: rgba(255, 252, 247, .82);
    color: var(--brand-ink) !important;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease;
}

.gl-song-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(54, 37, 29, .08);
}

.gl-song-icon {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .8rem;
    background: #F2E2D2;
    color: var(--brand-terracotta-dark);
    font-size: 1.1rem;
}

.gl-song-info {
    display: grid;
    min-width: 0;
    gap: .16rem;
}

.gl-song-info strong {
    overflow: hidden;
    font-size: .88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gl-song-info small {
    overflow: hidden;
    color: var(--brand-muted);
    font-size: .77rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gl-song-key {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 auto;
    place-items: center;
    margin-left: auto;
    border-radius: .6rem;
    background: #F1E9DD;
    color: var(--brand-terracotta-dark);
    font-size: .72rem;
    font-weight: 800;
}

.gl-free-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1.35rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(145, 71, 47, .2);
}

.gl-free-footer > span {
    color: var(--brand-muted);
    font-size: .82rem;
}

.gl-mobile-cta {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--brand-line);
    background: rgba(255, 252, 247, .97);
    box-shadow: 0 -8px 30px rgba(48, 35, 30, .08);
    backdrop-filter: blur(12px);
}

.gl-mobile-cta > span {
    display: grid;
    gap: .05rem;
}

.gl-mobile-cta strong {
    color: var(--brand-ink);
    font-size: .9rem;
}

.gl-mobile-cta small {
    color: var(--brand-muted);
    font-size: .7rem;
}

.gl-mobile-cta a {
    display: inline-flex;
    min-height: 2.7rem;
    align-items: center;
    gap: .45rem;
    padding: .65rem 1rem;
    border-radius: 999px;
    background: var(--brand-terracotta);
    color: #FFFFFF;
    font-size: .83rem;
    font-weight: 780;
    text-decoration: none;
}

@media (min-width: 640px) {
    .gl-shell {
        width: min(100% - 3rem, 1160px);
    }

    .gl-section {
        padding-block: 5.5rem;
    }

    .gl-hero {
        padding-block: 5rem;
    }

    .gl-benefit-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gl-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gl-plan-card {
        grid-template-columns: minmax(0, 1.3fr) minmax(270px, .8fr);
        gap: 2.5rem;
        padding: 2rem;
    }

    .gl-price-box {
        padding: 1.5rem;
    }

    .gl-faq-layout {
        grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
        gap: 2.5rem;
    }

    .gl-free-heading {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .gl-song-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .gl-shell {
        width: min(100% - 4rem, 1160px);
    }

    .gl-hero-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(370px, .85fr);
        gap: 3.5rem;
    }

    .gl-product {
        justify-self: end;
        padding: 1.2rem;
    }

    .gl-section-heading-split {
        grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr);
        gap: 3rem;
    }

    .gl-module-grid {
        gap: .75rem;
    }

    .gl-how-layout {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 4rem;
    }

    .gl-plan-card {
        padding: 3rem;
    }

    .gl-song-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gl-mobile-cta {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* ---------- Cabeçalho e navegação compartilhados ---------- */
.site-header {
    position: sticky;
    z-index: 60;
    top: 0;
    border-bottom: 1px solid var(--brand-line);
    background: rgba(255, 252, 247, .94);
    box-shadow: 0 4px 18px rgba(48, 35, 30, .035);
    backdrop-filter: blur(16px);
}

.site-header .header-row {
    display: flex;
    min-height: 4.4rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-header .brand {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
    gap: .52rem;
    color: var(--brand-ink);
    text-decoration: none;
}

.site-header .brand-mark {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    border-radius: .78rem;
    background: var(--brand-terracotta);
    box-shadow: 0 5px 12px rgba(145, 71, 47, .2);
    color: #FFFFFF;
    font-size: 1.1rem;
}

.site-header .brand-name {
    color: var(--brand-ink);
    font-size: .88rem;
    font-weight: 850;
    letter-spacing: -.035em;
}

.site-header .brand-name > span {
    color: var(--brand-terracotta-dark);
}

.site-header .brand-name small,
.footer-brand small {
    color: var(--brand-muted);
    font-size: .72em;
}

.site-header .site-nav {
    display: flex;
    align-items: center;
    gap: clamp(.8rem, 2vw, 1.65rem);
}

.site-header .site-nav a {
    color: var(--brand-muted);
    font-size: .86rem;
    font-weight: 680;
    text-decoration: none;
    transition: color .15s ease;
}

.site-header .site-nav a:hover,
.site-header .site-nav .site-nav-course {
    color: var(--brand-ink);
}

.site-header .site-nav .site-nav-free {
    color: var(--brand-terracotta-dark);
}

.site-header .account-nav {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: .5rem;
}

.site-header .account-link {
    display: inline-flex;
    min-height: 2.55rem;
    align-items: center;
    justify-content: center;
    padding: .6rem .85rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--brand-ink);
    font-size: .82rem;
    font-weight: 760;
    text-decoration: none;
    white-space: nowrap;
}

.site-header .account-link--login {
    border-color: var(--brand-line);
    background: var(--brand-paper);
}

.site-header .account-link--primary {
    border-color: var(--brand-terracotta);
    background: var(--brand-terracotta);
    box-shadow: 0 5px 14px rgba(145, 71, 47, .16);
    color: #FFFFFF;
}

.site-header .account-link--primary:hover {
    border-color: var(--brand-terracotta-dark);
    background: var(--brand-terracotta-dark);
    color: #FFFFFF;
}

.mobile-app-nav {
    display: none;
}

.flash-stack:empty {
    display: none;
}

.flash-stack:not(:empty) {
    padding-top: .6rem;
}

.flash {
    padding: .75rem 1rem;
    border: 1px solid var(--brand-line);
    border-radius: var(--brand-radius-sm);
    background: var(--brand-paper);
    color: var(--brand-ink);
    font-size: .88rem;
}

.flash--success {
    border-color: #C8D3B8;
    background: #F1F4EA;
}

.flash--error {
    border-color: #E3B7A7;
    background: #FBEEE9;
}

.flash--info {
    border-color: #E7D3AC;
    background: #FBF5E8;
}

.site-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--brand-line);
    background: var(--brand-ink);
    color: #FFF9EF;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem 1.2rem;
}

.footer-brand {
    color: #FFF9EF;
    font-weight: 820;
    text-decoration: none;
}

.footer-brand span {
    color: #E7B783;
}

.footer-brand small {
    color: #D3C1B2;
}

.site-footer p {
    margin: 0;
    color: #D9C9BB;
    font-size: .82rem;
}

.footer-free-link {
    color: #F1C995;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 680px) {
    .site-header .header-row {
        min-height: 3.8rem;
        gap: .45rem;
    }

    .site-header .site-nav {
        display: none;
    }

    .site-header .brand-name {
        font-size: .78rem;
    }

    .site-header .brand-mark {
        width: 2rem;
        height: 2rem;
    }

    .site-header .account-nav {
        margin-left: auto;
        gap: .35rem;
    }

    .site-header .account-link {
        min-height: 2.35rem;
        padding: .55rem .7rem;
        font-size: .75rem;
    }

    .is-guest .account-link--login,
    .is-authenticated .account-link:not(.account-link--primary) {
        display: none;
    }

    .mobile-app-nav {
        position: fixed;
        z-index: 55;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: .45rem .5rem calc(.45rem + env(safe-area-inset-bottom));
        border-top: 1px solid var(--brand-line);
        background: rgba(255, 252, 247, .96);
        box-shadow: 0 -8px 28px rgba(43, 31, 24, .09);
        backdrop-filter: blur(14px);
    }

    .mobile-app-nav a {
        display: grid;
        justify-items: center;
        gap: .15rem;
        padding: .2rem .1rem;
        color: var(--brand-muted);
        font-size: 1.12rem;
        text-decoration: none;
    }

    .mobile-app-nav a:hover,
    .mobile-app-nav a:focus-visible {
        color: var(--brand-terracotta-dark);
    }

    .mobile-app-nav small {
        font-size: .62rem;
        font-weight: 750;
    }

    .is-authenticated .site-footer {
        padding-bottom: 6.4rem;
    }

    .is-authenticated .gl-mobile-cta {
        display: none;
    }
}

@media (min-width: 681px) {
    .mobile-app-nav {
        display: none;
    }
}


.gl-module-empty {
    margin: 0;
    padding: 1rem 1.15rem;
    border: 1px dashed var(--brand-line);
    border-radius: var(--brand-radius-sm);
    background: var(--brand-paper);
    color: var(--brand-muted);
    font-size: .9rem;
    line-height: 1.55;
}


/* Refinamento compartilhado de header/footer e full bleed */
html,
body {
    width: 100%;
    max-width: 100%;
    min-width: 320px;
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.site-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 100;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #eadfd4;
    background: rgba(255, 252, 247, .96);
    box-shadow: 0 5px 18px rgba(48, 35, 30, .045);
    backdrop-filter: blur(14px);
}

.site-header .header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 2.2vw, 2rem);
    width: 100%;
    max-width: 1440px;
    min-height: 78px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.6vw, 2.5rem);
}

.site-header .brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    min-width: 0;
    text-decoration: none;
}

.site-header .brand-mark,
.footer-brand-mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    background: #b65f40;
    box-shadow: 0 5px 12px rgba(182, 95, 64, .2);
    color: #fffaf4;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: -.04em;
}

.site-header .brand-name {
    display: inline-flex;
    align-items: baseline;
    color: #30231e;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: -.045em;
    white-space: nowrap;
}

.site-header .brand-name > span,
.footer-brand-name > span {
    color: #b65f40;
}

.site-header .brand-name small {
    margin-left: .16rem;
    color: #86736a;
    font-size: .68em;
    font-weight: 650;
    letter-spacing: -.01em;
}

.site-header .site-nav {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: clamp(.25rem, .7vw, .65rem);
    margin: 0;
}

.site-header .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .55rem .85rem;
    border-radius: 999px;
    color: #62554e;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.site-header .site-nav a:hover {
    background: #f5ece3;
    color: #82452d;
    transform: translateY(-1px);
}

.site-header .site-nav .site-nav-course {
    background: #f4e6de;
    color: #82452d;
}

.site-header .site-nav .site-nav-free {
    color: #9a5035;
}

.site-header .account-nav {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.site-header .account-nav .account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .65rem 1rem;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #493b34;
    font-size: .86rem;
    font-weight: 750;
    line-height: 1.1;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.site-header .account-nav .account-link--login {
    color: #62554e;
}

.site-header .account-nav .account-link--login:hover {
    background: #f5ece3;
}

.site-header .account-nav .account-link--primary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .14rem;
    min-width: 138px;
    min-height: 50px;
    padding: .58rem 1rem;
    border-color: #a95336;
    border-radius: 15px;
    background: #b65f40;
    box-shadow: 0 7px 16px rgba(182, 95, 64, .22);
    color: #fffaf4;
}

.site-header .account-nav .account-link--primary:hover {
    background: #9f4f34;
    box-shadow: 0 9px 20px rgba(159, 79, 52, .26);
    transform: translateY(-1px);
}

.site-header .account-nav .account-link--primary small {
    color: rgba(255, 250, 244, .84);
    font-size: .67rem;
    font-weight: 650;
    letter-spacing: .01em;
}

.site-footer {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #30231e;
    color: #fff9ef;
}

.site-footer .footer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, .7fr) minmax(230px, .9fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
    width: min(100% - 3rem, 1160px);
    margin: 0 auto;
    padding: 3.5rem 0 3rem;
}

.footer-brand-block .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #fff9ef;
    text-decoration: none;
}

.footer-brand-mark {
    width: 40px;
    height: 40px;
    border-color: rgba(255, 255, 255, .12);
    background: #b65f40;
    box-shadow: none;
}

.footer-brand-name {
    color: #fff9ef;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: -.04em;
}

.footer-brand-name small {
    margin-left: .18rem;
    color: #d8c8bd;
    font-size: .7em;
    font-weight: 600;
}

.footer-brand-block > p {
    max-width: 300px;
    margin: 1rem 0 0;
    color: #d7c9be;
    font-size: .9rem;
    line-height: 1.6;
}

.site-footer .footer-nav {
    display: grid;
    justify-items: start;
    gap: .78rem;
    padding-top: .25rem;
}

.site-footer .footer-nav strong {
    margin-bottom: .2rem;
    color: #fff9ef;
    font-size: .83rem;
}

.site-footer .footer-nav a {
    color: #d7c9be;
    font-size: .86rem;
    text-decoration: none;
    transition: color .18s ease;
}

.site-footer .footer-nav a:hover {
    color: #f1b99e;
}

.footer-promo {
    padding: 1.25rem;
    border: 1px solid rgba(255, 249, 239, .14);
    border-radius: 18px;
    background: rgba(255, 249, 239, .06);
}

.footer-promo__eyebrow {
    color: #e6b59c;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.footer-promo > p {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    margin: .65rem 0 .95rem;
}

.footer-promo > p strong {
    color: #fff9ef;
    font-size: 1.6rem;
    letter-spacing: -.05em;
}

.footer-promo > p span {
    color: #d7c9be;
    font-size: .82rem;
}

.footer-promo > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 43px;
    padding: .65rem .85rem;
    border-radius: 12px;
    background: #b65f40;
    color: #fffaf4;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-promo > a:hover {
    background: #9f4f34;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 249, 239, .12);
}

.site-footer .footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(100% - 3rem, 1160px);
    min-height: 58px;
    margin: 0 auto;
    color: #bfaea2;
    font-size: .74rem;
}

@media (max-width: 760px) {
    .site-header .header-row {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 68px;
        gap: .6rem;
        padding-inline: 1rem;
    }

    .site-header .site-nav {
        display: none;
    }

    .site-header .brand {
        gap: .55rem;
    }

    .site-header .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .site-header .brand-name {
        font-size: .9rem;
    }

    .site-header .brand-name small {
        font-size: .62em;
    }

    .site-header .account-nav {
        gap: .25rem;
    }

    .site-header .account-nav .account-link {
        min-height: 40px;
        padding: .55rem .7rem;
        border-radius: 12px;
        font-size: .78rem;
    }

    .site-header .account-nav .account-link--primary {
        min-width: 96px;
        min-height: 40px;
        padding: .55rem .75rem;
    }

    .site-header .account-nav .account-link--primary small {
        display: none;
    }

    .site-footer .footer-layout {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.25rem;
        width: min(100% - 2rem, 560px);
        padding: 2.5rem 0 2rem;
    }

    .footer-brand-block {
        grid-column: 1 / -1;
    }

    .footer-promo {
        grid-column: 1 / -1;
    }

    .site-footer .footer-bottom .container {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: .35rem;
        width: min(100% - 2rem, 560px);
        min-height: 68px;
        padding: .8rem 0;
    }
}

@media (max-width: 380px) {
    .site-header .brand-name {
        font-size: .82rem;
    }

    .site-header .brand-name small {
        display: none;
    }

    .site-header .account-nav .account-link--login {
        padding-inline: .45rem;
    }
}


/* Mobile first: full-bleed e navegação confortável em telas pequenas */
html,
body {
    width: 100%;
    max-width: 100%;
    min-width: 320px;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

.site-header .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions" "nav nav";
    min-height: 0;
    gap: .25rem .5rem;
    padding: .6rem 1rem .2rem;
}

.site-header .brand { grid-area: brand; }
.site-header .account-nav { grid-area: actions; }

.site-header .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.site-header .brand-name { font-size: .88rem; }

.site-header .site-nav {
    display: flex;
    grid-area: nav;
    justify-self: stretch;
    justify-content: center;
    gap: .15rem;
    width: 100%;
    overflow-x: auto;
    padding: 0 0 .35rem;
    scrollbar-width: none;
}

.site-header .site-nav::-webkit-scrollbar { display: none; }

.site-header .site-nav a {
    min-height: 36px;
    padding: .45rem .6rem;
    font-size: .75rem;
    white-space: nowrap;
}

.site-header .account-nav { gap: .2rem; }

.site-header .account-nav .account-link {
    min-height: 38px;
    padding: .5rem .6rem;
    border-radius: 11px;
    font-size: .75rem;
}

.site-header .account-nav .account-link--primary {
    min-width: 90px;
    min-height: 38px;
    padding: .5rem .7rem;
}

.site-header .account-nav .account-link--primary small { display: none; }

body.is-authenticated .site-header .site-nav { display: none; }
body.is-authenticated .site-header .account-nav .account-link:not(.account-link--primary) { display: none; }

.site-footer .footer-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    width: calc(100% - 2rem);
    max-width: 560px;
    padding: 2.4rem 0 1.8rem;
}

.footer-brand-block,
.footer-promo { grid-column: 1; }

.site-footer .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: .35rem;
    width: calc(100% - 2rem);
    max-width: 560px;
    min-height: 68px;
    margin: 0 auto;
    padding: .8rem 0;
}

@media (max-width: 380px) {
    .site-header .brand-name { font-size: .82rem; }
    .site-header .brand-name small { display: none; }
    .site-header .account-nav .account-link--login { padding-inline: .45rem; }
    .site-header .site-nav a { padding-inline: .48rem; font-size: .71rem; }
}

@media (min-width: 761px) {
    .site-header .header-row {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-areas: "brand nav actions";
        min-height: 78px;
        gap: clamp(1rem, 2.2vw, 2rem);
        padding: 0 clamp(1rem, 2.6vw, 2.5rem);
    }

    .site-header .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .site-header .brand-name { font-size: 1rem; }
    .site-header .brand-name small { display: inline; font-size: .68em; }

    .site-header .site-nav {
        display: inline-flex;
        grid-area: nav;
        justify-self: center;
        width: auto;
        overflow: visible;
        gap: clamp(.25rem, .7vw, .65rem);
        padding: 0;
    }

    .site-header .site-nav a {
        min-height: 42px;
        padding: .55rem .85rem;
        font-size: .88rem;
    }

    .site-header .account-nav { gap: .55rem; }

    .site-header .account-nav .account-link {
        min-height: 44px;
        padding: .65rem 1rem;
        border-radius: 14px;
        font-size: .86rem;
    }

    .site-header .account-nav .account-link--primary {
        min-width: 138px;
        min-height: 50px;
        padding: .58rem 1rem;
    }

    .site-header .account-nav .account-link--primary small { display: block; }
    body.is-authenticated .site-header .site-nav { display: inline-flex; }
    body.is-authenticated .site-header .account-nav .account-link:not(.account-link--primary) { display: inline-flex; }

    .site-footer .footer-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(150px, .7fr) minmax(230px, .9fr);
        gap: clamp(2rem, 5vw, 5rem);
        width: min(100% - 3rem, 1160px);
        max-width: none;
        padding: 3.5rem 0 3rem;
    }

    .footer-brand-block,
    .footer-promo { grid-column: auto; }

    .site-footer .footer-bottom .container {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
        width: min(100% - 3rem, 1160px);
        max-width: none;
        min-height: 58px;
        padding: 0;
    }
}


@media (min-width: 681px) and (max-width: 760px) {
    body.is-authenticated .site-header .site-nav { display: flex; }
}


/* Páginas de autenticação: login e cadastro, escopadas para não alterar outros formulários */
.community-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 68svh;
    padding: 2rem 1rem 3rem;
    background: var(--brand-cream);
}

.community-page > .container,
.community-page .auth-shell {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.community-page .form-card {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(1.35rem, 5vw, 2rem);
    border: 1px solid var(--brand-line);
    border-radius: 22px;
    background: var(--brand-paper);
    box-shadow: 0 18px 50px rgba(48, 35, 30, .09);
    color: var(--brand-ink);
}

.community-page .auth-card__intro {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.community-page .auth-card__icon {
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--brand-surface-warm);
    color: var(--brand-terracotta-dark);
    font-size: 1.15rem;
}

.community-page .eyebrow {
    margin: 0 0 .38rem;
    color: var(--brand-terracotta-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.community-page h1 {
    margin: .1rem 0 0;
    color: var(--brand-ink);
    font-size: clamp(1.7rem, 7vw, 2.25rem);
    line-height: 1.08;
    letter-spacing: -.05em;
}

.community-page p {
    color: var(--brand-muted);
    line-height: 1.6;
}

.community-page .auth-card__description {
    margin: 1rem 0 0;
    font-size: .92rem;
}

.community-page form.form-grid {
    display: grid;
    gap: 1rem;
    width: 100%;
    margin: 1.25rem 0 0;
}

.community-page .field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .42rem;
    width: 100%;
}

.community-page .field label {
    display: block;
    color: var(--brand-ink);
    font-size: .84rem;
    font-weight: 750;
}

.community-page .field input:not([type="hidden"]),
.community-page .field textarea,
.community-page .field select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: .75rem .9rem;
    border: 1px solid var(--brand-line);
    border-radius: 12px;
    background: #fff;
    color: var(--brand-ink);
    font: inherit;
    font-size: .92rem;
    box-shadow: inset 0 1px 2px rgba(48, 35, 30, .025);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.community-page .field input::placeholder {
    color: #9a8d85;
}

.community-page .field input:focus,
.community-page .field textarea:focus,
.community-page .field select:focus {
    border-color: var(--brand-terracotta);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(182, 95, 64, .16);
}

.community-page form.form-grid > button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: .2rem 0 0;
    padding: .75rem 1rem;
    border: 1px solid var(--brand-terracotta-dark) !important;
    border-radius: 13px;
    background: var(--brand-terracotta) !important;
    color: #fffaf4 !important;
    font: inherit;
    font-size: .92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(182, 95, 64, .18);
}

.community-page form.form-grid > button[type="submit"]:hover {
    border-color: var(--brand-terracotta-dark) !important;
    background: var(--brand-terracotta-dark) !important;
}

.community-page .auth-divider {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 1.25rem 0;
    color: var(--brand-muted);
    font-size: .76rem;
}

.community-page .auth-divider::before,
.community-page .auth-divider::after {
    height: 1px;
    flex: 1;
    background: var(--brand-line);
    content: "";
}

.community-page .form-help,
.community-page .auth-card__register {
    margin: 1rem 0 0;
    color: var(--brand-muted);
    font-size: .83rem;
    line-height: 1.55;
}

.community-page .text-link {
    color: var(--brand-terracotta-dark);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(145, 71, 47, .3);
    text-underline-offset: .18em;
}

@media (min-width: 680px) {
    .community-page {
        min-height: 68vh;
        padding: 3rem 1.5rem 4rem;
    }

    .community-page .form-card {
        padding: 2.2rem 2.5rem;
        border-radius: 24px;
    }
}
