* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    padding: 48px 20px;
    background: #002339;
    color: #fff;
}

.container {
    width: min(100%, 720px);
    margin: 0 auto;
}

.page-header {
    margin-bottom: 30px;
}

.eyebrow {
    margin-bottom: 10px;
    color: #7ed9ac;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.page-header h1 {
    max-width: 620px;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 600;
    line-height: 1.15;
}

.page-header h1 span {
    color: #53d493;
}

.intro,
.panel-description {
    color: #b8cbd5;
    line-height: 1.6;
}

.intro {
    margin-top: 12px;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px;
    border: 1px solid #24495c;
    border-radius: 10px;
    background: #062c41;
}

.tab {
    flex: 1;
    min-height: 44px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #c4d5de;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.tab.active {
    background: #019f55;
    color: #fff;
}

.panel {
    padding: clamp(22px, 5vw, 36px);
    border: 1px solid #24495c;
    border-radius: 12px;
    background: #062c41;
    box-shadow: 0 18px 50px rgb(0 0 0 / 16%);
}

.panel h2 {
    margin-bottom: 8px;
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 600;
}

.panel-description {
    margin-bottom: 24px;
}

.display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 70px;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 7px;
    background: #fff;
    color: #263942;
}

.display input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font-size: 22px;
}

.icon-button {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
}

.icon-button:hover {
    background: #edf5f1;
}

.icon-button img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.primary-button {
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 6px;
    background: #019f55;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.primary-button:hover,
.copy-email:hover {
    background: #018648;
}

.name-input {
    width: 100%;
    min-height: 52px;
    margin-bottom: 14px;
    padding: 12px 15px;
    border: 1px solid #b8cbd5;
    border-radius: 6px;
    background: #fff;
    color: #263942;
    font-size: 16px;
}

.name-input:focus,
.tab:focus-visible,
.primary-button:focus-visible,
.copy-email:focus-visible,
.icon-button:focus-visible {
    outline: 3px solid #7ed9ac;
    outline-offset: 2px;
}

.notice {
    margin-top: 18px;
    color: #b8cbd5;
    font-size: 13px;
    line-height: 1.5;
}

.status {
    min-height: 22px;
    margin-top: 12px;
    color: #7ed9ac;
    font-size: 14px;
}

.email-results {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.email-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 11px 12px 11px 15px;
    border: 1px solid #24495c;
    border-radius: 7px;
    background: #0a354b;
}

.email-address {
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 15px;
}

.copy-email {
    flex: 0 0 auto;
    min-width: 64px;
    padding: 8px 12px;
    border: 0;
    border-radius: 5px;
    background: #019f55;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

[hidden] {
    display: none !important;
}

@media (max-width: 520px) {
    body {
        padding: 30px 16px;
    }

    .tabs {
        flex-direction: column;
    }

    .panel .primary-button {
        width: 100%;
    }

    .display input {
        font-size: 18px;
    }
}
