* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #000;
}

body {
    min-height: 100%;
    margin: 0;
    background: #000;
    color: #f4f4f4;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.screen {
    width: 100%;
    max-width: 390px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 13px 14px 28px;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.022) 17%, rgba(0, 0, 0, 0) 36%),
        linear-gradient(180deg, #000 0%, #020202 54%, #000 100%);
    overflow: hidden;
}

.screen::before {
    content: "";
    position: fixed;
    top: 188px;
    left: 50%;
    width: min(330px, 86vw);
    height: 520px;
    transform: translateX(-50%);
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 22%, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.018) 18%, rgba(255, 255, 255, 0) 45%),
        repeating-conic-gradient(from 12deg at 50% 0%, rgba(255, 255, 255, 0.035) 0deg, rgba(255, 255, 255, 0) 8deg, rgba(255, 255, 255, 0) 22deg);
    opacity: 0.62;
    filter: blur(2px);
}

.status-bar {
    position: relative;
    z-index: 1;
    height: 28px;
    padding: 2px 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
}

.status-icons {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.signal {
    width: 16px;
    height: 11px;
    background: linear-gradient(to top, #fff 0 3px, transparent 3px 100%);
    clip-path: polygon(0 100%, 0 70%, 18% 70%, 18% 100%, 27% 100%, 27% 50%, 45% 50%, 45% 100%, 54% 100%, 54% 30%, 72% 30%, 72% 100%, 81% 100%, 81% 12%, 100% 12%, 100% 100%);
}

.wifi {
    width: 13px;
    height: 10px;
    border: 2px solid #fff;
    border-color: #fff transparent transparent transparent;
    border-radius: 50% 50% 0 0;
    position: relative;
}

.wifi::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
}

.battery {
    width: 22px;
    height: 11px;
    border: 1.7px solid #fff;
    border-radius: 3px;
    position: relative;
}

.battery::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 15px;
    height: 5px;
    background: #fff;
    border-radius: 1px;
}

.battery::after {
    content: "";
    position: absolute;
    top: 3px;
    right: -4px;
    width: 2px;
    height: 5px;
    background: #fff;
    border-radius: 0 2px 2px 0;
}

.page-header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    min-height: 44px;
    margin-bottom: 15px;
}

.brand-row {
    position: relative;
    z-index: 1;
    height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 15px 3px;
    color: #d8d8dc;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}

.brand-mark {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #b9813d;
    border: 1px solid rgba(185, 129, 61, 0.45);
    font-size: 11px;
}

.page-title {
    margin: 0;
    text-align: center;
    color: #7f7f84;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0;
}

.back-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.back-btn::before {
    content: "";
    width: 9px;
    height: 9px;
    border-left: 2px solid #6f6f74;
    border-bottom: 2px solid #6f6f74;
    transform: rotate(45deg);
    margin-left: 4px;
}

.content {
    position: relative;
    z-index: 1;
}

.lead-copy {
    margin: 0 0 20px;
    color: #b9b9bf;
    font-size: 15px;
    line-height: 1.34;
    font-weight: 400;
}

.lead-copy p {
    margin: 0 0 17px;
}

.lead-copy p:last-child {
    margin-bottom: 0;
}

.lead-copy strong,
.article-copy strong,
.card-body strong {
    color: #fff;
    font-weight: 800;
}

.article-copy {
    color: #b8b8be;
    font-size: 13px;
    line-height: 1.34;
}

.article-copy p {
    margin: 0 0 16px;
}

.research-screen {
    padding-top: 8px;
    padding-bottom: 34px;
    overflow: visible;
}

.research-screen .status-bar {
    margin-bottom: 5px;
}

.research-screen .page-header {
    margin-bottom: 12px;
}

.research-copy {
    color: #b8b8be;
    font-size: 13px;
    line-height: 1.34;
}

.research-copy h2,
.research-copy h3 {
    margin: 0;
    color: #fff;
    line-height: 1.18;
    font-weight: 800;
}

.research-copy h2 {
    margin-bottom: 22px;
    font-size: 13px;
}

.research-copy h3 {
    margin-bottom: 16px;
    font-size: 13px;
}

.research-copy section + section {
    margin-top: 21px;
}

.research-copy p {
    margin: 0 0 16px;
}

.research-copy p:last-child {
    margin-bottom: 0;
}

.research-copy ul {
    margin: -13px 0 16px;
    padding-left: 19px;
}

.research-copy li {
    margin-bottom: 1px;
    padding-left: 0;
}

.research-copy li::marker {
    color: #b8b8be;
}

.menu-section {
    margin-top: 21px;
}

.section-title {
    margin: 0 0 12px;
    color: #77777d;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    min-height: 37px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
}

.menu-item + .menu-item {
    margin-top: 12px;
}

.menu-title {
    min-width: 0;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 800;
}

.arrow-btn,
.accordion-chevron {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.arrow-btn::before {
    content: "";
    width: 5px;
    height: 5px;
    border-top: 1.5px solid #77777c;
    border-right: 1.5px solid #77777c;
    transform: rotate(45deg);
    margin-left: -2px;
}

.version {
    margin-top: 24px;
    color: #5f5f64;
    font-size: 10px;
    line-height: 1;
}

.bottom-nav {
    position: fixed;
    z-index: 2;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: min(340px, calc(100% - 28px));
    max-width: 360px;
    height: 58px;
    padding: 7px 12px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    align-items: center;
    background: rgba(8, 8, 8, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 11px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(24px);
}

.nav-item,
.nav-center {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #6e6e73;
    font-size: 8px;
    line-height: 1;
}

.nav-icon,
.timer-spiral {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.68;
}

.nav-item.active {
    color: #b58145;
}

.nav-item.active .nav-icon {
    opacity: 1;
}

.timer-text {
    font-size: 7px;
    color: #5f5f64;
}

.accordion-stack {
    display: grid;
    gap: 14px;
}

.accordion-card {
    background: rgba(28, 28, 29, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 12px;
    overflow: hidden;
}

.accordion-toggle {
    width: 100%;
    min-height: 62px;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

.accordion-heading {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 800;
}

.accordion-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8d8d92;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
}

.accordion-chevron {
    width: 12px;
    height: 12px;
    border: 0;
    background: transparent;
}

.accordion-chevron::before {
    content: "";
    width: 5px;
    height: 5px;
    border-right: 1.4px solid #85858a;
    border-bottom: 1.4px solid #85858a;
    transform: rotate(45deg);
    transition: transform 150ms ease;
}

.accordion-card.is-open .accordion-chevron::before {
    transform: rotate(225deg);
}

.card-body {
    padding: 0 14px 18px;
    color: #b8b8be;
    font-size: 15px;
    line-height: 1.36;
}

.card-body p {
    margin: 0 0 15px;
}

.card-body ol {
    margin: 0 0 14px;
    padding-left: 19px;
}

.card-body li {
    padding-left: 5px;
    margin-bottom: 13px;
}

.card-body li::marker {
    color: #fff;
    font-weight: 800;
}

.card-body .small {
    font-size: 12px;
    line-height: 1.34;
}

.icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: #b9813d;
    border: 1px solid rgba(185, 129, 61, 0.55);
    font-size: 13px;
    line-height: 1;
}

.icon-grapheme {
    border-radius: 5px;
}

.icon-layer {
    border-radius: 50%;
    border-width: 0;
}

.icon-layer::before {
    content: "";
    width: 20px;
    height: 12px;
    display: block;
    background:
        linear-gradient(160deg, transparent 0 22%, #b9813d 23% 40%, transparent 41% 100%),
        linear-gradient(20deg, transparent 0 22%, #8f6233 23% 40%, transparent 41% 100%),
        linear-gradient(0deg, transparent 0 43%, #c18a48 44% 60%, transparent 61% 100%);
    transform: skewY(-8deg);
}

.legal-note {
    margin-top: 24px;
    color: #74747a;
    font-size: 12px;
    line-height: 1.35;
}

.language-switcher {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.language-switcher a {
    color: #d7a04d;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    opacity: 0.46;
}

.language-switcher a.is-active {
    opacity: 1;
}

.account-deletion {
    padding-bottom: 24px;
}

.account-deletion-screen ~ .home-indicator {
    display: none;
}

.legal-card {
    padding: 18px 15px 20px;
    background: rgba(28, 28, 29, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 13px;
    color: #b8b8be;
    font-size: 14px;
    line-height: 1.42;
}

.legal-card h2,
.legal-card h3 {
    margin: 0;
    color: #fff;
    line-height: 1.16;
    font-weight: 800;
}

.legal-card h2 {
    margin-bottom: 14px;
    font-size: 18px;
}

.legal-card h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 15px;
}

.legal-card p {
    margin: 0 0 13px;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-card .language-label {
    margin-top: 28px;
    margin-bottom: 8px;
    color: #d7a04d;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.legal-card .language-label:first-child {
    margin-top: 0;
}

.legal-card a {
    color: #d7a04d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-card ol,
.legal-card ul {
    margin: 0 0 13px;
    padding-left: 19px;
}

.legal-card li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.legal-card li::marker {
    color: #fff;
    font-weight: 800;
}

.faq-stack {
    gap: 12px;
}

.support-cta {
    margin-top: 24px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
}

.support-cta strong {
    display: block;
    font-size: 16px;
    line-height: 1.12;
    font-weight: 800;
}

.support-cta small {
    display: block;
    max-width: 230px;
    margin-top: 4px;
    color: #77777d;
    font-size: 12px;
    line-height: 1.2;
}

.report-card {
    position: relative;
    padding: 18px 14px 16px;
    background: rgba(28, 28, 29, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 13px;
}

.form-intro {
    margin: 0 0 24px;
    max-width: 285px;
    color: #8c8c91;
    font-size: 14px;
    line-height: 1.25;
}

.select-row {
    min-height: 54px;
    padding: 0 15px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(10, 10, 10, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.select-row select {
    max-width: 132px;
    border: 0;
    outline: 0;
    appearance: none;
    color: #d8d8dc;
    background:
        linear-gradient(45deg, transparent 50%, #8d8d92 50%) right 2px center / 5px 5px no-repeat,
        linear-gradient(135deg, #8d8d92 50%, transparent 50%) right 0 center / 5px 5px no-repeat;
    padding-right: 18px;
    font-size: 13px;
    line-height: 1;
    text-align: right;
}

.textarea-wrap {
    min-height: 160px;
    padding: 16px 14px 22px;
    display: block;
    position: relative;
    background: rgba(10, 10, 10, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;
    color: #b9b9bf;
    font-size: 17px;
    line-height: 1.2;
}

.textarea-wrap textarea {
    width: 100%;
    min-height: 101px;
    margin-top: 10px;
    padding: 0;
    resize: none;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f4f4f4;
    font: inherit;
}

.textarea-wrap small {
    position: absolute;
    right: 14px;
    bottom: 8px;
    color: #8d8d92;
    font-size: 12px;
    line-height: 1;
}

.submit-hit-area {
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0;
}

.feedback-overlay {
    position: fixed;
    z-index: 10;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 28px;
    background: #000;
}

.feedback-overlay[hidden] {
    display: none;
}

.feedback-dialog {
    width: 100%;
    max-width: 330px;
    padding: 34px 22px 24px;
    border-radius: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 8, 8, 0.98);
    text-align: center;
}

.feedback-dialog h2 {
    margin: 0 0 12px;
    color: #c6c6ca;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 800;
}

.feedback-dialog p {
    margin: 0 auto 28px;
    max-width: 260px;
    color: #8f8f94;
    font-size: 14px;
    line-height: 1.32;
}

.feedback-button {
    min-height: 62px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b9ba0;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
}

.home-indicator {
    position: fixed;
    z-index: 3;
    left: 50%;
    bottom: 4px;
    width: 124px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 99px;
    background: #fff;
}

.screen.has-bottom-nav {
    padding-bottom: 94px;
}

@media (max-width: 360px) {
    .screen {
        padding-left: 12px;
        padding-right: 12px;
    }

    .lead-copy,
    .card-body {
        font-size: 14px;
    }

    .menu-title {
        font-size: 13px;
    }
}
