:root {
    --ink: #231a24;
    --muted: #70666f;
    --pink: #e74182;
    --pink-dark: #bf225f;
    --line: #eadfe5;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 12%, rgba(242, 98, 152, .17), transparent 32rem),
        radial-gradient(circle at 88% 86%, rgba(255, 190, 211, .3), transparent 28rem),
        #fff8fb;
    font-family: Arial, Helvetica, sans-serif;
}

.shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 18px;
}

.card {
    width: min(100%, 640px);
    padding: 42px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 28px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 24px 70px rgba(85, 29, 55, .13);
}

header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-size: 21px; font-weight: 900; letter-spacing: -.04em; }
.brand span { color: var(--pink); }
.language-menu { position: relative; }
.language-menu summary { color: var(--muted); cursor: pointer; font-size: 14px; }
.language-menu nav {
    position: absolute;
    z-index: 2;
    top: 30px;
    right: 0;
    display: grid;
    min-width: 160px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    box-shadow: 0 12px 32px rgba(35,26,36,.12);
}
[dir="rtl"] .language-menu nav { right: auto; left: 0; }
.language-menu a { padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.language-menu a:hover { background: #fff2f7; }

.eyebrow {
    margin: 42px 0 10px;
    color: var(--pink-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(32px, 7vw, 50px); line-height: 1.02; letter-spacing: -.045em; }
.intro { margin: 16px 0 34px; color: var(--muted); line-height: 1.6; }
form { display: grid; gap: 24px; }
fieldset { padding: 0; border: 0; }
legend, .comment-label { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 700; }

.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; direction: ltr; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { color: #ddd2d8; cursor: pointer; font-size: clamp(38px, 9vw, 52px); line-height: 1; }
.stars label:hover,
.stars label:hover ~ label,
.stars input:checked ~ label { color: #f2a72e; }
.stars input:focus-visible + label { outline: 3px solid rgba(231,65,130,.35); border-radius: 6px; }

textarea {
    width: 100%;
    resize: vertical;
    padding: 16px 17px;
    border: 1px solid var(--line);
    border-radius: 15px;
    outline: none;
    color: var(--ink);
    background: #fff;
    font: inherit;
    line-height: 1.5;
}
textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(231, 65, 130, .1); }

.submit {
    min-height: 52px;
    border: 0;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(191, 34, 95, .22);
}
.error { margin: -10px 0 0; color: #b42318; font-size: 14px; }
.success-mark {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin: 42px 0 24px;
    border-radius: 50%;
    color: white;
    background: var(--pink);
    font-size: 38px;
}

@media (max-width: 560px) {
    .card { padding: 28px 22px; border-radius: 22px; }
    .eyebrow { margin-top: 34px; }
}

