:root {
    --bg: #fff9f1;
    --bg-soft: #fff4df;
    --paper: rgba(255, 255, 255, 0.9);
    --paper-strong: #ffffff;
    --line: rgba(224, 191, 162, 0.42);
    --text: #254255;
    --text-soft: #5f7a8b;
    --accent: #ff7a59;
    --accent-2: #ffb347;
    --mint: #3ecf8e;
    --sky: #5fb7ff;
    --berry: #ff6aa2;
    --ok-bg: rgba(62, 207, 142, 0.14);
    --ok-text: #17784d;
    --err-bg: rgba(255, 122, 89, 0.14);
    --err-text: #ab3a20;
}

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

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(520px 320px at 4% 6%, rgba(255, 179, 71, 0.34), transparent 74%),
        radial-gradient(540px 360px at 96% 10%, rgba(95, 183, 255, 0.25), transparent 72%),
        radial-gradient(520px 340px at 50% 100%, rgba(255, 106, 162, 0.14), transparent 70%),
        linear-gradient(180deg, #fff8ec 0%, #fffdf9 44%, #fef3ff 100%);
    -webkit-font-smoothing: antialiased;
}

.bg-layer {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(6px);
    animation: drift 16s ease-in-out infinite;
}

.orb-a {
    top: -10%;
    left: -8%;
    width: min(36vw, 420px);
    height: min(36vw, 420px);
    background: radial-gradient(circle, rgba(255, 122, 89, 0.28), transparent 70%);
}

.orb-b {
    top: 8%;
    right: -10%;
    width: min(34vw, 400px);
    height: min(34vw, 400px);
    background: radial-gradient(circle, rgba(95, 183, 255, 0.24), transparent 72%);
    animation-delay: -6s;
}

.orb-c {
    bottom: -16%;
    left: 24%;
    width: min(30vw, 340px);
    height: min(30vw, 340px);
    background: radial-gradient(circle, rgba(62, 207, 142, 0.16), transparent 70%);
    animation-delay: -10s;
}

.grid-noise {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at 50% 30%, black 26%, transparent 80%);
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(18px, -12px, 0) scale(1.05);
    }

    to {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.layout {
    position: relative;
    z-index: 1;
    width: min(1160px, calc(100% - 42px));
    margin: 34px auto 42px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
    align-items: start;
}

.trust-strip,
.benefits {
    grid-column: 1 / -1;
}

.hero,
.panel,
.trust-item,
.benefit-card {
    border-radius: 30px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(255, 164, 106, 0.12);
}

.hero {
    padding: clamp(24px, 4vw, 42px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 244, 223, 0.9)),
        linear-gradient(120deg, rgba(95, 183, 255, 0.08), rgba(255, 122, 89, 0.08));
    backdrop-filter: blur(14px);
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 182, 140, 0.46);
    color: #b45134;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 0 8px rgba(255, 122, 89, 0.16);
}

.hero h1 {
    font-family: "Fraunces", serif;
    font-size: clamp(2.15rem, 4vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #204055;
    margin-bottom: 14px;
    max-width: 14ch;
}

.hero-subtitle {
    max-width: 58ch;
    line-height: 1.7;
    font-size: 1rem;
    color: var(--text-soft);
    margin-bottom: 24px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.hero-stats article {
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 245, 235, 0.84));
    border: 1px solid rgba(255, 184, 134, 0.34);
}

.stat-value {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
    color: #1f5e7e;
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-soft);
}

.highlight-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.highlight-strip span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(95, 183, 255, 0.24);
    color: #3c647c;
    font-size: 0.87rem;
    font-weight: 700;
}

.process-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
    color: #36576a;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-block {
    margin-top: 24px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 184, 134, 0.3);
}

.faq-block h3 {
    margin-bottom: 12px;
    font-size: 1.04rem;
    color: #31566c;
}

.faq-item + .faq-item {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(108, 146, 166, 0.28);
}

.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    background: transparent;
    color: #254255;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(95, 183, 255, 0.18), rgba(255, 122, 89, 0.2));
    border: 1px solid rgba(95, 183, 255, 0.28);
    color: #2f607e;
    transition: transform 0.2s ease;
}

.faq-toggle[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.24s ease;
}

.faq-answer > p {
    min-height: 0;
    overflow: hidden;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.6;
}

.faq-answer.open {
    grid-template-rows: 1fr;
}

.faq-answer.open > p {
    margin-top: 6px;
}

.panel {
    padding: clamp(22px, 3.2vw, 34px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 236, 0.88));
    backdrop-filter: blur(14px);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #ff7a59;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.panel-header h2 {
    margin-bottom: 6px;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    color: #234458;
}

.panel-header p {
    color: var(--text-soft);
    line-height: 1.6;
}

.logo-wrap {
    flex-shrink: 0;
}

.logo {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #ff8f6c, #ffcc67 46%, #54c6ff);
    box-shadow: 0 20px 30px rgba(255, 160, 106, 0.22);
}

.logo svg {
    width: 30px;
    height: 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #49667a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.input-wrap input {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1.5px solid rgba(127, 172, 198, 0.36);
    background: var(--paper-strong);
    color: var(--text);
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.input-wrap input::placeholder {
    color: #92a7b5;
}

.input-wrap input:hover:not(:focus) {
    border-color: rgba(95, 183, 255, 0.48);
}

.input-wrap input:focus {
    border-color: rgba(95, 183, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(95, 183, 255, 0.16);
    transform: translateY(-1px);
}

.captcha-wrap {
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(95, 183, 255, 0.2);
}

#captchaWidget {
    width: 100%;
    min-height: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#captchaWidget > div {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.captcha-wrap iframe {
    width: 100% !important;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

.btn-submit {
    width: 100%;
    border: 0;
    border-radius: 18px;
    padding: 15px 20px;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--berry) 55%, var(--sky));
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 30px rgba(255, 122, 89, 0.24);
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.btn-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.24), transparent 80%);
    transform: translateX(-120%);
    transition: transform 0.5s ease;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 22px 34px rgba(255, 122, 89, 0.3);
}

.btn-submit:hover:not(:disabled)::before {
    transform: translateX(120%);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.76;
    cursor: not-allowed;
}

.btn-submit .spinner {
    display: none;
    width: 18px;
    height: 18px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-top-color: #ffffff;
    animation: spin 0.7s linear infinite;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .spinner {
    display: block;
}

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

.message {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    animation: msgIn 0.26s ease both;
}

@keyframes msgIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.success {
    display: block;
    background: var(--ok-bg);
    border: 1px solid rgba(62, 207, 142, 0.24);
    color: var(--ok-text);
}

.message.error {
    display: block;
    background: var(--err-bg);
    border: 1px solid rgba(255, 122, 89, 0.24);
    color: var(--err-text);
}

.footer-note {
    margin-top: 20px;
    color: #6a8392;
    font-size: 12px;
    line-height: 1.65;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: riseIn 0.58s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-1 {
    animation-delay: 0.06s;
}

.reveal-2 {
    animation-delay: 0.18s;
}

.reveal-3 {
    animation-delay: 0.28s;
}

.reveal-4 {
    animation-delay: 0.36s;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trust-item {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 236, 0.78));
}

.trust-kicker {
    display: block;
    margin-bottom: 8px;
    color: #ff7a59;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-item strong {
    color: #2a4b60;
    font-size: 0.96rem;
    line-height: 1.55;
}

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

.benefit-card {
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 236, 0.82)),
        linear-gradient(135deg, rgba(62, 207, 142, 0.08), rgba(95, 183, 255, 0.06));
}

.benefit-card h3 {
    margin-bottom: 8px;
    font-size: 1.06rem;
    color: #254255;
}

.benefit-card p {
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: none;
    }

    .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .layout {
        width: min(100%, calc(100% - 24px));
        margin: 18px auto 28px;
        gap: 16px;
    }

    .hero,
    .panel,
    .trust-item,
    .benefit-card {
        border-radius: 24px;
    }

    .hero,
    .panel {
        padding: 20px 18px;
    }

    .hero-stats,
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-submit {
        padding: 14px 18px;
    }

    .captcha-wrap {
        padding: 8px;
        overflow: hidden;
    }

    #captchaWidget > div {
        width: 300px;
        max-width: none;
        transform: scale(0.86);
        transform-origin: center top;
    }
}
