.preview-sim-hero {
    padding: 38px 0 26px;
}

.preview-sim-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.preview-sim-intro h1 {
    margin: 12px 0 14px;
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    line-height: 1.03;
}

.preview-sim-intro p,
.preview-sim-muted,
.preview-card__note,
.preview-card__truncation {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
}

.preview-sim-panel {
    padding: 24px;
    border: 1px solid rgba(23, 19, 12, 0.08);
    border-radius: 28px;
    background: rgba(255, 252, 243, 0.94);
    box-shadow: 0 18px 40px rgba(104, 79, 17, 0.08);
}

.preview-sim-panel h2,
.preview-sim-results__head h2 {
    margin: 0;
    color: #6f4f14;
}

.preview-sim-form {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.preview-sim-form .form-control {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    font-size: 1rem;
    border-radius: 18px;
}

.preview-sim-label {
    display: block;
    font-weight: 700;
}

.preview-sim-error {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(166, 58, 45, 0.12);
    color: #7f281c;
    font-weight: 600;
}

.preview-sim-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffca32, #f4b31d);
    box-shadow: 0 16px 34px rgba(244, 179, 29, 0.28);
    color: #2e2107;
    font-weight: 800;
    cursor: pointer;
}

.preview-sim-results {
    padding: 0 0 38px;
}

.preview-sim-results__shell {
    display: grid;
    gap: 20px;
}

.preview-sim-results__head {
    display: grid;
    gap: 10px;
}

.preview-sim-table {
    display: grid;
    grid-template-columns: minmax(150px, 200px) repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.preview-sim-table__header,
.preview-sim-table__provider,
.preview-sim-cell {
    min-width: 0;
}

.preview-sim-table__header {
    padding: 0 6px;
    color: #6f4f14;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preview-sim-table__provider {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 100%;
    padding: 18px 16px;
    border-radius: 22px;
    background: rgba(255, 252, 243, 0.94);
    border: 1px solid rgba(23, 19, 12, 0.08);
    color: #6f4f14;
}

.preview-sim-table__logo {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
}

.preview-sim-table__provider-copy {
    display: grid;
    gap: 3px;
}

.preview-sim-table__provider-copy strong {
    color: #6f4f14;
}

.preview-sim-table__provider-copy span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.preview-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    min-height: 100%;
    border: 1px solid rgba(23, 19, 12, 0.06);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
}

.preview-card--desktop {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.98));
}

.preview-card--mobile {
    max-width: none;
    margin: 0;
    border-radius: 22px;
}

.device-laptop {
    display: grid;
    gap: 0;
}

.device-laptop__screen {
    padding: 14px 14px 10px;
    border-radius: 28px 28px 14px 14px;
    background: linear-gradient(180deg, #2d2f37, #15161b);
    box-shadow: 0 20px 34px rgba(15, 17, 24, 0.22);
}

.device-laptop__base {
    justify-self: center;
    width: calc(100% - 34px);
    height: 16px;
    border-radius: 0 0 22px 22px;
    background: linear-gradient(180deg, #d8dbe3, #b8bcc6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.device-phone {
    position: relative;
    max-width: 332px;
    margin: 0 auto;
    padding: 14px 12px 12px;
    border-radius: 34px;
    background: linear-gradient(180deg, #24262d, #121318);
    box-shadow: 0 18px 34px rgba(15, 17, 24, 0.22);
}

.device-phone__notch {
    width: 112px;
    height: 16px;
    margin: 0 auto 12px;
    border-radius: 0 0 16px 16px;
    background: #090a0d;
}

.preview-card__chrome {
    display: flex;
    gap: 7px;
}

.preview-card__chrome span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(23, 19, 12, 0.12);
}

.preview-card__topline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-card__avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f6c14a, #d39b10);
}

.preview-card__body {
    display: grid;
    gap: 8px;
}

.preview-card__sender {
    color: #6f4f14;
    font-size: 0.86rem;
    font-weight: 800;
}

.preview-card__subject {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.45;
}

.preview-card__truncation {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(166, 58, 45, 0.14);
    color: #8a2d22;
    font-size: 0.82rem;
    font-weight: 700;
}

.preview-card__truncation--safe {
    background: rgba(18, 132, 95, 0.12);
    color: #0b5c43;
}

.preview-card--gmail {
    border-top: 4px solid #ea4335;
}

.preview-card--outlook {
    border-top: 4px solid #0078d4;
}

.preview-card--apple-mail {
    border-top: 4px solid #7e8aa0;
}

.preview-card--yahoo-mail {
    border-top: 4px solid #720e9e;
}

.preview-card--samsung-email {
    border-top: 4px solid #1428a0;
}

.preview-card--thunderbird {
    border-top: 4px solid #0a84ff;
}

.preview-card--aol-mail {
    border-top: 4px solid #ff5b37;
}

@media (max-width: 1080px) {
    .preview-sim-table {
        grid-template-columns: 1fr;
    }

    .preview-sim-table__header {
        display: none;
    }

    .preview-sim-table__provider {
        padding-bottom: 10px;
        margin-top: 8px;
    }

    .device-phone {
        max-width: 100%;
    }
}
