/* ==========================================================================
   hdori.hu — stíluslap
   --------------------------------------------------------------------------
   Felépítés:
     01. Design tokenek
     02. Alapok és reset
     03. Segédosztályok
     04. Elrendezés
     05. Fejléc
     06. Hero
     07. Előnyök sáv
     08. Kétosztatú szekciók (Miért / Rólam)
     09. Kártyák (A receptfüzet tartalma)
     10. Záró felhívás
     11. Lábléc
     12. Űrlap és gomb
     13. Szöveges aloldalak
     14. Animációk
     15. Csökkentett mozgás

   Töréspontok (mobile first):
     sm  640px    md  768px    lg 1024px
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENEK
   Itt állíthatod át az egész oldal színvilágát egyetlen helyen.
   ========================================================================== */

:root {
    /* Felületek */
    --c-bg:            #f8f4ee;
    --c-bg-alt:        #fbf8f2;
    --c-surface:       #fffdfb;
    --c-panel:         #f1e9da;

    /* Szöveg */
    --c-text:          #2d2a26;
    --c-text-strong:   #3f3b34;
    --c-text-muted:    #5b564d;
    --c-text-subtle:   #8a8375;
    --c-text-faint:    #9b9284;

    /* Arany kiemelés */
    --c-gold:          #c8a16a;
    --c-gold-dark:     #a97e46;
    --c-gold-light:    #eecf9c;
    --c-gold-mid:      #d9b378;
    --c-gold-soft:     #f1e6d0;

    /* Vonalak */
    --c-border:        #e9e0cf;
    --c-border-soft:   #e7dcc7;
    --c-border-card:   #efe7d8;
    --c-border-input:  #e2d5bd;

    --c-error:         #b91c1c;

    /* Tipográfia */
    --font-serif: 'Cormorant Garamond', 'Times New Roman', Times, serif;
    --font-sans:  'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Ritmus */
    --container:      80rem;
    --container-wide: 72rem;
    --container-text: 48rem;
    --gutter:         1.5rem;

    /* Mozgás — mindenhol ugyanaz a lágy kifutás */
    --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);

    /* Árnyékok */
    --shadow-card:       0 15px 40px -20px rgba(45, 42, 38, 0.2);
    --shadow-card-hover: 0 30px 60px -25px rgba(45, 42, 38, 0.3);
    --shadow-media:      0 30px 60px -25px rgba(45, 42, 38, 0.3);
    --shadow-cover:      0 35px 70px -25px rgba(45, 42, 38, 0.4);
    --shadow-panel:      0 40px 80px -30px rgba(45, 42, 38, 0.25);
    --shadow-button:     0 10px 30px -8px rgba(169, 126, 70, 0.55);
    --shadow-input:      0 2px 10px rgba(45, 42, 38, 0.04);
}

@media (min-width: 640px) {
    :root { --gutter: 2.5rem; }
}


/* ==========================================================================
   02. ALAPOK ÉS RESET
   ========================================================================== */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, figure, blockquote {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
}

img, picture, svg {
    display: block;
    max-width: 100%;
}

/* A <picture> csak konténer — az <img> vegye át a szülő elrendezését. */
picture {
    display: contents;
}

button,
input {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--c-gold-dark);
    outline-offset: 3px;
    border-radius: 4px;
}

.page {
    overflow-x: hidden;
}


/* ==========================================================================
   03. SEGÉDOSZTÁLYOK
   ========================================================================== */

/* Csak képernyőolvasónak látható szöveg. */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Billentyűzetes navigációhoz: Tab-bal az első elem. */
.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: var(--c-surface);
    color: var(--c-text);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0 0 0.75rem 0;
    box-shadow: var(--shadow-card);
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Arany színátmenetes szöveg. */
.text-gold-gradient {
    background-image: linear-gradient(135deg, var(--c-gold-mid), var(--c-gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Vékony, kifutó aranyvonal — dekoratív elválasztó. */
.hairline {
    background-image: linear-gradient(
        90deg,
        transparent,
        rgba(200, 161, 106, 0.6),
        transparent
    );
}

/*
  Görgetésre megjelenő elem.

  Két fontos döntés:

  1. Alapból LÁTHATÓ. Csak akkor rejtjük el, ha a <html> megkapta a `js`
     osztályt — vagyis ha biztosan fut a JavaScript, amely majd újra
     megmutatja. Így egy JS-hiba nem teheti láthatatlanná az oldalt.

  2. A mozgatás a `translate` tulajdonsággal történik, NEM a `transform`-mal.
     Így a hover-effektek (amelyek a `transform`-ot használják) nem ütköznek
     vele — a böngésző a kettőt egymás után alkalmazza.
*/
.js .reveal {
    opacity: 0;
    translate: 0 24px;
    transition:
        opacity 0.9s var(--ease-out-soft),
        translate 0.9s var(--ease-out-soft);
    transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}


/* ==========================================================================
   04. ELRENDEZÉS
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}


/* ==========================================================================
   05. FEJLÉC
   ========================================================================== */

.site-header {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 1.75rem var(--gutter);
}

.brand {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    letter-spacing: 0.025em;
    color: var(--c-text);
    text-decoration: none;
}

.brand__accent {
    color: var(--c-gold);
}

.site-header__tagline {
    display: none;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--c-text-subtle);
}

@media (min-width: 640px) {
    .site-header__tagline { display: block; }
}


/* ==========================================================================
   06. HERO
   ========================================================================== */

.hero {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 1.5rem var(--gutter) 5rem;
}

@media (min-width: 1024px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding-top: 2.5rem;
        padding-bottom: 8rem;
    }
}

.hero__title {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--c-text);
}

@media (min-width: 640px) {
    .hero__title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
    .hero__title { font-size: 3.6rem; }
}

.hero__lead {
    margin-top: 1.5rem;
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.625;
    color: var(--c-text-muted);
}

.hero__form {
    margin-top: 2.5rem;
    max-width: 28rem;
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero__visual { justify-content: flex-end; }
}

.hero__stack {
    position: relative;
    width: 100%;
    max-width: 28rem;
}

/* Dekoratív „hátsó lap” — tisztán CSS, nem kép. */
.hero__back-card {
    display: none;
    position: absolute;
    top: 2.5rem;
    right: -1rem;
    width: 85%;
    aspect-ratio: 3 / 4;
    padding: 2rem;
    border-radius: 2px;
    background: var(--c-surface);
    box-shadow: 0 25px 60px -20px rgba(45, 42, 38, 0.25);
    rotate: 6deg;
}

@media (min-width: 640px) {
    .hero__back-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
    }
}

.hero__back-line {
    display: block;
    width: 100%;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--c-border-card);
}

.hero__back-line--sm {
    width: 66.6667%;
    background: var(--c-border-soft);
}

.hero__back-line--md {
    width: 80%;
}

.hero__back-block {
    display: block;
    width: 100%;
    margin-top: 1rem;
    aspect-ratio: 1 / 1;
    border-radius: 0.375rem;
    background: var(--c-panel);
}

.hero__cover {
    position: relative;
    width: 92%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
    box-shadow:
        0 0 0 1px var(--c-border-soft),
        var(--shadow-cover);
    animation: float-slow 7s ease-in-out infinite;
}

.hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================================================
   07. ELŐNYÖK SÁV
   ========================================================================== */

.benefits {
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    background: var(--c-bg-alt);
    padding-block: 3.5rem;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: var(--container-wide);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

@media (min-width: 768px) {
    .benefits__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.benefits__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.benefits__icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: var(--c-surface);
    color: var(--c-gold-dark);
    box-shadow:
        0 0 0 1px var(--c-border-soft),
        0 8px 24px -10px rgba(200, 161, 106, 0.5);
}

.benefits__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.benefits__label {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--c-text-strong);
}

@media (min-width: 640px) {
    .benefits__label { font-size: 0.875rem; }
}


/* ==========================================================================
   08. KÉTOSZTATÚ SZEKCIÓK
   ========================================================================== */

.split {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 6rem var(--gutter);
}

@media (min-width: 1024px) {
    .split {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        padding-block: 9rem;
    }
}

.split__media {
    position: relative;
}

/*
  Mobilon a szöveg jöjjön előbb: az adja meg a szekció értelmét.
  Nagy képernyőn visszaáll a kép-balra elrendezés.
*/
.split--why .split__media { order: 2; }
.split--why .split__body  { order: 1; }

@media (min-width: 1024px) {
    .split--why .split__media { order: 1; }
    .split--why .split__body  { order: 2; }
}

.split__media-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-media);
}

.split__media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lágy aranyfény a kép sarkánál. */
.split__glow {
    display: none;
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 8rem;
    height: 8rem;
    border-radius: 9999px;
    opacity: 0.4;
    filter: blur(40px);
    background-image: linear-gradient(
        90deg,
        transparent,
        rgba(200, 161, 106, 0.6),
        transparent
    );
    pointer-events: none;
}

@media (min-width: 640px) {
    .split__glow { display: block; }
}

.split__portrait {
    width: 100%;
    max-width: 24rem;
    margin-inline: auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow:
        0 0 0 1px var(--c-border-card),
        var(--shadow-media);
}

@media (min-width: 1024px) {
    .split__portrait { margin-inline: 0; }
}

.split__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Szekciófejlécek --------------------------------------------------- */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--c-gold-dark);
}

.eyebrow__line {
    flex: none;
    width: 2rem;
    height: 1px;
    background: var(--c-gold);
}

.eyebrow--centered .eyebrow__text {
    margin-inline: auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--c-text);
}

@media (min-width: 640px) {
    .section-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
    .section-title { font-size: 2.6rem; }
}

/* A „Szia, Dóri vagyok!” cím nem nő tovább nagy képernyőn. */
@media (min-width: 1024px) {
    .section-title--sm { font-size: 2.25rem; }
}

.section-lead {
    margin-top: 1.5rem;
    max-width: 32rem;
    font-size: 1.0625rem;
    line-height: 1.625;
    color: var(--c-text-muted);
}

.section-lead + .section-lead {
    margin-top: 1.25rem;
}

/* --- Pipás lista ------------------------------------------------------- */

.checklist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.checklist__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--c-text-strong);
}

.checklist__marker {
    display: grid;
    place-items: center;
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: var(--c-gold-soft);
    color: var(--c-gold-dark);
}

.checklist__marker svg {
    width: 0.75rem;
    height: 0.75rem;
}


/* ==========================================================================
   09. KÁRTYÁK
   ========================================================================== */

.contents {
    background: var(--c-bg-alt);
    padding-block: 6rem;
}

@media (min-width: 1024px) {
    .contents { padding-block: 8rem; }
}

.contents__inner {
    width: 100%;
    max-width: var(--container-wide);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.contents__head {
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 640px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
    padding: 0.75rem;
    border-radius: 1.5rem;
    background: var(--c-surface);
    box-shadow:
        0 0 0 1px var(--c-border-card),
        var(--shadow-card);
    transition:
        transform 0.5s var(--ease-out-soft),
        box-shadow 0.5s var(--ease-out-soft);
}

@media (hover: hover) {
    .card:hover {
        transform: translateY(-0.5rem);
        box-shadow:
            0 0 0 1px var(--c-border-card),
            var(--shadow-card-hover);
    }

    .card:hover .card__image {
        transform: scale(1.05);
    }
}

.card__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1rem;
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-soft);
}

.card__body {
    padding: 1.25rem 1rem;
}

.card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--c-text);
}

.card__text {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.625;
    color: var(--c-text-muted);
}


/* ==========================================================================
   10. ZÁRÓ FELHÍVÁS
   ========================================================================== */

.cta {
    padding: 1rem var(--gutter) 7rem;
}

@media (min-width: 1024px) {
    .cta { padding-bottom: 10rem; }
}

.cta__box {
    position: relative;
    max-width: var(--container-text);
    margin-inline: auto;
    padding: 4rem 2rem;
    overflow: hidden;
    border-radius: 2.5rem;
    background: var(--c-panel);
    text-align: center;
    box-shadow: var(--shadow-panel);
}

@media (min-width: 640px) {
    .cta__box { padding-inline: 4rem; }
}

.cta__hairline {
    position: absolute;
    top: 0;
    left: 50%;
    width: 66.6667%;
    height: 1px;
    transform: translateX(-50%);
    background-image: linear-gradient(
        90deg,
        transparent,
        rgba(200, 161, 106, 0.6),
        transparent
    );
    pointer-events: none;
}

.cta__title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--c-text);
}

@media (min-width: 640px) {
    .cta__title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
    .cta__title { font-size: 2.4rem; }
}

/* A cím sortörése csak ott, ahol elfér két sorban. */
.cta__break { display: none; }

@media (min-width: 640px) {
    .cta__break { display: block; }
}

.cta__text {
    max-width: 28rem;
    margin: 1.25rem auto 0;
    font-size: 1rem;
    line-height: 1.625;
    color: var(--c-text-muted);
}

.cta__form {
    margin-top: 2.25rem;
}

.cta__privacy {
    display: inline-block;
    margin-top: 1.75rem;
    font-size: 0.8125rem;
    color: var(--c-text-subtle);
    text-decoration: underline;
    text-decoration-color: rgba(200, 161, 106, 0.5);
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.cta__privacy:hover {
    color: var(--c-gold-dark);
}


/* ==========================================================================
   11. LÁBLÉC
   ========================================================================== */

.site-footer {
    border-top: 1px solid var(--c-border);
    padding-block: 2rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--c-text-faint);
}


/* ==========================================================================
   12. ŰRLAP ÉS GOMB
   ========================================================================== */

.signup__form {
    position: relative;
}

.signup--final .signup__form,
.signup--final .signup__result {
    max-width: 36rem;
    margin-inline: auto;
}

/* Botcsapda: a képernyőről is, a Tab-sorrendből is kiesik. */
.signup__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.signup__row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .signup__row { flex-direction: row; }
}

.signup__input {
    width: 100%;
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid var(--c-border-input);
    border-radius: 9999px;
    background: #ffffff;
    font-size: 0.9375rem;
    color: var(--c-text);
    box-shadow: var(--shadow-input);
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.signup__input::placeholder {
    color: var(--c-text-faint);
}

.signup__input:focus {
    border-color: var(--c-gold);
    box-shadow:
        var(--shadow-input),
        0 0 0 2px rgba(200, 161, 106, 0.25);
}

/* Hibás cím esetén a mező is jelez, nem csak a szöveg. */
.signup__input[aria-invalid='true'] {
    border-color: var(--c-error);
}

.signup__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    text-align: left;
    font-size: 0.8125rem;
    line-height: 1.625;
    color: var(--c-text-muted);
    cursor: pointer;
}

.signup__checkbox {
    flex: none;
    width: 1rem;
    height: 1rem;
    margin: 3px 0 0;
    accent-color: var(--c-gold);
    cursor: pointer;
}

/* Hivatkozás az adatkezelési tájékoztatóra a hozzájárulás szövegében. */
.signup__consent-link {
    color: var(--c-gold-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(200, 161, 106, 0.6);
}

.signup__consent-link:hover {
    text-decoration-color: currentColor;
}

.signup__error {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--c-error);
}

.signup__note {
    margin-top: 1rem;
    font-size: 0.8125rem;
    line-height: 1.625;
    color: var(--c-text-subtle);
}

/* --- Visszajelző doboz ------------------------------------------------- */

.signup__result {
    padding: 2rem 1.5rem;
    border: 1px solid var(--c-border-soft);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
    animation: fade-in-up 0.5s var(--ease-out-soft) both;
}

.signup__result-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--c-text);
}

.signup__result-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--c-text-muted);
}

/* --- Gomb -------------------------------------------------------------- */

.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 2rem;
    overflow: hidden;
    border: none;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--c-text);
    transition: transform 0.3s var(--ease-out-soft);
}

.btn--gold {
    background-image: linear-gradient(
        135deg,
        var(--c-gold-light) 0%,
        var(--c-gold) 45%,
        var(--c-gold-dark) 100%
    );
    box-shadow: var(--shadow-button);
}

.signup__submit {
    margin-top: 1.25rem;
}

@media (hover: hover) {
    .btn:hover:not(:disabled) { transform: scale(1.025); }
}

.btn:active:not(:disabled) {
    transform: scale(0.99);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

/* Végigfutó fényvillanás hoverkor. */
.btn__shine {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-100%);
    transition: transform 0.7s var(--ease-out-soft);
    pointer-events: none;
}

@media (hover: hover) {
    .btn:hover:not(:disabled) .btn__shine { transform: translateX(100%); }
}

.btn__content {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

/* Töltésjelző — csak beküldés közben látszik. */
.btn__spinner {
    display: none;
    flex: none;
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid rgba(45, 42, 38, 0.25);
    border-top-color: var(--c-text);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.signup__form.is-loading .btn__spinner {
    display: block;
}


/* ==========================================================================
   13. SZÖVEGES ALOLDALAK (adatkezelés, 404)
   ========================================================================== */

.prose {
    display: block;
    min-height: 100vh;
    max-width: var(--container-text);
    margin-inline: auto;
    padding: 5rem var(--gutter);
}

.prose--centered {
    text-align: center;
}

.prose__back {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-gold-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.prose__back--button {
    display: inline-block;
    margin-top: 2rem;
}

.prose__code {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--c-gold);
}

.prose__title {
    margin-top: 2rem;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 400;
}

.prose__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 1.625;
    color: var(--c-text-muted);
}


/* ==========================================================================
   14. ANIMÁCIÓK
   ========================================================================== */

@keyframes float-slow {
    0%, 100% { transform: translateY(0)      rotate(-1.2deg); }
    50%      { transform: translateY(-14px)  rotate(-0.4deg); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fade-in-up {
    from { opacity: 0; translate: 0 12px; }
    to   { opacity: 1; translate: 0 0; }
}


/* ==========================================================================
   15. CSÖKKENTETT MOZGÁS
   Ha a látogató a rendszerében kikapcsolta az animációkat, tiszteletben
   tartjuk: minden azonnal a helyén van, semmi nem mozog.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .js .reveal {
        opacity: 1;
        translate: 0 0;
    }

    .btn__shine {
        display: none;
    }
}
